InGame Teams display on scoreboard (not getting value)
2 replies, posted
Hello,
I require assistance setting up a scoreboard which loads "Flood" teams which are created by users on the server. Currently it loads the normal ULX team variables instead of the flood teams variables.
I need help fixing the scoreboard so it shows "Surviver" for players who aren't in a team and the team name of the players who are in a team on the scoreboard.
Add SimplyFragHosting on skype for more details.
Will give access to to cl_teams.lua and sv_teams.lua if required.
Current cl_Scoreboard.lua code for the team variable loader is:
for id, pl in pairs(player.GetAll()) do
if ( self.FMTeam2 == "" || self.FMTeam2 != self.Player:GetNWString("team")) then
self.FMTeam2 = self.Player:GetNWString("team")
if self.FMTeam2 == "" then
self.FMTeam:SetText(team.GetName(pl:Team()))
self.FMTeam:SizeToContents()
else
self.FMTeam:SetText( self.FMTeam2 )
self.FMTeam:SizeToContents()
end
end
end
Also interested in paying for a Scoreboard HUD redesign.
Kind Regards
pkminer30
[editline]31st July 2013[/editline]
[url]http://sfdl.co.uk/LUA/Flood[/url] - Contains the team files for this gamemode (any help would be much appreciated)
Bump
Take a look [URL="http://coderhire.com/"]at this site[/URL].
It has everything you need to match you with your soulmate coder.
Sorry, you need to Log In to post a reply to this thread.