Dynamic vehicle plate system
#10

Change
pawn Код:
Vehicles[i][plate] = dini_Int(CarFile(i), "plate");
to
pawn Код:
format(Vehicles[i][plate], 32, "%s", dini_Get(CarFile(i), "plate"));
Then remove the
pawn Код:
new iStr;
format(iStr, sizeof(iStr), "%s", plate);
And set the plate:
pawn Код:
SetVehicleNumberPlate(i, Vehicles[i][plate]);
Also make sure that Vehicles[i][plate] is defined a String in the enum.
Reply


Messages In This Thread
Dynamic vehicle plate system - by justjamie - 04.04.2016, 10:31
Re: Dynamic vehicle plate system - by Sew_Sumi - 04.04.2016, 11:11
Re: Dynamic vehicle plate system - by Vince - 04.04.2016, 11:19
Re: Dynamic vehicle plate system - by justjamie - 04.04.2016, 11:21
Re: Dynamic vehicle plate system - by Sew_Sumi - 04.04.2016, 11:31
Re: Dynamic vehicle plate system - by justjamie - 04.04.2016, 12:27
Re: Dynamic vehicle plate system - by Sew_Sumi - 04.04.2016, 13:44
Re: Dynamic vehicle plate system - by justjamie - 04.04.2016, 14:14
Re: Dynamic vehicle plate system - by justjamie - 04.04.2016, 15:08
Re: Dynamic vehicle plate system - by introzen - 04.04.2016, 15:18

Forum Jump:


Users browsing this thread: 2 Guest(s)