23.04.2011, 17:15
Try using zcmd.
Also, you can't mix strtok and zcmd. (or any alternating command procssors)
When you use zcmd, don't place it in ANY public, but put it at the bottem of your script.
And don't forget to #include <zcmd> on top
A regular zcmd command looks like this:
the return 1; is also from mayor importance, leaving it away will cause an error
Hope this helped
Also, you can't mix strtok and zcmd. (or any alternating command procssors)
When you use zcmd, don't place it in ANY public, but put it at the bottem of your script.
And don't forget to #include <zcmd> on top
A regular zcmd command looks like this:
Код:
CMD:yourcommandhere(playerid, params[]) { // do something here return 1; }
Hope this helped