05.02.2010, 21:41
i had same problem
put on top
this onplayerconnect & disconnect
Then in your weapon hack code
put on top
Код:
new PlayerSpawned[MAX_PLAYERS];
Код:
public OnPlayerConnect(playerid) { PlayerSpawned[playerid] = 0; return 1; } public OnPlayerSpawn(playerid) { PlayerSpawned[playerid] = 1; return 1; }
Код:
if(PlayerSpawned[i] == 1)