Saving 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 Skin (
/showthread.php?tid=79258)
Saving Skin -
Hot - 26.05.2009
How could I save the player skin?
I get this warning when trying:
Код:
C:\Documents and Settings\Convidado\Desktop\RP MP4\RL.pwn(50) : warning 202: number of arguments does not match definition
From this line at OnPlayerSpawn:
Код:
SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("skin")-SetPlayerSkin(playerid));
OnPlayerDisconnect:
Код:
dUserSetINT(PlayerName(playerid)).("skin",GetPlayerSkin(playerid));
Re: Saving Skin -
miokie - 26.05.2009
You should really ask in the DUDB topic.
Re: Saving Skin -
Correlli - 27.05.2009
Quote:
Originally Posted by Hot
Код:
SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("skin")-SetPlayerSkin(playerid));
|
Try:
pawn Код:
SetPlayerSkin(playerid,dUserINT(PlayerName(playerid)).("skin"));