-
Posts
485 -
Joined
-
Last visited
Everything posted by AHMAD1234
-
اقسمها على 60,000 لان الدقيقة فيها 60 ثانية 600,000 ÷ 60,000 = 10 دقائق
-
هاك فايروس شئ كذا..؟ CLEO طيب انت حاط ملف
-
السلام عليكم شباب طبعاً هادى اول موضوع لي في القسم مو اول اسكربت اسويه لاكين حبيت اطرح اسكربت المهم الاسكربت سويته اليوم الصبح وخلصت منه ملاحظة الاسكربت قابل للتعديل من الملفات cars spawnاسكربت الـ window اضافة سيارات من ملف cars = { {579}, {400}, {404}, {489}, {505}, {541}, {518}, {466}, {506}, {469}, {550}, {555}, {492}, --{carID}, } server في ملف Markersزيادة عدد الـ markers = { {1732.6292724609,-1278.9702148438,12.574156761169}, {1975.0847167969,-1277.7426757813,22.8203125}, {1779.8360595703,-1932.7341308594,12.386347770691}, {1536.0302734375,-1683.4799804688,12.546875}, {1427.2347412109,-1057.7525634766,22.1640625}, {414.0266418457,-1365.2066650391,13.902856826782}, {426.60220336914,-1804.0715332031,4.546875}, {1545.041015625,-2250.6782226563,12.546875}, {2301.5368652344,-2346.7805175781,12.546875}, {2480.2934570313,-1749.7170410156,12.546875}, {2224.0158691406,-1164.6190185547,24.733079910278}, {-1414.8715820313,-300.61758422852,13.141115188599}, {1700.9906005859,1451.6712646484,9.7996244430542}, {1624.4620361328,1818.3846435547,9.8203125}, {-1635.18359375,1201.10546875,6.1796875}, {-2656.0537109375,592.06512451172,13.453125}, {1187.9677734375,-1317.7396240234,12.565367698669}, {902.19171142578,-1666.3264160156,12.546875}, --{ x, y, z }, } الصور النافذة spawnصورة للسيارة بعد الـ Markersصورة لواحد من الـ Iconالأعدادات في لوحة الادمنية تقدر تغير لون الماركرات والحجم والشفافية والـ iconصورة من الرادار للـ -#communityالتحميل من الـ#- cars spawn (carsspawn) -#الأسكربت غير مشفر للفائدة#- -#في أمان الله#-
-
+ you're welcome
-
جرب ذا local tractorjobmarker= createMarker (-381.25, -1438.88, 25.72-1, "cylinder", 2,255, 200, 0, 150) vehicle = { } function startMMmiIssion (player) if vehicle[source] and isElement( vehicle[source] ) then destroyElement(vehicle[source]) vehicle[source] = nil end vehicle[source] = createVehicle (531, -386.2,-1405.9,25.0) if getElementType(player) == "vehicle" or getPedOccupiedVehicle(player) then return end fadeCamera(player,false,1 ) setTimer(fadeCamera,1000,1,player,true,5 ) setTimer(setElementPosition,1500,1,player, -383.4,-1406.6,25.2 ) outputChatBox ( "Hello ! I need to keep the engine of my tractor good...", player,255, 200, 0, 150 ) outputChatBox ( "Normal i drive it around san andreas for the fun of it, but i'm scared", player,255, 200, 0, 150 ) outputChatBox ( "to get infected by the zombies, would you do it for me? i will give 25000$", player,255, 200, 0, 150 ) outputChatBox ( "Follow the raceflag, you get a total of 25000$ at the end STOP AT GASTSTATIONS", player,255, 200, 0, 150 ) outputChatBox ( "DONT GET OUT OF THE VEHICLE OR YOU NEED TO RESTART", player,255, 200, 0, 150 ) end addEventHandler( "onMarkerHit", tractorjobmarker, startMMmiIssion ) local blip = createBlip(-380.74340820313,-1436.0946044922,25.7265625, 53, 0, 0, 0, 0, 0, 0, 250) outputDebugString("Blip visible distance: "..getBlipVisibleDistance(blip)) --50 setBlipVisibleDistance(blip, 350) outputDebugString("Blip visible distance: "..getBlipVisibleDistance(blip)) --100 اعتقد منستر عنده أخطاء بسيطه في الكود الاول local tractorjobmarker= createMarker (-381.25811767578, -1438.8836669922, 25.7265625-1, "cylinder", 2,255, 200, 0, 150) vehicle = { } function startMMmiIssion (player) if vehicle[player] and isElement( vehicle[player] ) then destroyElement(vehicle[player]) vehicle[player] = nil end if getElementType(player) == "vehicle" or getPedOccupiedVehicle(player) then return end fadeCamera(player,false,1 ) setTimer(fadeCamera,1000,1,player,true,5 ) setTimer(setElementPosition,1500,1,player, -383.4,-1406.6,25.2 ) vehicle[player] = createVehicle ( 531, -386.2,-1405.9,25.0 ) outputChatBox ( "Hello ! I need to keep the engine of my tractor good...", player,255, 200, 0, 150 ) outputChatBox ( "Normal i drive it around san andreas for the fun of it, but i'm scared", player,255, 200, 0, 150 ) outputChatBox ( "to get infected by the zombies, would you do it for me? i will give 25000$", player,255, 200, 0, 150 ) outputChatBox ( "Follow the raceflag, you get a total of 25000$ at the end STOP AT GASTSTATIONS", player,255, 200, 0, 150 ) outputChatBox ( "DONT GET OUT OF THE VEHICLE OR YOU NEED TO RESTART", player,255, 200, 0, 150 ) end addEventHandler( "onMarkerHit", tractorjobmarker, startMMmiIssion ) local blip = createBlip(-380.74340820313,-1436.0946044922,25.7265625, 53, 0, 0, 0, 0, 0, 0, 250) outputDebugString("Blip visible distance: "..getBlipVisibleDistance(blip)) --50 setBlipVisibleDistance(blip, 350) outputDebugString("Blip visible distance: "..getBlipVisibleDistance(blip)) --100
-
!!الخطأ في ذا setAccountData(playeraccount, "s.weap8", getPedWeapon(source, -- s8) -->) setAccountData(playeraccount, "s.ammo8", getPedTotalAmmo(source, -- s8) -->)
-
ذا القيم مود حق سعد صح..؟
-
جرب..؟ rRoot = getResourceRootElement(getThisResource()) local root = getRootElement() local Key = "F4" Teams = { -- here all joni {"Grove", 0, 255, 0}, {"Aztecas", 0, 150, 255}, {"Police", 0, 50, 255}, {"Ballas", 255, 0, 150}, {"No Team", 254, 0, 1}, {"Medic", 6, 183, 248} } local function set(plr, data, bole) if not isElement(plr) then return end return setElementData(plr, data, bole) end local function get(plr, data) if not isElement(plr) then return end return getElementData(plr, data) end addEventHandler("onResourceStart", resourceRoot, function() setGameType("Gang_Wars v.2.8") for _,theTeam in ipairs(Teams) do createTeam(theTeam[1], theTeam[2], theTeam[3], theTeam[4]) end for _,AllTeams in ipairs(getElementsByType("team")) do if getTeamFriendlyFire(AllTeams) == true then setTeamFriendlyFire(AllTeams, false) end end setTeamFriendlyFire(getTeamFromName("No Team"), true) for i,v in ipairs(getElementsByType("player")) do bindKey(v, Key, "down", "changeTeame") setElementData(v, "OnJoinFirstSpawn", false) end setElementData(rRoot,"maxPlayer",getMaxPlayers()) end ) addEventHandler("onResourceStop", resourceRoot, function() local players = getElementsByType("player") for k,v in ipairs(players) do set(v, "hjwalah", false) set(v, "Grove", false) set(v, "Aztecs", false) set(v, "Police", false) set(v, "Ballas", false) set(v, "noTeam", false) set(v, "Medic", false) set(v, "GameModeActive", false) end end ) addEvent("onLoadedClient", true) addEventHandler("onLoadedClient", root, function(player) versionDisplay = textCreateDisplay() textDisplayAddText(versionDisplay, versionText) textDisplayAddObserver(versionDisplay, player) setElementData(player, "CancleFirstSpawn", true) playSoundFrontEnd(player, 16) setElementData(player, "OnJoinFirstSpawn", false) end ) addEventHandler("onPlayerSpawn", root, function() checkWeapon(source) end ) function checkWeapon(player) setTimer(function(player) if isElement(player) then if getElementData(player, "Police") == true then giveWeapon(player, 3) end else takeWeapon(player, 3) end end, 800, 1, player) end addEvent("f", true) addEventHandler("f", getRootElement(), function(player, ID, TeamName) if TeamName == "Grove" then setElementData(player, "ID", ID) GroveTeam(player) elseif TeamName == "Aztecas" then setElementData(player, "ID", ID) AztecsTeam(player) elseif TeamName == "Police" then setElementData(player, "ID", ID) PoliceTeam(player) elseif TeamName == "Ballas" then setElementData(player, "ID", ID) Ballas(player) elseif TeamName == "No Team" then setElementData(player, "ID", ID) NoTeam(player) elseif TeamName == "Medic" then setElementData(player, "ID", ID) MedicTeam(player) elseif TeamName == "Drift" then setElementData(player, "ID", ID) hjwalah(player) end end ) function checkWeapon(player) setTimer(function(player) if isElement(player) then if getElementData(player, "Police") == true then giveWeapon(player, 3) end else takeWeapon(player, 3) end end, 800, 2, player) end function onSelectTeam(player) if not isElement(player) then return end local playerTeam = getPlayerTeam(player) local playeraccount = getPlayerAccount(player) if playeraccount and not isGuestAccount(getPlayerAccount(player)) then if getElementData(player, "hjwalah") == true then return false end if getElementData(player, "wasgied") == true then return false end setElementData(player, "wasgied", true) local weap0 = getAccountData(playeraccount, "s.weap0") local weap1 = getAccountData(playeraccount, "s.weap1") local weap2 = getAccountData(playeraccount, "s.weap2") local ammo2 = getAccountData(playeraccount, "s.ammo2") local weap3 = getAccountData(playeraccount, "s.weap3") local ammo3 = getAccountData(playeraccount, "s.ammo3") local weap4 = getAccountData(playeraccount, "s.weap4") local ammo4 = getAccountData(playeraccount, "s.ammo4") local weap5 = getAccountData(playeraccount, "s.weap5") local ammo5 = getAccountData(playeraccount, "s.ammo5") local weap6 = getAccountData(playeraccount, "s.weap6") local ammo6 = getAccountData(playeraccount, "s.ammo6") local weap7 = getAccountData(playeraccount, "s.weap7") local ammo7 = getAccountData(playeraccount, "s.ammo7") local weap8 = getAccountData(playeraccount, "s.weap8") local ammo8 = getAccountData(playeraccount, "s.ammo8") local weap9 = getAccountData(playeraccount, "s.weap9") local ammo9 = getAccountData(playeraccount, "s.ammo9") local weap10 = getAccountData(playeraccount, "s.weap10") local weap11 = getAccountData(playeraccount, "s.weap11") local weap12 = getAccountData(playeraccount, "s.weap12") local wanted = getAccountData(playeraccount, "WantedLevel") if tonumber(wanted) then setPlayerWantedLevel(player, wanted) elseif tonumber(weap0) then giveWeapon(player, weap0, 1) elseif tonumber(weap1) then giveWeapon(player, weap1, 1) elseif tonumber(weap2) and tonumber(ammo2) then giveWeapon(player, weap2, ammo2) elseif tonumber(weap3) and tonumber(ammo3) then giveWeapon(player, weap3, ammo3) elseif tonumber(weap4) and tonumber(ammo4) then giveWeapon(player, weap4, ammo4) elseif tonumber(weap6) and tonumber(ammo5) then giveWeapon(player, weap5, ammo5) elseif tonumber(weap6) and tonumber(ammo6) then giveWeapon(player, weap6, ammo6) elseif tonumber(weap7) and tonumber(ammo7) then giveWeapon(player, weap7, ammo7) elseif tonumber(weap8) and tonumber(ammo8) then giveWeapon(player, weap8, ammo8) elseif tonumber(weap9) and tonumber(ammo9) then giveWeapon(player, weap9, ammo9) elseif tonumber(weap10) then giveWeapon(player, weap10, 30) elseif tonumber(weap11) then giveWeapon(player, weap11, 30) elseif tonumber(weap12) then giveWeapon(player, weap12, 10) end end end function camera(plr) if not isElement(plr) then return end setTimer(fadeCamera, 50, 1, plr, false, 1) setTimer(fadeCamera, 100, 1, plr, true, 3) setCameraTarget(plr, plr) showChat(plr, true) end addEventHandler("onPlayerSpawn", root, function() setElementData(source, "FristTimeSpawn", false) bindKey(source, Key, "down", "changeTeame") setElementData(source, "s", false) end ) Change = false addCommandHandler("changeTeame", function(plr) if getElementData(plr, "s") == false then setElementData(plr, "ChangeTeam", true) OutPut("يمكنك تغيير شخصيتك بعد الموت", plr, 255, 0, 255) setTimer(cancleTeam, 1700, 1, plr) setElementData(plr, "s", true) else OutPut("Change the team has been canceled", plr, 255, 255, 0) setElementData(plr, "ChangeTeam", false) setElementData(plr, "s", false) end Change = not Change end ) function cancleTeam(plr) if Change == false then return false end OutPut("To cancel the change team press again", plr, 255, 255, 0) end function GroveTeam(plr) if not isElement(plr) then return end camera(plr) local data = tonumber(getElementData(plr, "ID")) or 107 spawnPlayer(plr, 2498.77856, -1680.38623, 13.35946, 0, data, 0, 0, getTeamFromName("Grove")) r, g, b = getTeamColor(getPlayerTeam(plr)) setPlayerNametagColor(plr, r, g, b) onSelectTeam(plr) set(plr, "Grove", true) set(plr, "Aztecs", false) set(plr, "Police", false) set(plr, "Ballas", false)
-
جرب rRoot = getResourceRootElement(getThisResource()) local root = getRootElement() local Key = "F4" Teams = { -- here all joni {"Grove", 0, 255, 0}, {"Aztecas", 0, 150, 255}, {"Police", 0, 50, 255}, {"Ballas", 255, 0, 150}, {"No Team", 254, 0, 1}, {"Medic", 6, 183, 248} } local function set(plr, data, bole) if not isElement(plr) then return end return setElementData(plr, data, bole) end local function get(plr, data) if not isElement(plr) then return end return getElementData(plr, data) end addEventHandler("onResourceStart", resourceRoot, function() setGameType("Gang_Wars v.2.8") for _,theTeam in ipairs(Teams) do createTeam(theTeam[1], theTeam[2], theTeam[3], theTeam[4]) end for _,AllTeams in ipairs(getElementsByType("team")) do if getTeamFriendlyFire(AllTeams) == true then setTeamFriendlyFire(AllTeams, false) end end setTeamFriendlyFire(getTeamFromName("No Team"), true) for i,v in ipairs(getElementsByType("player")) do bindKey(v, Key, "down", "changeTeame") setElementData(v, "OnJoinFirstSpawn", false) end setElementData(rRoot,"maxPlayer",getMaxPlayers()) end ) addEventHandler("onResourceStop", resourceRoot, function() local players = getElementsByType("player") for k,v in ipairs(players) do set(v, "hjwalah", false) set(v, "Grove", false) set(v, "Aztecs", false) set(v, "Police", false) set(v, "Ballas", false) set(v, "noTeam", false) set(v, "Medic", false) set(v, "GameModeActive", false) end end ) addEvent("onLoadedClient", true) addEventHandler("onLoadedClient", root, function(player) versionDisplay = textCreateDisplay() textDisplayAddText(versionDisplay, versionText) textDisplayAddObserver(versionDisplay, player) setElementData(player, "CancleFirstSpawn", true) playSoundFrontEnd(player, 16) setElementData(player, "OnJoinFirstSpawn", false) end ) addEventHandler("onPlayerSpawn", root, function() checkWeapon(source) end ) function checkWeapon(player) setTimer(function(player) if isElement(player) then if getElementData(player, "Police") == true then giveWeapon(player, 3) end else takeWeapon(player, 3) end end, 800, 1, player) end addEvent("f", true) addEventHandler("f", getRootElement(), function(player, ID, TeamName) if TeamName == "Grove" then setElementData(player, "ID", ID) GroveTeam(player) elseif TeamName == "Aztecas" then setElementData(player, "ID", ID) AztecsTeam(player) elseif TeamName == "Police" then setElementData(player, "ID", ID) PoliceTeam(player) elseif TeamName == "Ballas" then setElementData(player, "ID", ID) Ballas(player) elseif TeamName == "No Team" then setElementData(player, "ID", ID) NoTeam(player) elseif TeamName == "Medic" then setElementData(player, "ID", ID) MedicTeam(player) elseif TeamName == "Drift" then setElementData(player, "ID", ID) hjwalah(player) end end ) function checkWeapon(player) setTimer(function(player) if isElement(player) then if getElementData(player, "Police") == true then giveWeapon(player, 3) end else takeWeapon(player, 3) end end, 800, 2, player) end function onSelectTeam(player) if not isElement(player) then return end local playerTeam = getPlayerTeam(player) local playeraccount = getPlayerAccount(player) if playeraccount and not isGuestAccount(getPlayerAccount(player)) then if getElementData(player, "hjwalah") == true then return false end if getElementData(player, "wasgied") == true then return false end setElementData(player, "wasgied", true) local weap0 = getAccountData(playeraccount, "s.weap0") local weap1 = getAccountData(playeraccount, "s.weap1") local weap2 = getAccountData(playeraccount, "s.weap2") local ammo2 = getAccountData(playeraccount, "s.ammo2") local weap3 = getAccountData(playeraccount, "s.weap3") local ammo3 = getAccountData(playeraccount, "s.ammo3") local weap4 = getAccountData(playeraccount, "s.weap4") local ammo4 = getAccountData(playeraccount, "s.ammo4") local weap5 = getAccountData(playeraccount, "s.weap5") local ammo5 = getAccountData(playeraccount, "s.ammo5") local weap6 = getAccountData(playeraccount, "s.weap6") local ammo6 = getAccountData(playeraccount, "s.ammo6") local weap7 = getAccountData(playeraccount, "s.weap7") local ammo7 = getAccountData(playeraccount, "s.ammo7") local weap8 = getAccountData(playeraccount, "s.weap8") local ammo8 = getAccountData(playeraccount, "s.ammo8") local weap9 = getAccountData(playeraccount, "s.weap9") local ammo9 = getAccountData(playeraccount, "s.ammo9") local weap10 = getAccountData(playeraccount, "s.weap10") local weap11 = getAccountData(playeraccount, "s.weap11") local weap12 = getAccountData(playeraccount, "s.weap12") local wanted = getAccountData(playeraccount, "WantedLevel") if tonumber(wanted) then setPlayerWantedLevel(player, wanted) elseif tonumber(weap0) then giveWeapon(player, weap0, 1) elseif tonumber(weap1) then giveWeapon(player, weap1, 1) elseif tonumber(weap2) and tonumber(ammo2) then giveWeapon(player, weap2, ammo2) elseif tonumber(weap3) and tonumber(ammo3) then giveWeapon(player, weap3, ammo3) elseif tonumber(weap4) and tonumber(ammo4) then giveWeapon(player, weap4, ammo4) elseif tonumber(weap6) and tonumber(ammo5) then giveWeapon(player, weap5, ammo5) elseif tonumber(weap6) and tonumber(ammo6) then giveWeapon(player, weap6, ammo6) elseif tonumber(weap7) and tonumber(ammo7) then giveWeapon(player, weap7, ammo7) elseif tonumber(weap8) and tonumber(ammo8) then giveWeapon(player, weap8, ammo8) elseif tonumber(weap9) and tonumber(ammo9) then giveWeapon(player, weap9, ammo9) elseif tonumber(weap10) then giveWeapon(player, weap10, 30) elseif tonumber(weap11) then giveWeapon(player, weap11, 30) elseif tonumber(weap12) then giveWeapon(player, weap12, 10) end end end function camera(plr) if not isElement(plr) then return end setTimer(fadeCamera, 50, 1, plr, false, 1) setTimer(fadeCamera, 100, 1, plr, true, 3) setCameraTarget(plr, plr) showChat(plr, true) end addEventHandler("onPlayerSpawn", root, function() setElementData(source, "FristTimeSpawn", false) bindKey(source, Key, "down", "changeTeame") setElementData(source, "s", false) end ) Change = false addCommandHandler("changeTeame", function(plr) if getElementData(plr, "s") == false then setElementData(plr, "ChangeTeam", true) OutPut("يمكنك تغيير شخصيتك بعد الموت", plr, 255, 0, 255) setTimer(cancleTeam, 1700, 1, plr) setElementData(plr, "s", true) else OutPut("Change the team has been canceled", plr, 255, 255, 0) setElementData(plr, "ChangeTeam", false) setElementData(plr, "s", false) end Change = not Change end ) function cancleTeam(plr) if Change == false then return false end OutPut("To cancel the change team press again", plr, 255, 255, 0) end function GroveTeam(plr) if not isElement(plr) then return end camera(plr) local data = tonumber(getElementData(plr, "ID")) or 107 spawnPlayer(plr, 2498.77856, -1680.38623, 13.35946, 0, data, 0, 0, getTeamFromName("Grove")) r, g, b = getTeamColor(getPlayerTeam(plr)) setPlayerNametagColor(plr, r, g, b) onSelectTeam(plr) set(plr, "Grove", true) set(plr, "Aztecs", false) set(plr, "Police", false) set(plr, "Ballas", false)
-
جرب rRoot = getResourceRootElement(getThisResource()) local root = getRootElement() local Key = "F4" Teams = { -- here all joni {"Grove", 0, 255, 0}, {"Aztecas", 0, 150, 255}, {"Police", 0, 50, 255}, {"Ballas", 255, 0, 150}, {"No Team", 254, 0, 1}, {"Medic", 6, 183, 248} } local function set(plr, data, bole) if not isElement(plr) then return end return setElementData(plr, data, bole) end local function get(plr, data) if not isElement(plr) then return end return getElementData(plr, data) end addEventHandler("onResourceStart", resourceRoot, function() setGameType("Gang_Wars v.2.8") for _,theTeam in ipairs(Teams) do createTeam(theTeam[1], theTeam[2], theTeam[3], theTeam[4]) end for _,AllTeams in ipairs(getElementsByType("team")) do if getTeamFriendlyFire(AllTeams) == true then setTeamFriendlyFire(AllTeams, false) end end setTeamFriendlyFire(getTeamFromName("No Team"), true) for i,v in ipairs(getElementsByType("player")) do bindKey(v, Key, "down", "changeTeame") setElementData(v, "OnJoinFirstSpawn", false) end setElementData(rRoot,"maxPlayer",getMaxPlayers()) end ) addEventHandler("onResourceStop", resourceRoot, function() local players = getElementsByType("player") for k,v in ipairs(players) do set(v, "hjwalah", false) set(v, "Grove", false) set(v, "Aztecs", false) set(v, "Police", false) set(v, "Ballas", false) set(v, "noTeam", false) set(v, "Medic", false) set(v, "GameModeActive", false) end end ) addEvent("onLoadedClient", true) addEventHandler("onLoadedClient", root, function(player) versionDisplay = textCreateDisplay() textDisplayAddText(versionDisplay, versionText) textDisplayAddObserver(versionDisplay, player) setElementData(player, "CancleFirstSpawn", true) playSoundFrontEnd(player, 16) setElementData(player, "OnJoinFirstSpawn", false) end ) addEventHandler("onPlayerSpawn", root, function() checkWeapon(source) end ) function checkWeapon(player) setTimer(function(player) if isElement(player) then if getElementData(player, "Police") == true then giveWeapon(player, 3) end else takeWeapon(player, 3) end end, 800, 1, player) end addEvent("f", true) addEventHandler("f", getRootElement(), function(player, ID, TeamName) if TeamName == "Grove" then setElementData(player, "ID", ID) GroveTeam(player) elseif TeamName == "Aztecas" then setElementData(player, "ID", ID) AztecsTeam(player) elseif TeamName == "Police" then setElementData(player, "ID", ID) PoliceTeam(player) elseif TeamName == "Ballas" then setElementData(player, "ID", ID) Ballas(player) elseif TeamName == "No Team" then setElementData(player, "ID", ID) NoTeam(player) elseif TeamName == "Medic" then setElementData(player, "ID", ID) MedicTeam(player) elseif TeamName == "Drift" then setElementData(player, "ID", ID) hjwalah(player) end end ) function checkWeapon(player) setTimer(function(player) if isElement(player) then if getElementData(player, "Police") == true then giveWeapon(player, 3) end else takeWeapon(player, 3) end end, 800, 2, player) end function onSelectTeam(player) if not isElement(player) then return end local playerTeam = getPlayerTeam(player) local playeraccount = getPlayerAccount(player) if playeraccount and not isGuestAccount(getPlayerAccount(player)) then if getElementData(player, "hjwalah") == true then return false end if getElementData(player, "wasgied") == true then return false end setElementData(player, "wasgied", true) local weap0 = getAccountData(playeraccount, "s.weap0") local weap1 = getAccountData(playeraccount, "s.weap1") local weap2 = getAccountData(playeraccount, "s.weap2") local ammo2 = getAccountData(playeraccount, "s.ammo2") local weap3 = getAccountData(playeraccount, "s.weap3") local ammo3 = getAccountData(playeraccount, "s.ammo3") local weap4 = getAccountData(playeraccount, "s.weap4") local ammo4 = getAccountData(playeraccount, "s.ammo4") local weap5 = getAccountData(playeraccount, "s.weap5") local ammo5 = getAccountData(playeraccount, "s.ammo5") local weap6 = getAccountData(playeraccount, "s.weap6") local ammo6 = getAccountData(playeraccount, "s.ammo6") local weap7 = getAccountData(playeraccount, "s.weap7") local ammo7 = getAccountData(playeraccount, "s.ammo7") local weap8 = getAccountData(playeraccount, "s.weap8") local ammo8 = getAccountData(playeraccount, "s.ammo8") local weap9 = getAccountData(playeraccount, "s.weap9") local ammo9 = getAccountData(playeraccount, "s.ammo9") local weap10 = getAccountData(playeraccount, "s.weap10") local weap11 = getAccountData(playeraccount, "s.weap11") local weap12 = getAccountData(playeraccount, "s.weap12") local wanted = getAccountData(playeraccount, "WantedLevel") if tonumber(wanted) then setPlayerWantedLevel(player, wanted) elseif tonumber(weap0) then giveWeapon(player, weap0, 1) elseif tonumber(weap1) then giveWeapon(player, weap1, 1) elseif tonumber(weap2) and tonumber(ammo2) then giveWeapon(player, weap2, ammo2) elseif tonumber(weap3) and tonumber(ammo3) then giveWeapon(player, weap3, ammo3) elseif tonumber(weap4) and tonumber(ammo4) then giveWeapon(player, weap4, ammo4) elseif tonumber(weap6) and tonumber(ammo5) then giveWeapon(player, weap5, ammo5) elseif tonumber(weap6) and tonumber(ammo6) then giveWeapon(player, weap6, ammo6) elseif tonumber(weap7) and tonumber(ammo7) then giveWeapon(player, weap7, ammo7) elseif tonumber(weap8) and tonumber(ammo8) then giveWeapon(player, weap8, ammo8) elseif tonumber(weap9) and tonumber(ammo9) then giveWeapon(player, weap9, ammo9) elseif tonumber(weap10) then giveWeapon(player, weap10, 30) elseif tonumber(weap11) then giveWeapon(player, weap11, 30) elseif tonumber(weap12) then giveWeapon(player, weap12, 10) end end end function camera(plr) if not isElement(plr) then return end setTimer(fadeCamera, 50, 1, plr, false, 1) setTimer(fadeCamera, 100, 1, plr, true, 3) setCameraTarget(plr, plr) showChat(plr, true) end addEventHandler("onPlayerSpawn", root, function() setElementData(source, "FristTimeSpawn", false) bindKey(source, Key, "down", "changeTeame") setElementData(source, "s", false) end ) Change = false addCommandHandler("changeTeame", function(plr) if getElementData(plr, "s") == false then setElementData(plr, "ChangeTeam", true) OutPut("يمكنك تغيير شخصيتك بعد الموت", plr, 255, 0, 255) setTimer(cancleTeam, 1700, 1, plr) setElementData(plr, "s", true) else OutPut("Change the team has been canceled", plr, 255, 255, 0) setElementData(plr, "ChangeTeam", false) setElementData(plr, "s", false) end Change = not Change end ) function cancleTeam(plr) if Change == false then return false end OutPut("To cancel the change team press again", plr, 255, 255, 0) end function GroveTeam(plr) if not isElement(plr) then return end camera(plr) local data = tonumber(getElementData(plr, "ID")) or 107 spawnPlayer(plr, 2498.77856, -1680.38623, 13.35946, 0, data, 0, 0, getTeamFromName("Grove")) r, g, b = getTeamColor(getPlayerTeam(plr)) setPlayerNametagColor(plr, r, g, b) giveWeapon(plr, 5) giveWeapon(plr, 31, 100) giveWeapon(plr, 24, 100) onSelectTeam(plr)
-
ممكن توضح اكثر, يعني انت تقصد لمى يموت اللاعب السلاح يروح..؟
-
1- اسم الموضوع 2- الجانب اللي تشتغل عليه الوظيفة 3- (طريقة تركيب الجملة (العنوان 4- serverالطريقة التوضيحية لجانب الـ 5- createMarker - الوظيفة المستخدمة في الموضوع 6- تعريف للوظيفة و بعض التوضيحات 7- serverشرح و توضيح للنقاط في طريقة بناء الجملة لجانب الـ 8- clientالطريقة التوضيحية لجانب الـ 9- createMarker - الوظيفة المستخدمة في الموضوع 10- clientشرح و توضيح للنقاط في طريقة بناء الجملة لجانب الـ 11- Unknown 12- (الأمثلة (العنوان 13- clientو اللون الازرق في كل الجوانب واللون الاحمر في جانب الـ serverالامثلة اللون البرتقالي في جانب الـ 14- او عن الموضوع الذي تتصفحه حالياً Markersالمزيد من الموضوعات عن الـ
-
اوكي عندك وظيفتين, الاولى انصحك فيها, الثانية عاد شوف لو تحتاجها او لا 1- setPlayerName 2- setPlayerNametagText
-
؟؟..Nick Nameقصدك تبغى لوحة تقدر منها تغير الـ
-
إستبدله مع سطر 31 Checkbox_txd_for_wheel_on = guiCreateCheckBox(262,261,16,16,"",true,false,Window_Wheel)
-
TopBarChatللـ Restart يالطيب الكود شغال يمكن انت نسيت تسوي Edit:
-
المشكلة المود مشفر ما يقدر يعدل عليه
-
getElementDataبـ Killsو الـ Deathsمع الكود تقدر بكل سهولة تجيب عدد مرات الـ BaseModeاذا كنت تستخدم مود الـ
-
ي ليت تعطيني الرابط للسكربت اشوفه Zombieو سيرفرات الحرب مو الـ BaseModeو الـ DeathMatchملاحظة اسكربت العقرب مخصص للـ -:الرابط Level System (level)
-
جرب -_-" markerالغلط في احداثيات الـ local Marker = createMarker ( -714.54809570313,530.14996337891,15.68235206604, "cylinder", 3 , 254, 255, 255, 50 )