#RooTs Posted June 7, 2015 Share Posted June 7, 2015 @Walid, forgot to add a comma try this BlipsTable = { [1]={2355.98145, -1660.65625, "image/icon.png" }, [2]={2480.66650, -1666.94678, "image/icon.png" } } addEventHandler ( "onClientResourceStart" , getResourceRootElement(getThisResource ()), function () for i=1,#BlipsTable do local x, y , pic = BlipsTable[i][1], BlipsTable[i][2],BlipsTable[i][3] local Blips = exports.customblips:createCustomBlip ( x, y, 16, 16,pic, 100 ) exports.customblips:setCustomBlipRadarScale(Blips, 1) end end) Link to comment
nk0zkh0z Posted June 9, 2015 Author Share Posted June 9, 2015 There needs to add to meta.xml? @Walid, forgot to add a comma try this BlipsTable = { [1]={2355.98145, -1660.65625, "image/icon.png" }, [2]={2480.66650, -1666.94678, "image/icon.png" } } addEventHandler ( "onClientResourceStart" , getResourceRootElement(getThisResource ()), function () for i=1,#BlipsTable do local x, y , pic = BlipsTable[i][1], BlipsTable[i][2],BlipsTable[i][3] local Blips = exports.customblips:createCustomBlip ( x, y, 16, 16,pic, 100 ) exports.customblips:setCustomBlipRadarScale(Blips, 1) end end) Link to comment
nk0zkh0z Posted July 23, 2015 Author Share Posted July 23, 2015 There needs to add to meta.xml?it does not work @Walid, forgot to add a comma try this BlipsTable = { [1]={2355.98145, -1660.65625, "image/icon.png" }, [2]={2480.66650, -1666.94678, "image/icon.png" } } addEventHandler ( "onClientResourceStart" , getResourceRootElement(getThisResource ()), function () for i=1,#BlipsTable do local x, y , pic = BlipsTable[i][1], BlipsTable[i][2],BlipsTable[i][3] local Blips = exports.customblips:createCustomBlip ( x, y, 16, 16,pic, 100 ) exports.customblips:setCustomBlipRadarScale(Blips, 1) end end) 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