JasperRieken Posted May 20, 2012 Posted May 20, 2012 function joinHandler(player) setPlayerTeam(player, getTeamFromName("Freeroam Players")) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) This doesn't work
Castillo Posted May 20, 2012 Posted May 20, 2012 1: Remove "player" from the function name. 2: Replace "player" with "source" @ setPlayerTeam.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now