forked from Mythikos/gmod-flood-2.0
Update sv_player.lua
This commit is contained in:
parent
0b8c55dd2a
commit
cbb46fc1a5
@ -307,7 +307,8 @@ function GM:PurchaseProp(ply, cmd, args)
|
||||
local ea=ply:EyeAngles()
|
||||
ea[1]=0
|
||||
ea[3]=0
|
||||
ent:SetAngles(-ea)
|
||||
ent:SetAngles(ea)
|
||||
ent:SetAngles((ent:GetForward()*-1):Angle())
|
||||
ent:SetPos(tr.HitPos + Vector(0, 0, (ent:OBBCenter():Distance(ent:OBBMins()) + 5)))
|
||||
ent:CPPISetOwner(ply)
|
||||
ent:Spawn()
|
||||
|
Loading…
Reference in New Issue
Block a user