تقريبا ذا والله ماعرف استخرج ض1
if Team == getTeamFromName("Police") and not cwm3 then
--wm3 = createMarker(218, 78, 1005, "corona", 2)
cwm3 = createMarker(218, 78, 1004, "cylinder", 2, 255, 255, 0, 128)
setElementInterior(cwm3, 6)
elseif Team ~= getTeamFromName("Police") and cwm3 then
--destroyElement(wm3)
destroyElement(cwm3)
--wm3 = false
cwm3 = false
end
if Team == getTeamFromName("Police") and not cwforswat then
cwforswat = createMarker(1279, -1640, 26.37500, "cylinder", 2, 255, 255, 0, 128)
--setElementInterior(cwforswat, 0)
elseif Team ~= getTeamFromName("Police") and cwforswat then
--destroyElement(wm3)
destroyElement(cwforswat)
--wm3 = false
cwforswat = false
end
protect = true
setTimer(function() protect = false end, 5000, 1)
--triggerServerEvent("saveMySkin", resp, model, Team)
if New and getElementData(player, "Stats") ~= 3 or dnppij and getElementData(player, "Stats") ~= 3 then
toggleControl("next_weapon", true)
toggleControl("previous_weapon", true)
btx, bty, btz, btr = 2232, -1333, 23.98158, 90
gtx, gty, gtz, gtr = 2495.3, -1688, 13.52, 0
vtx, vty, vtz, vtr = 2288.1, -1105.2, 37.98, 170
atx, aty, atz, atr = 1778, -1902, 13.39, 270
ptx, pty, ptz, ptr = 1568.6, -1691, 5.89, 180
ntx, nty, ntz, ntr = 1129, -1469, 15.75, 0
ritx, rity, ritz, ritr = -2033, 148, 28.83, 0
ttx, tty, ttz, ttr = -2181, 715, 53.89195 , 0
dtx, dty, dtz, dtr = -2079, 901, 64.13281 , 0
mtx, mty, mtz, mtr = -2623, 1408, 7.10156 , 0
rtx, rty, rtz, rtr = -1682, 1351, 7.17219 , 0
if model > 101 and model < 111 or model > 113 and model < 117 or model == 292 or model > 279 and model < 289 or model == 71 or model > 162 and model < 167 or model > 264 and model < 268 or model == 312 then
randomSP = math.random(1, 3)
if randomSP == 1 then
btx, bty, btz, btr = 2256, -1333, 23.98, 270
gtx, gty, gtz, gtr = 2521, -1679, 15.26, 90
vtx, vty, vtz, vtr = 2263, -1094, 42.65, 160
atx, aty, atz, atr = 1765, -1930, 13.57, 0
ptx, pty, ptz, ptr = 1553, -1676, 16.2, 90
ritx, rity, ritz, ritr = -2052, 148, 28.83, 0
ttx, tty, ttz, ttr = -2186, 697, 53.89063, 0
dtx, dty, dtz, dtr = -2073, 974, 62.92188, 0
mtx, mty, mtz, mtr = -2684, 1412, 7.09375, 0
rtx, rty, rtz, rtr = -1681, 1350, 9.80469, 0
elseif randomSP == 2 then
btx, bty, btz, btr = 2245, -1322, 23.97886, 0
gtx, gty, gtz, gtr = 2487, -1646, 14.07, 180
vtx, vty, vtz, vtr = 2257, -1104, 37.98, 250
atx, aty, atz, atr = 1800, -1930, 13.39, 0
ptx, pty, ptz, ptr = 1580, -1635, 13.56, 90
ritx, rity, ritz, ritr = -2036, 170, 28.83, 0
ttx, tty, ttz, ttr = -2173, 681, 55.16396, 0
dtx, dty, dtz, dtr = -2047, 898, 53.11719, 0
mtx, mty, mtz, mtr = -2650, 1373, 7.18752, 0
rtx, rty, rtz, rtr = -1694, 1362, 9.80469, 0
end
else
randomSP = math.random(1, 10)
if randomSP == 1 then
ntx, nty, ntz, ntr = 1973, -1285, 28.49, 270
elseif randomSP == 2 then
ntx, nty, ntz, ntr = 1945, -1370, 18.58, 90
elseif randomSP == 3 then
ntx, nty, ntz, ntr = 2693, -1706, 11.85, 45
elseif randomSP == 4 then
ntx, nty, ntz, ntr = 1788, -1384, 15.76, 90
elseif randomSP == 5 then
ntx, nty, ntz, ntr = 1525, -1460, 9.5, 180
elseif randomSP == 6 then
ntx, nty, ntz, ntr = 1727, -1635, 20.22, 0
elseif randomSP == 7 then
ntx, nty, ntz, ntr = 1208, -1752, 13.6, 45
elseif randomSP == 8 then
ntx, nty, ntz, ntr = 1441, -1095, 17.63, 0
elseif randomSP == 9 then
ntx, nty, ntz, ntr = 2489, -1962, 16.76, 0
end
end
if model > 101 and model < 105 or model == 293 then
triggerServerEvent("NOT", player, btx, bty, btz, btr, model, Team)
elseif model > 104 and model < 108 or model > 268 and model < 272 or model == 301 or model == 311 then
triggerServerEvent("NOT", player, gtx, gty, gtz, gtr, model, Team)
elseif model > 107 and model < 111 then
triggerServerEvent("NOT", player, vtx, vty, vtz, vtr, model, Team)
elseif model > 113 and model < 117 or model == 292 then
triggerServerEvent("NOT", player, atx, aty, atz, atr, model, Team)
elseif model > 279 and model < 289 or model == 71 or model > 162 and model < 167 or model > 264 and model < 268 or model == 312 then
triggerServerEvent("NOT", player, ptx, pty, ptz, ptr, model, Team)
elseif model > 273 and model < 277 then
triggerServerEvent("MDC", player, 1182.2, -1324, 13.58, 270, model, Team)
elseif model > 172 and model < 176 then
triggerServerEvent("NOT", player, ritx , rity, ritz , ritr, model, getTeamFromName("Rifa"))
elseif model > 116 and model < 120 then
triggerServerEvent("NOT", player, ttx, tty, ttz , ttr, model, getTeamFromName("Triads"))
elseif model > 120 and model < 124 then
triggerServerEvent("NOT", player, dtx, dty, dtz , dtr, model, getTeamFromName("Da Nang"))
elseif model > 124 and model < 128 then
triggerServerEvent("NOT", player, mtx, mty, mtz, mtr, model, getTeamFromName("Mafia"))
elseif model > 110 and model < 114 then
triggerServerEvent("NOT", player, rtx, rty, rtz , rtr, model, getTeamFromName("Russians"))
else