sscanf warning format specifier does not match parameter count
#1

pawn Код:
COMMAND:vcolor(playerid, params[])
{
new color1,color2;
if(sscanf(params, "ii", color1, color2)) return SendClientMessage(playerid, COLOR_RED, "Usage: /vcolor [0-255] [0-255]");
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) return SendClientMessage(playerid, COLOR_WHITE, "You are not in a vehicle.");
ChangeVehicleColor(GetPlayerVehicleID(playerid),color1,color2);
GameTextForPlayer(playerid,"~y~Vehicle Color Changed",2000,3);
return 1;
}
i get this error when i type the command:
Код:
sscanf warning: Format specifier does not match parameter count
Reply


Messages In This Thread
sscanf warning format specifier does not match parameter count - by ZBits - 24.01.2013, 05:07
Re: sscanf warning format specifier does not match parameter count - by -=Dar[K]Lord=- - 24.01.2013, 05:41
Re: sscanf warning format specifier does not match parameter count - by Vince - 24.01.2013, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)