https://wiki.multitheftauto.com/wiki/CreateMarker
https://wiki.multitheftauto.com/wiki/GiveWeapon
https://wiki.multitheftauto.com/wiki/Set ... angDriveby
https://wiki.multitheftauto.com/wiki/OnMarkerHit
Make it from a scratch again, read the function arguments.
local marker1 = createMarker(x, y,z , "type", size, r, g, b...)
local marker2 = createMarker(x, y,z , "type", size, r, g, b...)
function blah ()
giveWeapon ( source, weaponId, ammo )
setPedDoingGangDriveby ( source, true )
end
addEventHandler ( "onMarkerHit" , marker1, blah)
addEventHandler ( "onMarkerHit" , marker2, blah)
Something like that...