• Effects don't appear on multiplayer
    3 replies, posted
Hello guys, I have a problem with Effects , they don't appear in multiplayer at all, but works fine in Single Player Here is the Effect that i want it working in Multiplayer: [lua] function ENT:Bang() --######## The effect, and killing the player if they're flying @RononDex self:EmitSound(Sound("Explosion.mp3"),100,100); local fx = EffectData(); fx:SetOrigin(self:GetPos()); util.Effect("dirtyxplo",fx); if(self.Inflight) then self:Exit(true); end self.Done = true; self:Remove(); end end [/lua] Help is greatly appreciated
add true as your 4th parameter to util.Effect call if you are calling in on server in multiplayer. [url]http://wiki.garrysmod.com/page/util/Effect[/url]
I changed [lua] util.Effect("dirtyxplo",fx); [/lua] to this: [lua] util.Effect("dirtyxplo",fx, false, true); [/lua] But still doesn't work!
I aint much into effects, but if its an custom effect, are you sure the client received it successfully?
Sorry, you need to Log In to post a reply to this thread.