DarkRP Jobs whitelisted to STEAMID's
I'm not too good with GLua, so I'm wondering if someone would know how I could do this:
so I'm trying to make the variable called "DONATOR" be a list of SteamID's and what I've been trying to do so far is:
plus some other variations of this code too, but nothing seems to work, I just cant seem to figure out how I can make a variable with a list of STEAMID's of donators so I don't need to enter them individually for each job and to not to use a ULX rank for it too.
Hopefully I've kinda explained this well enough and someone might be able to help me out :)
Something like this is what your looking for. Have DONATORS be a table of SteamID's, and just check if that players SteamID is in that table.
If you have some Donation system, you can also insert SteamIDs into that table, or have it read from a Database, or even just have it check the players usergroup to actually fetch your donators.
Thanks :) , I'll give that a shot soon and see if it works out