Jump to content

Mr.unpredictable.

Members
  • Posts

    437
  • Joined

  • Last visited

Everything posted by Mr.unpredictable.

  1. You want to aim where your car is facing?
  2. Just do it like this and look at the example in the wiki, It's not that hard to understand createColRectangle or createColSphere attachElements() ---- to attach the col to the vehicle "onColShapeHit" killPed()
  3. For train i think this will be fine createColRectangle
  4. https://wiki.multitheftauto.com/wiki/Slothman/Slothbot ahh thanks
  5. Here's the list http://pastebin.com/cvDrNcvy
  6. Can any one tell me what a slothbot is ? I saw a lot of people asking help regarding that.
  7. Try this code guiSetProperty ( gui.edit[5], "NormalTextColour", "FF2f4f4f" ) or this guiSetProperty ( gui.edit[5], "NormalTextColour", "FF696969" )
  8. Ya you can or you can use 3dsmax. To find the model's Dff use Med
  9. best way you can do is create a colshape attachElements() ---- to attach the col to the vehicle "onColShapeHit" killPed()
  10. It should be serverside
  11. I know more what is OOP joke?
  12. Map name:[/b] Rail City Huge map, Can be used for stealth, Death match, team death match maps Media : Song: It's a mini mix i created long back, You can download it from here https://soundcloud.com/amit-jain-23/dub ... -mix-by-aj I created this long back with the name Los Desperados 2 for some other server, Since they didn't add it i'm sharing in the community. Hope you like it Download : https://community.multitheftauto.com/index.php?p= ... s&id=11251
  13. a short video, hope you like it coin pickup http://i.imgur.com/NRVQ6Ao.jpg any suggestions ????
  14. Sphere is fine, I Tried that it's working. It destroys the vehicle tyre when you drive above the object. You should have tested the code before posting.
  15. local x2, y2, z2 = getElementPosition(kolczatka) kCol [ player ] = createColCuboid ( x2, y2, z2, 3) Can you post an example on how to do that? Sure This will create spikes near a player when you type, /dropspike . It will destroy the vehicle tyres when you drive any vehicle above it. Server side. addCommandHandler("dropspike", function(player) if (player) then local x, y, z = getElementPosition(player) local spikestring = createObject(2899,x+2,y-2,z-0.9) local x2, y2, z2 = getElementPosition(spikestring) local coll = createColSphere(x2, y2, z2, 3) addEventHandler("onColShapeHit",coll,function (player) if player and getElementType(player) == "player" then if isPedInVehicle(player) then local pedoveh = getPedOccupiedVehicle(player) setVehicleWheelStates(pedoveh,1,1,1,1) end end end) end end)
×
×
  • Create New...