View Single Post
  #9  
Old 08-05-2011, 01:16 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
ok thx guys

just to make sure I understood correctly:
PHP Code:
//#CLIENTSIDE
function onKeypressed(){
  if (
keydown2(keycode(d),true)){
    
player.weapon.trigger("weaponFired");  
  }
}

public function 
onWeaponFired() {
  
player.chat "test";

Is this the way it should be?
__________________
MEEP!
Reply With Quote