03.02.2018, 09:14
I tried this
no errors whatsoever , but in game it has no effect
Код:
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; }