SA-MP Forums Archive
Finding best corresponding object using ******' object model sizes? - 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: Finding best corresponding object using ******' object model sizes? (/showthread.php?tid=546849)



Finding best corresponding object using ******' object model sizes? - knackworst - 18.11.2014

Hi there

I was wondering, is it possible (and if it were possible how should it be done) to look for an object which size is the most corresponding with a given object?

For example a function like this:
GetCorrespondingObjectModel(18890), this will return the object that is the most similar to object id 18890 (size wise)
I think this is possible and that this could be used for that: https://sampforum.blast.hk/showthread.php?tid=407909

But I don't see how to use it to make such a function :/

Thanks in advance