traintama.blogg.se

Garrys mod split screen
Garrys mod split screen





If (self.CURRENTRANGE >= self.MAX_RANGE) then Local ent = ents.Create("gb5_shockwave_sound_instant")Įnt:SetVar("SOUND", self:GetVar("SOUND")) If GetConVar("gb5_sound_shake"):GetInt()= 1 then Self.shocktime = self:GetVar("Shocktime") If not (table.HasValue(self.FILTER,v)) then If(GetConVar("gb5_realistic_sound"):GetInt() >= 1) thenįor k, v in pairs(ents.FindInSphere(pos,self.CURRENTRANGE)) do Self.CURRENTRANGE = self.CURRENTRANGE+(self.SHOCKWAVE_INCREMENT*10) Self:SetModel("models/props_junk/watermelon01_chunk02c.mdl") Net.Receive( "gb5_net_sound_lowsh", function( len, pl ) Util.AddNetworkString( "gb5_net_sound_lowsh" ) I have every file working fine, but this file is not working AddCSLuaFile()

garrys mod split screen

unknown - addons/garrys_bombs_5_base_528449144/lua/entities/gb5_shockwave_sound_a:80Īnd the code is pretty long.

garrys mod split screen

What is wrong with this code? I get this error: addons/garrys_bombs_5_base_528449144/lua/entities/gb5_shockwave_sound_a:80: bad argument #1 to 'SetPhysicsAttacker' (Entity expected, got nil)Ģ. I tried to fix it for long time, but I'm not the best in Lua coding :/. I tried to fix some Garry's Mod addon and this is what happens.







Garrys mod split screen