2019-05-28, 10:26 AM
A temporary fix:
Code:
new player_spawned [MAX_PLAYERS];
public OnPlayerSpawn (playerid)
{
? ? if (player_spawned [playerid] == 1) return 0;
? ? player_spawned = 1;
? ? SetTimerEx ("ResetSpawnVar", 1000, false, "i", playerid);
? ??return 1;
}
forward ResetSpawnVar (playerid);
public ResetSpawnVar (playerid)
{
? ? player_spawned [playerid] = 0;
? ? return 1;
}