Jump to content

Playerblips Visible.


Bean666

Recommended Posts

Posted

if you mean to make a distance for the blip try using this function read on wiki for more informations

setBlipVisibleDistance ( blip theBlip, float theDistance ) 

  • MTA Team
Posted

Resource: playerblips

File: playerblips.lua

Add this piece of code, 100.0 is the distance:

local _createBlipAttachedTo = createBlipAttachedTo 
function createBlipAttachedTo(player, icon, size, r, g, b) 
    return _createBlipAttachedTo(player, icon, size, r, g, b, 0, 100.0) 
end 

  • MTA Team
Posted
local _createBlipAttachedTo = createBlipAttachedTo 
function createBlipAttachedTo(player, icon, size, r, g, b) 
    return _createBlipAttachedTo(player, icon, size, r, g, b, 255, 0, 100.0) 
end 

I forgot the alpha parameter.

Posted

necktrox is it possible for normal blips too? such as this , help appreciated .

local un = createBlip (-1157.5693359375, -927.427734375, 129.21875, 6) 
  

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