Jump to content

Recommended Posts

telechargi: https://community.multitheftauto.com/index.php?p= ... ils&id=960

w a3ml exports: exports.customblips:createCustomBlip ( float worldX, float worldY, int imageWidth, int imageHeight, string imagePath, [float streamRadius = 500] )

EX:

local x, y, z = getElementPosition(player) 
exports.customblips:createCustomBlip(x, y, imageWidth, imageHeight, "imageName.png", streamRadius) 

lé lé n7ab nbadalha ID nbadal icon jemla kima nbadal il krahab wala skin wala weapon

Link to comment
addEventHandler("onResourceStart", resourceRoot, 
function(player) 
x, y, z = getElementPosition(player) 
exports.customblips:createCustomBlip(x, y, 20, 20, "imageName.png") 
end 
end 
) 
function check() 
if (x, y, z = true) then 
return true 
else 
return false 
end 
end 
setTimer(check, 1000, 0) 

Untested

Link to comment

dima 3andk "end" zyda :P

addEventHandler("onResourceStart", resourceRoot, 
    function(player) 
        x, y, z = getElementPosition(player) 
        exports.customblips:createCustomBlip(x, y, 20, 20, "imageName.png") 
    end 
) 
  
function check() 
    if (x, y, z = true) then 
    return true 
    else 
    return false 
    end 
end 
setTimer(check, 1000, 0) 
  

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