/saveskin - 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: /saveskin (
/showthread.php?tid=395480)
/saveskin -
Blackazur - 26.11.2012
~Fixed~
Re : /saveskin -
vernz - 26.11.2012
what system are you using ? y_ini ? dini ? djson ? etc ?
AW: /saveskin -
Blackazur - 26.11.2012
DINI and i script with ZCMD and sscanf.
Re : /saveskin -
vernz - 26.11.2012
Add this to your command
pawn Код:
PlayerInfo[playerid][pModel] = skin;
Then yours could be pSkin or w/e just change it to your script
AW: /saveskin -
Blackazur - 26.11.2012
And then the Skin will be automatic saved when a Player use the Command? And i get a Warning "undefined symbol: pModel and PlayerInfo".
Re : /saveskin -
vernz - 26.11.2012
adjust it to your saving system and it'll change the .ini so once the player will disconnected, itll be saved