Spawn Bug? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Spawn Bug? (
/showthread.php?tid=170904)
Spawn Bug? -
[NWA]Hannes - 24.08.2010
I have this error that evry time someone connect to my server they freeze when they spawnk, i dont know why tough, i think it can be because of that i removed random spawns but im not sure...
Re: Spawn Bug? -
Pawno_Master - 24.08.2010
Mhm.. I don't know your script but this could help:
under samp include:
Код:
forward pUnfreeze(playerid);
Under OnPlayerSpawn:
Код:
SetTimerEx("pUnfreeze", 5000, false, "i", playerid);
Somewhere in the script ( Not in a callback )
Код:
public pUnfreeze(playerid)
{
TogglePlayerControllable(playerid, true);
return 1;
}