StyLe Posted December 3, 2015 Report Share Posted December 3, 2015 Salut, am o problemă, am un warning și nu pot scăpa de el... Quote C:\Users\Dorin\Desktop\OLDS\gamemodes\Godfather.pwn(3661) : warning 235: public function lacks forward declaration (symbol "UnfreezePlayers") Uita-ti si linia este prima aia cu public public UnfreezePlayers() { for(new p; p != MAX_PLAYERS; ++p){ if(IsPlayerConnected(p)){ TogglePlayerControllable(p, true); SendClientMessage(p, COLOR_GREY,"{0049FF}[Info]: {FFFFFF}Event-ul a inceput !!!");}} } Quote Link to comment Share on other sites More sharing options...
0 blacklife. Posted December 3, 2015 Report Share Posted December 3, 2015 (edited) forward UnfreezePlayers(); public UnfreezePlayers() { for(new p; p != MAX_PLAYERS; ++p){ if(IsPlayerConnected(p)){ TogglePlayerControllable(p, true); SendClientMessage(p, COLOR_GREY,"{0049FF}[Info]: {FFFFFF}Event-ul a inceput !!!");}} } Cu un singur search dupa acel Warning pe internet ,ai fi gasit problema.. https://wiki.sa-mp.com/wiki/Public_functions Edited December 3, 2015 by blacklife. Quote Link to comment Share on other sites More sharing options...
0 WiDuAlK Posted December 3, 2015 Report Share Posted December 3, 2015 for(new p; p != MAX_PLAYERS; ++p What is this? ++p ?!! nu o sa iti mearga bine acest loop. foloseste for(new p = 0; p <= MAX_PLAYERS; p++) asa e corect. Quote @WiDuAlK Tutorial`s: PAWN pentru SA:MP in Notepad++Tutorial Register-Login MYSQL R39 Tutorial etape de register Cum sa creezi un PayDay (2 METODE)Cum sa creezi o factiune de la 0 PART 1 Cum sa creezi o factiune de la 0 PART 2 Cum sa creezi o factiune de la 0 partea a 3-a (ULTIMA)Functii folositoare din NEW.PWN Tutorial Engine Vehicle Optimizare simplitate si stil Foreach inlocuieste loop-ul SSCANF si ZCMD Cum sa creezi o poarta miscatoare Tutorial cum sa creezi un radio pe server si cum sa iti creezi melodi pentru ascultat pe server Cum sa tii un server din PC folosind HAMACHI Documentatie* Despre hack-uri Servicii: Servicii Scripting & Mapping Produse: Farmer Job Realistic Drugs Dealer System [SA-MP] UNIQUE Link to comment Share on other sites More sharing options...
Question
StyLe
Salut, am o problemă, am un warning și nu pot scăpa de el...
Uita-ti si linia este prima aia cu public
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.