01.10.2013, 19:27
Do you mean save the skin on disconnection, or just on respawn? If on respawn:
pawn Код:
new PlayerSkin[MAX_PLAYERS]; // On top of your script.
// Under your /skin command.
PlayerSkin[playerid] = skin; // Change the "skin" to the variable used on the command on SetPlayerSkin.
// Under OnPlayerSpawn.
SetPlayerSkin(playerid, PlayerSkin[playerid]);