írtam egy ilyet de valamiért nem jó nem ír ki errort
[pawn] new skin;
new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"users/%s.ini\", name);
skin = dini_Int(string,\"Skin\");
SetPlayerSkin(playerid,skin);[/pawn]
public OnPlayerDisconnect(playerid, reason)
{
new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), \"users/%s.ini\", name);
dini_IntSet(string,\"Skin\",GetPlayerSkin(playerid));
return 1;
}