[BUG] Personalized SetVehicleNumberPlate
#1

Hello everyone,
I wanted to inform you that there is a bug in SetVehicleNumberPlate
This is my script to the custom SetVehicleNumberPlate
Код:
if(dialogid == 8 && response)
	{
	    if(strlen(inputtext) == 0) return SendClientMessage(playerid,COLOR_GREY,"|> You must enter a license plate!");
	    if(strlen(inputtext) > 5) return ShowPlayerDialog(playerid,8,DIALOG_STYLE_INPUT,"Enter the license plate!","Please enter your desired plate (5 characters max):", "Ok","Back");
	    new carid = GetPlayerVehicleID(playerid);
	    new string[16], string2[32];
		SetVehicleNumberPlate(carid, "%s", inputtext);
		format(string2, sizeof(string2), "|> New license plate: %s",inputtext);
		SendClientMessage(playerid,COLOR_YELLOW2,string2);
		SafeGivePlayerMoney(playerid,-100000);
		SBizzInfo[13][sbTill] += 100000;
		SBizzInfo[13][sbProducts]--;
		OnPropUpdate();
	}
When I go to try to put it on the plate is written % s help me know?
Sorry for my bad english im am italian
Reply


Messages In This Thread
[BUG] Personalized SetVehicleNumberPlate - by alanhutch - 22.12.2010, 11:23
Re: [BUG] Personalized SetVehicleNumberPlate - by DVDK - 22.12.2010, 11:30
Re: [BUG] Personalized SetVehicleNumberPlate - by alanhutch - 22.12.2010, 11:35
Re: [BUG] Personalized SetVehicleNumberPlate - by alanhutch - 22.12.2010, 11:43
Re: [BUG] Personalized SetVehicleNumberPlate - by alanhutch - 22.12.2010, 11:50
Re: [BUG] Personalized SetVehicleNumberPlate - by DVDK - 22.12.2010, 11:51
Re: [BUG] Personalized SetVehicleNumberPlate - by leong124 - 22.12.2010, 13:30
Re: [BUG] Personalized SetVehicleNumberPlate - by Austin - 23.12.2010, 03:53

Forum Jump:


Users browsing this thread: 1 Guest(s)