Posts: 680
Threads: 143
Joined: Nov 2014
Reputation:
0
Hello i have downloaded a gamemode but when i write any wrong command it do nothing so i want something like :-
if the player write a wrong command like :
/ghwkjf
Server Send :
Wrong command blablabla
How can i do it
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
What command processor are you using?
Posts: 3,004
Threads: 12
Joined: May 2011
Quote:
Originally Posted by Bingo
Show us one of your command. (Any)
|
Quote:
Originally Posted by OsteeN
He's asking if you're using YCMD, ZCMD, OnPlayerCommand etcetera.
|
Lemme, expend your words.
Open your game mode file which is located in "gamemodes" folder and then look at the first few lines where written "#include" and look for "zcmd" or "y_commands" if both do not present then click CTRL + F and type dcmd, if neither exist, then go to the callback named "OnPlayerCommandText" and look for strcmp, if it present then you're processing commands using strcmp.