Disabling commands.
#10

Quote:
Originally Posted by rfr
Посмотреть сообщение
public OnPlayerCommandReceived(playerid, cmdtext[])
{
if(IsPlayerInArena1 && strcmp(cmdtext,"/aleave",true) != 0)
{
SendClientMessage(playerid, -1, "can't use commands in arena 1");
return 0;
}
return 1;
}
stop giving him parts of your code/
he doesnt even have isplayerinarena1 defined and you give him the code without explaining what to do.
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: 1 Guest(s)