• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Death spam bug
#2
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;

}
  Reply


Messages In This Thread
Death spam bug - by Uberanwar - 2019-05-28, 03:39 AM
RE: Death spam bug - by mouiz - 2019-05-28, 10:26 AM
RE: Death spam bug - by Markski - 2019-05-28, 05:53 PM
RE: Death spam bug - by Expert* - 2019-05-30, 08:34 PM
RE: Death spam bug - by Uberanwar - 2019-05-30, 10:21 PM

Forum Jump: