28.01.2012, 18:15
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:
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?
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 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?