26.10.2014, 21:19
Hello.
I have a question about loops:
If I have a code like this:
To display the error message if the player is not on the object, I do:
A return, a break ...?
Thx
I have a question about loops:
If I have a code like this:
pawn Код:
for(new i = 0; i < sizeof(Obj); i++)
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, Obj[i][PosX], Obj[i][PosY], Obj[i][PosZ])
{
// In object.
}
else
{
// Not in object.
}
}
A return, a break ...?
Thx