UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

bad syntax?

broken avatar :(
Created 4 years ago
by Dark_Ninja
0 Members and 1 Guest are viewing this topic.
434 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 20 July 2019
Last active: 2 years ago
Posts
14
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
×
Dark_Ninja's Groups
Dark_Ninja's Contact & Social LinksDark_Ninjaa_DarkNinjaa_DarkNinjaaDarkNinja#3633
I'm new to map-making and I added some custom guns into the files and used the mod builder to add them. Now when I load my maps I get:
ERROR:  Server script compile error
bad syntax
 add_zombie_weapon( "mosin_rifle",       &"ZOMBIE_WEAPON_MOSIN_200",     200, "",    0);
(see console for details)

When I check the log:

Error:
******* Server script compile error *******
Error: bad syntax: (file 'maps/_zombiemode_weapons.gsc', line 201)
 add_zombie_weapon( "mosin_rifle",       &"ZOMBIE_WEAPON_MOSIN_200",     200, "",    0);

Any help would be appreciated!

 
Loading ...