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.
[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}[/CODE]
Thanks
Was your old thread too old to bump?
[url]http://facepunch.com/showthread.php?t=1237556[/url]
AddCustomVehicle("blue_x111", "models/futurecar1.mdl", 7000, customCheck = function(ply)
return ply:IsUserGroup("donator") or ply:IsUserGroup("admin") or ply:IsUserGroup("superadmin")
end)
[QUOTE=ms333;39252267]Was your old thread too old to bump?
[url]http://facepunch.com/showthread.php?t=1237556[/url][/QUOTE]
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]
[QUOTE=levicheater;39253583]AddCustomVehicle("blue_x111", "models/futurecar1.mdl", 7000, customCheck = function(ply)
return ply:IsUserGroup("donator") or ply:IsUserGroup("admin") or ply:IsUserGroup("superadmin")
end)[/QUOTE]
That is for AddCustomVehicle not AddEntity.
Thanks though
SCars won't work using AddCustomVehicle.
Sorry, you need to Log In to post a reply to this thread.