OnPlayerSpawn - 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)
+--- Thread: OnPlayerSpawn - BUG (
/showthread.php?tid=522607)
OnPlayerSpawn - BUG -
jamal1992 - 28.06.2014
Hello guys, i have a big problem ! when login on the server the CALLBACK OnPlayerSpawn responde late (after 20-30 seconds) What`s the problem ? :O
Re: OnPlayerSpawn - BUG -
jamal1992 - 28.06.2014
somebody help me please ....
somebody tell me it is beacause LAG, who cand reduce ? i can`t reduce timmers, loops, etc beacause it`s GF edit and it`s configurated bad, that would mean to restore gamemode to 0 .......
Re : OnPlayerSpawn - BUG -
Clad - 28.06.2014
Maybe you're using Timer.
Re: OnPlayerSpawn - BUG -
sammp - 28.06.2014
Code would be greatttt
Re: OnPlayerSpawn - BUG -
jamal1992 - 28.06.2014
when i`m login on server, spawn me at blueberry and after 10-20 seconds spwn me normaly. I guess the bug is at SpawnPlayer(playerid);
In game when use spawnplayer (/respawn) works good, just after login this happens.
Re: OnPlayerSpawn - BUG -
jamal1992 - 29.06.2014
Another thing, can`t use any commands, don`t show any vehicle, etc ... until normally spawn.
Re: OnPlayerSpawn - BUG -
jamal1992 - 29.06.2014
UP up up up
Re: OnPlayerSpawn - BUG -
BroZeus - 29.06.2014
are u using SetSpawnInfo()?
Re: OnPlayerSpawn - BUG -
jamal1992 - 29.06.2014
yes, in Onplayerlogin use SeSpawnInfo, in OnPlayerSpawn use SetSpawnInfo, and other some ...
Re: OnPlayerSpawn - BUG -
Dziugsas - 29.06.2014
Show us OnPlayerSpawn callback.