Jump to content

[HELP] createTeam


Recommended Posts

Posted
function teams () 
    teams = createTeam ("Test", 0, 255, 0) 
end 
addEventHandler ("onResourceStart", resourceRoot, teams) 
  

I want to make this: If the player hauls the test tag (for example test|LabiVila), that player should automatically move to the Test team.

Any help would be appreciated so much, thank you further.

Posted
function teams () 
    teams = createTeam ("Test", 0, 255, 0) 
end 
addEventHandler ("onResourceStart", resourceRoot, teams) 
  

I want to make this: If the player hauls the test tag (for example test|LabiVila), that player should automatically move to the Test team.

Any help would be appreciated so much, thank you further.

The main ones

triggerEvent 
setPlayerTeam 

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted

Yeah, just trigger that when the flag is hit/touched!

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

Posted
Thank you so much, both.

Done thanks to you. :)

Easy as that. No problem!

If you need an Intermediate scripter feel free to PM me as I will accept "almost" any job, STATUS: UNAVAILABLE

SCOTLAND, my hometown, and the Home of GTA!

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