View Single Post
  #3  
Old 04-30-2007, 03:59 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Weapons/Basic Sword
PHP Code:
join( "functions_weapon" );
//#CLIENTSIDE
function onCreated( NULL )
{
  
this.item_type = "weapon";
  
this.item_name = "Basic Sword";
  
this.item_var = "basicsword";
  
  
this.sword_damage = 10;
  
this.sword_freezetime = .5;
  
this.sword_gani_idle = "idle";
  
this.sword_gani_walk = "walk";
  
this.sword_gani_attack = "sword";
  
this.sword_image = "sword2.png";
} 
in the class

PHP Code:
[...]
//#CLIENTSIDE
[...]
function 
onWeaponFired( NULL )
{
  
equipWeapon( NULL );
} 
__________________
Reply With Quote