Params Not Detected When Using Command
#5

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))
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)