03.02.2018, 11:49
Quote:
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; } |
he doesnt even have isplayerinarena1 defined and you give him the code without explaining what to do.