ZCMD Command Restriction
#7

Quote:
Originally Posted by Dutheil
View Post
If you have nothing else in the function OnPlayerCommandPerformed, you can use the ternary.
PHP Code:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
    return (
success SendClientMessage(playerid, -1"Invalid Command! Check /CMDS for the commands list")); 
i have something else , this
Code:
       format(szString, sizeof(szString), "[CMD]: %s[%d] Has Used Command: %s", PlayerName(playerid), playerid, cmdtext);
	for (new a = 0; a < MAX_PLAYERS; a++) if (IsPlayerAdmin(a))
 	SendClientMessage(a, 0xF6BB0AA, szString);
it sends me the cmds players use when im logged in as Rcon admin , what can i do to solve it ?
Reply


Messages In This Thread
ZCMD Command Restriction - by YoussefHammad - 10.11.2015, 21:48
Re: ZCMD Command Restriction - by Jefff - 10.11.2015, 22:00
Re: ZCMD Command Restriction - by YoussefHammad - 10.11.2015, 22:03
Re: ZCMD Command Restriction - by Jefff - 10.11.2015, 22:07
Re: ZCMD Command Restriction - by YoussefHammad - 10.11.2015, 22:10
Re : ZCMD Command Restriction - by Dutheil - 11.11.2015, 00:54
Re: Re : ZCMD Command Restriction - by YoussefHammad - 11.11.2015, 01:01
Re : ZCMD Command Restriction - by Dutheil - 11.11.2015, 01:04
Re: Re : ZCMD Command Restriction - by YoussefHammad - 11.11.2015, 01:23
Re: Re : ZCMD Command Restriction - by PrO.GameR - 11.11.2015, 07:04

Forum Jump:


Users browsing this thread: 4 Guest(s)