05.02.2017, 19:59
(
Последний раз редактировалось rakinz; 06.02.2017 в 12:05.
)
I've tried to save the player skin after player dies. So I've added these codes:
at on player spawn
on player disconnect and on player death.
** As you already can see I'm using yini to save player data.
And for some weird reasons I'm getting skinid 7 everytime player spawns.
PHP код:
SetPlayerSkin(playerid, pSkin);
PHP код:
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Skin",GetPlayerSkin(playerid));
INI_Close(File);
** As you already can see I'm using yini to save player data.
And for some weird reasons I'm getting skinid 7 everytime player spawns.