Vehicle ID/Name
#1

i was wondering if there's an actual function that checks if the string/integer that was typed is a valid vehicle id or name.

thank you!
Reply
#2

In my signature there's a link, "Creating Useful Functions" click it.
Scroll down a bit and you should find stock IsValidModelID(ModelID)
Copy and paste the code into your own code and compile.
Don't forget to comment on my thread if I helped you.

Hope you learned a thing or two.
If you require more help you can PM me or add my Skype: TheLazySloth
Thanks for Reading.
Reply
#3

the function on your thread only checks the vehicle id, which is easy. i'm looking for something that checks both vehicle name and id. i already have one, using the good old
Код:
ReturnVehicleModelID()
thanks for trying though.
Reply
#4

Sure thing =] Have a great day.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)