Weird bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Weird bug (
/showthread.php?tid=397263)
Weird bug - Jarnu - 04.12.2012
My server is facing a Weird bug when a player dies for 3 times his game is stucked, he is no more able to move or do anything! Whats the fix of it?
Re: Weird bug -
xxxDeathxxx - 04.12.2012
something is wrong with the spawn point. try to change spawn point and try then, i remember i had too this bugg, so i changed the spawn point cause i dont understand the scripting language
Re: Weird bug -
Nirzor - 04.12.2012
the only way to fix this bug i think is to change spawn point or
put in OnPlayerSpawn and OnPlayerDeath
TogglePlayerControllable(playerid, 1);
so player can be controlable if my idea helped you then thanks!
Re: Weird bug - Jarnu - 04.12.2012
Fixed on my own.
Problem was the RemoveBuilding code was getting called again and again on OnPlayerSpawn.
In-case anyone else gets the same problem move your RemoveBuilding code from OnPlayerSpawn to OnPlayerConnect.
Thank you.
Re: Weird bug -
Nirzor - 05.12.2012
Thanks to you too
np