06.02.2014, 20:00
This is very easy..
Rename the #include <dcmd> TO
Then, just replace all your commands to CMD:YourCommandhere(playerid,params[])
Example:
to
And remove the dcmd stuff under OnPlayerCommandText
Rename the #include <dcmd> TO
Quote:
#include <zcmd> |
Then, just replace all your commands to CMD:YourCommandhere(playerid,params[])
Example:
Код:
dcmd_heal(playerid, params[])
Quote:
CMD:heal(playerid, params[]) |
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(heal, 4, cmdtext); // REMOVE THIS return 0; }