WeaponSkillers Mod

Posts 1–15 of 20 · Page 1 of 2
WeaponSkillers Mod
This mod is in my creating list: WeaponSkillers
I dont se any errors but when i start the map, alterIWnet give me a message saying "Script Compile Error: Bad Syntax"

Someone can find the error and tell me.
Thanks All

VirusTotal: VirusTotal - Free Online Virus, Malware and URL Scanner
VirSCAN: WeaponSkiller.rar MD5:197e31a0a190f4104dc4f976fd7e5df8 - VirSCAN.org Scanners did not find malware!

The mod download for tests:
WeaponSkiller.rarattachment deleted · 16 downloads before removal
Hello someone here?
Quote Originally Posted by sdm View Post
Hello someone here?
Yes, I am here. But I am not sure of all your commands.

And I am not so advanced.

So I can't help you here.


Sorry.
All my commands is in the attach, but thanks
Quote Originally Posted by sdm View Post
All my commands is in the attach, but thanks
I know that.
But the GSC coding style you have done. is a little to advanced for me to understand.
Or maybe thats the error....
lol, i dont know whats the error, but i think is not the error, my code style
Quote Originally Posted by sdm View Post
lol, i dont know whats the error, but i think is not the error, my code style
Okey:

Maybe this? :
else if ( self.WepLevel >> 5 )
Or this? :
if ( self.WepLevel == 0 )
What is the self.WepLevel


Sorry if not to much help. But I don't Understand the full code typing
is one of my mod vars, sets on the onPlayerConnect(), this is not a mistake
SOMEONE HELP ME PLEASE

i will change this:
Code:
else if ( self.WepLevel >> 5 )
to this:
Code:
else if ( self.WepLevel >= 6 )
and test, edit in some seconds...

EDIT: fuck this doesnt work
SOMEONE HERE?
OMG people will help if they want and pls dont spam omg
Only went through the _rank very quick due to having to go, but theres two things I saw:
Code:
self setClientDvar("perk_weapReloadMultiplier", "1.5");
should be
Code:
self setClientDvar("perk_weapReloadMultiplier", 1.5);
And, you just need to type >
Not two, not >=, though I don't think it matters with the = there
lol, but i ever uses ">=" and never got error

I will test
and give the result

FUCK, still getting error
@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 <=.
i think the weapon thing sould be true isnt? to allow attachments? i dont know very much
Posts 1–15 of 20 · Page 1 of 2
This thread is closed for replies.
Talk with us