24.02.2012, 09:58
I'm just saying that it's way more efficient than strcmp, especially that you have over 400 cmds in your script.. but oh well, here's the solution for your problem.
pawn Код:
if(strcmp(cmdtext, "/addv", true, 5) == 0)
{
//code
new model[32], modelid, dealerid, color1, color2, price;
if(sscanf(cmdtext[6], "ds[32]ddd", dealerid, model, color1, color2, price))