25.01.2010, 12:30
how to disable using commands when he has used certain cmds?
Like he should not use commands after join a minigame/race
Like he should not use commands after join a minigame/race
public OnPlayerCommandText(playerid, cmdtext[])
{
if(PlayerInfo[InMinigame] == 1) return 0;
}
InMinigame[MAX_PLAYERS];
public OnPlayerCommandText(playerid, cmdtext[])
{
if(InMinigame[playerid] == 1) return 0 SendClientMessage(playerid, color, "You can't use commands in minigame");
}