13.08.2009, 11:51
under OnPlayerCommandText
dcmd(caps,4,cmdtext);
Exactly like it shows on the wiki about dcmd and sscanf
Edit: Just tried using "i" instead of "u" and it works fine. Not sure why it says to use "u" on the examples but it didnt work with that for me.
dcmd(caps,4,cmdtext);
Exactly like it shows on the wiki about dcmd and sscanf
Edit: Just tried using "i" instead of "u" and it works fine. Not sure why it says to use "u" on the examples but it didnt work with that for me.