[Ajuda] Gangzona + 1 comando
#5

pawn Код:
new bool:kUso[MAX_PLAYERS];
CMD:teste( playerid, params[])
{
   #pragma unused params
   if( kUso[ playerid ] == 0 )
   {
      if(!IsPlayerLuxAdminLevel(playerid,1)) return SendClientMessage(playerid,0xC9170EFF,"[ERROR]{FFFFFF} : Vocк nгo й Um Administrador");
      SetPlayerHealth( playerid, 100000 );
      kUso[ playerid ] = 1;
      return 1;
   }  
   if( kUso[ playerid ] == 1 )
   {
      if(!IsPlayerLuxAdminLevel(playerid,1)) return SendClientMessage(playerid,0xC9170EFF,"[ERROR]{FFFFFF} : Vocк nгo й Um Administrador");
      SetPlayerHealth( playerid, 100 );
      kUso[ playerid ] = 0;
      return 1;
   }
   return true;
}

usas assim.
Reply


Messages In This Thread
[Ajuda] Gangzona + 1 comando - by ApolloRJ - 22.05.2011, 18:06
Re: [Ajuda] Gangzona + 1 comando - by The Knight - 22.05.2011, 18:11
Re: [Ajuda] Gangzona + 1 comando - by ApolloRJ - 22.05.2011, 18:28
Re: [Ajuda] Gangzona + 1 comando - by ApolloRJ - 22.05.2011, 18:35
Re: [Ajuda] Gangzona + 1 comando - by TheGarfield - 22.05.2011, 19:01
Re: [Ajuda] Gangzona + 1 comando - by ApolloRJ - 22.05.2011, 19:31
Re: [Ajuda] Gangzona + 1 comando - by TheGarfield - 22.05.2011, 20:13
Re: [Ajuda] Gangzona + 1 comando - by ApolloRJ - 22.05.2011, 20:22
Re: [Ajuda] Gangzona + 1 comando - by TheGarfield - 22.05.2011, 20:24
Re: [Ajuda] Gangzona + 1 comando - by ApolloRJ - 22.05.2011, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)