Jump to content

more truckerlocations for one trailer


zombienation

Recommended Posts

hello,

i am trying to add more then one drop off locations for truckerjob,

the script i have gives one drop off location for each truck/ trucktrailer,

i'd like to know how i can add more locations and also that the locations are given randomly and not in order..

is this possible, how?

here is the original drop off script

theTruckTrailerID = getElementModel (source)

local theDriver = getVehicleOccupant ( theTruck, 0 )

if ( theDriver ) and ( theTruckTrailerID == 584 ) then

outputChatBox ("Bring the trailer to the flag.", theDriver, 255, 0, 0, false)

theFinishMarker = createMarker ( -1605.90, -2713.98, 46.53, "cylinder", 16, 0, 255, 0, 90, theDriver )

theFinishBlip = createBlip ( -1605.90, -2713.98, 46.53, 53, 2, 255, 0, 0, 255, 0, 99999.0, theDriver )

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...