thegost Posted May 7, 2016 Share Posted May 7, 2016 Good Morning People I need help! in warehouse in finish the assalt , i have math.random(#warehouse) but i want put the warehouse to distance think you in lv area assalt and assalt finish i like put the warehouse in lv and sf assalts ware house sf and ls assalts and warehouse, and this i have its math random you in lv assalt you go sf.... warehouse can help me? warehouse = {} warehouse[1] = {2872.1005859375,-2124.9311523438,4.6315641403198} --LS warehouse[2] = {-1885.1981201172,-201.48069763184,15.597852706909} --SF warehouse[3] = {2140.6916503906,2835.0744628906,10.8203125} --LV addEvent("showWarehouses", true) addEventHandler("showWarehouses", getRootElement(), function() if source == getLocalPlayer() then local index = math.random(#warehouse) local marker = createMarker(warehouse[index][1],warehouse[index][2],warehouse[index][3]-1,"cylinder", 3, 255, 255, 255, 255) setElementData(marker, "houserobblip", true) local blip = createBlipAttachedTo(marker, 43) setElementData(blip, "houserobblip", true) addEventHandler("onClientMarkerHit", marker, finish) end end) Link to comment
KariiiM Posted May 7, 2016 Share Posted May 7, 2016 I didn't get what you mean, try to be more clear Link to comment
thegost Posted May 7, 2016 Author Share Posted May 7, 2016 I like but warehouse restrit areas All lv robs! have warehouse in lv and all sf robs have warehouse in sf and all robs in ls have warehouse in ls! type ware hous in ls have one locate and all stores have +/- 500M the distace this warehouse have with finish rob in this warehouse Link to comment
thegost Posted May 7, 2016 Author Share Posted May 7, 2016 Now Its more Clear or not understane? Link to comment
KariiiM Posted May 7, 2016 Share Posted May 7, 2016 Hmm, If I get what you mean, you meant if you typed the command ware house in a specified zone/area, script gonna work on this area where you typed the command at. Is that what you mean? Link to comment
thegost Posted May 7, 2016 Author Share Posted May 7, 2016 +/- the Warehouse not need comand its automatic in finish the Hr and i have this hr locate: houserob = {} houserob[1] = {562.69909667969,-1814.8981933594,6.1234374046326} -- Santa maria Breach houserob[2] = {2350.9162597656,-2172.7534179688,13.546875} -- Oceane Doks ,Ls houserob[3] = {2504.5856933594,-1781.0590820313,13.638743400574} -- teaton Doks(ao Pe da casa do Big Smoke), Ls houserob[4] = {2348.9296875,-2007.6644287109,13.62343788147} -- willwolueldfield(ao Pe do spawn de armes dealer), Ls houserob[5] = {1794.7677001953,-1928.93359375,13.42343711853} -- Estaçao dos autocarros, Ls houserob[6] = {603.32775878906,-1188.4716796875,49.504688262939} -- Sr in Ls House houserob[7] = {1377.6688232422,-450.14120483398,52.430519104004} -- Sr in Ls Montain houserob[8] = {1341.7897949219,196.16741943359,19.723438262939} -- Red Country houserob[9] = {2418.6962890625,91.955596923828,26.493436813354} -- Red Country houserob[10] = {2177.5703125,102.99882507324,26.363447189331} -- Red Country houserob[11] = {250.4478302002,-57.158576965332,1.5703125} -- Red Country houserob[12] = {-2395.6291503906,-2178.9738769531,33.323436737061} -- Bone Country Monatai houserob[13] = {-2005.9456787109,-733.89862060547,32.223438262939} -- Foster Vally , San Fierro houserob[14] = {-2720.0549316406,448.5451965332,4.3334374427795} -- Armes dealer Spawn , San Fierro houserob[15] = {-2464.8759765625,2233.2077636719,4.8334374427795} -- Tierra ROubada houserob[16] = {-1530.1484375,2636.9428710938,55.8359375} -- El Quebrados houserob[17] = {-657.45465087891,2711.822265625,72.375} -- Tierra Roubada houserob[18] = {-225.64117431641,2733.6147460938,62.723438262939} -- Bone Country houserob[19] = {-882.78973388672,1491.119140625,24.323436737061} -- Tierra roubada los quebrados houserob[20] = {-171.1417388916,1225.7291259766,19.7421875} -- Bone Country Biker Spawn houserob[21] = {599.77520751953,1229.6207275391,11.723437309265} -- Bone Country FInal Farmer houserob[22] = {1431.6755371094,2689.7751464844,11.223437309265} -- Lv em cima houserob[23] = {2775.37109375,1452.2525634766,10.823437690735} -- Lv Perto dos Un houserob[24] = {2568.7614746094,1033.0362548828,10.823437690735} -- Lv Perto dos Down houserob[25] = {1941.3050537109,-1810.6721191406,13.62343788147} -- ls AO pe das bombas 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