donator shipment

hey guys

i need help with donator shipments

i have ulx but i got

AddCustomShipment(“Winchester 73”, “models/weapons/w_winchester_1873.mdl”, “m9k_winchester73”, 3500, 10, false, 123, false, {TEAM_GUN}, function(ply) return ply:GetUserGroup() == “donator” or ply:IsAdmin() end)

This:


ply:GetUserGroup() == "donator"

Should be this:


ply:GetUserGroup("donator")

Also, use the code tags when posting and could you also explain the error that you are getting?

GetUserGroup doesn’t take any arguments but return the usergroup.

I think you meant ply:CheckUserGroup(“donator”), as GetUserGroup doesn’t take any args as ms333 said.

ply:IsUserGroup(‘donator’)

Woops, just noticed that. Yeah, that is what it is meant to be.