Initial commit

This commit is contained in:
2026-03-15 14:54:49 +03:00
commit 64f8029c06
4027 changed files with 254888 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
function gmsave.PlayerSave( ent )
local tab = {}
tab.Origin = ent:GetPos()
tab.Angle = ent:GetAimVector():Angle()
tab.MoveType = ent:GetMoveType()
return tab
end
function gmsave.PlayerLoad( ent, tab )
if ( tab == nil ) then return end
if ( tab.Origin ) then ent:SetPos( tab.Origin ) end
if ( tab.Angle ) then ent:SetEyeAngles( tab.Angle ) end
if ( tab.MoveType ) then ent:SetMoveType( tab.MoveType ) end
end