UGX-Mods
Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: isaacscott2005 on July 29, 2017, 06:38:35 pm
-
Hey, I was just trying to add a weapon made by @BluntStuffy, but it says when I load up my map 'Server Script Compile Error', and then it says 'bad syntax'. If you could have a look at the weapon and try and work out what I have done wrong.
In zombiemode_weapons.gsc, I put:
add_zombie_weapon( "iw7_proteus_zombie", &"ZOMBIE_WEAPON_IW7_PROTEUS_S_750", 750 "vox_ppsh", 5);
add_zombie_weapon( "iw7_proteus_zombie_upgraded", &"ZOMBIE_WEAPON_IW7_PROTEUS_S_B_750 750 "vox_ppsh", 5);
(these are in the 'scoped' section)
Any ideas what I should fix? Thanks
-
add_zombie_weapon( "iw7_proteus_zombie", &"ZOMBIE_WEAPON_IW7_PROTEUS_S_750", 750 "vox_ppsh", 5);
add_zombie_weapon( "iw7_proteus_zombie_upgraded", &"ZOMBIE_WEAPON_IW7_PROTEUS_S_B_750 750 "vox_ppsh", 5);
should be
add_zombie_weapon( "iw7_proteus_zombie", &"ZOMBIE_WEAPON_IW7_PROTEUS_S_750", 750 "vox_ppsh", 5);
add_zombie_weapon( "iw7_proteus_zombie_upgraded", &"ZOMBIE_WEAPON_IW7_PROTEUS_S_B_750", 750 "vox_ppsh", 5);
(you forgot the ", at the end of the second string on the second line)
-
It's still not working for some reason.....any ideas?
-
also missing a comma after the 750