Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TruckDriverPositions={
- {-1743.8542480469,135.75717163086,2.5495548248291},
- {2457.1401367188,-2090.2238769531,12.546875},
- {1672.8303222656,1624.9276123047,9.8203115463257},
- {-136.1219329834,1212.3327636719,20.515922546387},
- {1344.5740966797,343.79833984375,18.832433700562},
- {-61.791076660156,-1134.3813476563,0.078125},
- {222.57992553711,17.06884765625,1.578125},
- {-1527.1180419922,2636.4255371094,54.8359375},
- {-2100.3845214844,-2241.5710449219,29.625},
- {-2465.0461425781,2230.8249511719,5.5247325897217},
- {-2652.4577636719,-46.65202331543,3.3359375},
- {2774.3854980469,2527.796875,9.8203125},
- {2853.6743164063,916.47338867188,9.75},
- {-1740.5748291016,1408.1433105469,7.6563048362732},
- {-1023.0128173828,-658.43719482422,32.417705535889},
- {1652.5927734375,957.63507080078,9.7225389480591},
- {-486.27856445313,-510.47109985352,26.289840698242},
- {1092.9760742188,1751.580078125,9.8203125},
- {-1546.3872070313,-2752.572265625,48.94709777832},
- {-2432.5583496094,739.93151855469,34.015625},
- {795.69799804688,-600.59442138672,16.926044464111},
- {1795.4611816406,-1696.3817138672,12.518705368042},
- {665.08990478516,-1263.9633789063,12.4609375},
- {2277.1909179688,-91.318298339844,26.770751953125},
- {2431.5922851563,-1230.91796875,24.023817062378},
- {-311.22369384766,2677.8732910156,63.346885681152},
- }
- function createAllTruckMarkers(player)
- if player==getLocalPlayer() then
- for id,Data in ipairs(TruckDriverPositions) do
- truckBlip=createBlip(Data[1],Data[2],Data[3],51,2,255,255,255,255,0,100000000)
- truckMarker=createMarker(Data[1],Data[2],Data[3],"cylinder",10,40,80,90,100)
- setElementData(truckMarker,"markerType","truckmarker")
- setElementData(truckBlip,"blipType","truckblip")
- addEventHandler("onClientMarkerHit",truckMarker,drawDestinationChoosingGUI)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement