Jump to content

Mishqutin

Members
  • Posts

    25
  • Joined

  • Last visited

About Mishqutin

  • Birthday 01/01/1867

Details

  • Location
    Nowhere

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Mishqutin's Achievements

Advanced Member

Advanced Member (8/54)

1

Reputation

  1. Ok but, what does it do besides changing the train direction?
  2. I made a ped controlled train. The thing is that it's unloaded and stops moving when no players are in area. Any way I can make it go around the map?
  3. How do I increase draw distance of vehicles? They just disappear after being 200 units away. I'm making a Surface to Air Missile launcher that spawns heat-seeking missiles but they don't lock on vehicles that are too far away.
  4. Colored text in console (F8) would be very helpful and will make errors more readable.
  5. Thanks! I forgot about that function.
  6. But getElementPosition() returns only position.
  7. I am making a vehicle turret. So far I've made a function that rotates the turret horizontaly: function rotateTurret() local rotation = getPedCameraRotation(getLocalPlayer()) local veh = getPedOccupiedVehicle(getLocalPlayer()) local _, _, vehRotation = getElementRotation(veh) setElementAttachedOffsets(vWeapon, 0, 0, 2, 0, 0, 0-vehRotation-rotation+90) if vWeapon then setTimer(rotateTurret, 100, 1) end end And I couldn't find function returning elevation of player's camera.
  8. Is there any way I can make e.g. Cargobob fly faster? Editing handling settings doesn't do much.
  9. If I spawn a vehicle from freeroam panel on my mostly unmodified server and don't get in after some time it just disappears. EDIT: Actually found what to change: local function onExit() local t = tonumber(get("vehicleExpireTime")) or 600000 vehicleDestroyTimers[source] = setTimer(destroyVehicle,(t > 50 and t or 50),1,source) addEventHandler("onVehicleEnter",source,destroyTimer) end
  10. I mean they despawn even if not blown up.
  11. How do I stop despawning vehicles created by players/resources?
  12. I don't mean interior. A model with interior so somebody can put something in.
  13. Hi! I couldn't find resource that adds Andromada's model an interior. I've seen many servers are using it. Does anyone know where I can get it? I'm not sure if this is the right section btw.
×
×
  • Create New...