I Want My Suit Back
#3

Quote:

i hope u can udnerstand me

I hope i understand you correctly

Declare some variable, where is you will store id of the old skin, like:
Код:
OldSkinCIA[MAX_PLAYERS];//Global variable
And somewhere, where is you know that player skin is one of the CIA skins, use:
Код:
OldSkinCIA[playerid] = GetPlayerSkin(playerid);//Now this variable will store ID of the CIA skin
And your code will looks like this:
Код:
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;
Reply


Messages In This Thread
I Want My Suit Back - by Lajko1 - 06.01.2010, 20:05
Re: I Want My Suit Back - by Lajko1 - 07.01.2010, 12:58
Re: I Want My Suit Back - by Norck - 07.01.2010, 14:41
Re: I Want My Suit Back - by Lajko1 - 08.01.2010, 14:13

Forum Jump:


Users browsing this thread: 1 Guest(s)