Author Topic: Can't create a UTeam team.  (Read 2034 times)

0 Members and 1 Guest are viewing this topic.

Offline vader0146

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 9
Can't create a UTeam team.
« on: May 19, 2009, 09:17:19 AM »
Hi,
I have made a new rank in ULX called advisor. When I try to add it into UTeam, everyone becomes "Unassigned", probably because of my absolute lack of LUA knowledge. Could someone here please take a look at an untouched copy and possibly add this new rank?
Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "Owner"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"plytable"
{
"1" "SprintSpeed:2000"
"2" "WalkSpeed:1000"
}
}
"2"
{
"name" "Respected"
"group" "admin"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "50"
"g" "199"
"r" "255"
}
}
"3"
{
"name" "Police"
"group" "operator"
"armor" "5"
"hp" "110"
"color"
{
"a" "255"
"B" "204"
"g" "255"
"r" "204"
}
}
"4"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}
That is the contents of my UTeam.txt

Please can you add advisor rank, just any hp and colour, I can add the rest.
Thanks in advance.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Can't create a UTeam team.
« Reply #1 on: May 19, 2009, 04:40:07 PM »
Try this one
Code: [Select]
"Out"
{
"teams"
{
"1"
{
"name" "Owner"
"group" "superadmin"
"armor" "1000"
"hp" "1000"
"color"
{
"a" "255"
"B" "85"
"g" "200"
"r" "0"
}
"plytable"
{
"1" "SprintSpeed:2000"
"2" "WalkSpeed:1000"
}
}
"2"
{
"name" "Respected"
"group" "admin"
"armor" "200"
"hp" "200"
"color"
{
"a" "255"
"B" "50"
"g" "199"
"r" "255"
}
}
"3"
{
"name" "Advisor"
"group" "advisor"
"armor" "5"
"hp" "110"
"color"
{
"a" "255"
"B" "204"
"g" "255"
"r" "204"
}
}
"4"
{
"name" "Police"
"group" "operator"
"armor" "5"
"hp" "110"
"color"
{
"a" "255"
"B" "204"
"g" "255"
"r" "204"
}
}
"5"
{
"name" "Players"
"group" "user"
"color"
{
"a" "255"
"B" "255"
"g" "100"
"r" "0"
}
"model" "male1"
}
}
"gamemodes"
{
"1" "Sandbox"
"2" "SpaceBuild"
}
}

Offline vader0146

  • Jr. Member
  • **
  • Posts: 63
  • Karma: 9
Re: Can't create a UTeam team.
« Reply #2 on: May 20, 2009, 09:08:28 AM »
Thanks,
Works fine.