• Making job in DarkRP Respected and up only
    5 replies, posted
So right now I'm looking at making a class in DarkRP respected and up only, and I was wondering if anyone had any ideas of not only how to do this, but really the easiest way of doing it since I'm only a beginner at coding.
you could use meta, this might help. [url]http://www.facepunch.com/showthread.php?t=897959&highlight=player%3Dsuperadmin[/url]
it really depends on the administration tool you are using. (Atleast if you want it to work with respected).. Pretty much you just do if ply:IsRespected() (if you are using assmod) go dabble in the assmod files and you will find most that you are currently looking for.
So where do I put that line exactly?
Your going to have to add an argument to the AddExtraTeam function in MakeThings.lua and then do a simple metatable player check.
And how can you do the simple metatable player check? [lua]function donateronly(ply) ply.IsUserGroup("donater") end[/lua] Something like that?
Sorry, you need to Log In to post a reply to this thread.