Jump to content

[SELL] Global Chat


M3ssi

Recommended Posts

Why do you want money for a script that was written in a few seconds?
For those who need a global chat:

GLOBAL = {};

addCommandHandler("Global",function(player,cmd,...)
	local msg = table.concat({...}," ");
	if(#msg >= 1)then
		outputChatBox("[GLOBAL] "..getPlayerName(player)..": "..msg,root,255,255,255);
	end
end)

function GLOBAL.setBindKey(player)
	bindKey(player,"g","down","chatbox","Global");
end
addEventHandler("onPlayerJoin",root,function() GLOBAL.setBindKey(source) end)
for _,v in pairs(getElementsByType("player"))do GLOBAL.setBindKey(v) end

You're welcome ¯\_( ͡° ͜ʖ ͡°)_/¯

Link to comment
  • Scripting Moderators
1 hour ago, xendomrayden said:

Why do you want money for a script that was written in a few seconds?
For those who need a global chat:


GLOBAL = {};

addCommandHandler("Global",function(player,cmd,...)
	local msg = table.concat({...}," ");
	if(#msg >= 1)then
		outputChatBox("[GLOBAL] "..getPlayerName(player)..": "..msg,root,255,255,255);
	end
end)

function GLOBAL.setBindKey(player)
	bindKey(player,"g","down","chatbox","Global");
end
addEventHandler("onPlayerJoin",root,function() GLOBAL.setBindKey(source) end)
for _,v in pairs(getElementsByType("player"))do GLOBAL.setBindKey(v) end

You're welcome ¯\_( ͡° ͜ʖ ͡°)_/¯

 

7 hours ago, Messi..! said:

between ur servers

 

  • Haha 1
Link to comment
12 hours ago, xendomrayden said:

Por que você quer dinheiro para um script que foi escrito em alguns segundos?
Para quem precisa de um bate-papo global:


 


	 
	 
		
	



	

 
  

De nada ¯ \ _ (͡ ° ͜ʖ ͡ °) _ / ¯

Sabe Como Coloca o grupo Do player no Chat ?

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...