Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. Freezing yourself is the way. Other way i guess you can use argument updatePosition https://wiki.multitheftauto.com/wiki/SetPedAnimation
  2. local spawnX, spawnY, spawnZ = 1620.6710205078, -1196.1733398438, 53.580947875977 addEventHandler("onPlayerWasted", root, function() local skin = getElementModel(source) or 0 spawnPlayer(source, spawnX, spawnY, spawnZ, 0, skin) end)
  3. setTeamFriendlyFire(getTeamFromName("Police"), false)
  4. ACL أنا ما قلت لك غير شي بـ Manage ACL للقروب الي تبيه يقدر يفتح الـ ACL كل الي عليك تسويه تضيف ذا الكود بـ "command.ACL" access="true"> أكرر أضافة و ليس تعديل أو تغير
  5. خوك مو لازم ملف سيرفر في كل المودات لما تفتح الباب بتشوفه يفتح بس اللاعبين الي بالسيرفر ما بيشوفونه يفتح عشان كذا لازم تسويه سيرفر
  6. :المشكلة لها عده اسباب منها 1- أتصالك ضعيف مقارنة بعدد اللاعبين الي بالسيرفر 2- عندك مودات تسبب لاق 3- ويسوي لاق للسيرفر upgrade أو refresh في أحد جالس يكتب الكومند 4- اللاق من الأستضافة (543256542356442356 سيرفر على الخادم) أو مشكلة من الداتا سنتر أو من الممكن يكون في هجوم دوس على الخادم
  7. أيش الي تبي نوضحه لك؟
  8. تآبل مآفيه فرق , عطآني عنآد زيك , بس أبيكم توضحون أو تعدلون ع الكود , ~ مجرد كود صغير , ^
  9. https://wiki.multitheftauto.com/wiki/OnPlayerChat string.find outputChatBox
  10. admin\client\gui\admin_main.lua أفتح الملف في سطر 125 Manage ACL أو أبحث عن بتلقى ذا aTab2.ManageACL = guiCreateButton ( 0.75, 0.02, 0.23, 0.04, "Manage ACL", true, aTab2.Tab ) عدله ليكون كذا aTab2.ManageACL = guiCreateButton ( 0.75, 0.02, 0.23, 0.04, "Manage ACL", true, aTab2.Tab, "ACL" ) ACL.xml ثم حط بملف Manage ACL للقروب الي تبي يفتح "command.ACL" access="true">
  11. TAPL

    executeSQLQuery

    it's better for you to do like the examples in the wiki. https://wiki.multitheftauto.com/wiki/ExecuteSQLQuery
  12. @1bmnk, Please avoid making double posts. إذا تبي تضيف أي شي edit لاتحط أكثر من مشاركة ورا بعض, و أستخدم زر
  13. setTimer(triggerClientEvent,1000,0,player,"EnterV",player)
  14. function resWarning() if (width < 1280) and (height < 720) then outputChatBox("You are running on low resolutions, some elements will not appear correctly![Minimum: 1280 x 720]",255,0,0) end end addEventHandler("onClientPlayerJoin",getRootElement(),resWarning) should be: function resWarning() if (width < 1280) and (height < 720) then outputChatBox("You are running on low resolutions, some elements will not appear correctly![Minimum: 1280 x 720]",255,0,0) end end addEventHandler("onClientResourceStart", resourceRoot, resWarning)
  15. TAPL

    saver not work

    The code just work fine with me.
  16. function addVote(keyPresser) local serial = getPlayerSerial(keyPresser) local serialcheck = executeSQLSelect ( "GmBlockList", "serial","serial = '" .. serial .. "'") if ( type( serialcheck ) == "table" and #serialcheck == 0 ) or not serialcheck then executeSQLInsert ( "GmBlockList", "'"..serial.."'") triggerClientEvent("onGMUpdate",getRootElement()) else outputChatBox("You have already voted for Ghostmode.",keyPresser,255,0,0) end end function success() for theKey,thePlayer in ipairs(getElementsByType("player")) do setElementData(thePlayer, "overrideCollide.uniqueblah", 0, false) outputChatBox("#B05555[Vote]#98FB98Ghostmode activated",thePlayer,255,255,255, true) end end addEvent("onVoteSuccess",true) addEventHandler("onVoteSuccess",getRootElement(),success) function failed() outputChatBox("#B05555[Vote]#FF6A6AGhostmode deactivated",root,255,255,255, true) end addEvent("onVoteFail",true) addEventHandler("onVoteFail",getRootElement(),failed) Make sure you have copy the correct code. Post the client side and tell me which message is repeated.
  17. أكيد أنت جالس ترفع صورة رمزية لان التوقيع مافيه رفع الصوره الرمزيه أعلى قياس عرض 125 و طول 125 Edit signature إذا تبي تحط توقيع أضغط على
  18. function addVote(keyPresser) local serial = getPlayerSerial(keyPresser) local serialcheck = executeSQLSelect ( "GmBlockList", "serial","serial = '" .. serial .. "'") if ( type( serialcheck ) == "table" and #serialcheck == 0 ) or not serialcheck then executeSQLInsert ( "GmBlockList", "'"..serial.."'") triggerClientEvent("onGMUpdate",getRootElement()) else outputChatBox("You have already voted for Ghostmode.",keyPresser,255,0,0) end end function success() local players = getElementsByType("player") for theKey,thePlayer in ipairs(players) do setElementData( thePlayer, "overrideCollide.uniqueblah", 0, false ) outputChatBox("#B05555[Vote]#98FB98Ghostmode activated",thePlayer,255,255,255, true) end end addEvent("onVoteSuccess",true) addEventHandler("onVoteSuccess",getRootElement(),success) function failed() for k,v in ipairs(getElementsByType("player")) do outputChatBox("#B05555[Vote]#FF6A6AGhostmode deactivated",v,255,255,255, true) end end addEvent("onVoteFail",true) addEventHandler("onVoteFail",getRootElement(),failed)
  19. لازم تستخدم ذا المود https://community.multitheftauto.com/index.php?p=resources&s=details&id=2540
  20. أحد فهم شي؟
  21. 1 + 2 Event: onPlayerDamage killPed 3- Event: onClientPlayerWeaponFire createProjectile
  22. if it work with me, it Must work with you. if you still don't know how to add and start the resource you have to read this: https://wiki.multitheftauto.com/wiki/Server_Manual
  23. https://community.multitheftauto.com/index.php?p=resources&s=details&id=3054
  24. bindKey("F2", "down", function() local Team = getPlayerTeam(localPlayer) local aTeam = getTeamFromName("هنا أسم التيم") if Team and aTeam and Team == aTeam then guiSetVisible(أسم النافذه, not guiGetVisible(أسم النافذه)) showCursor(guiGetVisible(أسم النافذه)) end end)
×
×
  • Create New...