Jump to content

onClientClick used to pickup weapons


kewizzle

Recommended Posts

Posted

i tried to use 

onClientClick

to pickup weapons but it doesn't seem to recognize them as an element? Does it not work with pickups?

MTA:SA Scripting Is Fun!

spacer.png

Posted (edited)

A few ways would be to check if there are any weapons within a specified radius of the area you clicked or add a small invisible object, though big enough to click on.

The reason that you can't click on them is that they are collisionless.

Edited by xyzii
Posted
On 2017. 03. 22. at 09:58, xyzii said:

A few ways would be to check if there are any weapons within a specified radius of the area you clicked or add a small invisible object, though big enough to click on.

The reason that you can't click on them is that they are collisionless.

This one is the answer tho.

6C73yFv.png

Did I help you?

Mmpe7Jm.gif


NeXuS™#0001

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...