mirror of
https://github.com/NanoAi/gm_pug.git
synced 2025-03-04 03:03:15 -05:00
A fix and improved notifications.
Fixed "expected integer" in network.lua:90. Improved "pug_istrap" & "pug_doorghost" notifications.
This commit is contained in:
parent
355624047b
commit
5d4ad09f76
@ -175,6 +175,8 @@ net.Receive("pug.send", function( len )
|
|||||||
showSettings( net.ReadData( len ), len )
|
showSettings( net.ReadData( len ), len )
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
language.Add("pug_istrap", "The entity cannot be unghosted because there is something inside it")
|
||||||
|
language.Add("pug_doorghost", "Your fading door has been ghosted because something was obstructing it")
|
||||||
language.Add("pug_ghost", "Ghosted entities have limited interactability")
|
language.Add("pug_ghost", "Ghosted entities have limited interactability")
|
||||||
language.Add("pug_entfrozen", "Target entity frozen")
|
language.Add("pug_entfrozen", "Target entity frozen")
|
||||||
language.Add("pug_tool2fast", "You are using your tool gun too fast, slow down!")
|
language.Add("pug_tool2fast", "You are using your tool gun too fast, slow down!")
|
||||||
|
@ -202,7 +202,7 @@ function PUG:UnGhost( ent )
|
|||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
if trap then
|
if trap then
|
||||||
u.notifyOwner( "pug_istrap", NOTIFY_ERROR, 4, ent )
|
u.notifyOwner( "pug_istrap", 1, 4, ent )
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user