08.07.2015, 19:59
PHP код:
new model[32], modelid, dealerid, color1, color2, price;
if(sscanf(params, "dsddd", dealerid, model, color1, color2, price))
PHP код:
new model[32], modelid, dealerid, color1, color2, price;
if(sscanf(params, "ds[32]ddd", dealerid, model, color1, color2, price))
It's an integer...
The following code would be your best bet...
PHP код:
new model, modelid, dealerid, color1, color2, price;
if(sscanf(params, "ddddd", dealerid, model, color1, color2, price))