Castillo Posted March 3, 2011 Posted March 3, 2011 That error means (i think) you have an outdated script file, in this case your script where your code is.
Senze Posted December 30, 2011 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?
Senze Posted December 30, 2011 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
karlis Posted January 8, 2012 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.
darkdreamingdan Posted January 10, 2012 Author Posted January 10, 2012 I'll look into providing an updated version with a function to hide icons.
darkdreamingdan Posted February 4, 2012 Author Posted February 4, 2012 I've just updated this resource with a new setCustomBlipVisible exported function.
andresmak Posted November 5, 2012 Posted November 5, 2012 How to destroy a blip? Can you give me an example? I do not understand exports.customblips: destroyCustomBlip (customblip theBlip)?
Castillo Posted November 6, 2012 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.
andresmak Posted November 6, 2012 Posted November 6, 2012 Thanks Solidsnake14 =D. Now if you'll finish doing my radar and no longer be the blip 53
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