Darkrp SCar for VIP status only.

Hi I was wondering if anyone knew how to make it so I could set it so that only people with VIP status could buy a certain SCar. I am using ULX mod and here is my car code.


AddEntity("Cop Bike", {
	ent = "sent_sakarias_car_moto",
	model = "models/bikegriba.mdl",
	price = 5750,
	max = 1,
	cmd = "/buycopbike",
	allowed = {TEAM_POLICE , TEAM_CHIEF , TEAM_COMMANDER}

Thanks

Was your old thread too old to bump?
http://forum.facepunch.com/showthread.php?t=1237556

AddCustomVehicle(“blue_x111”, “models/futurecar1.mdl”, 7000, customCheck = function(ply)
return ply:IsUserGroup(“donator”) or ply:IsUserGroup(“admin”) or ply:IsUserGroup(“superadmin”)
end)

This is asking a different thing. It isn’t about making vehicles VIP, as you can see in the code it is an entity

[editline]17th January 2013[/editline]

That is for AddCustomVehicle not AddEntity.
Thanks though

SCars won’t work using AddCustomVehicle.