14.08.2011, 03:58
Try this:
Should work.
pawn Код:
// global variable - top of script
new LastSkin[MAX_PLAYERS];
// in your /dm1 command
LastSkin[playerid] = GetPlayerSkin(playerid);
// in /leavedm
SetPlayerSkin(playerid, LastSkin[playerid]);