View Single Post
  #1  
Old 03-26-2006, 12:37 AM
Coolkid77742 Coolkid77742 is offline
Registered User
Join Date: Aug 2005
Posts: 79
Coolkid77742 is an unknown quantity at this point
Question Err Help with this script

Im trying to get my Item loaded on a server and will be like once this is fixed but why wont this work?
//#CLIENTSIDE
function onWeaponFired() {
this.active = !this.active;
if(this.active) {
replaceani("idle", "caenon-idle");
replaceani("walk", "caenon-walk2");
setani("swim", NULL);
} else {
replaceani("idle", "idle");
replaceani("walk", "walk");
setani("idle", NULL);
}
}

Its supposed to replace the players idle with Caenon-Idle and there walk with Caenon-Walk2 and when its unfired it goes back to normal?
__________________
]
Reply With Quote