Castillo Posted March 3, 2011 Share Posted March 3, 2011 That error means (i think) you have an outdated script file, in this case your script where your code is. Link to comment
Senze Posted December 30, 2011 Share Posted December 30, 2011 hm works fine but I've got a little problem to =/ I worked on a RPG Script and the playerradar is allways hidden if a player is on foot but the icon would allways render at the position which the radar is normaly showing. Is there anyway to fix it? Link to comment
karlis Posted December 30, 2011 Share Posted December 30, 2011 only by turning it off manually. Link to comment
Senze Posted December 30, 2011 Share Posted December 30, 2011 what you mean karlis? if created a export function by my Resource where is a Variable Located which represent if the Radar ist Showing or not but i Dont know where I paste it in the customblip resource. My goal would be if the radar is hidden (showPlayerHudComponent = false) the customblips would hidden on the Radar to but i dont know where I could paste my exported function. GreeZe Link to comment
karlis Posted January 8, 2012 Share Posted January 8, 2012 you have to edit the resource, afaik there's no exported function for that. alternatively you can use my ivhud resource, that natively supports customblips, and direction too. it has limited compatibility with some gamemodes however. Link to comment
darkdreamingdan Posted January 10, 2012 Author Share Posted January 10, 2012 I'll look into providing an updated version with a function to hide icons. Link to comment
darkdreamingdan Posted February 4, 2012 Author Share Posted February 4, 2012 I've just updated this resource with a new setCustomBlipVisible exported function. Link to comment
andresmak Posted November 5, 2012 Share Posted November 5, 2012 How to destroy a blip? Can you give me an example? I do not understand exports.customblips: destroyCustomBlip (customblip theBlip)? Link to comment
Castillo Posted November 6, 2012 Share Posted November 6, 2012 addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) theBlip = exports.customblips:createCustomBlip ( 0,0, 20, 20, "icon.png" ) exports.customblips:destroyCustomBlip ( theBlip ) end ) Should work. Link to comment
andresmak Posted November 6, 2012 Share Posted November 6, 2012 Thanks Solidsnake14 =D. Now if you'll finish doing my radar and no longer be the blip 53 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