• Allow all Jobs to buy a gun?
    5 replies, posted
I know you can just do "allowed = {TEAM_CITIZEN, TEAM_POLICE, .....}", but I was wondering if there was a easier way to do this. Any help would be greatly appreciated .
[CODE]local allowedjobs = { [TEAM_POLICE] = true, } blabla entity code, allowed = (allowedjobs[ply:Team()]) [/CODE]
Were would I put that and I would have to do that for every Job?
Just remove the allowed line.
I tried that and it didn't work... I'll try again just in case.
Okay, i just added all my Jobs to the allow line sense nothing else worked.
Sorry, you need to Log In to post a reply to this thread.