Garry's Mod

Garry's Mod

Serious Sam SWEPs
MaxSpec 2015 年 8 月 13 日 上午 3:38
Flamethrower issue.
Flamethrower doesn't have any ammo! And then i can't fire with it. So. I need some help.
< >
正在显示第 1 - 15 条,共 17 条留言
MaxSpec 2015 年 8 月 13 日 上午 3:38 
Any ideas why i can't use it?
upset  [开发者] 2015 年 8 月 13 日 下午 2:20 
Is this happening with Cannon too?
MaxSpec 2015 年 8 月 15 日 上午 6:15 
Yes,it does.
upset  [开发者] 2015 年 8 月 15 日 下午 4:45 
Try creating lua file in garrysmod/lua/autorun with these:

game.AddAmmoType({name = "Cannonball"})
game.AddAmmoType({name = "Napalm"})
bsmiller710 2015 年 9 月 1 日 下午 9:42 
how do you do that
Geisteskrankenchan 2015 年 9 月 15 日 下午 11:17 
引用自 upset
Try creating lua file in garrysmod/lua/autorun with these:

game.AddAmmoType({name = "Cannonball"})
game.AddAmmoType({name = "Napalm"})
все сломал
MaxSpec 2015 年 9 月 16 日 上午 6:10 
Исправлено. Глюк был в том,что был DarkRP,который мешал.
Sploink 2016 年 8 月 11 日 上午 6:12 
well the flames are invisable
Sing.larity🌟 2016 年 10 月 29 日 上午 7:08 
To fix this please..

[Serious Sam SWEPs] lua/effects/ss_flamethrower/init.lua:31: bad argument #2 to '__mul' (number expected, got nil)
1. __mul - [C]:-1
2. unknown - lua/effects/ss_flamethrower/init.lua:31
ahnok 2017 年 1 月 4 日 上午 1:29 
[Serious Sam SWEPs] lua/effects/ss_flamethrower/init.lua:31: bad argument #2 to '__mul' (number expected, got nil)
1. __mul - [C]:-1
2. unknown - lua/effects/ss_flamethrower/init.lua:31

Same here. advice is needed
Melody 2017 年 2 月 20 日 上午 10:09 
To author: In order to fix the Flamethrower issue:

[ERROR] lua/effects/ss_flamethrower/init.lua:31: bad argument #2 to '__mul' (number expected, got nil) 1. __mul - [C]:-1 2. unknown - lua/effects/ss_flamethrower/init.lua:31

you should declare the "frametime" variable in lua\effects\ss_flamethrower\init.lua, under "EFFECT:Render()", since it is a nil value:

function EFFECT:Render() local frametime = FrameTime() if self.HitPos and self.Pos:Distance(self.HitPos) <= 32 then self.Pos = self.HitPos + self.Normal*frametime*1200 +self.Normal:Angle():Up()*frametime*self.Size/1.85 end ...

To users: To just avoid the error you can simply drag the file "addons\serious_sam_sweps_258523980.gma" to "bin\gmad.exe", then open "addons\serious_sam_sweps_258523980\lua\effects\ss_flamethrower\init.lua", do the tweak, save the file and just open GMod.
DS-OP Marcia V. 2017 年 5 月 21 日 上午 2:35 
@Melody~ What do you mean for tweak im not English so i dont understand the mean of Tweak in the files
MaxSpec 2017 年 5 月 23 日 下午 8:56 
Guys,this is really an old post.. If you have dark Rp,remove it.
fatty fat 2018 年 9 月 19 日 上午 12:00 
when ever i use the flame thrower it says "Serious Sam SWEP is creating script errors" does anyone know how to fix?
Melody 2018 年 9 月 19 日 上午 3:24 
引用自 Don’t talk to me!
when ever i use the flame thrower it says "Serious Sam SWEP is creating script errors" does anyone know how to fix?
Check my answer above.
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50