Jump to content
  • 0

Friendly fire


Drakath

Question

Recommended Posts

  • 0
Posted

Coming now

I was on and I didn't seen the team created,

Did you start the script?

Try this:

addEventHandler("onResourcePreStart",resourceRoot,function() 
    defaultTeam=createTeam("All",255,255,255) 
    if defaultTeam then 
        outputDebugString("Team Created!") 
    else 
        outputDebugString("Team was not created.") 
    end 
end) 
  
addEventHandler("onPlayerLogin",root,function() 
    if(setPlayerTeam(source,defaultTeam))then 
        outputChatBox("You are now on the Default Team.",source) 
    else 
        outputChatBox("Sorry, but you are not set to the default team.",source) 
    end 
end) 

  • 0
Posted

The script was on. And the new script isn't creating a team just every time I log in I get message "Sorry, but you are not set to the default team."

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