SA-MP Forums Archive
[question] Last position - 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: [question] Last position (/showthread.php?tid=244180)



[question] Last position - JOKERBOY - 26.03.2011

How I save the last position for a player ?


Re : [question] Last position - Vukilore - 26.03.2011

GetplayerPos


Re: [question] Last position - austin070 - 26.03.2011

You have to GetPlayerPos and put it in their account ini file. You save their position OnPlayerDisconnect or OnPlayerUpdate (major lag with low memory). Then OnPlayerConnect, you get their position from their account ini file and set it from there.