[LUA] Perform action on click of player

KamikazeSripterul

Well-known member
Joined
Jun 30, 2019
Messages
353
Reaction score
23
Hello dear scripters, I was researching on a function in LUA that can help me detect the click of a player. What I want my mod to do is be able to enable / disable the crosshair through right click and using the click of a player, it would do [/id <id of the player>]. I couldn't find a function or something like that to get some data back from a click or anything.

Can anyone help with this? Thank you in advance.
 
Top