Player Position Won't Load - 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: Player Position Won't Load (
/showthread.php?tid=403198)
Player Position Won't Load -
Mafioso97 - 29.12.2012
Hey there! Well basically my script is now unbugged and ready. But I noticed that everything except the player position loads, so you always restart from initial spawn point (Airport) - I looked at the user files and we all had different positions so it was definitely saving...but there must be something loose in the script...
I don't know what data I should include so just tell me.
And my Skype is ma_kingz
Re: Player Position Won't Load O_o -
Faisal_khan - 29.12.2012
Paste some of your code related to the spawn.
Re: Player Position Won't Load O_o -
FTLOG - 29.12.2012
If you are using mysql, store the position in a local variable while loading, and then get them back to global enum variables, or whatever you're using.
If you are using files, show us the code.