Jump to content

FuriouZ

Members
  • Posts

    459
  • Joined

  • Last visited

Everything posted by FuriouZ

  1. Hello all! I know i already have posted this, but i didn't got a answer Well, the problem is that i can't spawn a vehicle, line 15 says " attempt to compare nil with number " Server: --# Create Vehicle addEvent("onPlayerRequest:Vehicle",true); addEventHandler("onPlayerRequest:Vehicle",getRootElement(), function(carID) local disallowedVehicles = { {425}, {432} } local vehicleSpawnCounter = {} local vehicleSpawnLimit = 2 if getElementType(source) == "player" then for i,v in ipairs (disallowedVehicles) do if (v[1] == carID) then outputChatBox("This is disallowed vehicle!",source,255,0,0) return false end end if vehicleSpawnCounter[source] < vehicleSpawnLimit then local playerX,playerY,playerZ = getElementPosition(source) vehicle = createVehicle(carID,playerX + 2,playerY +2, playerZ) vehicleSpawnCounter[source] = vehicleSpawnCounter[source] + 1 else outputChatBox("Vehicle Spawn Limit Reached!", source,255,0,0) end end end) Thanks !
  2. FuriouZ

    Camera Pos

    SetCameraMatrix
  3. Depends what resource you use, most are addEventHandler("onClientRender", root, function) and if gui isn't shown then removeEventHandler("onClientRender", root, function)
  4. Probably none won't buy it, because you can find almost the same resource from community
  5. It outputs all vehicle components to the chatbox GetVehicleComponents
  6. The Ferrari in the video is actually adapted to ImVehFt (I guess you already noticed that from the dashboard gauges ). I've been messing with the steering wheel for a while but you know... somehow it's not very cooperative. I can only make it turn counter-clockwise (left) without problems I actually used my DualShock 3 in the video (which really helps keeping a monster like that Ferrari under control ) I did like this: --# Left bindKey("A", "down", function() setVehicleComponentRotation(theVeh, "Wheel", rx+1, ry, rz) end) bindKey("A", "up", function() setVehicleComponentRotation(theVeh, "Wheel", rx-1, ry, rz) --OR resetVehicleComponentRotation(theVeh, "Wheel") end) --# Right bindKey("D", "down", function() -- end) bindKey("D", "up", function() -- end) etc.. Fast example, there is probably easyer way The values rx,ry,rz is too probably wrong, i know This way steering wheel doesn't turn smooth
  7. Awesome ! I suggest you to use car what includes improved vehicle features, then you can also make movable steering wheel, i did. Do you used joystick ? Wheels turning so smooth
  8. Maybe it will help somehow https://community.multitheftauto.com/index.php?p= ... ls&id=7615
  9. https://community.multitheftauto.com/index.php?p= ... ls&id=8883
  10. Hello! Is it possible to get all world lamp posts and attach object on it ? For example let's take lamp post with id 1232 How i can get all world lamps with this id and attach marker on it ? I would like to do something like this: Thanks!
  11. Yes, picture must be white, used it too on my hud
  12. - Edited wrench icon - Added Nitro interface Give your opinions and even better suggestions ! >>UP<<
  13. Thanks Yes, but i didn't found better icons Thanks
  14. 1) The resolution of icons is 128x128, enough.. 2) Yes, i think it too Thanks for suggestions Thanks
  15. No -- Added new pictures of new version Any idea how to do weapon reloading bar ?
  16. I have no idea, it stays in between 1000-1003, maybe bug ? Thanks anyways
  17. Hello all! So, i am going to show you my HUD what i made today Inspired from Tom Clancy's Ghost Recon Phantoms Give your opinions New: - Weapon interface - Vehicle interface V3: - Edited wrench icon - Added Nitro interface (If nitro isn't isnstalled, interface isn't visible) V4: - Added Critical Damage message, if vehicle health is 35% or under that (open image in new window) DOWNLOAD
  18. http://gtamap.delux-host.com/converter/
  19. Hello! My question is is it possible to remove ped's leg/hand etc.. ? Thanks
×
×
  • Create New...