02.02.2014, 02:18
Well like the title say. In zcmd and sscanf, how do I make a cmd like this, /take [item]?
Examples: /take key, /take phone, /take watch etc.. ?
I only know the strcmp way but since zcmd and sscanf is supose to make it faster i figgured that doing it the strcmp way would slow it down making it useless to even upgrade to sscanf and zcmd in the first place..
So please give me some small code so I can understand.
Examples: /take key, /take phone, /take watch etc.. ?
I only know the strcmp way but since zcmd and sscanf is supose to make it faster i figgured that doing it the strcmp way would slow it down making it useless to even upgrade to sscanf and zcmd in the first place..
So please give me some small code so I can understand.