SA-MP Forums Archive
RP logout and login - 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: RP logout and login (/showthread.php?tid=112394)



RP logout and login - whitedragon - 07.12.2009

I dont find the working code for rp what set logout your positsion and when you login you start there you was when you logout


Re: RP logout and login - DeathOnaStick - 07.12.2009

Use This. Just make some new variables into the file, to save the position of the player. You might call them X, Y and Z. Then you save the Position with GetPlayerPos and write it into file, like it was explained in the tuturial.

Cheers.


Re: RP logout and login - whitedragon - 07.12.2009

Quote:
Originally Posted by ∈ⅹitus
Use This. Just make some new variables into the file, to save the position of the player. You might call them X, Y and Z. Then you save the Position with GetPlayerPos and write it into file, like it was explained in the tuturial.

Cheers.
can someone give me correct code?


Re: RP logout and login - Correlli - 07.12.2009

Quote:
Originally Posted by whitedragon
can someone give me correct code?
Ask in script request topic.


Re: RP logout and login - MenaceX^ - 07.12.2009

Check Carlito's roleplay if I think you can find it there (not sure).