Hey everyone!
So I am working on a GMOD DarkRP Server with a friend, and we want to allow Our admin on duty job (TEAM_ADMI) to be able to noclip
Thanks
-Tom
Okay, you have to mess with this hook [url]http://wiki.garrysmod.com/page/GM/PlayerNoClip[/url]
But seems like you are just asking a "Give me the code"
So no...No one will code it for you, find a friend or hire someone
hook.Add("PlayerNoClip", "AoDNoClip", function(ply)
if IsValid(ply) and ply:Team() == TEAM_ADMI then
return true
end
end)
Straight off of a half assed google search.
[QUOTE=gonzalolog;50299789]Okay, you have to mess with this hook [url]http://wiki.garrysmod.com/page/GM/PlayerNoClip[/url]
But seems like you are just asking a "Give me the code"
So no...No one will code it for you, find a friend or hire someone[/QUOTE]
Sorry, didn't mean to be seeming like someone give me the code, I just wanted a guideline, like that.
Thanks
-Tom
[editline]11th May 2016[/editline]
[QUOTE=Garnet;50299830]hook.Add("PlayerNoClip", "AoDNoClip", function(ply)
if IsValid(ply) and ply:Team() == TEAM_ADMI then
return true
end
end)
Straight off of a half assed google search.[/QUOTE]
Tried that didn't work
[QUOTE=TomTheDuck;50299832]Sorry, didn't mean to be seeming like someone give me the code, [b]I just wanted a guideline[/b], like that.
[b]Tried that didn't work[/b][/QUOTE]
Yeah...Sure...Good luck finding someone that spoon the feed for you
[sp]garmet gave you a code that works, but you had a typo, but as you are expecting someone to find it...[/sp]
[QUOTE=gonzalolog;50299888]Yeah...Sure...Good luck finding someone that spoon the feed for you
[sp]garmet gave you a code that works, but you had a typo, but as you are expecting someone to find it...[/sp][/QUOTE]
Yo, I did search on google and found that, but it didn't work
Check your post because i could find the typo, check your teams, if you are not going to even try, then hire someone
[QUOTE=gonzalolog;50299888]Yeah...Sure...Good luck finding someone that spoon the feed for you
[sp]garmet gave you a code that works, but you had a typo, but as you are expecting someone to find it...[/sp][/QUOTE]
Ha. He did say TEAM_ADMI, didn't he?
Ok, whatever, I don't need people just posting so I am marking as solved
Sorry, you need to Log In to post a reply to this thread.