[Duvida]Como criar um modo de trabalho de adm com Skin?
#3

Quote:
Originally Posted by DarkPT
Посмотреть сообщение
pawn Код:
new
   bool: usou[MAX_PLAYERS];

if(!strcmp(cmdtext, "/profadmin", true))
{
   if(PlayerInfo[playerid][pAdmin] < 1)
      return SendClientMessage(playerid, -1, "Apenas administradores!!");

   if(usou[playerid] == 0)
      return SetPVarInt(playerid, "Skin", GetPlayerSkin(playerid));

   else if(usou[playerid] == 1)
      return SetPlayerSkin(playerid, GetPVarInt(playerid, "Skin"));

   return true;
}
poe os creditos ¬¬'
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)