I also got it working on the test script, i'm going to try to migrate this to the whole gunscript I'll post the script once I'm finished
edit: the whole script isn't working it works without the gani variables but when I try to make it like in the script shown above it doesn't play any of the ganis
here's the script
Quote:
//#CLIENTSIDE
function onEquip () {
this.equiped = true;
freezeplayer(this.equip);
setani("pb_mp5navy-equip", null);
replaceani("walk", "pb_mp5navy-walk");
replaceani("idle", temp.idle);
}
function onCreated() {
this.spread = 0.00; // Controls the spread of weapon
this.speed = 0.2; // Controls the fire rate of weapon
this.reload = 0.1;
this.freeze = 0.1;
this.bulletangle = -.5;
this.equip = 0.2;
disableweapon(sword);
temp.idle = "pb_mp5navy-idle";
|
all im trying to do is get the ganis set as variables something is wrong with it because it's not playing the setanis or replace anis but on the test script the code im using but the temp.idle is making me invisable