07.01.2010, 14:41
Quote:
i hope u can udnerstand me |
Declare some variable, where is you will store id of the old skin, like:
Код:
OldSkinCIA[MAX_PLAYERS];//Global variable
Код:
OldSkinCIA[playerid] = GetPlayerSkin(playerid);//Now this variable will store ID of the CIA skin
Код:
if(listitem == 11) // I Want My Suit Back { SetPlayerColor(playerid,0x375FFFFF); SendClientMessage(playerid,0x33CCFFAA,"Here You Have"); SetPlayerSkin(playerid,OldSkinCIA[playerid]);//Set their skin back return 1; } return 1;