So could anyone tell me how i could make it so that if i had a function that had said that if the players TEAM was say TEAM_MAYOR it would allow or disallow a certain tool?
For example if its :
[code]
if ply:Team() == TEAM_MAYOR then
[/code]
What do i add under it so that it will allow a toolgun or weapon for the mayor but disallow for the other teams?
[b][url=wiki.garrysmod.com/?title=Gamemode.CanTool]Gamemode.CanTool [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Take a look at that.
Thanks ;) Il take a look once they fix the gmod wiki cause its down -_-