Quote:
Originally Posted by sssssssssss
Add this there.
PHP Code:
function onPlayerChats() { if (player.chat == "support") { if (Support.visible == false) triggerServer("gui", name, "getTicketData"); else Support.visible = false; } }
it was a no-go. is it a wep, a db npc, class, or what?
|
A weapon, of course.
Note that I don't recommend using this system on servers with a larger playerbase, as it has horrible performance. I'll see about possibly rewriting it sometime, but I can't guarantee I'll do that.