SA-MP Forums Archive
Get the Number Plate of a Vehicle? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Get the Number Plate of a Vehicle? (/showthread.php?tid=550932)



Get the Number Plate of a Vehicle? - Ox1gEN - 15.12.2014

Is it possible to do so?


Re: Get the Number Plate of a Vehicle? - dusk - 15.12.2014

There's no native support for it.

You could hook SetVehicleNumberPlate and store that number plate. But it would need quite a large array to store all vehicle number plates.


Re: Get the Number Plate of a Vehicle? - Raweresh - 15.12.2014

Nope but you can modify your function SetVehicleNumberPlate to save that to variable.


Re: Get the Number Plate of a Vehicle? - Ox1gEN - 15.12.2014

Quote:
Originally Posted by dusk
Посмотреть сообщение
There's no native support for it.

You could hook SetVehicleNumberPlate and store that number plate. But it would need quite a large array to store all vehicle number plates.
Well maybe you can give me another way of doing something.
I thought about using number plates to identify the player's vehicle.
Is there any different way which doesn't involve number plates?


Re: Get the Number Plate of a Vehicle? - Clad - 15.12.2014

Yes it is possible.