Weird bug
#1

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?
Reply
#2

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
Reply
#3

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!
Reply
#4

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.
Reply
#5

Thanks to you too np
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)