Jump to content

Paranoia

Members
  • Posts

    7
  • Joined

  • Last visited

Details

  • Gang
    oBloodShower

Paranoia's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. the marker is still in the air, i restarted the resource and another problem, why is it double/triple/quadratic spawning every sanchez hits the marker it spawns
  2. Like, i want my cylinder to be on the ground but its in the air, floating
  3. Line 5 createdVehicle = X source = The source of this event is the marker that got hit by the element. marker = createMarker(2088.07031, -1629.89954, 13.54688, "cylinder", 1.7, 0, 0, 255) addEventHandler("onMarkerHit", marker, function ( player ) local nx, ny, nz = getElementPosition ( player ) vehicle = createVehicle(468,nx, ny, nz ) warpPedIntoVehicle ( player , vehicle ) outputChatBox (' * your in the vehicle Now, Drive *', player , 255, 255, 0 ) end ) Btw how to fix my cylinder always floating everytime i script it Thanks in advance
  4. Hi, ive been encountering problems whenever i want to spawn a vehicle when i step on a marker and i was wondering why my cylinder marker is always floating whenever i script markers into that area, Here's the code ) P.S Im a newbie scripter marker = createMarker(2088.07031, -1629.89954, 13.54688, "cylinder", 1.7, 0, 0, 255) function spawnVehicleForPlayer(thePlayer) if ( source == marker ) then vehicle = createdVehicle(468, getElementPosition(thePlayer)) warpPedIntoVehicle (thePlayer, createdVehicle) end end addEventHandler("onMarkerHit", root, spawnVehicleForPlayer)
  5. marker = createMarker ( 150.84593, 2470.74512, 17.70313, "arrow", 1.5, 0, 0, 255, 255 ) function hit( element ) if ( source == marker ) then setElementInterior( source, 12 ) setElementPosition( source, 150.84593, 2470.74512, 17.70313) end end addEventHandler("onMarkerHit", root, hit) But when i step on the marker, it doesnt warp me to an interior please help
×
×
  • Create New...