View Single Post
Sreaper
髪を用心
Join Date: Nov 2009
Old 07-24-2022 , 16:21   Re: Projectile Camera
Reply With Quote #7

Quote:
Originally Posted by daren adler View Post
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?

Last edited by Sreaper; 07-24-2022 at 18:41.
Sreaper is offline