Arbitrary part in sscanf
#1

I know i saw somewhere but i don't know where, to make a part in sscanf arbitrary, for an example
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");
to make the colors arbitrary. So if the player doesnt input the colors it sets to default ( 0 - black )
Reply


Messages In This Thread
Arbitrary part in sscanf - by MarkoN - 16.09.2012, 11:53
AW: Arbitrary part in sscanf - by Nero_3D - 16.09.2012, 12:31
Re: Arbitrary part in sscanf - by MarkoN - 16.09.2012, 12:39
Re: Arbitrary part in sscanf - by Seven_of_Nine - 16.09.2012, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)