What function would I use to emit a small patch of smoke from a certain position of a player? I was thinking particles, or something like this: http://wiki.garrysmod.com/?title=Util.Effect
util.Effect or create an info_particle_system entity at the position
local em = ParticleEmitter( LocalPlayer():EyePos() );
local e = em:Add(“sprites/smoke_exhaust_01”, LocalPlayer():EyePos() );
e:SetColor( 255, 255, 255, 255 );
e:SetVelocity( Vector( 0, 0, 0 ) );
e:SetDieTime( 2 );
e:SetLifeTime( 1 );
e:SetStartSize( 10 );
e:SetEndSize( 1 );
Would something like this do? It doesn’t do anything, however.
Is it client-side?
Yep, but I want others able to see it too. The code above seems to break everything clientside.