x1Father,_) Posted March 7, 2019 Share Posted March 7, 2019 I want to see the ped dead i don't know how help guys Quote local destinations = { { 1214.44,-1499.03,9.04 }; { 1126.23,-1180.19,31.02 }; { 902.2,-897.19,44.76 }; { 681.28,-1292.65,12.6 }; { 613.25,-1377.53,12.87 }; { 969.63,-1666.08,12.48 }; { 1411.79,-1992.51,46.8 }; { 1079.899,-1664.73,12.78 }; } function unpackDestinations () return unpack ( destinations [ math.random ( #destinations ) ] ) end addEvent("HaveTruckerJob", true) function createDestinations () x, y, z = unpackDestinations () Jobm = createMarker ( x, y, z, "cylinder", 1, 0, 200, 0, 85, localPlayer ) Jobped = createPed(0,x, y, z,90 ) truckerBlip = createBlipAttachedTo ( Jobm, 41 ) setElementVisibleTo(truckerBlip, root, false) setElementVisibleTo(truckerBlip, localPlayer, true) killPed ( Jobped,localPlayer ) end addEventHandler ( "HaveTruckerJob", root, createDestinations ) 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now