Ulysses Stuff > Ulysses Release Archives
UTeam - Set teams based on usergroup.
jjb123:
That did the trick, thank you. ;D
VincentAvery:
I'm having a problem as well... I'm using ULX, sui_scoreboard, and uteam... and the scoreboard shows everyone as team "Unassigned"
I get this when starting the server:
--- Code: ---**********************************************************
ERROR: Hook 'UTeamSetupTeams' Failed: includes/modules/hook.lua:43: attempt to index field '?' (a nil value)
Removing Hook 'UTeamSetupTeams'
**********************************************************
Adding Player
**********************************************************
ERROR: Hook 'UTeamSetTeam' Failed: includes/modules/hook.lua:43: attempt to index field '?' (a nil value)
Removing Hook 'UTeamSetTeam'
**********************************************************
--- End code ---
here is my uteam.txt file:
--- Code: ---"Out"
{
"teams"
{
"1"
{
"name" "SuperAdmins"
"group" "superadmin"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
}
"2"
{
"name" "Admins"
"group" "admin"
"color"
{
"a" "255"
"B" "50"
"g" "50"
"r" "255"
}
}
"3"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
}
}
"gamemodes"
{
"1" "spacebuild"
}
}
--- End code ---
jjb123:
are you sure spacebuild is the name of the gamemode your playing in? IF you dont play in the gamemodes listed in the file by you you will get unassigned people.
Megiddo:
It doesn't work in other gamemodes, this is something I've noticed as well.
VincentAvery:
Oh, really? Is there any way around that? Or do you know what causes it? What gamemode does it work in? the spacebuild gamemode is derrived from sandbox, i don't know if that makes a difference or not... I'd really like to get this working. Any ideas?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version