WeaponSkillers Mod

Posts 16–20 of 20 · Page 2 of 2
the 3rd one is the akimbo boolean value. If you put it as true and it's not an akimbo weapon it will screw up.
oh thx lol
i thought it was to enable attachments or not ^^
Quote Originally Posted by master131 View Post
@Arasonic That doesn't matter, they're the same thing.


_rank.gsc
Code:
else if ( self.WepLevel >> 5 )
>> is the bitshift operator in C++ (which does nothing in GSC). That sign should just be >.

Code:
xpHud setText( self.Curxp + self.xpTable["levelup"] );
I'd be careful about that line, it might come up as '025' as the text since using + in setText joins things together. For extra safety you could add a line like this:
Code:
xp = self.Curxp + self.xpTable["levelup"];
xpHud setText( xp );
Code:
self giveWeapon("ump45_silencer_mp", 0);
Don't you need to add false at the end? self giveWeapon("ump45_silencer_mp", 0, false);

_experienc.gsc
Code:
if ( self.health =< 0 )
That operator is wrong. It's <=.
Thanks, i will try and put the result on edit

EDIT: works =D
Ok, this works, but the mod is not working like i want, when i kill someone, i dont get xp
Posts 16–20 of 20 · Page 2 of 2
This thread is closed for replies.
Talk with us