Jump to content

message to all the game


TroyBoy

Recommended Posts

Posted
function playerConnect(playerNick, playerIP, playerUsername, playerSerial, playerVersionNumber) 
    outputChatBox("* " .. playerNick .. " has connected the game", getRootElement(), 255, 100, 100, false) 
end 
addEventHandler("onPlayerConnect", getRootElement(), playerConnect) 

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

HOW CAN I do that when i assaign player to team when he will quit he will be save in the team and when he will connect again he still will be in the team

Posted

You can do that with these:

  
createTeam 
setPlayerTeam 
getElementData 
setElementData 
  

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast

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...