Drakath 3 Posted June 28, 2012 > type="script" author="Drakath" name="Anti-Kill" version="1.0.0" /> ="team.lua" type="server" />> Share this post Link to post
Jaysds1 5 Posted June 28, 2012 ok, restart the script then logout and log back in. Maybe I should visit your server, what's your server ip? Share this post Link to post
Drakath 3 Posted June 29, 2012 It didn't work. The Ip is: 77.221.80.117:22003 Share this post Link to post
Jaysds1 5 Posted June 29, 2012 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) Share this post Link to post
Drakath 3 Posted June 29, 2012 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." Share this post Link to post
Jaysds1 5 Posted June 29, 2012 type in /debugscript in-game and tell me if it says "Team was not created." BTW, i'm in the server right now Share this post Link to post
Drakath 3 Posted June 29, 2012 Okay now it says: "You were added to the team" But the team is empty 0 players in it... Share this post Link to post