AMARANT Posted March 4, 2012 Share Posted March 4, 2012 While creating simple function to blip some player on the radar i came across one problem. Whenever I create a blip it shows up only on the map (F11) but not on the radar. What am I doing wrong? BTW: Debug message appears. addEventHandler("onClientGUIClick",getRootElement(), function () if (source == MapButton[1]) and guiGridListGetSelectedItem ( MapGridList[1] )~=-1 then local row, column = guiGridListGetSelectedItem ( MapGridList[1] ) local name = guiGridListGetItemText ( MapGridList[1], row, column ) local player = getPlayerFromName(name) local blip = createBlipAttachedTo(player,41) outputChatBox(row.." + "..column.." + "..name) end end) Link to comment
Castillo Posted March 4, 2012 Share Posted March 4, 2012 Code seems fine, it should appear on mini map too. Link to comment
Castillo Posted March 4, 2012 Share Posted March 4, 2012 As far as I know, the visibleDistance is not a problem as he didn't specify it. Link to comment
AMARANT Posted March 4, 2012 Author Share Posted March 4, 2012 Guys thanks for help but it seems that the problem has gone by itself. I just updated my MTA and it's gone. So thanks anyway and sorry for disturbance 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