16.09.2012, 11:53
I know i saw somewhere but i don't know where, to make a part in sscanf arbitrary, for an example
to make the colors arbitrary. So if the player doesnt input the colors it sets to default ( 0 - black )
pawn Код:
if(sscanf(params, "ddd", id, col1, col2)) return SendClientMessage(playerid, COLOR_RED, "Error : "COL_WHITE"Uncorrect format. /veh [VehicleID][col1][col2]. Use wiki.sa-mp.com/wiki/Vehicles:All");