DARRKP | VIP Cars lua problem

Okay, so my admin mod i use is ULX & ULIB. I want the cars below to be VIP only, but it isnt working. The rank is called ‘vip’ (without the ')

this is what it currently looks like (CARS)
[lua]
AddCustomVehicle(“golf3tdm”, “/models/tdmcarsgolf3.mdl” , 8000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“r34tdm”, “models/tdmcars/skyline_r34.mdl” , 8000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“auditttdm”, “models/tdmcars/auditt.mdl” , 9000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“dbstdm”, “models/tdmcars/dbs.mdl” , 10000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“bugattiveyrontdm”, “models/tdmcars/bugattiveyron.mdl” , 11000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“crownvic_taxitdm”, “models/tdmcars/crownvic_taxi.mdl” , 100, {TEAM_TAXI}, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“reventonrtdm”, “models/tdmcars/reventon_roadster.mdl” , 15000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“motorbike1”, “models/bike1.mdl” , 5000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
AddCustomVehicle(“motorbike3”, “models/bike3.mdl” , 5000, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
[/lua]

MONEY PRINTERS
[lua]
AddEntity("(VIP) Nuclear Money printer", “nuclear_money_printer”, “models/props_lab/reciever01a.mdl”, 10000, 2, “/buymoneyprinter1”, nil, function(ply) return ply:GetUserGroup() == “VIP” or ply:IsAdmin() end)
[/lua]

Help please? :confused:

Replace all “GetUserGroup()” with “IsUserGroup()”

If you are going to do that, it’ll be IsUserGroup(“vip”)
Remember that your groups are always lowercased.
And GetUserGroup will work if he’s running ULX: