Author Topic: What is the command...  (Read 543 times)

What is the command for when a player clicks? (Like you click and the player moves his arm) mousefire(); seems to only work with guns.

mousefire(); is clientside. That won't work for detecting things on the server.

Player::activateStuff(%this) if I remember right. Potentially some other arguments (use trace() to check) and I think it has a return value of whatever it hits.

So it's server sided?

mousefire is clientsided
activatestuff is serversided.


lol it's "on activate" in events, i'm pretty sure it's the first one there. Come on man i even knew that!

lol it's "on activate" in events, i'm pretty sure it's the first one there. Come on man i even knew that!
He isn't talking about events.

lol it's "on activate" in events, i'm pretty sure it's the first one there. Come on man i even knew that!

You're a loving handicap.