Jump to content

iMr.G[7]A

Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by iMr.G[7]A

  1. السلام عليكم ابي مبرمج لفل من 80 الى 100 السكايب : xXG7AXx
  2. ذا local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function renderDisplay ( ) local seconds = getTickCount() / 1000 local angle = math.sin(seconds) * 80 -- This will draw the graphic file 'arrow.png' at the top middle of the screen -- using the size of 100 pixels wide, and 240 pixels high. -- The center of rotation is at the top of the image. dxDrawImage ( screenWidth/2 - 50, 0, 100, 240, 'arrow.png', angle, 0, -120 ) end function HandleTheRendering ( ) addEventHandler("onClientRender", getRootElement(), renderDisplay) -- Keep everything visible with onClientRender. end addEventHandler("onClientResourceStart",resourceRoot, HandleTheRendering)
  3. ابي جاهز يا The Killer
  4. السلام عليكم ورحمة الله وبركاته بعد سحبة طويلهـ اليوم شباب انا ابيكم تعدلون المود لي المود انا سويته وهو عباره عن تاج فوق الرأس ابيه يظهر للكونسل بسـس الكود ملف server outputChatBox ( "#0000FF..:[#FFFFFFTaG By : G7A::." , 0 , 255 , 125,true) GUIEditor = { staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.staticimage[1] = guiCreateStaticImage(296, 220, 215, 47, "G7A.png", false) end ) بس للكونسل لصحاب السيرفر بس يطلع
  5. السلام عليكم ابي كود جاهز حمايه منطقه ما ابي احد يطلع فيها اسلحه او يطلع برا ويقتل اللي داخلها ممكن ^^ اذا سمحتو
  6. شوف انا ابي بس عصابه النو تيم يرسبنون في اماكن غير مكان واحد لو سمحت._.
  7. لا انت ما فهمتني ابي انا النو تيم يرسبنون في اماكن غير ماهو في مكان واحد
  8. السلام عليكم ورحمه الله وبركاته اليوم ابيكم تعدلون لي كود اللي هو قيم مود ( ابي التيمات يرسبنون في اماكن مو مكان واحد ) لان اي احد يجي يعلق في المكان ويقتلهم طفشنآ الكود ver = "" rRoot = getResourceRootElement(getThisResource()) local root = getRootElement() local Key = "F4" Teams = { -- here all team name {"Grove", 0, 255, 0}, {"Aztecas", 0, 150, 255}, {"Police", 0, 50, 255}, {"Ballas", 255, 0, 150}, {"No Team", 255, 0, 0}, {"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("GangWars") outputChatBox("" .. ver .. "", root, 0, 255, 0, true) setTimer(OutPut, 50, 1, "" .. ver .. "", root, 0, 255, 0) 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() local versionText = textCreateTextItem("" .. ver .. "", 0.975, 0.02, "medium", 255, 0, 0, 255, 1.1, "right") textDisplayAddText(versionDisplay, versionText) textDisplayAddObserver(versionDisplay, player) setElementData(player, "CancleFirstSpawn", true) playSoundFrontEnd(player, 16) OutPut("", player, 255, 255, 0) setElementData(player, "OnJoinFirstSpawn", false) end ) addEventHandler("onPlayerJoin", root, function() showTextForPlayer ( source, 6000, 255, 0, 0, 1.5, "") showTextForPlayer1 ( source, 6000, 255, 0, 0, 1.5, "") setCameraMatrix(source,512.2, -925,895,5,-1065,875,35,0,50) 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("onClientWantsToSpawn", true) addEventHandler("onClientWantsToSpawn", 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) OutPut("", player, 255, 255, 255) 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, "WasChangeTeam", false) end ) Change = false addCommandHandler("changeTeame", function(plr) if getElementData(plr, "WasChangeTeam") == false then setElementData(plr, "ChangeTeam", true) outputChatBox("سوف يتم تغير الشخصية بعد ان تموت", plr, 0, 255, 0) setTimer(cancleTeam, 1700, 1, plr) setElementData(plr, "WasChangeTeam", true) else outputChatBox("تم الغاء عملية تغير الشخصية بعد الموت", plr, 255, 255, 255) setElementData(plr, "ChangeTeam", false) setElementData(plr, "WasChangeTeam", false) end Change = not Change end ) function cancleTeam(plr) if Change == false then return false end OutPut("", plr, 255, 255, 0) end function GroveTeam(plr) if not
  9. السلام عليكم ورحمه الله وبركاته اليوم ابيكم تعدلون لي كود اللي هو قيم مود ( ابي التيمات يرسبنون في اماكن مو مكان واحد ) لان اي احد يجي يعلق في المكان ويقتلهم طفشنآ الكود ver = "" rRoot = getResourceRootElement(getThisResource()) local root = getRootElement() local Key = "F4" Teams = { -- here all team name {"Grove", 0, 255, 0}, {"Aztecas", 0, 150, 255}, {"Police", 0, 50, 255}, {"Ballas", 255, 0, 150}, {"No Team", 255, 0, 0}, {"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("GangWars") outputChatBox("" .. ver .. "", root, 0, 255, 0, true) setTimer(OutPut, 50, 1, "" .. ver .. "", root, 0, 255, 0) 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() local versionText = textCreateTextItem("" .. ver .. "", 0.975, 0.02, "medium", 255, 0, 0, 255, 1.1, "right") textDisplayAddText(versionDisplay, versionText) textDisplayAddObserver(versionDisplay, player) setElementData(player, "CancleFirstSpawn", true) playSoundFrontEnd(player, 16) OutPut("", player, 255, 255, 0) setElementData(player, "OnJoinFirstSpawn", false) end ) addEventHandler("onPlayerJoin", root, function() showTextForPlayer ( source, 6000, 255, 0, 0, 1.5, "") showTextForPlayer1 ( source, 6000, 255, 0, 0, 1.5, "") setCameraMatrix(source,512.2, -925,895,5,-1065,875,35,0,50) 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("onClientWantsToSpawn", true) addEventHandler("onClientWantsToSpawn", 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) OutPut("", player, 255, 255, 255) 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, "WasChangeTeam", false) end ) Change = false addCommandHandler("changeTeame", function(plr) if getElementData(plr, "WasChangeTeam") == false then setElementData(plr, "ChangeTeam", true) outputChatBox("سوف يتم تغير الشخصية بعد ان تموت", plr, 0, 255, 0) setTimer(cancleTeam, 1700, 1, plr) setElementData(plr, "WasChangeTeam", true) else outputChatBox("تم الغاء عملية تغير الشخصية بعد الموت", plr, 255, 255, 255) setElementData(plr, "ChangeTeam", false) setElementData(plr, "WasChangeTeam", false) end Change = not Change end ) function cancleTeam(plr) if Change == false then return false end OutPut("", plr, 255, 255, 0) end function GroveTeam(plr) if not
  10. السلام عليكم ورحمه الله وبركاتهـ اليوم ابيكم تعدلون لي كود حق القبض ابي يوم تضرب اللاعب يلحق الشرطي واذا قتله الشرطي يروح السجن هاذي الاكواد ملف c function policeJob ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3) and (loss > 2 ) and (theWL == 1) then if getTeamName( theTeam ) == "Police" or getTeamName( theTeam ) == "SWAT" or getTeamName( theTeam ) == "FBI" then setElementPosition (source, 1545.2,-1675.6,13.5, true) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) outputChatBox ( "You have been jailed by "..theCop.. " for 1 min.", source ) outputChatBox ( "لمده دقيقه واحده "..theCop.. " لقد تم سجنك من قبل الشرطي", source ) local playeraccount = getPlayerAccount ( attacker ) givePlayerMoney (attacker, 1000) setTimer ( setElementPosition, 600000, 1, source, 1578.2,-1658.8,548.1) setPlayerWantedLevel (source, 0) end end end end addEventHandler ("onPlayerDamage", getRootElement(), policeJob) function policeJob ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3) and (loss > 2 ) and (theWL == 2) then if getTeamName( theTeam ) == "Police" or getTeamName( theTeam ) == "SWAT" or getTeamName( theTeam ) == "FBI" then setElementPosition (source, 1545.2,-1675.6,13.5, true) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) outputChatBox ( "You have been jailed by "..theCop.. " for 2 min.", source ) outputChatBox ( "لمده دقيقتان "..theCop.. " لقد تم سجنك من قبل الشرطي", source ) local playeraccount = getPlayerAccount ( attacker ) givePlayerMoney (attacker, 1000) setTimer ( setElementPosition, 3000, 1, source, 1578.2,-1658.8,548.1) setPlayerWantedLevel (source, 0) end end end end addEventHandler ("onPlayerDamage", getRootElement(), policeJob) function policeJob ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3) and (loss > 2 ) and (theWL == 3) then if getTeamName( theTeam ) == "Police" or getTeamName( theTeam ) == "SWAT" or getTeamName( theTeam ) == "FBI" then setElementPosition (source, 1545.2,-1675.6,13.5, true) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) outputChatBox ( "You have been jailed by "..theCop.. " for 3 min.", source ) outputChatBox ( "لمده ثلاث دقائق "..theCop.. " لقد تم سجنك من قبل الشرطي", source ) local playeraccount = getPlayerAccount ( attacker ) givePlayerMoney (attacker, 1000) setTimer ( setElementPosition, 3000, 1, source, 1578.2,-1658.8,548.1) setPlayerWantedLevel (source, 0) end end end end addEventHandler ("onPlayerDamage", getRootElement(), policeJob) ملف s --------------------------------------------------القبض على المجرم ----------------- function mjrm ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3 or attackerweapon == 24) and (loss > 1 ) and (theWL == 1) then if getTeamName( theTeam ) == "Police" or getTeamName( theTeam ) == "SWAT" or getTeamName( theTeam ) == "FBI" then triggerClientEvent(source,"jailtime", getRootElement()) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) setPlayerWantedLevel (source, 0) givePlayerMoney ( attacker, 500 ) setPedAnimation( source, "SHOP", "SHP_Rob_HandsUp") setPedAnimation( attacker, "POLICE", "CopTraf_Come") setTimer ( setElementPosition, 3000, 1, source, 1578.2,-1658.8,548.1) setTimer(function() setPedAnimation( attacker) end, 3000, 1, true) triggerClientEvent("powarn", getRootElement()) outputChatBox ( "#ffffff[#FFFF00 " .. theCop.. "#ffffff] تم اعتقاله من قبل الشرطي #ffffff[#FFFF00 " .. theName .. "#ffffff] المجرم", getRootElement(), 255, 0, 0, true ) outputChatBox ( " لديك نجمه واحده سوف يتم اطلاق سراحك بعد دقيقه", source, 0, 255, 0, true ) outputChatBox ( "لقد قبضت على المجرم وكسبت 500 من المال", attacker, 0, 255, 0, true ) setTimer ( setElementPosition, 60000, 1, source, 1545.2,-1675.6,13.5) setPlayerWantedLevel (source, 0) end end end end addEventHandler ("onPlayerDamage", getRootElement(), mjrm) ---------------------------- ثلاث نجمات------ function mjrm3 ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3 or attackerweapon == 24) and (loss > 1 ) and (theWL == 3) then if getTeamName( theTeam ) == "Police" or getTeamName( theTeam ) == "SWAT" or getTeamName( theTeam ) == "FBI" then triggerClientEvent(source,"jailtime", getRootElement()) theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) setPlayerWantedLevel (source, 0) givePlayerMoney ( attacker, 1000 ) setPedAnimation( source, "SHOP", "SHP_Rob_HandsUp") setPedAnimation( attacker, "POLICE", "CopTraf_Come") setTimer ( setElementPosition, 3000, 1, source, 1545.2,-1675.6,13.5) setTimer(function() setPedAnimation( attacker) end, 3000, 1, true) triggerClientEvent("powarn", getRootElement()) triggerClientEvent(source,"jailtime", getRootElement()) outputChatBox ( "#ffffff[#FFFF00 " .. theCop.. "#ffffff] تم اعتقاله من قبل الشرطي #ffffff[#FFFF00 " .. theName .. "#ffffff] المجرم", getRootElement(), 255, 0, 0, true ) outputChatBox ( " لديك ثلاث نجمات سوف يتم اطلاق سراحك بعد 6 دقايق", source, 0, 255, 0, true ) outputChatBox ( "لقد قبضت على المجرم وكسبت 1000 من المال", attacker, 0, 255, 0, true ) setTimer ( setElementPosition, 360000, 1, source, 1578.2,-1658.8,548.1) setPlayerWantedLevel (source, 0) end end end end addEventHandler ("onPlayerDamage", getRootElement(), mjrm3) ----------------- 6 نجمات ---------- function mjrm6 ( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theTeam = getPlayerTeam ( attacker ) theWL = getPlayerWantedLevel ( source ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3 or attackerweapon == 24) and (loss > 1 ) and (theWL == 6) then if getTeamName( theTeam ) == "Police" or getTeamName( theTeam ) == "SWAT" or getTeamName( theTeam ) == "FBI" then theName = getPlayerName ( source ) theCop = getPlayerName ( attacker ) setPlayerWantedLevel (source, 0) givePlayerMoney ( attacker, 3000 ) setPedAnimation( source, "SHOP", "SHP_Rob_HandsUp") triggerClientEvent(source,"jailtime", getRootElement()) setPedAnimation( attacker, "POLICE", "CopTraf_Come") setTimer ( setElementPosition, 3000, 1, source, 1578.2,-1658.8,548.1) setTimer(function() setPedAnimation( attacker) end, 3000, 1, true) triggerClientEvent("powarn", getRootElement()) outputChatBox ( "#ffffff[#FFFF00 " .. theCop.. "#ffffff] تم اعتقاله من قبل الشرطي #ffffff[#FFFF00 " .. theName .. "#ffffff] المجرم", getRootElement(), 255, 0, 0, true ) outputChatBox ( "لقد قبضت على المجرم وكسبت 3000 من المال", attacker, 0, 255, 0, true ) outputChatBox ( "انت محكوم بالسجن المؤبد لديك 6 نجمات", source, 0, 255, 0, true ) setPlayerWantedLevel (source, 0) end end end end addEventHandler ("onPlayerDamage", getRootElement(), mjrm6) -------------- --------------------اذا قتل الشرطي رجل العصابه مايعطيه نجمات ------ ------------------- اذا اطلق النار على الشرطه 3 نجمات--- function killcopx( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theWL = getPlayerWantedLevel ( attacker ) if (getTeamName( getPlayerTeam( source ) ) == 'Police') and (theWL == 6) then setPlayerWantedLevel ( attacker, 6 ) cancelEvent() end end end addEventHandler ("onPlayerDamage", getRootElement(), killcopx) ----------عطه 3 نجمات اذا عنده ثلاث نجمات ---------- function killcop( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theWL = getPlayerWantedLevel ( attacker ) if (getTeamName( getPlayerTeam( source ) ) == 'Police') and (theWL == 3) then setPlayerWantedLevel ( attacker, 3 ) cancelEvent() end end end addEventHandler ("onPlayerDamage", getRootElement(), killcop) ------------عطه نجمه وحده اذا ماعنده ولا نجمه------- function killcopss( attacker, attackerweapon, bodypart, loss ) if attacker and getElementType(attacker) == "player" then theWL = getPlayerWantedLevel ( attacker ) if (getTeamName( getPlayerTeam( source ) ) == 'Police') and (theWL == 0) then setPlayerWantedLevel ( attacker, 3 ) cancelEvent() end end end addEventHandler ("onPlayerDamage", getRootElement(), killcopss)
  11. السلام عليكم شباب بعد غياب طويل @.@ اليوم شباب محتاج مود الوظايف او الاشغال او العمل مثل المزارع والباقين بسس.,,
  12. السلام عليكم شباب ابيكم تشوفون ذا الكود ناقصه الشخصيات ما عرفت اركبها ابيكم تركبونها هاذا هو الكود Grove = {105, 106, 107, 311}, Aztecas = {115, 116, 114}, Police = {280,281,282,283,284,285,286,288}, Ballas = {102, 103, 104}, ["No Team"] = {118,120,294,1,7,45,34, 146,144,240,247,248,33,32,44,111,112,113,118,120,121,122,123,124,125,126,127,128,132,133,134,135,136,84,82,83,137,158,159,160,161,162,170,171,173,174,175,176,98,177,179,180,181,182,183,184,185,186,187,188,189,209,212,220,224,211,221,223,229,230,241,62,292,296,293,242,249,250,261,264,43,46,47,48,49,50,51,52,14,15,16,17,18,19,20, 21,22,23,24,25,26,27,28,29,30,301,300,270,269,310,311,108,109,110,114,312,163,164,165,166,71,287,}, Medic = {274, 275, 276},
  13. السلام عليكم ورحمه الله وبركاته اول شي اسف على كثر طلباتي ثاني شي شباب ابي مساعده ابي كود ماركر السيارات يصير لعصابة اسم العصابة D3s الكود Wnd1 = guiCreateWindow(220,230,313,310,"gta-time",false) -- guiSetAlpha( Wnd1, 1 ) buttonv = guiCreateButton ( 0.05, 0.86, 1, 0.1, "close", true, Wnd1 ) button1v = guiCreateButton ( 0.05, 0.75, 1, 0.1, "Selection", true, Wnd1 ) label = guiCreateLabel ( 0.9, "get free vehicle", true, Wnd1 ) showCursor(false) guiSetVisible( Wnd1, false ) guiWindowSetSizable( Wnd1, false ) guiWindowSetMovable( Wnd1, false ) vehicles = { {"Sultan ", 560}, {"NRG-500", 522}, {"Infernus", 411}, {"Turismo", 451}, {"Super GT", 506}, {"Jester", 559}, {"Elegy", 562}, {"Bullet", 541}, {"Maverick ", 487}, } vehicles1 = { {"Maverick ", 487}, {"Leviathan", 417}, } grid = guiCreateGridList(0.01, 0.2, 0.99, 0.5, true, Wnd1) guiGridListAddColumn(grid, "Vehicles", 0.85) for i,veh in ipairs(vehicles) do row = guiGridListAddRow(grid) -- guiGridListSetItemText(grid, row, 1, tostring(veh[1]), false, false) guiGridListSetItemData(grid, row, 1, tostring(veh[2])) end function useP() local row, col = guiGridListGetSelectedItem(grid) if (row and col and row ~= -1 and col ~= -1) then local model = tonumber(guiGridListGetItemData(grid, row, 1)) if model ~= "" then triggerServerEvent("CreVehicePv", localPlayer, model) guiSetVisible(Wnd1,false) showCursor(false) end end end addEventHandler("onClientGUIClick", button1v, useP, false) function close() if (source == buttonv) then guiSetVisible(Wnd1,false) showCursor(false) end end addEventHandler("onClientGUIClick", buttonv, close) function showGUIpv() guiSetVisible(Wnd1,true) showCursor(true) end addEvent("showGUIpv",true) addEventHandler("showGUIpv", getRootElement(), showGUIpv) اتمنى الرد السريع
  14. الحين ابي مود الاحتلال ابي ادمج اللي فوق مع جروب احمد فيف او جيبو او مود احتلال
  15. وش تبيني اضيف لقروب الادمن وكيف اضيف اكتب لي الامر اللي احطه ووين او عطني اسل جاهز
  16. السلام عليكم وحمه الله وبركاته اليوم ابي منكم تصلحون لي مود او تعدلونه ابي مود الاحتلالات هاذا https://community.multitheftauto.com/index.php?p=resources&s=details&id=6772 يشتغل مع مود الجروبات حق احمد فيفي لاني حاولت اشغله عادي ما زبط https://community.multitheftauto.com/index.php?p=resources&s=download&resource=8036&selectincludes=1 ولو حاولتو عربوهـ شباب تكفون شباب ابيهـ بسرع ـه الرد
  17. عطوني كود نو تيم كامل كوود كامل
  18. كله وما طلع صور الاحتلالات في الخريطة
  19. ابي كود جاهز في تييم 1- نو تيم 2- medic 3-شرطه بس
  20. ما لقيت كلهم بلا جروب ابي انا للجروب بس
×
×
  • Create New...