sscanf warning: Format specifier does not match parameter count.
#4

Quote:
Originally Posted by AroseKhanNaizi
Посмотреть сообщение
as he said
PHP код:
if(sscanf(params"uii[64]"playerbslotcarsellingtoplayerprice)) return SendClientMessage(playeridCOLOR_WHITE"[Usage]: /sellmybusiness [playerid] [slot] [price]"); 
The lenght in brackets is for strings so you've to remove it.

pawn Код:
new playerb, slot, carsellingtoplayerprice;
if(sscanf(params, "uii", playerb, slot, carsellingtoplayerprice)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /sellmybusiness [playerid] [slot] [price]");
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)