Thread: setani problems
View Single Post
  #9  
Old 06-05-2013, 06:08 PM
defaultaccount defaultaccount is offline
Cassini
Join Date: Feb 2006
Location: HeLLifAX
Posts: 299
defaultaccount is on a distinguished road
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

Last edited by defaultaccount; 06-05-2013 at 06:36 PM..
Reply With Quote