sscanf
#1

How can i make it so if the player doesnt type the price and payout it defaults to those numbers? Right now its working as if the player doesnt type the name it defaults to For Sale

pawn Код:
if(sscanf(params,"i(500000)i(250000)S(For Sale)[128]",cost,payout,name))return SendClientMessage(playerid, 0xFF0000AA, "Usage: /createbiz [cost] [payout] [name]");
Its not working
Reply


Messages In This Thread
sscanf - by SnG.Scot_MisCuDI - 16.03.2012, 03:40
Re: sscanf - by Thomas. - 16.03.2012, 06:57

Forum Jump:


Users browsing this thread: 4 Guest(s)