Confusing
#1

Like I have this code: http://pastebin.com/U4SypiGd
To check if the player is pressing LMB.
So, my problem is with this piece of code:
pawn Код:
new id;
id = GetClosestFire(playerid);
if(id == -1) return 1;
If the id is -1 then return 1; that means it will stop there, not checking others players.
If I put if(id == -1) continue it will say "break or continue is out of context" or something like that...
Then what can I do?
Reply


Messages In This Thread
Confusing - by FireCat - 28.01.2012, 18:15
Re: Confusing - by rinori - 28.01.2012, 18:45
Re: Confusing - by iPLEOMAX - 28.01.2012, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)