SA-MP Forums Archive
skin and pos - 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: skin and pos (/showthread.php?tid=389600)



skin and pos - Mustafa6155 - 02.11.2012

Het how save player posistion and skin??


Re: skin and pos - Lorrden - 02.11.2012

1. You make a saving system.
2. You use GetPlayerPos.
3. You save the positions.


Re: skin and pos - Private200 - 02.11.2012

What you mean with Save positions and skin
Save where/when/how them ??
i don't understand it lol, give some more information

a way is with the GetPlayerSkin and GetPlayerPos

Example for GetPlayerPos

pawn Код:
OnPlayerDissconect()
{
       new Float:x, Float:y, Float:z
       GetPlayerPos(playerid, x,y,z);
       return 1;
}
and for GetPlayerSkin

pawn Код:
OnPlayerDissconct()
{
       new skin [skin id here]
       GetPlayerSkin(playerid, skin)
       return 1;
}



Re: skin and pos - Lorrden - 02.11.2012

Also you'd like to use GetPlayerSkin to get the skin ID.