Jump to content

REPORT COMMUNITY CENTER RESOURCES HERE


Recommended Posts

  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

That's not a vehicle mod containing a .txd and a .dff file.

It's quite a funny script, I tested it.

addCommandHandler("wc",function(player) 
local x,y,z = getElementPosition(player) 
local engine = createVehicle(462,x,y,z) 
local wc = createObject(1369,x,y,z) 
local box = createObject(2694,x,y,z) 
local trolley = createObject(1572,x,y,z) 
attachElements(wc,engine,0,-0.5,0,180,180) 
attachElements(box,engine,0,-0.4,0.1,0,0) 
attachElements(trolley,engine,0,0.75,0) 
setElementAlpha(engine,0) 
setVehicleOverrideLights(engine,1) 
setElementCollisionsEnabled(trolley,false) 
setElementCollisionsEnabled(box,false) 
setElementCollisionsEnabled(wc,false) 
end) 
  
addCommandHandler("tr",function(player) 
local x,y,z = getElementPosition(player) 
local engine = createVehicle(571,x,y,z) 
local trolley = createObject(1572,x,y,z) 
attachElements(trolley,engine,0,-0.2,0.4,180,180,180) 
setElementAlpha(engine,0) 
setVehicleOverrideLights(engine,1) 
setElementCollisionsEnabled(trolley,false) 
end) 

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...