Initial commit
This commit is contained in:
8
addons/plogs/lua/plogs_hooks/props.lua
Normal file
8
addons/plogs/lua/plogs_hooks/props.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
plogs.Register('Props', true, Color(50,175,255))
|
||||
|
||||
plogs.AddHook('PlayerSpawnProp', function(pl, mdl)
|
||||
plogs.PlayerLog(pl, 'Props', pl:NameID() .. ' spawned ' .. mdl, {
|
||||
['Name'] = pl:Name(),
|
||||
['SteamID'] = pl:SteamID()
|
||||
})
|
||||
end)
|
||||
Reference in New Issue
Block a user