• [Darkrp\gamemode\showteamtabs.lua:565] attempt to compare number with Boolean
    5 replies, posted
I own a gmod rp server. When i press f4 for the job menu it comes up with this error "[Darkrp\gamemode\showteamtabs.lua:565] attempt to compare number with Boolean" and shows this [url]http://cloud.steampowered.com/ugc/54...23AFEEF4E9AB3/[/url] You can see that a cop job is in the uper left corner but that is all i can change to. What is wrong and how do i fix this?
Can you pastebin the file please?
[QUOTE=zzaacckk;32104203]Can you pastebin the file please?[/QUOTE] [url]http://pastebin.com/wEGGBPds[/url]
Will you put showteamtabs.lua on pastebin, not shared.lua please.
Replace TEAM_KING with this, you missed out an argument [lua] TEAM_KING = AddExtraTeam("King", Color(150, 20, 20, 255), "models/player/breen.mdl", [[The King creates laws to serve the greater good. If you are the King you may create and accept warrants. Type /wanted <name> to warrant a player Type /jailpos to set the Jail Position Type /lockdown initiate a lockdown of the city. Everyone must be inside during a lockdown. The cops patrol the area /unlockdown to end a lockdown]], {""}, "king", 1, 85, 0, true, false) [/lua]
[QUOTE=zzaacckk;32108708]Will you put showteamtabs.lua on pastebin, not shared.lua please.[/QUOTE] [url]http://pastebin.com/4YYUSx22[/url] [editline]4th September 2011[/editline] [QUOTE=techtuts0;32109204]Replace TEAM_KING with this, you missed out an argument [lua] TEAM_KING = AddExtraTeam("King", Color(150, 20, 20, 255), "models/player/breen.mdl", [[The King creates laws to serve the greater good. If you are the King you may create and accept warrants. Type /wanted <name> to warrant a player Type /jailpos to set the Jail Position Type /lockdown initiate a lockdown of the city. Everyone must be inside during a lockdown. The cops patrol the area /unlockdown to end a lockdown]], {""}, "king", 1, 85, 0, true, false) [/lua][/QUOTE] That worked! Thanks man!
Sorry, you need to Log In to post a reply to this thread.