Advertisement
Jak92

Creates a clientside prop with physics.

Jul 4th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. concommand.Add( "testent", function( ply )
  2.     local plyTr = ply:GetEyeTrace()
  3.  
  4.     csEnt = ents.CreateClientProp( "models/props_combine/combine_light001b.mdl" )
  5.     csEnt:SetPos( plyTr.HitPos + plyTr.HitNormal * 24 )
  6.     csEnt:Spawn()
  7. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement