huyjvguyen Posted August 1, 2015 Posted August 1, 2015 client function blip() createBlip( 2287.10546875, 2432.3681640625, 10.8203125,30 ) end addEventhandlner("onClientResourceStart", root, blip) meta i can't see my blip on rada, and mini map
Kelvin Perez Posted August 1, 2015 Posted August 1, 2015 function createClientBlip() -- It creates the blip function. createBlip(2287.10546875, 2432.3681640625, 10.8203125, 30) -- It creates the blip on the x, y, z position with the id type inserted. end -- It ends the blip function. addEventHandler("onClientResourceStart", getRootElement(), createClientBlip) -- We make sure the blip gets created when the resource is started. I fixed it for you. You mistaken 'addEventhandler', you are to always put the E & H capitalized. Also, for your meta.xml, it goes like the following:
huyjvguyen Posted August 1, 2015 Author Posted August 1, 2015 function createClientBlip() -- It creates the blip function.createBlip(2287.10546875, 2432.3681640625, 10.8203125, 30) -- It creates the blip on the x, y, z position with the id type inserted. end -- It ends the blip function. addEventHandler("onClientResourceStart", getRootElement(), createClientBlip) -- We make sure the blip gets created when the resource is started. I fixed it for you. You mistaken 'addEventhandler', you are to always put the E & H capitalized. Also, for your meta.xml, it goes like the following: function blip() createBlip( 2287.10546875, 2432.3681640625, 10.8203125,30 ) end addEventhandlner("onClientResourceStart", getRootElement(), blip) it's not work
KariiiM Posted August 1, 2015 Posted August 1, 2015 Hey,meta is not correct, it should be like that. "me" type="script">
huyjvguyen Posted August 1, 2015 Author Posted August 1, 2015 can you give me a simple script blip. i try but all off this not work
HUNGRY:3 Posted August 1, 2015 Posted August 1, 2015 function blip() createBlip( 2287.10546875, 2432.3681640625, 10.8203125,30 , 0, 0 ,255 ) end addEventHandler("onClientResourceStart", root, blip)
iMr.Dawix~# Posted August 1, 2015 Posted August 1, 2015 function blip() createBlip( 2287.10546875, 2432.3681640625, 10.8203125,30 , 0, 0 ,255 ) end addEventHandler("onClientResourceStart", root, blip) function blip() createBlip( 2287.10546875, 2432.3681640625, 10.8203125,30 , 0, 0 ,255 ) end addEventHandler("onClientResourceStart",resourceRoot, blip)
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