Quote:
|
Originally Posted by nateskywalker
Quote:
|
Originally Posted by nateskywalker
oke dude make top of script
new spawned[MAX_PLAYERS];
//OnPlayerSpawn
spawned[playerid] = 1;
//OnPlayerDeath
spawned[playerid] = 0;
stock IsCheatPosition(playerid)
{
for(new i=0;i<sizeof(CheatPositions);i++)
if(IsPlayerInRangeOfPoint(playerid,5.0,CheatPositi ons[i][0],CheatPositions[i][1],CheatPositions[i][2]) && spawned[playerid] == 1)
return true;
return false;
}
|
|
Doesn't help still the same problem