Heres the code:
local Tags = {}
Tags["coowner"] = { Color( ( 0, 255, 255 ) ), "Super-Admin", Color( 0, 255, 255 ) }
Tags["superadmin"] = { Color( ( 0, 255, 255 ) ), "Owner", Color( 0, 255, 255 ) }
Tags["admin"] = { Color( ( 255 ,0, 255 ) ), "Admin", Color( 255 ,0, 255 ) }
Tags["VIP"] = { Color( ( 0 ,240 ,0 ) ), "VIP", Color( 0, 240 ,0 ) }
Tags["moderator"] = { Color( ( 255 ,0, 255 ) ), "Mod", Color( 255 ,0, 255 ) }
Heres the error:
[ERROR] lua/autorun/client/chattags.lua:5: ')' expected near ','
1. unknown - lua/autorun/client/chattags.lua:0
I have more of the code but I'm pretty sure thats the code with the problem. Help.
Coding help
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Aug 10, 2014 12:12 pm
-
- This is my homepage
- Posts: 1573
- Joined: Sun Jun 26, 2011 8:03 am
Re: Coding help
Don't know much about the code, but at first glance, your left/right brackets seem to match, so if it's in that bit of code, something elses is triggering it.
I do see in your the Color arguments, you have places where the comma spacing is off. Not sure if that would be the cause.
Other than that, can't say.
I do see in your the Color arguments, you have places where the comma spacing is off. Not sure if that would be the cause.
Other than that, can't say.
Visit gspreviews.com And Rate & Review Your Old & Current GSP's
Find Your GSP Coupons at gspreviews.com/coupons/
Find Your GSP Coupons at gspreviews.com/coupons/
Re: Coding help
Your "Color" functions inside the table has another pair of brackets.
For example:
Tags["coowner"] = { Color( ( 0, 255, 255 ) ), "Super-Admin", Color( 0, 255, 255 ) }
Should be:
Tags["coowner"] = { Color( 0, 255, 255 ), "Super-Admin", Color( 0, 255, 255 ) }
For example:
Tags["coowner"] = { Color( ( 0, 255, 255 ) ), "Super-Admin", Color( 0, 255, 255 ) }
Should be:
Tags["coowner"] = { Color( 0, 255, 255 ), "Super-Admin", Color( 0, 255, 255 ) }