Jump to content

Very little bug with Pilot Job Blips


Leonard.DC

Recommended Posts

I have a very little bug with the blips in a Pilot Job maked by me, The blips shows exelent when the player start the job, But only in the map, Not in the radar, Why???

    local pilotRings = 
{ 
    { 1887, -1113, 170 }; 
    { 2092, -1160, 170 };  
    { 1896, -1165, 170 };  
    { 2068, -1720, 170 }; 
    { 1970, -1671, 170 };  
    { 1895, -1071, 170 }; 
    { 1940, -1066, 170 }; 
    { 1955, -1074, 170 }; 
    { 1960, -1069, 170 }; 
    { 1956, -1115, 170 }; 
    { 1945, -1115, 170 }; 
    { 1924, -1115, 170 }; 
    { 1900, -1114, 170 }; 
    { 2596, -1237, 170 }; 
    { 2595, -1199, 170 }; 
    { 2516, -1028, 170 }; 
    { 2630, -1072, 170 }; 
    { 2794, -1246, 170 }; 
    { 2809, -1176, 170 }; 
    { 2586, -953, 170 }; 
    { 2397.470703125, -1795.9013671875, 170 }; 
    { 2508.0615234375, -2018.5390625, 170 }; 
    { 2153.5810546875, -1807.6865234375, 170 }; 
    { 2149.7548828125, -1587.15234375, 170 }; 
    { 1742.9638671875, -1862.6953125, 170 }; 
} 
  
function unpackPilot () 
    return unpack ( pilotRings [ math.random ( #pilotRings ) ] ) 
end 
     
addEvent ( "createPilotEvent", true ) 
function createRings () 
    x, y, z = unpackPilot () 
     pilotMarker = createMarker ( x, y, z, "ring", 8.0, 0, 255, 141, 255, localPlayer ) 
      pilotBlip = createBlipAttachedTo ( pilotMarker, 41, localPlayer ) 
end 
addEventHandler ( "createPilotEvent", root, createRings ) 

You don't need the full code, because the bugged blips are in the part of code i show

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...