sscanf /veh cmd help
#2

You can use "s" so that you can type the name of the vehicle as well.

pawn Код:
new iVehicle[128];
if(sscanf(params, "s[128]ii", iVehicle, iColors[0], iColors[1]))
To get the id of the vehicle by the name, create a stock witch does that.
Reply


Messages In This Thread
sscanf /veh cmd help - by DamonD - 21.05.2014, 20:47
Re: sscanf /veh cmd help - by SickAttack - 21.05.2014, 20:50

Forum Jump:


Users browsing this thread: 2 Guest(s)