SA-MP Forums Archive
Can't move player or write after dying. [+REP for help] - 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: Can't move player or write after dying. [+REP for help] (/showthread.php?tid=536428)



Can't move player or write after dying. [+REP for help] - dark_ghost - 09.09.2014

Hello there!
I've bug a problem that, when you die, after respawning at the choosen coords I added you can't move and writte, like, if you were froozen by an admin. You can see everyone moving and talking and all that kind of stuff, but you just stay freeze and the only way to get out of GTA is by restarting your computer or closing it when you press ALT+CTRL+DEL.
I'm not sure but, I guess there's something missing.. like making the player controllable after respawning or maybe its just your anim that bugs... There's four types of spawns: Human spawn, zombie spawn, infected spawn and faction members spawns. It can be found on the last pastebin thing I added.

There is the OnPlayerDeath line: http://pastebin.com/985yt90u

OnPlayerSpawn: http://pastebin.com/vxTLHTvP

And there is the lines of coding where the human, zombies, infecteds and faction players do spawn: http://pastebin.com/CWZ2ZwV0 (It is located above the OnPlayerDeath line.)

Thanks!


Re: Can't move player or write after dying. [+REP for help] - PMH - 09.09.2014

not server problem, something's wrong with ur comp's Gta


Re: Can't move player or write after dying. [+REP for help] - dark_ghost - 09.09.2014

Quote:
Originally Posted by PMH
Посмотреть сообщение
not server problem, something's wrong with ur comp's Gta
No it isn't. I've been testing trought vps and all that stuff with people and it happens to everyone.. x.x


Re: Can't move player or write after dying. [+REP for help] - dark_ghost - 11.09.2014

I bet there's some code missing or something with the coordenates type..