Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 20/04/19 in all areas

  1. سلام عليكم كلامك ممتاز يا غالي لكن في شوية نقاط نبي نعدلهم لك اولا انت مقارن لغة سيرفر سايد بلغة كلنت سايد وهذا خطا شنيع ثانيا لغة c++ ليست قديمه وراحت ليها كما تقصد اللغه هذي هي اكثر لغة تستخدم في تطبيقاتها الهندسيه وبالمناسبه الجافا اللي تقارنها بلغة ال c++ صنعت في نفس الفتره تقريبا +_+ الجافا بعد السي بلس بلس بفتره قصيره فما اتوقع يمديك المقارنه بينهم لكن بوضحلك اهم الاختلافات فيما بينهم مميزات وعيوب اولا مميزات الجافا 1-تمتاز بجرافيكال انترفيس رائع مقارنة بال c++ 2-لا تعترف بمبدا البلات فورم يعني الكود اللي صارله كومبايلنج على اي بلات فورم تاخذه على اي نوع بلات فورم ثاني بيتنفذ بنفس الامكانيات 3- يوجد بها نظام ديبقنق ممتاز اما بالنسبة للعيوب 1-فهي بطيئة جدا مقارنة بال c++ وذلك يرجع الى نظام الديبق الخاص بها الان مميزات ال c++ هو انها سريعة جدا تعتبر اسسرع لغة برمجية تقريبا 2- ميزة استدعاء المكتبات اللي تحتاجها فقط لتجنب اهدار المساحه اما عيوبها 1-لا تحتوي على نظام ديبقنق للي يتفلسفون في فرق بين الدي بق حق الrun time وال while ruining 2-الجرافيكال انترفيس سيء فيها لذا يلجا الغالبيه للجافا او الc# لتصميمه بالنسبه لستخدام ال c++ في الاكثر استخداما في التطبيقات الهندسيه والالات لانها تحتاج للسرعه جدا والكثير من الالعاب تعتمد عليها لسرعتها وبالمناسبه اغلب اللغات مثل php paython هي مشتقه من ال c++ او مشتقاتها والله اعلم اتمنى اكون صححت المعلومات بالتوفيق
    2 points
  2. Não conheço. Só sei que existe isso: takeAllWeapons
    1 point
  3. É comum nas hosts eles não atualizarem as versões, pois pode ocorrer dos scripts antigos se tornarem incompatíveis nas versões mais novas. Algumas funções mudam de sintaxe e vc precisa fazer upgrade dos resources para que eles voltem a funcionar.
    1 point
  4. Realmente sua versão é antiga demais! Já estamos na versão: MTA:SA Server v1.5.6-release-16616 A versão 1.5.2 é de 2016.
    1 point
  5. Use sver no Client Console (F8) e me diga o que aparece. (no server da host)
    1 point
  6. Vc deve entrar em contato com eles então. Pra eles atualizarem a versão do MTA Server instalado lá.
    1 point
  7. I would kill to just know how you did this. Truly awesome work you have here mate.
    1 point
  8. Mesmo erro desse aqui, cara.
    1 point
  9. Como eu disse, é problema de configuração do seu servidor, não importa se ele tem mods ou não. Formatar servidor? Que eu saiba, reinstalar o MTA não muda as configurações do seu servidor local.
    1 point
  10. Problema de configuração do seu servidor, não é problema do resource.
    1 point
  11. Ok, lá naquela linha 24, substitua isso: setElementData( player, 'mrk_in', i - 1 ); Por isso: if isElement (player) then setElementData( player, 'mrk_in', i - 1 ); end;
    1 point
  12. Cadê a função getPlayerByHouseID?
    1 point
  13. سيرفر باراديس عجبني صراحة في تنسيقة وحرصة وإهتمامة لمتعة اللاعبين وتوفير لهم أجواء لعب نقية دون إزعاج وتخريب وإنتهاك حقوق نحييهم على مجهودهم وننصح الناس بدخوله متمنياً من الجميع الإلتزام بالقوانين الخاصه بهم
    1 point
  14. بدلت else كل شوي تنحذف و نسيت اعدلها
    1 point
  15. O erro na verdade está na sua linha 23, onde player = false
    1 point
  16. Someone makes script for you means that you should pay for it. And it is difficult for you to know whether he made a back door in the script. For security, why not learn script by yourself, since you decided to build a server.
    1 point
  17. Já vi esse código em algum lugar.
    1 point
  18. onClientRender é um evento, não pode ser acionado por um comando desta forma que você fez. Faça assim: function DXGUI () local playerArmor = getPedArmor (localPlayer) dxDrawRectangle (screenW * 0.4414, screenH * 0.4833, screenW * 0.1172 / 100* playerArmor, screenH * 0.0333, tocolor(255, 255, 255, 255), false) end addEventHandler ("onClientRender", root, DXGUI)
    1 point
  19. dxDrawRectangle(screenW * 0.4414, screenH * 0.4833, screenW * 0.1172 / 100* playerArmor, screenH * 0.0333, tocolor(255, 255, 255, 255), false) ??????????? addCommandHandler?
    1 point
  20. Se for para obter o colete do Jogador, faça assim: function obterColete() local playerArmor = getPedArmor(localPlayer) outputChatBox("Seu colete está à "..playerArmor.."") end addCommandHandler("colete", root, obterColete) (Não testado) Mas eu já te passei lá em cima [...] O colete é a segunda variável
    1 point
  21. O que você quis fazer nessa função?
    1 point
  22. Tente assim: local screenW, screenH = guiGetScreenSize() function DXGUI() local playerHealth = math.floor(getElementHealth(localPlayer)) --// Variavel obtendo a vida do Player local playerArmor = math.floor(getPedArmor(localPlayer)) --// Variavel obtendo o colete do Player --// DX-DRAW dxDrawRectangle(screenW * 0.0150, screenH * 0.9833, screenW * 0.1272 / 100 * playerHealth, screenH * 0.0113, tocolor(172, 211, 115), false) --// Barra que exibe a vida do player; dxDrawRectangle(screenW * 0.4414, screenH * 0.4833, screenW * 0.1172 / 100 * playerArmor, screenH * 0.0333, tocolor(255, 255, 255, 255), false) --// Barra que exibe o colete do player; end addEventHandler("onClientRender", root, DXGUI) OBS: Você estava criando funções e eventos iguais para cada variável nova / Deixe a divisão por 100, pois é o total de vida e colete, a não ser que você use mais Resposta editada
    1 point
  23. Sim, um minuto @Gabriel63495 - Nesse caso ai eu fiz em resolução relativa, mas você pode fazer do jeito que preferir... Ah, tem o math.floor também, que é uma especie de arredondamento, mas você pode removê-lo para deixar o valor exato na barra DX. local screenW, screenH = guiGetScreenSize() function DXGUI() local playerHealth = math.floor(getElementHealth(localPlayer)) --// Variavel obtendo a vida do Player --// DX-DRAW dxDrawRectangle(screenW * 0.4414, screenH * 0.4833, screenW * 0.1172 / 100* playerHealth, screenH * 0.0333, tocolor(200, 0, 0, 255), false) --// Barra que exibe a vida do player; end addEventHandler("onClientRender", root, DXGUI)
    1 point
  24. eu consegui muito obrigado cada dia que passa estou aprendendo mais sobre script
    1 point
  25. getElementHealth - Para obter a vida do Jogador; getPedArmor - Para obter o colete do Jogador; getPedOxygenLevel - Para obter a respiração/oxigênio do Jogador; dxDrawText ou dxDrawRectangle - Para criar um texto ou um Retângulo com o Nível dos Dados.
    1 point
  26. الاسم زرفته و الافتار زرفته وش باقي ؟ ?
    1 point
  27. شكراً لك ممنون والله
    1 point
  28. Is sad seeing someone your age still acting the way you're acting. Anyhow, yes, I said if you have any evidence us using your scripts, then report us to MTA. Stop making false accusations, save your words and take the necessary actions you have to, of course, if you have proof of what you're accusing us with. This won't be one of those "WSS vs SAES" endless fighting & arguments you had with the WSS Server back in the day. "We wish all the luck," thank you, but you can save it for when you actually mean it. Because I too can make accusations of how SAES have stolen our ideas that ran in past SARS generations as well. But that won't be looked at, why? Because SARS doesn't have anyone from the MTA Team in the team to believe us, or actually follow up with what we say. You in the SAES Team do. All I ask of you is, stop replying in our topics. You and your SAES team members.
    1 point
  29. It's official, MTASA has been bought and we are becoming SAMP. Future MTASA builds will be closed source and half the features removed. Have a nice day!
    1 point
  30. مازبطت الطريقة ياخوان احد عنده حل ؟
    1 point
  31. Just a really small taste of what's coming with the medical update:
    1 point
  32. E provavelmente setElementDimension também.
    0 points
×
×
  • Create New...