Quote:
Originally Posted by daren adler
I know this is old and been a long time, it works for me but i use merchants and need the (r hold) for them, is there a way to change this to mouse 2 (ATTACK2) insteed of r? i tryed and put PlayerButtons.ATTACK2 and compiled but did not work.
|
PHP Code:
if(buttons & IN_RELOAD) {
setClientToProjectileiew(client);
->
PHP Code:
if(buttons & IN_ATTACK2) {
setClientToProjectileiew(client);
Lugui was there any particular reason you went with OnGameFrame() instead of OnPlayerRunCmd() to get the client's button inputs?