So instead of
PHP Code:
setshootparams("shoot",this.gunpow,player.account);
Change that? To something like
PHP Code:
setshootparams(player.weapon,this.gunpow.playeraccount);
If that's not what you mean, then what exactly do you mean?
Edit 1:
Oooh you mean the function shoot()
Alright, thanks.
Edit 2:
Works now, thanks Stefan. I assume the function shoot() was colliding with the shoot command or something?