2013martin1212 Posted November 4, 2016 Share Posted November 4, 2016 Hello all i have an opensource mta dayz script and try to edit to if the player was click on the car then open the car inventory and not if the player move closer to the car someone can help me where i can find this and how can be edit or just what i need to looking for and which functions i need to use Link to comment
MIKI785 Posted November 4, 2016 Share Posted November 4, 2016 This isn't the way to ask for help in this section. The correct way is to post a code snippet, tell us what's wrong, what it should do, errors/warnings from debug etc.. and we then tell you how to fix it/make it do what you want. Link to comment
Gravestone Posted November 5, 2016 Share Posted November 5, 2016 Use onClientClick to check if the player's mouse button was clicked and the last parameter of this event is the world's element that was clicked. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now