Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/05/18 in all areas

  1. Hey, after a long time I am releasing a newer version of this Multigamemode. You can find it on Github. Some Features: - Create as many arenas as you like by just calling a simple function providing a name and other properties. - Allow players to create their own arenas, in which they are automatically added as an admin for their arena. These custom arenas are destroyed the moment everyone has left them. - Use the Training button to train every map available on the server. - Common features like respawn, rewind, cp/tp etc. to help practising maps. - Custom ACL system: Each arena has their own acl file, yet you still can define global admins in the usual server acl. - A few maps have been included to make it easier to test and show the way how maps have to be organized. A little screenshot of the Lobby: More Screenshots can be found on Github for now. In order to use this Multigamemode, you will have to follow a quick instruction: Some of you might have seen this Multigamemode on the DDC server. This is a slightly different version from what we use on DDC. It excludes a few resource such as Userpanel or Stats, as they rely on our MySQL database and therefore cannot be shared so easy. Also, you will have to change the way Login works, if you want to login using an account of the mta server or remotely by using a website. Right now you can only login with an account on the ddc forum, as most people are gonna change the login to what they need anyway. Not everything is done in the best way and I would probably do some things differently now, but it works quite good and might be a good base for people to start their own project. If you want to contribute, you can create a pull request on Github. Bonsai
    1 point
  2. Last argument, change math.random(9,288) to 72.
    1 point
  3. guiCreateStaticImage ( x,y,w,h , "image.png",false, F1 panel) or dxDrawImage
    1 point
  4. نجحت في الاختبار اخذت 5 من 5
    1 point
  5. واللهي انا قلت لة جرب لازبط كويس لو مازبط ماراح تقوم الدنيااءء المبرمجين هنـأ مايقصروأ مع الجميع صححة ي احمد خلي استفيد وهو كمان يستفيد
    1 point
  6. Will be fixed soon
    1 point
  7. -- SERVER SIDE function respawnOnWasted(player) spawnPlayer(player, 0, 0, 5, 0, math.random (0,288), 0, 0) unbindKey(player, "F", "both", respawnOnWasted) end addEventHandler("onPlayerWasted", getRootElement(), function() bindKey(source, "F", "both", respawnOnWasted) end)
    1 point
  8. O jeito é vc ir dando stop nos resources 1 por 1 até achar o resource que está mostrando a mensagem em azul. Parece ser algum resource relacionado ao ID do jogador. Por padrão o chat não mostra o ID dos jogadores, ou seja, não é um resource nativo do MTA que está fazendo isso.
    1 point
  9. Então seu script de TAGs foi feito errado. Ele deveria cancelar o chat normal antes e mandar o chat com TAG depois. Exemplo: function tagChatbox (text, msgtype) local account = getAccountName (getPlayerAccount (source)) local name = getPlayerName (source) if msgtype == 0 then -- Se a mensagem for pelo /say (tecla T) if isObjectInACLGroup ("user."..account, aclGetGroup ("Console")) then -- Se o jogador estiver na ACL Console, faz o seguinte: cancelEvent (true) -- Cancela o chat normal. outputChatBox ("#494949║#1b1b1b✖ #FFFF00DONO #1b1b1b✖#494949║#ffffff - "..name.."#ffffff: "..text, root, 255, 255, 255, true) -- Manda o chat com TAG. outputServerLog ("CHAT: [Console] "..name..": "..text) -- Registra o chat no serverlog. elseif isObjectInACLGroup ("user."..account, aclGetGroup ("Admin")) then -- Mesma coisa se estiver na ACL Admin. cancelEvent (true) outputChatBox ("#494949║#ffffff✖ #FF0000ADMIN #ffffff✖#494949║#ffffff - "..name.."#ffffff: "..text, root, 255, 255, 255, true) outputServerLog ("CHAT: [Admin] "..name..": "..text) else -- Se for um jogador comum, então: cancelEvent (true) outputChatBox ("#003CFF║#ffffff✘ #00A513JO#ffff00GA#003CFFDOR #ffffff✘#003CFF║#ffffff - "..name.."#ffffff: "..text, root, 255, 255, 255, true) outputServerLog ("CHAT: [Jogador] "..name..": "..text) end end end addEventHandler ("onPlayerChat", getRootElement(), tagChatbox)
    1 point
  10. 0 ههههههههههه الفصل الاول خايس
    1 point
  11. ههههههههههههههه انت كدة روش يعني انا مش هرد عليك عارف ليه ؟؟؟ لان ربك قال بسم الله الرحمن الرحيم يَا أَيُّهَا النَّاسُ إِنَّا خَلَقْنَاكُم مِّن ذَكَرٍ وَأُنثَىٰ وَجَعَلْنَاكُمْ شُعُوبًا وَقَبَائِلَ لِتَعَارَفُوا ۚ إِنَّ أَكْرَمَكُمْ عِندَ اللَّهِ أَتْقَاكُمْ ۚ إِنَّ اللَّهَ عَلِيمٌ خَبِيرٌ صدق الله العظيم رغم اني لو رديت عليك هخليك اصغر من اصغر حاجه شفتها في حياتك بس برضو ربك قال بسم الله الرحمن الرحيم وَالْكَاظِمِينَ الْغَيْظَ وَالْعَافِينَ عَنِ النَّاسِ ۗ وَاللَّهُ يُحِبُّ الْمُحْسِنِينَ صدق الله العظيم اخر سبب هو ان اسلوبك في النقاش اقل من منحدر و ميشرفنيش اني اتناقش معاك و على فكرة احب اقلك ان اللي انت فيه حاليا ده يسمى في الطب النفسي عقده نقص بتحب تبين لنفسك انك اعلى من اي حد و نصيحه زور دكتور نفسي و اخيرا نصيحه مني استمع لقول ربك بسم الله الرحمن الرحيم وَلَا تُصَعِّرْ خَدَّكَ لِلنَّاسِ وَلَا تَمْشِ فِي الْأَرْضِ مَرَحًا ۖ إِنَّ اللَّـهَ لَا يُحِبُّ كُلَّ مُخْتَالٍ فَخُورٍ صدق الله العظيم
    1 point
  12. Yes it is, they're active on Discord: https://discordapp.com/invite/TxrGCQQ
    1 point
  13. وعليكم السلام ورحمه الله وبركاته اول شيء بتفتح الميتا وبتضيف هذا السطر true لازم تدخل على الويكي وتشوف ال Method وتلاحظ Method : XML.load(...) حيث ان في وظايف تكتبها كيف ما هي اذا فيها نقطه واحده واخرى تحددها اذا فيها نقطيتن يعني مو اي شي تحط له كلمه من راسك مثل XML.doLoadOpen او XML:doLoadOpen هنا يعني لك اكتب الوظيفه والأرقمنتات كما هي مثل MyXML = XML.Load("xmlFile.xml") وعندك وظائف ثانيه تختلف مثل dbExec تلاحظ : Method: connection:exec(...) Connection هي قاعده البيانات الي راح تنفذ فيها الأمر من :exec وتكتب الكود طبيعي بس بدون ما تحط ارقمنت databaseConnection يعني حط براسك وكأن الساينتاكس تغير من bool dbExec ( element databaseConnection, string query [, var param1 [, var param2 ...]] ) الى bool databaseConnection:exec ( string query [, var param1 [, var param2 ...]] ) يعني بيصير كودنا كذا MyConnection = dbConnect("sqlite", "RandomDatabase.db"); MyConnection:exec("CREATE TABLE IF NOT EXISTS `table` ( `row1`, `row2` ); وطبعاً اذا تبي الكود كامل oop بتروح للويكي وتدور على dbConnect بتطلع لك الصفحه كذا تستغرب انها كلمه واحده Connection(...) ???? تضغط على الكلمه وراح ينقلك على صفحه ثاني بمتصفحك تاخذ منها create هي صنع شيء create فهيا حسب فهمك ان Connection.create بتسويلك اتصال بالقاعده يعني الكود النهائي بيكون كذا MyConnection = Connection.create("sqlite", "RandomDatabase.db"); MyConnection:exec("CREATE TABLE IF NOT EXISTS `table` ( `row1`, `row2` ); اذا ما فهمت شيء تقدر تتواصل معي عبر السكايب عشان افهمك صوتياً وتفهم مني اكثر
    1 point
  14. Some crashes in 32 bit Windows are caused by MTA running out of address space. The best solution is to use 64 bit Windows. For 32 bit Windows, these MTA settings may help a little: 1) Settings->Advanced->Fast CJ clothes loading->Off 2) Settings->Advanced->Streaming memory->Min 3) Remove all GTA:SA graphic mods (GTA:SA reinstall is ideal) Or, you could try enabling the 3GB switch in 32 bit Windows Details at this link In summary, for 32 bit Windows 7,8,10: 1) Find C:\Windows\system32\cmd.exe in Windows Explrorer 2) Right click on cmd.exe and select 'Run as Administrator' 3) In the black box enter this command: bcdedit /set IncreaseUserVa 3072 4) Press return 5) Restart computer 6) Pray
    1 point
×
×
  • Create New...