Whenever I use something like lua_run PrintMessage( HUD_PRINTTALK, “You’re not verified…” ) it only shows up in console for some reason, any idea why this would be?
Works for me:
For me it doesn’t print to the console though, despite the wiki claiming it does.
Could it be my chat-box interfering?
[editline]12th March 2015[/editline]
Yeah it was the chat box, any idea why?
your problem could be your not defining who its printing to, if you code is literally
PrintMessage( HUD_PRINTTALK, "You're not verified..." )
thats only going to print in console
try sending it to the player like
ply:PrintMessage(HUD_PRINTTALK, "You're Not Verified....")
obviously make sure this line is run by something but yes notice the
at the beginning?
its sending it to the player
There’s a global function -
Global.PrintMessage - which applies to all players at once. His code should be working, as I already demonstrated.
What do you mean the chat box? Do you have a custom chat box?
I’m using https://scriptfodder.com/scripts/view/14 off scriptfodder as a chat box.
I understand that to send it to one player I use ply:PrintMessage in the script & it only prints to console.
there shouldnt be any problem with that chatbox, i use that chatbox aswell!
Yeah it’s definitely the chatbox
are you using a leaked version or did you actually buy it?
I actually bought it
then contact the developer who made it