Wondering about two things

I have been wondering how one might make a quick message that would appear on someones screen if a command is entered. Like console kill, or !respawn
Would you use Draw.SimpleText and a Timer.Simple to make it self remove?

Like this?
[lua]
function GM:PlayerSpawn( client )
client:PrintMessage( HUD_PRINTCENTER, “You Spawned!”)
end
[/lua]

What if its a addon

[lua]
hook.add(“PlayerSpawn”,“Uniquename”,function(ply)
ply:PrintMessage( HUD_PRINTCENTER, “You Spawned!”)
end)
[/lua]

No, I want like an animation. It comes down and the text slides to the right to left. Then once that happens it goes back up

MoveTo

This, use it with the Net Library

Thank you, you guys have been a great help.

hook.add has a capital A (and I’m sure the author of this post knows how to use a hook and that it’s a better way than overriding a base function)

Yea, i would hope so. I was tired when i wrote that so i must have oversaw the capital but yea :words: