25.02.2014, 09:31
You must use () in if statements.
and
And a note, that the last valid bound in the array NSpawns is 2.
pawn Код:
if (GetPlayerScore(playerid) >= 500)
{
// code..
}
pawn Код:
if (GetPlayerScore(playerid) >= 200)
{
// code..
}
pawn Код:
SetPlayerFacingAngle(playerid, NSpawns[Random][2]);