SA-MP Forums Archive
Objects not detected by SelectObject() - 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: Objects not detected by SelectObject() (/showthread.php?tid=541696)



Objects not detected by SelectObject() - Mhaux - 13.10.2014

Hi

I don't understand why some objects are detected by SelectObject() and some objects are not detected?

Can you help me please?








Thank you!


Re: Objects not detected by SelectObject() - Mhaux - 15.10.2014

Need help, please


Re: Objects not detected by SelectObject() - Pottus - 15.10.2014

Only objects with collision can be selected in this manner there is some options however such as making a command to select the closest object to the player or providing 3d text labels with the index of the object.


Re: Objects not detected by SelectObject() - Mhaux - 15.10.2014

Thank you for this information.

So either I use only objects with collision, or I don't use SelectObject()...

Sad news.