Jump to content

TAPL

Retired Staff
  • Posts

    7,337
  • Joined

  • Days Won

    11

Everything posted by TAPL

  1. مافيها شي بس ماراح يعطونه فيزا لان عمره اقل من المسموح
  2. ؟onClientPreRender تريقر داخل افنت الله يستر عليك
  3. يعني؟ أصلاً يختصر ع نفسه أكثر وتجي الصورة بوضوح أفضل guiCreateStaticImage ليه مايستخدم : بالنسبة لصاحب الموضوع إستخدم -- At Client Side: addEventHandler -- "onClientResourceStart" triggerServerEvent -- At Server Side: addEvent -- Custom event addEventHandler -- Custom event getPlayerAccount getAccountName isObjectInACLGroup triggerClientEvent -- At Client Side: addEvent -- Custom event addEventHandler -- Custom event guiCreateStaticImage outputChatBox هو يبي الصوره فوق راس اللاعب يعني مو ثابته بالشاشة guiSetSize مع guiSetPosition راح يحتاج يستخدم guiCreateStaticImage إذا بيستخدم dxDrawImage يعني اختصر الموضوع و استخدم
  4. الصوره ذي الي انت حاطها صوره ايش بالضبط بالنسبة للطريقة الي انا حاطها تحتاج تسوي ريستارت للجهاز
  5. من كنترول بانل عدل اللغة
  6. ذا المود راح يفيدك https://community.multitheftauto.com/index.php?p=resources&s=details&id=4671
  7. Use this function to disable the siren sound. https://wiki.multitheftauto.com/wiki/SetWorldSoundEnabled
  8. كود لاهنت (: المنتدى للمساعده مو عشان نبرمج عنك
  9. addCommandHandler getPlayerTeam getTeamName getElementsByType getElementHealth getElementPosition getDistanceBetweenPoints3D fixVehicle givePlayerMoney
  10. local vehicle = {} addEvent("vcars", true ) addEventHandler("vcars", root, function() if not isElement(vehicle[source]) then local x, y, z = getElementPosition(source) vehicle[source] = createVehicle(id, x, y, z) -- id استبدل فقط warpPedIntoVehicle(source, vehicle[source]) outputChatBox("مبروك اخذت سياره", source, 255, 255, 0, true) else outputChatBox("لديك سياره", source, 255, 255, 0, true) end end)
  11. TAPL

    MTA does not open

    Try this:
  12. Yes.
  13. You can get every player connected to the server with this function: getElementsByType
  14. TAPL

    Logs

    server.log is used to log everything, while server_auth.log is used to log only login for easy reviewing of security issues. However you can disable it from mtaserver.conf, so no problem here. >logs/server.log> >logs/server_auth.log>
  15. The problem was with the keyboard itself. I've tried press Caps Lock key and then press any other key, i notice it become inverse. Bad keyboard maybe? whatever.
  16. اول شي موضوع قديم من 3 سنوات ثاني شي ما تعبت انت كل شوي تسجل حساب جديد؟
  17. function savewanted() local playeraccount = getPlayerAccount(source) if playeraccount and not isGuestAccount(playeraccount) then local wanted = getElementData(source, "wanted") if wanted then setAccountData(playeraccount, "wanted", wanted) end end end addEventHandler("onPlayerQuit", getRootElement(), savewanted) function loadwanted(_, playeraccount) local wanted = getAccountData(playerAccount, "wanted") if (wanted) then setElementData(source, "wanted", wanted) end end addEventHandler("onPlayerLogin", getRootElement(), loadwanted)
  18. onPlayerQuit -> getElementData -> setAccountData onPlayerLogin -> getAccountData -> setElementData
  19. You can use this. https://community.multitheftauto.com/in ... ls&id=4671
  20. Try this: for i=1, guiGridListGetRowCount(maps) do And try this: for i=0, guiGridListGetRowCount(maps)-1 do
  21. Try this: local tabel = {} for i=0, guiGridListGetRowCount(maps) do table.insert(tabel, guiGridListGetItemText(maps, i, 1)) end
  22. I don't know from where you got these parameters, but neither onClientWeaponFire nor onClientPlayerWeaponFire have these parameters.
  23. TAPL

    onClientRender

    You're welcome.
  24. TAPL

    Garage id

    You're welcome.
  25. حمل ذا http://www.microsoft.com/en-us/download ... x?id=30679 و ذا https://www.microsoft.com/en-us/downloa ... aspx?id=35 و جرب
×
×
  • Create New...