Disabling commands.
#9

I tried this

Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
  if(IsPlayerInArena1[playerid] && strcmp(cmdtext,"/aleave",true) != 0)
  {
	 SendClientMessage(playerid, -1, "{c3c3c3}(INFO) You can't use commands in the arena!");
	 return 0;
  }
   return 1;
}
no errors whatsoever , but in game it has no effect
Reply


Messages In This Thread
Disabling commands. - by ivndosos - 03.02.2018, 07:58
Re: Disabling commands. - by OptimusBloodHunter - 03.02.2018, 08:26
Re: Disabling commands. - by Sew_Sumi - 03.02.2018, 08:30
Re: Disabling commands. - by ivndosos - 03.02.2018, 09:01
Re: Disabling commands. - by rfr - 03.02.2018, 09:05
Re: Disabling commands. - by Sew_Sumi - 03.02.2018, 09:06
Re: Disabling commands. - by OptimusBloodHunter - 03.02.2018, 09:07
Re: Disabling commands. - by Sew_Sumi - 03.02.2018, 09:08
Re: Disabling commands. - by ivndosos - 03.02.2018, 09:14
Re: Disabling commands. - by PepsiCola23 - 03.02.2018, 11:49

Forum Jump:


Users browsing this thread: 3 Guest(s)