Jump to content

{HELP}I Need help With A TAB


VenomOG

Recommended Posts

An example:

local myTeam = createTeam("Not logged in",255,255,255) -- Your team element - change name to whatever you like.

function onJoin()
	setPlayerTeam(source,myTeam) -- Set player's team (source is the player element who joined, team is team element that you declared at the top of the script.
end
addEventHandler("onPlayerJoin",root,onJoin) -- Add an event handler so when player joins it executes onJoin function.

 

Edited by GTX
  • Like 1
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...