Newbrict / ObjHunt

A Good Garry's Mod Prop Hunt
Apache License 2.0
17 stars 21 forks source link

Script errors caused by main_hud.lua #98

Open DaBomber60 opened 5 years ago

DaBomber60 commented 5 years ago

Changes made to address the issue:

Line 225: sTarget:Team() -> ply.Team() Line 264: ( sNick ) -> ( 'sNick' ) Line 270: surface.DrawText( sNick ) -> if( ply:Team() == TEAM_HUNTERS ) then surface.DrawText( 'Hunters' ) else surface.DrawText( 'Props' ) end

I don't know if this will help anyone else, but it solved script issues on my server

Newbrict commented 5 years ago

Can you please make a pull request :)