Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/06/19 in all areas

  1. اذا الاعب ركب الهيدرا يسوي علامة في الخريطة addEventHandler('onVehicleEnter',root, function(thePlayer, seat , jacked) if getElementModel(source) == 520 then -- يتحقق من انو الموديل حق الهايدرا outputChatBox(getPlayerName(thePlayer)..'entered a hydra', root) -- يكتبلك بالشات انو اللاعب ذا دخل بهايدرا createBlipAttachedTo(source, 52) --- يصنع البلب end end )
    2 points
  2. ســلام عليكم ورحمة الله أخبـآركم - عسساكـمء بخير موضوع اليوم عن لوحة الإهداءات ~ طـبعـا انا لا احتاج احد يجيني في التعليقات يقولي أن اللوحه تبع لسيرفر طاره ~ | gift | كلمة فتح اللوحه من اف 8 هي لتغيير الكلمة , من ملف اسمه sittingCG كل شيء عن المود موجود في هذا الرابط \ الفيديو وبالتـــوفييقء ~~ |~ الإهداءات ~| @!#DesTroyeR_,) @MrKAREEM @Mr.Falcon @DABL @KillerX @NX_CI @[AcM] - Major . @MR_Mahmoud @Ahmed Ly @MR.Mosa @N3xT @Abu-Solo @SuperX @#BrosS @iMr.WiFi..! @Mr.CnTroL @Abdul KariM و جميع أعضاء المنتدى
    1 point
  3. -- SERVER SIDE function saveLog(text, fileName) if text and fileName then local path = "logs/"..fileName..".log" if not fileExists(path) then fileCreate(path) end local file = fileOpen(path) local fileSize = fileGetSize(file) fileSetPos(file, fileSize) fileWrite(file, text.."\n") fileClose(file) return true end return false end Something like that not tested
    1 point
  4. حياك , بس ترا ماراح تظهر الا لتيم سوات فقط
    1 point
  5. الدي بوق ايش يقول لان كان فيه قوس زايد وحذفته local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if not getTeamFromName( "SWAT" ) then return end if getElementModel ( source ) == 520 then if isElement ( hydra [ source ] ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 9 , 0,2,255,0,0,255,0,16383.0,getTeamFromName("SWAT")) end end ) addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) هذا بيشتغل ان شاء الله
    1 point
  6. Sim pois esta dentro de um loop, e qual necessidade de fazer um loop? e falta verificação se o jogador tem money, e se o jogador esta em um veículo or not, faça assim: local arrumar1 = createMarker (2063.10, -1831.18, 13.54 -1, "cylinder", 1.5, 255, 255, 0, 170) function Consertar (hitElement, matchingDimension) if (getElementType (hitElement) ~= "player") then return end if isElementWithinMarker (hitElement, arrumar1) then -- Se o jogador estiver no marker, então: local theVehicle = getPedOccupiedVehicle (hitElement) if (theVehicle) then -- Se o jogador estiver em um veículo, então: if getPlayerMoney (hitElement) >= 3000 then -- Se o jogador estiver 3k ou +, então: local preco = 3000 takePlayerMoney (hitElement, preco) -- Retira o valor da variável definida (preço = 3000) fixVehicle (theVehicle) -- Repara o veículo do jogador. outputChatBox ("Você consertou seu carro por $"..preco, hitElement, 0, 255, 0) else -- Senão: outputChatBox ("Erro! Você não tem dinheiro suficiente!", hitElement, 255, 30, 30) end else -- Senão: outputChatBox ("Erro! Você não está em um veículo!", hitElement, 255, 30, 30) end end end addEventHandler ("onMarkerHit", arrumar1, Consertar) OBS: Não testado.
    1 point
  7. حط التيم createBlipAttachedTo اخر ارقمنت
    1 point
  8. العفو حياك الله .
    1 point
  9. جرب هذا local hydra = { } addEventHandler ( "onVehicleStartEnter" , root , function ( ) if ( getElementModel ( source ) == 520 ) then if ( isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) end hydra [ source ] = createBlipAttachedTo ( source , 0 ) end end ) ; addEventHandler ( "onVehicleStartExit" , root , function ( ) if ( getElementModel ( source ) == 520 and isElement ( hydra [ source ] ) ) then destroyElement ( hydra [ source ] ) hydra [ source ] = nil end end ) ;
    1 point
  10. جرب هذا local blips = { } function addHelmetOnEnter (thePlayer, seat , jacked) if getElementModel(source) == 520 then if ( isElement ( blips[source] ) ) then destroyElement ( blips [ source ] end blips[source] = createBlipAttachedTo(source, 52) end end end addEventHandler ( "onVehicleEnter", getRootElement(), addHelmetOnEnter ) function removeHelmetOnExit (thePlayer, seat , jacked) if getElementModel(source) == 520 and isElement ( blips[source] ) then destroyElement(blips[source]) blips[source] = nil end end addEventHandler ( "onVehicleExit", getRootElement(), removeHelmetOnExit )
    1 point
  11. addEventHandler('onVehicleEnter',root, function(thePlayer, seat , jacked) if getElementModel(source) == 520 then -- يتحقق من انو الموديل حق الهايدرا outputChatBox(getPlayerName(thePlayer)..'entered a hydra', root) -- يكتبلك بالشات انو اللاعب ذا دخل بهايدرا createBlipAttachedTo(source, 52) --- يصنع البلب destroyElement(source) -- يشيل الهايدرا outputChatBox(getPlayerName(thePlayer).."don't enter a hydra again", thePlayer) -- يكتب للاعب end end )
    1 point
  12. تقدر تسوي كذا addCommandHandler("createObj", function(command, id) local x, y, z = getElementPosition(localPlayer) local object = createObject (id, x, y, z) if (id) then if isObjectBreakable(object) then setObjectBreakable(object, false) end end end ) تصنع الابوجيكت و تخليه ما ينكسر
    1 point
  13. > function team( player ) local g_team = getTeamFromName( "Law Enforcement" ) setPlayerTeam(player, g_team) setTeamFriendlyFire(g_team, false) addPedClothes ( player, "policetr", "policetr", 17 ) end addCommandHandler ( "cloth", team )
    1 point
  14. او عبر ملف ماب createObject هذا فقط يشتغل على الأوبيجكتات الي انت مسويها ب فنكشن ماله تأثير على الأوبجيكت الأصلي الي في اللعبة
    1 point
  15. الووو, .... ترا مب منوب لدرجه ماقدر افتح سمدي ظفاك
    1 point
  16. أ، ب، ت، ث، ج، ح، خ، د، ذ، ر، ز، س، ش، ص، ض، ط، ظ، ع، غ، ف، ق، ك، ل، م، ن، هـ، و، ي تصير لي جارية ؟
    1 point
  17. جرب function test() for i , v in ipairs (getElementsByType('object')) do setObjectBreakable(v, false) end end
    0 points
  18. Work In Progress Masks Confirmed : Power Rangers ( Threule help)
    0 points
×
×
  • Create New...