Jump to content

!#NssoR_)

Moderators
  • Posts

    1,469
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by !#NssoR_)

  1. giveWeapon is Serve-Side function.
  2. Please don't duplicate your topic , just wait for the answer.
  3. https://wiki.multitheftauto.com/wiki/DxDrawLine3D
  4. You can use : https://wiki.multitheftauto.com/wiki/IsVehicleUpgraded
  5. Please read the rules of the section about how to post an appropriate topic for this section and rules.
  6. Hi, This's the wrong section , So if you want someone to make your own gamemode post your request about the scripter here but don't forget to read the section's rules before posting. Or if you want to looking for a free gamemodes you can search here or in the resources section ( resources section some of them are free and some are paid ).
  7. This is the wrong section , please check ( Scripting and Tutorials ) these sections. Also you can find a section about Scripting in your native language here. Or check the Wiki there's some tutorials about Scripting and GUI.
  8. https://wiki.multitheftauto.com/wiki/OnPlayerConnect
  9. اللهم صل وسلم وبارك على نبينا وحبيبنا محمد وعلى آله وصحبه أجمعين ?
  10. خله يقدم طلب فك باند في القسم الصحيح https://forum.multitheftauto.com/forum/180-ban-appeals/ يغلق!
  11. عيدكم مبارك وعساكم من عواده ..?
  12. اللهم صل وسلم وبارك على نبينا وحبيبنا محمد وعلى آله وصحبه أجمعين
  13. مبارك عليكم الشهر الكريم , وكل عام وانتم بخير
  14. اللهم صل وسلم وبارك على نبينا وحبيبنا محمد وعلى آله وصحبه أجمعين
  15. local FPSLimit, lastTick, framesRendered, FPS = 100, getTickCount(), 0, 0 addEventHandler("onClientRender",root, function() local currentTick = getTickCount() local elapsedTime = currentTick - lastTick if elapsedTime >= 1000 then FPS = framesRendered lastTick = currentTick framesRendered = 2 else framesRendered = framesRendered + 1 end if FPS > FPSLimit then FPS = FPSLimit end local playerPing = getPlayerPing ( localPlayer ) local money = getPlayerMoney ( localPlayer ) local TheTeam = 'Police' local xP = getPlayersInTeam(getTeamFromName(TheTeam)) local teamx = 'Civilians' local xV = getPlayersInTeam(getTeamFromName(teamx)) local bank = getElementData(localPlayer, "Bank") or 0 dxDrawText(" #ff0000Civilians: "..#xV.." #bb0000| #0087f7Police: #ffffff"..#xP.." #bb0000| #00ff00FPS: #EEFFEE"..tostring(FPS).." #bb0000| #990099Ping: #EEFFEE"..playerPing.." ms #bb0000| #999999CASH: #ffffff"..money.." #bb0000| #00ffffBANK:#ffffff "..bank, 13, 996, 1280, 1020,tocolor(0,153,255,255),1,"default-bold","left","center",false,false,true,true) end )
  16. بلعكس اخوي المهمة ذي أساسا تم اخذ فكرتها من لعبة معروفة جدا وقديمة واسمها Friday 13 اذا ماتعرفها وعلي أساس هاللعبه سوينا فكرة المهمة وشكرا لتعليقك
  17. Seconds = 3 -- prevent spamming for 3 sec. Spamming = {} addEventHandler ( "onPlayerDamage", getRootElement (), function ( attacker, weapon ) if ( weapon == 41 ) then if ( getElementType ( source ) == "player" ) then fadeCamera(source, false) setTimer(function(source) fadeCamera(source, true) end, 5000, 1, source) if not Spamming[attacker] then Spamming[attacker] = setTimer(function (attac) Spamming[attac] = nil end , Seconds * 1000,1,attacker) outputChatBox ( "Has cegado a alguien con un gas pimienta " , attacker, 0, 255, 120 ) outputChatBox ( "Has sido cegado con un gas pimienta por ." , source, 0, 255, 120 ) end end end end )
  18. ضض , هذاك مود لبيع الأسلحة وشغلات كثيره بالسيرفر تعرضها فيه ولكن هذا للبكج فقط , وبخصوص الشكل , شي طبيعي احط قريد ليست عشان يعرض بكجاتك و ايديت عشان انت تحدد سعر البكج وقريد اخر يكون فيه أسماء اللاعبين و بكجاتهم وسعرهم وشكرا لتعليقك
  19. function zombiedamaged ( attacker, weapon, bodypart ) if getElementType ( source ) == "ped" and getElementType ( attacker ) == "player" then if (getElementData (source, "zombie") == true) then if ( bodypart == 9 and weapon == 24 or weapon == 25 or weapon == 34 ) then triggerServerEvent ("headboom", localPlayer, source, attacker, weapon, bodypart ) end end end end addEventHandler ( "onClientPedDamage", getRootElement(), zombiedamaged ) addEvent( "headboom", true ) function Zheadhit ( ped,attacker, weapon, bodypart) killPed ( ped, attacker, weapon, bodypart ) setPedHeadless ( ped, true ) end addEventHandler( "headboom", getRootElement(), Zheadhit )
  20. Try this method : rpgLimiter = {} function projectileCreation( creator ) local projectileType = getProjectileType( source ) if projectileType == 19 or projectileType == 20 then if ( isTimer(rpgLimiter[localPlayer]) ) then setElementPosition ( source,0,0,-500) destroyElement(source) else rpgLimiter[localPlayer] = setTimer(function () end,10000,1) end end end addEventHandler( "onClientProjectileCreation", getRootElement( ), projectileCreation )
  21. اللهم صل وسلم وبارك على نبينا وحبيبنا محمد وعلى آله وصحبه أجمعين
×
×
  • Create New...