How to get vehicle info - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to get vehicle info (
/showthread.php?tid=274268)
How to get vehicle info -
kingchandio - 05.08.2011
i want get vehicle info in game while sitting in it by typing
/vinfo
and it will show information like
Owner:
vehicle id: // that will show vehicle id not model id.
Re: How to get vehicle info -
Toreno - 05.08.2011
Do you have a vehicle system? since if you had, there should have been /vinfo or anything like that.
If not, how do you expect us to get the owner, who will it be?
Re: How to get vehicle info -
iPLEOMAX - 05.08.2011
We know nothing about your Script! As Eliran said, you gotta create a vehicle system which saves the infos like owner/price/mods etc..
If you have created one, then post the variables where you store them, then we might be able to help ya out.
Re: How to get vehicle info -
kingchandio - 05.08.2011
no i dont have it, i am planing to make system but i want to know how to get info by sitting in veh and get its info any example?
Re: How to get vehicle info -
Toreno - 05.08.2011
You can't GET info unless you have a ready vehicle system with variables and enums, like owner and number of vehicles. It not works this way, find a vehicle system on forums which is ready and learn how that works.