05.06.2012, 18:10
Yep, you're using things from OnPlayerCommandText. Things that aren't defined in zcmd.
As Kitten said, use "params". You could simply replace "tmp" with "params" and delete the part where you set up tmp - "tmp = strtok(cmdtext, idx);"
As Kitten said, use "params". You could simply replace "tmp" with "params" and delete the part where you set up tmp - "tmp = strtok(cmdtext, idx);"