25.08.2009, 10:46
Quote:
Originally Posted by ZeeX
Maybe you have changed the order of commands at OnPlayerCommandText? Have you tried to change ALL commands to dcmd and sscanf?
Also you may try this system instead of dcmd, it should decrease your CPU usage. |
But it seems that its hard to get it working as smoothe, as it is with strtok.
What i mean is, with strtok, there were some commands i made where they would have more than one result depending on the param used.
Like i made /pcarcolor [color1] [color2]
If the only one used was colour 1, then colour 2 would equal colour 1.
and if colour2 was used, then they would both be used on the vehicle.
Commands like that i found hard in sscanf.