Need one commands !
#2

Quote:
Originally Posted by DuongNghia
Посмотреть сообщение
- 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;
}
Reply


Messages In This Thread
Need one commands ! - by DuongNghia - 04.05.2014, 14:25
Re: Need one commands ! - by Galletziz - 04.05.2014, 14:29
Re: Need one commands ! - by DuongNghia - 04.05.2014, 14:33
Re: Need one commands ! - by Galletziz - 04.05.2014, 14:35
Re: Need one commands ! - by iZN - 04.05.2014, 14:39
Re: Need one commands ! - by DuongNghia - 04.05.2014, 14:40
Re: Need one commands ! - by Galletziz - 04.05.2014, 14:41
Re: Need one commands ! - by Ghazal - 04.05.2014, 14:41
Re: Need one commands ! - by DuongNghia - 04.05.2014, 14:45
Re: Need one commands ! - by Ghazal - 04.05.2014, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)