Is their a way to hide the printed message when a player disconnects?
Im guessing its something like ??
[lua]
function GM:DisconnectMessage()
-stuff here -
end
[/lua]
[QUOTE=rockstar91;22737459]Im guessing its something like ??
[lua]
function GM:DisconnectMessage()
-stuff here -
end
[/lua][/QUOTE]
Is that even a function?
[editline]derp[/editline]
[lua]
function Disconnectnotify( ply )
end
hook.Add( "PlayerDisconnected", "disconnecting", Disconnectnotify )
[/lua]
It might just try and deny the player from disconnecting though...
Don't hook into something if you want to block it, overwrite it.
[QUOTE=DocDoomsday;22737551]Is that even a function?
[/QUOTE]
I havn't a clue xD
I know theres a GM:PlayerDisconnected one for what to do in the event of him leaving, Just assumed there was a message one or something xD
Bump
Just type r_drawvgui 0 in the console. But make sure to bind it on and off because it hides every element of the HUD, including the console and menu!
If you don't know what that means, type something like this:
bind [ "r_drawvgui 0"
bind ] "r_drawvgui 1"
Now the bracket keys will turn it off/on.
[QUOTE=erie1555;22751832]Bump[/QUOTE]
Why did you bump this? Read what my other post said then read what the person below me said, Problem was solved, but I'll do it for you again since I guess you still can't figure it out.
[lua]
function GM:PlayerDisconnected()
end
[/lua]
Sorry, you need to Log In to post a reply to this thread.