04.05.2014, 14:29
Quote:
- Can somebody make me a one commands it. When we type : /nude the skin will changes to skin 252 and type again /nude the skin will return like past ! Thanks
|
pawn Код:
//global variables;
isNude[MAX_PLAYERS] = 0;
returnSkin;
CMD:nude(playerid,params[])
{
if(isNude[playerid] == 0)
{
returnSkin = GetPlayerSkin(playerid);
SetPlayerSkin(playerid, 252);
isNude[playerid] = 1;
}
else
{
SetPlayerSkin(playerid,returnSkin);
isNude[playerid] = 0;
}
return 1;
}