So im making an admin on duty job for my darkrp server this is what i got so far:
[CODE]
TEAM_ADMIN = AddExtraTeam("Administrator", {
color = Color(255, 0, 0, 255),
model = "models/player/Combine_Super_Soldier.mdl",
description = [[You are the Admin....On duty.]],
weapons = {"spiderman's_swep", "superman", "weapon_real_cs_knife"},
command = "adminonduty",
max = 6,
salary = 100,
admin = 1,
vote = false,
hasLicense = false,
candemote = false,
customCheck = function(ply) return CLIENT or ply:GetNWString("usergroup") == "mod" or ply:GetNWString("usergroup") == "admin" or ply:GetNWString("usergroup") == "vipadmin" or ply:GetNWString("usergroup") == "vipmod" or ply:GetNWString("usergroup") == "owner" or ply:IsSuperAdmin() end,
CustomCheckFailMsg = "This job is admin only!"
})
[/CODE]
I want to add a couple more things to it but i dont know how to do it thats why i came here and please post if you know how to do this
1.) I want it so that this job is always in god if you leave it your not in go no more.
2.) I want it so you can only use and Fadmin or ULX commands when you are this job to prevent admin abuse.
Please tell me how to do it!
Admin job available for mods. The logic of this bad darkrp server.
What you want won't be a simple custom check, it's more of a job you should hire someone for. But then again, not many 12 year olds can afford to hire people.
[QUOTE=CM Punk;43400620]Admin job available for mods. The logic of this bad darkrp server.
What you want won't be a simple custom check, it's more of a job you should hire someone for. But then again, not many 12 year olds can afford to hire people.[/QUOTE]
A lot of*
with their parents credit cards*
But yeah, he's right. What you're asking goes beyond the scope of this forum. Go to coderhire.com and post a job for this if you want it done.
Why not use ply:CheckGroup() rather than that mess of or statements?
(Assuming you have setup inheritance correctly)
Don't know if this will work, but give it a go:
[LUA]timer.Simple(0.5, function() for k,v in pairs(player.GetAll) do
if v:Team() == TEAM_ADMIN then
v:GodEnable()
end
end
end)[/LUA]
(Chuck it into a serverside Lua file)
Hope it helps.
[QUOTE=CM Punk;43400620]Admin job available for mods. The logic of this bad darkrp server.
What you want won't be a simple custom check, it's more of a job you should hire someone for. But then again, not many 12 year olds can afford to hire people.[/QUOTE]
Lol you think im 12 but im not im 16 and i can afford to hire someone the servers already made 850$
[editline]3rd January 2014[/editline]
[QUOTE=Noi;43401368]This aint a help section, dude.[/QUOTE]
[IMG]http://gyazo.com/aebf23d12be8fe1fc9d405b5db527d4e.png[/IMG]
[QUOTE=YoItsMeBob;43403579]Lol you think im 12 but im not im 16 and i can afford to hire someone the servers already made 850$
[/quote]
I don't need to know your personal details or how much your server has made. I'm sure paypal don't know you're 16.
[QUOTE=CM Punk;43403756]I don't need to know your personal details or how much your server has made. I'm sure paypal don't know you're 16.[/QUOTE]
My paypal account isnt under my name so it dosnt matter
[QUOTE=YoItsMeBob;43404064]My paypal account isnt under my name so it dosnt matter[/QUOTE]
Are you admitting to fraud? Oh golly.
[QUOTE=JayneHJKL;43404178]Are you admitting to fraud? Oh golly.[/QUOTE]
Lmfao theres no "fraud" with it
"My paypal account isnt under my name so it dosnt matter" That is fraud. Even if it isn't under your name, I bet they don't know you're under age, and if you've lied about your age you'll just be under more trouble and can be in big trouble.
[QUOTE=CM Punk;43404319]"My paypal account isnt under my name so it dosnt matter" That is fraud. Even if it isn't under your name, I bet they don't know you're under age, and if you've lied about your age you'll just be under more trouble and can be in big trouble.[/QUOTE]
Its not really "My paypal account" i just use it for some things because i cant have my own account cause im under the age limit
I'm sorry I came here to be mischievous.
But really if you are doing well for yourself give some back to the community.
A rich man asking for free labor seems like gluttony to me.
You should consider using coderhire so you support people who code, seeing as how you profit off of them.
[QUOTE=YoItsMeBob;43403579]Lol you think im 12 but im not [b] im 16 [/b] and i can afford to hire someone the servers already made 850$ [/QUOTE]
You do seem to lie about your age quite a bit then:
[url=http://facepunch.com/member.php?u=598333]February 9, 1992 (21)[/url]
Also, please try to use correct grammar, even when on the internet. It makes you seem immature, believe me.
[QUOTE=YoItsMeBob;43403579]
[IMG]http://gyazo.com/aebf23d12be8fe1fc9d405b5db527d4e.png[/IMG][/QUOTE]
You're not having trouble modding stuff. You're asking other people to do it for you.
Sorry, you need to Log In to post a reply to this thread.