05.09.2017, 09:07
You're using SelectObject.
https://sampwiki.blast.hk/wiki/SelectObject
SelectObject displays the cursor and allows the player to select an object. OnPlayerSelectObject is called when the player selects an object.
I recommend using EditObject instead of SelectObject. I assume this was your original intention. You don't want players being allowed to select any object.
https://sampwiki.blast.hk/wiki/SelectObject
SelectObject displays the cursor and allows the player to select an object. OnPlayerSelectObject is called when the player selects an object.
I recommend using EditObject instead of SelectObject. I assume this was your original intention. You don't want players being allowed to select any object.