SA-MP Forums Archive
saving player's spawn/skin - 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: saving player's spawn/skin (/showthread.php?tid=85054)



saving player's spawn/skin - tommy5933 - 04.07.2009

I want to know how can I make it where a player can spawn at his house when he spawns into the server as well as set his skin when he spawns?


Re: saving player's spawn/skin - James_Alex - 05.07.2009

make a file wich you save the player exit X, Y, Z
and the layer skin


Re: saving player's spawn/skin - tommy5933 - 05.07.2009

Ok, can somebody give me the file to that?



Re: saving player's spawn/skin - abhinavdabral - 05.07.2009

lol .... just try to learn something from SA-MP Wiki

You need to create a file and just put the data in it...... when the player rejoins, then you have to read its data and then change his skin or w/e according to the data.


Re: saving player's spawn/skin - tommy5933 - 05.07.2009

Ok i made it where people can spawn at their house spawns but one problem. When they spawn, the players shake up and down like they can't actually spawn. any help?

I used : SetSpawnInfo








Re: saving player's spawn/skin - abhinavdabral - 05.07.2009

After SetSpawnInfo, may be you should use SetPlayerPos (I am not sure about this as i don't know whats going in your script)


Re: saving player's spawn/skin - tommy5933 - 05.07.2009

yea i tried that also and it still didn't work. anybody else know anything?



Re: saving player's spawn/skin - James_Alex - 05.07.2009

use the dini include


Re: saving player's spawn/skin - abhinavdabral - 05.07.2009

Yes.. Use DINI include... it will be the best direct solution for you.


Re: saving player's spawn/skin - refshal - 05.07.2009

You can use dini, or SetSpawnInfo.

https://sampwiki.blast.hk/wiki/SetSpawnInfo