SetVehicleNumberPlate Question
#1

How can i make it where everycar has a different unique plate number that saves in there user file?

423-AYY

For Example?
Reply
#2

Well, you could make it use the Vehicle's Index ID.
Then theres no chance of there being a non unique Plate.
like:
Код:
	new lplate[9];
	vehicleId = random(100);
	for(new i = 0; i < 5; i++)
		lplate[i] = 65+random(24);
	format(lplate,9,"%s-%d",lplate,vehicleid);
	SetVehicleNumberPlate(vehicleid,lplate);
Reply
#3

kk Thanks


Off Topic:
Where does...... /saveex save??
Reply
#4

gta user files - SAMP - saved positions
Reply
#5

Nope no
/Saveex
Reply
#6

It should be a custom command.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)