UGX-Mods

Call of Duty 5: World at War => Help Desk => Modding => Topic started by: Dark_Ninja on August 19, 2020, 09:11:08 pm

Title: bad syntax?
Post by: Dark_Ninja on August 19, 2020, 09:11:08 pm
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!