sscanf /veh cmd help
#1

if(sscanf(params, "iii", iVehicle, iColors[0], iColors[1])) {
SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /veh [model name/ID] [color 1] [color 2]");
}

Okay, I have this code for my /veh(Vehicle Spawn(ing)) command, - and I don't know how what specifier to use so that it can be an integer, or a string(for the vehicle name). Thanks.
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: 1 Guest(s)