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
Posts 16–20 of 20 · Page 2 of 2
Post a Reply
Tags for this Thread
None
I'm glad it works.
Ok, this works, but the mod is not working like i want, when i kill someone, i dont get xp