Help with some cmd's
#2

Try this
PHP код:
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!= MAX_PLAYERSi++){
   if (
IsPlayerConnected(i)) return SetPlayerMarkerForPlayer(iplayerid0xFFFFFF00);
   }
   
SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now invisible on the radar.");
   return 
1;
}

dcmd_gzvisible(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!= MAX_PLAYERSi++){
   if (
IsPlayerConnected(i)) return SetPlayerMarkerForPlayer(i,playerid,0xFFFFFFAA);
   }
   
SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now visible on the radar.");
   return 
1;

Reply


Messages In This Thread
Help with some cmd's - by Uvais - 06.06.2016, 15:45
Re: Help with some cmd's - by cuzido - 06.06.2016, 15:54
Re: Help with some cmd's - by Konstantinos - 06.06.2016, 15:57
Re: Help with some cmd's - by Uvais - 06.06.2016, 16:21
Re: Help with some cmd's - by cuzido - 06.06.2016, 16:27
Re: Help with some cmd's - by Uvais - 06.06.2016, 16:39
Re: Help with some cmd's - by cuzido - 06.06.2016, 16:44
Re: Help with some cmd's - by Uvais - 07.06.2016, 14:43
Re: Help with some cmd's - by Uvais - 08.06.2016, 07:08
Re: Help with some cmd's - by BornHuman - 08.06.2016, 07:14

Forum Jump:


Users browsing this thread: 1 Guest(s)