Help with some cmd's
#1

So as the title says i have created my server but i couldn't fix one thing so decided to ask on the forums..

Код:
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; i != MAX_PLAYERS; ++i) if (IsPlayerConnected(i)) return SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
   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; i != MAX_PLAYERS; ++i) if (IsPlayerConnected(i)) return SetPlayerMarkerForPlayer(i,playerid,0xFFFFFFAA);
   SendClientMessage(playerid,COLOR_PURPLE,"[Gang-Z] You are now visible on the radar.");
   return 1;
}
These are 2 cmds made for a faction to go invisible and visible.. Now thing wrong with them is that they dont work.
Nothing Appears..Please help asap
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)