• Cider Car problem
    1 replies, posted
Hey! i got an problem with my cider car.lua! first is the icon an error and if i press manufacture its an error and i cant take it with e! please help me! --[[ Name: "sh_car3.lua". Product: "Cider (Roleplay)". --]] if ( !cider.plugin.get("Generic") ) then return; end; -- Define the item table. local ITEM = {}; -- Set some information about the item. ITEM.name = "Jeep"; ITEM.size = 1; ITEM.cost = 10; ITEM.team = TEAM_REBELDEALER; ITEM.model = "models\nova\jeep_seat.mdl"; ITEM.max = 1; ITEM.batch = 1; ITEM.store = true; ITEM.plural = "Jeeps"; ITEM.uniqueID = "Jeep"; ITEM.description = "A test Jeep."; -- Called when a player drops the item. function ITEM:onDrop(player, position) local Jeep = ents.Create( "prop_vehicle_jeep" ) -- Create our jeep Jeep:SetModel("models\nova\jeep_seat.mdl") jeep:SetKeyValues("vehiclescript", "scripts/vehicles/jeep_test.txt") Jeep:SetPos( Vector(0 , 0 ,0) + Vector( 0, 0, 64 ) ) -- Place the Jeep right above the player's head Jeep:Spawn() -- Spawn it. Jeep:Activate() -- Activate it. end; function ITEM.Use( p, ent ) end -- Called when a player destroys the item. function ITEM:onDestroy(player) end; -- Register the item. cider.item.register(ITEM); i can give paypal money if someone got work cars on my cider server!
Ive actally finished my Vehicle script for cider. It's got Pickup and Sell and it works pretty well. PM me for more info, We can work somthing out.
Sorry, you need to Log In to post a reply to this thread.