2 operators that i don't understand
#11

Quote:
Originally Posted by 0rb
This example isn't a good one..If it's just to check if it's either 0 or 1, you just do
pawn Код:
return IsPlayerConnected(playerid) && playerinfo[playerid][spawned];
that's the exact same thing, and may be faster to execute.
Actually you don't need IsPlayerConnected() neither, because checking if the player is spawned does it itself as unconnected players cannot be spawned.

pawn Код:
return playerinfo[playerid][spawned];
LOL I know it's annoying, but it's funny how you start fixing some example scripts, he made it just so you get what ? and : are about.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)