Deepu Posted February 18, 2014 Posted February 18, 2014 PLEASE its urgent and I need help with the script of my bomber job its as follows: the markers wont spawn and no errors yeah but it says table generator is absent function accept () if source == taker then triggerServerEvent("onKakka", thePlayer, "yo") local bombMarkers = { {1173.9000244141, -1355.0999755859, 12.89999961853, "cylinder", 1, 255, 2, 0}, {891.79998779297 , -1251.0999755859 , 14.89999961853, "cylinder", 1, 255, 2, 0}, {2659.6999511719 , -1438.5 , 29.5, "cylinder", 1, 255, 2, 0}, {1390.6473388672 , -1567.6746826172 , 12.604599952698, "cylinder", 1, 255, 2, 0}, {1215.8259277344 , -1667.3760986328 , 10.77110004425, "cylinder", 1, 255, 2, 0}, {1103.1510009766 , -1452.7386474609 , 14.775799751282, "cylinder", 1, 255, 2, 0}, {1802.6999511719 , -1286.9000244141 , 12.60000038147, "cylinder", 1, 255, 2, 0}, {2668.6999511719 , -1766.9000244141 , 10.89999961853, "cylinder", 1, 255, 2, 0}, {2200.1999511719 , -2222.1999511719 , 14.199999809265, "cylinder", 1, 255, 2, 0}, {1109.0999755859 , -1791.8000488281 , 15.60000038147, "cylinder", 1, 255, 2, 0}, } for markerid,_ in ipairs do local ran = math.random(#bombMarkers) reach = createMarker(bombMarkers[ran][1], bombMarkers[ran][2], bombMarkers[ran][3]) guiSetVisible(jobWindow, false) showCursor(false) end end end addEventHandler("onClientGUIClick", getRootElement(), accept) WANT SCRIPTS? I SELL LIKE AN ANIMATED CUSTOMISED GUI FOR 5USD AND AN RPG GAMEMODE FOR 30USD ONLY. IF YOU NEED SPECIAL SCRIPTS THEN I SELL EACH FOR 5 USD.
Karuzo Posted February 18, 2014 Posted February 18, 2014 Where did you defined taker? Which button did you used?
Deepu Posted February 18, 2014 Author Posted February 18, 2014 the clicks are correct I tested it with outPutChatBox it works WANT SCRIPTS? I SELL LIKE AN ANIMATED CUSTOMISED GUI FOR 5USD AND AN RPG GAMEMODE FOR 30USD ONLY. IF YOU NEED SPECIAL SCRIPTS THEN I SELL EACH FOR 5 USD.
DNL291 Posted February 18, 2014 Posted February 18, 2014 for markerid,_ in ipairs do It's wrong. Please do not PM me with scripting related question nor support, use the forums instead.
Deepu Posted February 18, 2014 Author Posted February 18, 2014 wrong code but my code worked thanks anyway WANT SCRIPTS? I SELL LIKE AN ANIMATED CUSTOMISED GUI FOR 5USD AND AN RPG GAMEMODE FOR 30USD ONLY. IF YOU NEED SPECIAL SCRIPTS THEN I SELL EACH FOR 5 USD.
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