Can someone please clean and fix up all this coding. I would be grateful if you could thank you. [URL]http://pastebin.com/NHQJuJYA[/URL]
[QUOTE=garry;39737459]Do not post huge scripts and expect people to fix them. If you wrote the script then you should know why it doesn't work. If you're editing someone's script and can't get it to work then don't! Learn how to code![/QUOTE]
[QUOTE=Robotboy655;44587753][/QUOTE]
The problem is.. I have no clue why it wont work
[QUOTE=nicknock1998;44587767]The problem is.. I have no clue why it wont work[/QUOTE]
Any errors in your (server) console ?
[QUOTE] TEAM_SWATM = AddExtraTeam("Swat Medic", {
color = Color(80, 45, 0, 255),
model = "models/player/urban.mdl",
description = [[
your duty is to heal on of your
wounded operatives. You should stay in the PD
until backup is needed.
Do everything you can to keep the city safe.
You also keep your team healed.]],
weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "weapon_ak472", "ls_sniper", "weapon_m42", "weapon_mp52", "stunstick", "door_ram", "weaponchecker", "med_kit", "weapon_fists", "darkrp_defibrillator"},
command = "swatm",
max = 3,
salary = 100,
admin = 0,
vote = true,
hasLicense = true,
})[/QUOTE]
Line 464 does not need a "," ( I don't know how to tell that in english) after [QUOTE] hasLicense = true,[/QUOTE]
edit : a comma :rolleyes:
One of the reasons I recommend using ;s is because you can use them in tables instead of , and don't need to worry about having one too many...
Okay, we're not going to be able to help you unless you post your error.
Sorry, you need to Log In to post a reply to this thread.