Cuff Command
#3

Quote:
Originally Posted by Mugala
Посмотреть сообщение
change this
PHP код:
    if(allTeams[playerid] == TEAM_POLICE) return SendClientMessage(playerid,COLOR_RED"ERROR: You need to be a police officer or a army member!");
    if(
allTeams[playerid] == TEAM_ARMY)    return SendClientMessage(playerid,COLOR_RED"ERROR: You need to be a police officer or a army member!");
    { 
into this
PHP код:
    if(allTeams[playerid] != TEAM_POLICE && allTeams[playerid] != TEAM_ARMY) return SendClientMessage(playerid,COLOR_RED"ERROR: You need to be a police officer or a army member!"); 
Thanks, it worked. Can't give +rep because Im missing the minimum forum posts I guess.
Reply


Messages In This Thread
Cuff Command - by Spectat0rDE - 28.05.2018, 11:16
Re: Cuff Command - by Mugala - 28.05.2018, 12:21
Re: Cuff Command - by Spectat0rDE - 28.05.2018, 12:54
Re: Cuff Command - by GTLS - 28.05.2018, 14:26
Re: Cuff Command - by Spectat0rDE - 28.05.2018, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)