Command doesn't work.
#1

I've been trying to make this command with some help from the forums. I wanted it to make this like, Setting the player's radar mark invisible when he executes the command.
pawn Код:
dcmd_gzinvisible(playerid,params[])
{
   #pragma unused params
   if(CanUseGangZ[playerid] == 0)
   {
     SendClientMessage(playerid,COLOR_ERROR,"[ERROR] You must be a Gang-Z Member to use this command.");
     return 1;
   }
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
      if(IsPlayerConnected(i))
      {
        SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
      }
      SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now invisible on Radar.");
      return 1;
   }
   return 1;
}
Could someone tell me what's wrong and why it doesn't work?
Thanks.
Reply


Messages In This Thread
Command doesn't work. - by rakshith122 - 07.03.2014, 11:50
Re: Command doesn't work. - by Sojo12 - 07.03.2014, 11:58
Re: Command doesn't work. - by rakshith122 - 07.03.2014, 12:04
Re: Command doesn't work. - by JeaSon - 07.03.2014, 12:06
Re: Command doesn't work. - by Sojo12 - 07.03.2014, 12:11
Re: Command doesn't work. - by rakshith122 - 07.03.2014, 12:11
Re: Command doesn't work. - by SyntaxQ - 07.03.2014, 12:27
Re: Command doesn't work. - by Sojo12 - 07.03.2014, 12:29
Re: Command doesn't work. - by biker122 - 07.03.2014, 13:18
Re: Command doesn't work. - by rakshith122 - 07.03.2014, 13:23

Forum Jump:


Users browsing this thread: 1 Guest(s)