SA-MP Forums Archive
Object Names - 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: Object Names (/showthread.php?tid=348068)



Object Names - Nuke547 - 04.06.2012

I'm working on a system with objects/toys...

Is there anything to the name of the object from the ID like it works with vehicle ids
Like the GetVehicleModel-400 thing?


Re: Object Names - MP2 - 04.06.2012

Not really, because there's ~18,000 objects. I don't think anyone has done this.


Re: Object Names - Nuke547 - 04.06.2012

How does NGG do it?


Re: Object Names - MP2 - 04.06.2012

They've likely gone through those 18,000 objects and named them in either an array, file or mySQL (or whatever method they used).


Re: Object Names - SuperViper - 04.06.2012

I've actually done it but I won't be releasing my object array.


Re: Object Names - Nuke547 - 04.06.2012

Quote:
Originally Posted by SuperViper
Посмотреть сообщение
I've actually done it but I won't be releasing my object array.
If not, then please tell me what the point of posting that was?


Re: Object Names - SuperViper - 04.06.2012

MP2 stated that he doesn't think anyone has done this. I wanted to let him know that I have just to inform him.