
03-26-2006, 12:37 AM
|
Registered User
|
Join Date: Aug 2005
Posts: 79
|
|
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? |
|
|