Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 31/01/17 in Posts

  1. كيف حالكم ان شاء الله بخير , اليوم رجعنا بـ نظام بسيط ويسهل عليك الامور طبعا النظام واضح من العنوان انك تعطي احد لايك او تجيب لايكاته وتقدر تستخدمه في اشياء كثيرة مثل مسابقات والى اخره طبعا النظام مانب مستعمل فيه الداتا ولا التيبلات فقط السكل الفنكشنات قبل التحديث الفنكشنات بعد التحديث الاحداث الخاصة بالنظام بعد التحديث بعض الامثلة من خارج السكربت على الفنكشنات والحدث تم اضافة ميزة الايكات في السكور بورد وهي اختياريه طبعا السكربت مشفر لحفظ الحقوق فقط وانا ماودي اشفر سكربتاتي لكن فيه اطفال تجبرني على اني اشفر : الاهدائات Just , Mr.Saad , خلف , خالد العمري , كور , برستيج , مجمتع العرب روابط تحميل الاصدارات وهذا الي كان عندي اليوم في امان الله وحفظ الرحمن
    5 points
  2. *falls asleep while waiting for the login panel to fill in information to pop up* Jokes aside, looks quite amazing.
    2 points
  3. Hello, I apologize in advance for my poor English. I'll start from the beginning. For a long time now I own one of the biggest servers RPG in my country. Unfortunately, as long we struggle with shutdown the server. Error with kernel: Jan 18 9:01:14 p.m. sbg1 kernel: mta-server [31998]: segfault at 9 ip 00000000f6b568d5 sp 00000000f33f7a40 error 4 in deathmatch.so [+ f65a8000 876000] Thank you in advance for your help.
    1 point
  4. Hi guys, when i start script makes server high ping +2000 and keep show this in console [18:36:28] ERROR: Infinite/too long execution (ZA-zombies) [18:36:28] ERROR: ZA-zombies/server.lua:25: Aborting; infinite running script in ZA-zombies --RESOURCE START/INITIAL SETUP addEventHandler("onResourceStart", resourceRoot, function ( ) for _,thePlayer in ipairs(getElementsByType("player")) do bindKey(thePlayer, "fire", "down", function(source) local target = getPedTarget(source) if (target) and (getElementType(target) == "player") then setZombieBitten(source, target) end end) end setTimer(setangle, ZombieSpeedCheck, 0) -- KEEPS ZOMBIES FACING THE RIGHT DIRECTION setTimer(triggerEvent, 2000, 0, "onCheckZombie", root) --Clear far zombies & Spawns zombies in random locations end)
    1 point
  5. ههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه
    1 point
  6. What's the concatenation for? Serial is one long string, First of all, you will need to get all the accounts and check if the account name entered via the command actually points to an account and then change the serial of that given account. Try this: function setAccountSerial(p, cmd, target, serial) if target and target ~= "" and serial and serial ~= "" then local accounts = getAccounts() for i = 1, #accounts do if(getAccountName(accounts[i]) == target) then local oldSerial = getAccountData(accounts[i], "account:protect") or "none" setAccountData(accounts[i], "account:protect", serial) outputChatBox("User " .. target .. "'s serial has been updated", p) outputChatBox("-> Old: ".. oldSerial .."| New: " .. serial, p) return end end outputChatBox("Couldn't find any users with the name: " .. target, p) else outputChatBox("Syntax: /"..cmd.." [account-name] [serial]", p) end end addCommandHandler("changeserial",setAccountSerial)
    1 point
  7. افادك عبد الكريم
    1 point
  8. Didn't actually test your code, but here's what I just wrote and is working fine for me. However, you will need to change it a bit so it fires @ onPlayerJoin and also change the static IP. To test it replace your ip @ line 1. local ip = "" -- currently it only works with pre-defined IP, because MTA detects my IP as 127.0.0.1 function getPlayerCity(p, cmd) function displayPlayerCity( resp, errno, p) if errno == 0 then local data = fromJSON("[".. resp .. "]") local status = data["status"] or "fail" if status == "success" then outputChatBox("Player " .. getPlayerName(p) .. " is connected from: " .. data["city"]) else outputDebugString("Cannot retrieve network details") end else outputDebugString("Error @fetchRemote, ERRNO: " .. errno) end end fetchRemote("http://ip-api.com/json/" .. ip, displayPlayerCity, "", false, p) end addCommandHandler("gcity", getPlayerCity, false, false)
    1 point
  9. ما شاء الله تباركك الرحمن ككل مرة تجينا بمود خيالي والله عجبتني فكرته وانا اوافق برستيج تزوذًله اللايكات givePlayerLikes وكمان لو تسوي dislike او takePlayerLikes ترا مودك زي الخرا امزح معك ض2
    1 point
  10. حياك الله نورت ,, واشكرك على الاقتراحات وعجبتني وانا سويت الفكرة لانها بدائية وان شاء الله الاصدار الثاني افضل ونبي اقتراحات اكثر
    1 point
  11. عليكم السلام ورحمة الله وبركاتة ماشاء الله عليك ابدعت يا عبدالكريم نظام مميز وجميل ويفيد ويحمس اللعب اقتراحات تساهم في تطويرهـ : - يكون النظام مثل الفلوس بالضبط وتكون الوظائف كالتالي : - getPlayerLikes = يجيب الايكات عارف انها موجودة لكن بالنظام الجديد كتابة بالاس افضل وأصح - setPlayerLikes = هذي تحط عدد الايكات للاعب بعدد معين مثلاً لايكاتة 50 وحطيتها 0 تصفرها - givePlayerLikes = تعطي الاعب لايكات بعدد الايكات الموجود عندهـ من اول مثلاً عندهـ 6 وعطيته 3 = 9 وبكذا يكون نظام جيد ورائع بالتوفيق وتشكر عالمجهود تقبل مروري
    1 point
  12. للافادة فقط الي يبي يعرف التغيرات بأصدار 1.5.3 يخش الرابط https://wiki.multitheftauto.com/wiki/Changes_in_1.5.3
    1 point
  13. مايحتاج داتا في الاشياء هذي اذا ضغط على زر ترايقر للسيرفر قفل السيارة وافتحها setVehicleLocked ( myVehicle , not isVehicleLocked ( myVehicle ) ) outputChatBox ( isVehicleLocked ( myVehicle ) and "تم اقفال المركبة" or "تم فتح المركبة" , ... )
    1 point
  14. تأكد انك حاط المود في الاسل عند الادمن او الاونر
    1 point
  15. افضل اكواد عندي واستمتع يوم ابرمجها SQL functions and Table
    1 point
  16. Try this and make sure that you're in the BOPE team. gate = createObject(971, 1543.400390625, -1628.2001953125, 15.89999961853, 0, 0, 90) x,y,z = getElementPosition (gate) zona = createColCircle ( x,y, 7, 7 ) function open(element) local playerTeam = getPlayerTeam ( element ) if ( playerTeam and playerTeam == getTeamFromName ("BOPE") ) then if ( eventName == 'onColShapeHit' ) then moveObject(gate, 2000, 1543.4000244141, -1619.0999755859, 15.89999961853 ) elseif ( eventName == 'onColShapeLeave' ) then moveObject(gate, 2000, 1543.400390625, -1628.2001953125, 15.89999961853 ) end end end addEventHandler ( "onColShapeHit", zona, open ) addEventHandler ( "onColShapeLeave", zona, open )
    1 point
  17. dbConnect dbExec dbPoll احلا 3 وظائف استعمها في الحفظ وإلخ .
    1 point
  18. Found example here, gonna try: https://github.com/JarnoVgr/Mr.Green-MTA-Resources/blob/master/resources/[gameplay]/geoloc/geoloc.lua
    1 point
  19. ذييييييييييييييييييييييييييييييييييييييييييييييب مدري كيف اشكرك والله تستاهل تصير صاحب الموقع
    1 point
  20. function makeTrain(p) local vehicle = getPedOccupiedVehicle(p) if vehicle then if (getVehicleType(vehicle) == "Train") then outputChatBox("Tu tren ahora es seguro, no va a descarrilar.", p, 255, 255, 0) setTrainDerailable ( vehicle, false ) end else outputChatBox("No estás en un vehículo", p) end end addCommandHandler("trenseguro", makeTrain) function makeTrain2(p) local vehicle = getPedOccupiedVehicle(p) if vehicle then if (getVehicleType(vehicle) == "Train") then setTrainDerailable ( vehicle, true ) outputChatBox("Tu tren ahora no es seguro, se va a descarrilar.", p, 255, 255, 0) end else outputChatBox("No estás en un vehículo", p) end end addCommandHandler("trenNoSeguro", makeTrain2)
    1 point
  21. Returns This function returns a variable containing the requested element data, or false if the element or the element data does not exist. When getting data corresponding to a XML attribute, this is always a string. When the data is not found, it DOES return false. @Yazir your script seems fine. So: Are you sure the init script is called before the client? Are you sure the "player" parameter is correct? Maybe it's for some reason invalid, and the data is not set. Also an error is thrown Did you copied-pasted the scripts? (just to make sure there are no syntax errors in the script) From point 2, are there errors/warnings thrown in general? Check both clients and server As is said the script seems fine to me, setElementData by default sync the data server<->client, and it depends on elements, shared between resources (so fetching the data from different resource is not the problem as you said). Try also adding (if you haven't done it yet) output inside the code blocks, so you "see" what's happening inside your scripts (this is just to check the "logic" part of the script in case point 4 is "there are no errors": in case the server block for some reason is skipped, the data will be false) That's all i can think right now
    1 point
  22. Thanks for checking out the script! The resource does have an export function (givePlayerWeapon) that you can use in your own script. The generic example is in the resource description. If you want it to affect pickup items, I think you need to get it to work with onClientPickupHit. allweapons is just a quick demonstration & proof of concept for people like you to innovate and improve on it feel free to modify/copy it, good luck!
    1 point
  23. Please try with this build: https://nightly.multitheftauto.com/multitheftauto_linux-1.5.3-rc-11156.tar.gz (contains a test crashfix)
    1 point
  24. 1 point
  25. البوتات ليست جزء من الخدمة و لم يتم ذكر اي شئ عن اضافات بوتات مع سيرفر التيم سبيك في مواصفات الخطة البوتات ليست جزء من برنامج التيم سبيك بل برامج اخرى تم برمجتها من قبل اشخاص آخرين لا علاقة لهم بشركة التيم سبيك تم شرح لك في التذكرة طريقة الحصول على معلومات كويري و تم ايضا الأيضاح لك بأن الصلاحيات محدوده على السيرفر الخاص بك الصلاحيات محدوده على السيرفر الخاص بك ولا يمكنك التحكم او التأثير على سيرفرات اخرى مستضافة على نفس الخادم مثلا من غير المعقول السماح لك بعمل سيرفرات او حذف سيرفرات تيم سبيك اخرى او زياده عدد لاعبين سيرفرك او التحكم ب برومشنات و باندات و خواص سيرفرات اخرى لذلك فأنه بوضوح من غير المعقول ان نقوم بتسليمك الكويري الرئيسي الخاص بسيرفر التيم سبيك
    1 point
  26. 1 point
  27. SQLite _ , تسهل علي كثير و تختصر
    1 point
  28. ي نايف , بيصير شكله احسن لو تغير الخط .
    1 point
  29. Server was updated to new version and problem still exist. MTA:SA Server v1.5.3-release-10962
    1 point
  30. وعليكم السلآم منور الموضوع : )
    1 point
  31. Done: http://upload.mtasa.com/u/529071047/dumps.zip_
    1 point
  32. Ok, else question, last time I hope. Deathmatch.so is one of main files in mta. Logic, scripts etc. As I understood, all my scripts in lua (e.g. works) are "included" to main program. So question is - can my scripts give us this kind of problem? Is it possible? If yes - we are in home and we have to just check our files/scripts.
    1 point
  33. Noone can help? So maybe somebody can tell us, for what responsible is file deathmatch.so? It looks that in this file is problem.
    1 point
  34. I thinkt that it's important - server ver is MTA:SA Server v1.5.3-release-10614 and - as you can see - it runs on linux.
    1 point
  35. اعتذر عن التأخير .. شاشة جهازي كانت خربانه 5.87 تم الرد عليك بتأخير ساعات بس مدري وش سالفتك .. مافيه صبر او عندك مشكلة ثقه؟ http://i.imgur.com/ZwrYRel.png البطاقات الي انت مرسلها مو شغاله
    1 point
×
×
  • Create New...