Jump to content

Jakus

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jakus

  • Rank
    I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.
  1. Thanks for the help, figured it out. Tuned it a little; this is the best I could get it. For anyone looking for an andromada you can walk inside of... function getPointFromDistanceRotation(x, y, dist, angle) local a = math.rad(90 - angle); local dx = math.cos(a) * dist; local dy = math.sin(a) * dist; return x+dx, y+dy; end function vehicleAndromadaHandling(pe,ce) if isElement(ce) and getElementType(ce) == "vehicle" and getElementModel(ce) == 592 then setPedRotation(source, 180) setCameraTarget(source,source)
  2. Hey, Just trying to get this script working. All it does is spawn you inside the Andromeda cargo hold when you step onto the ramp (anywhere you can step on) of an Andromeda. Then spawn you outside the Andromeda when you walk on the ramp out. I'm using the "getPointFromDistanceRotation" example in the wiki. But my problem is it keeps spawning me randomly around the plane when I walk out. Anyway here's my code (beginner, so tips and corrections very welcome). function getPointFromDistanceRotation(x, y, dist, angle) local a = math.rad(90 - angle); local dx = math.cos(a) *
  3. Hey, I'm just using a loop that checks if the player is in water. But it also triggers when the player is getting in the car, only for the short duration of the animation. Any help? Sorry if its been answered before... Cheers
×
×
  • Create New...