Ulysses
General => Developers Corner => Topic started by: thedep on January 11, 2016, 06:11:59 PM
-
Today i was making donator jobs and i wanted to add ulx groups to a certain job but it wouldnt let me it would only work if there was 1 group such as customCheck = function(ply) return ply:GetNWString("usergroup") == "bronze" end
but how do i ad more ulx groups to the job ?
-
Lua. "or"
Scripting logic comparators, common in millions of scripting languages.
function(ply) return ply:GetNWString("usergroup") == "bronze" or ply:GetNWString("usergroup") == "some_other_group" end