Posts: 409
Threads: 101
Joined: Jul 2009
Reputation:
0
Hey guys,
Since I install ZCMD on the top of my gm every command that I enter it says "Unknown Command"...Except the ZCMD command that I type..
Posts: 845
Threads: 123
Joined: Dec 2011
Reputation:
0
Change the commands to ZCMD, I.E CMD:test(playerid, params[]) {
Posts: 582
Threads: 18
Joined: Jul 2010
Reputation:
0
You can't have the public OnPlayerCommandText(playerid, cmdtext[]) if you use zcmd.
P.S.: It's not nice to copy Ditch :/
Posts: 409
Threads: 101
Joined: Jul 2009
Reputation:
0
O: There are no other way ?
Posts: 582
Threads: 18
Joined: Jul 2010
Reputation:
0
No. If you want to convert the commands to zcmd commands, then drop just one strcmp command and i'll give you an example how you can convert them to zcmd.
Posts: 409
Threads: 101
Joined: Jul 2009
Reputation:
0
How can I convert ZCMD to regular command ?
Posts: 349
Threads: 35
Joined: Nov 2007
Reputation:
0
Instead of creating the command in a stock (or something like this, dunno how this zcmd works), create them under a "if(!strcmp(cmdtext,"/cmd",true))" line in OnPlayerCommandText.