QUESTION - SELECTABLE OBJECT / CLICK OBJECT / NEED FAST! [REP++]
#1

https://www.youtube.com/watch?v=NMxmX-HBs-Q (9.29) - how did they do that thing ? Clicking on the objects?

I tried with SelectObject but pink axes and info appears when i hover to an object, and i don't want that. Also , it's strange and not accurate when i hover to an object ( i mean with SelectObject ) .
Reply
#2

Use SelectObject and OnPlayerSelectObject to do what you want with the object the player clicked on instead of returning EditObject.
https://sampwiki.blast.hk/wiki/OnPlayerSelectObject
Reply
#3

Eh, the trick is they set your camera position and freeze you. So it's most probably done with selectable textdraw boxes spaced around the screen, when the player clicks on the appropriate (invisible) textdraw box, the appropriate object gets destroyed (or moved).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)