Jump to content

Leaderboard

Popular Content

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

  1. السلام عليكم ورحمة الله و بركاته هذا الموضوع ان شاء الله راح يفيدك في صنع مابك عام الشاطىء البحر الغواصة و الارصفة المباني الحانات و النوادي و الكازينو مصانع و مستودعات مكاتب و ناطحات السحاب مباني عادية مطاعم و فنادق http://farm7.staticflickr.com/6118/6378209341_a2af3174db_b.jpg الرياضة و الملاعب الصناعية الرافعات صناديق و براميل و رفوف عام داخلية مشروبات كزينو ملابس الابواب و النوافذ اثاث مستلزمات منزلية مستلزمات المحلات طاولات و كراسي منوعات طعام و مشروب درج عسكري ايقونات مميز اغراض الشوارع و الطرق زبالة طبيعة نباتات صخور اشجار http://farm7.staticflickr.com/6096/6378190855_1a1b56a53e_b.jpg المنشئات المطار و الطائرات قفزات لوحات التنقل الطرق السريعة و الجسور الصور من منتدى اجنبي جبتها و السلام عليكم و رحمة الله و بركاته
    1 point
  2. سلام عليكم طبعا كلكم تعرفو gta iv احسن شي انه تشتغل ع اجهزه ضعيفه شوي في برنامج اونلاين اسمه CitizenMP IV Reloaded وهاذا برنامج يستخدام لgta iv عشان تلعب اونلاين طبعا لغة برمجه فيها بال Lua بعض صور ع برنامج اونلاين مثال ع مود يطرد الاعبين عن طريق لوحه كود function splits(self, delimiter) local a = self:Split(delimiter) local t = {} for i = 0, #a - 1 do table.insert(t, a[i]) end return t end local system = {} RegisterServerEvent('commandEntered') AddEventHandler('commandEntered', function(playerid,texts) if system[playerid] == true then TriggerClientEvent('chatMessage',playerid,"Server", { 0, 0x99, 0 },"^1 eorr"); return end command = splits(texts, ' ') if(command[1] == "/kicks") then system[playerid] = true players = GetPlayers() for k, v in ipairs(players) do name_players = GetPlayerName(v) TriggerClientEvent('showDialog',playerid,"DIALOG_TEST", "DIALOG_STYLE_LIST", "Server Dragon",""..name_players.."<br>", "kick", "close",false) end system[playerid] = false plrs = playerid end end ) AddEventHandler('onDialogResponse', function(dialogID, dialogResponse, dialogListitem, dialogInputtext) if(dialogID=="DIALOG_TEST") then if(dialogResponse==1) then if players[dialogListitem + 1] ~= plrs then if(players[dialogListitem + 1] ~= nil ) then DropPlayer(players[dialogListitem + 1], "Your kicked from the server") TriggerClientEvent('chatMessage',-1,"Server", { 0, 0x99, 255 },"^1 the player "..GetPlayerName(players[dialogListitem + 1]).." kick by "..GetPlayerName(plrs)..""); end else TriggerClientEvent('chatMessage',plrs,"Server", { 0, 0x99, 0 },"^1 you cant kick youself"); end end end end) نتيجه وحلوه لعبه صراحه و نفس وقت مظلومه لانه مافيش عدد كفي من الاعبين فا انا هنا نشرت عشان ناس تغير شوي و انا متاكد ماسمعت عن CitizenMP IV Reloaded رابط موقع https://citizeniv.net/ ويكي https://citizeniv.net/wiki/index.php/Main_Page
    1 point
  3. سلام عليكم .. هذا اصدار اولي بس ، مسويه زمان مشاهدة ممتعة ~
    1 point
  4. استعراض او بمعنى اصح عرض اكتاف ههههه لسيرفر حياه واقعيه من تصميمي من الصفر حاليا لوحة التسجيل فقط للمبرمجين المهتمين بالانضمام https://discord.gg/nre8xtA بيتم عمل اختبار لهم وتوظيفهم بالقسم المناسب باذن الله وايضا الاداريين الفيديو : استعراض او بمعنى اصح عرض اكتاف ههههه لسيرفر حياه واقعيه من تصميمي من الصفر حاليا لوحة التسجيل فقط للمبرمجين المهتمين بالانضمام https://discord.gg/nre8xtA بيتم عمل اختبار لهم وتوظيفهم بالقسم المناسب باذن الله وايضا الاداريين الفيديو
    1 point
  5. Replace this to this local targetid = getPlayerFromName(target) if targetid then
    1 point
  6. Tienes que añadirlo en el acl.xml
    1 point
  7. Only between this 3 color? local random_number = math.random(1, 3) -- pick a random number between [1, 3] local r, g, b if random_number == 1 then r, g, b = 255, 0, 0 elseif random_number == 2 then r, g, b = 0, 255, 0 elseif random_number == 3 then r, g, b = 0, 0, 255 end createMarker(0, 0, 3, "cylinder", 2, r, g, b)
    1 point
  8. Please learn Lua basics before you ask in this section, it's indispensable! Some Lua tutorial for beginners: https://forum.multitheftauto.com/topic/121619-Lua-for-absolute-beginners https://forum.multitheftauto.com/topic/64228-the-ultimate-Lua-tutorial/ https://forum.multitheftauto.com/topic/95654-tut-debugging/
    1 point
  9. Locked This is a scripting request, which may not look like one, but this user has already made 2 scripting requests in this section and doesn't know Lua. And he is exceedingly bumping on all of his topics.
    1 point
  10. https://www.mediafire.com/file/v99agjnn3k7076e/showchat.zip/file Just start the resource and it will be for all players Your welcome.
    1 point
  11. you should use addEventHandler ( "onDgsMouseClickDown", buttonCriar, clickCriar, false )
    1 point
  12. جميلة الفكرة , فيه اقتراح جاء ببالي وانا اتابع الفيديو انك تسوي حلبة ويقدرون اللاعبين يشتركون فيها مثلا زي مهمة ريس والفائز يكسب فلوس
    1 point
  13. Hi, It's possible. If you are using voice resource, the function is available by default, you just need to add the commands. Open the voice/sPlayerMuting.Lua and paste these commands to the end of the file: addCommandHandler("voicemute", function(player, cmd, targetname) -- some admin right check ... local target = getPlayerFromPartialName(targetname) if not target then return outputChatBox("[VOICEMUTE] * Player not found! ("..targetname..")", player) end setPlayerVoiceMuted(target, true) outputChatBox("[VOICEMUTE] * Player muted! ("..targetname..")", player) end) addCommandHandler("voiceunmute", function(player, cmd, targetname) -- some admin right check ... local target = getPlayerFromPartialName(targetname) if not target then return outputChatBox("[VOICEMUTE] * Player not found! ("..targetname..")", player) end setPlayerVoiceMuted(target, false) outputChatBox("[VOICEMUTE] * Player unmuted! ("..targetname..")", player) end) -- https://wiki.multitheftauto.com/wiki/GetPlayerFromPartialName function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end * You need to complete the code with admin rights check.
    1 point
  14. 1 point
  15. كنت من اوائل اللي شافو الشغل ذا ، والله فنان والفكرة نفسها ممتازة شي حلو استمر كل الدعم لك .. بالتوفيق
    1 point
  16. فكرة ممتازة ومتعوب عليها اهنيك
    1 point
  17. Hello SoManyTears did you know that the clientside version of getPlayerWantedLevel does just return the wanted level of you, not other players? Think of every game client to be an isolated box that just returns data from the local game, if not otherwise requested through client-server interaction. What you have to do to fix this is transfer the wanted level of each player on-change to every other player. You can either monitor for wanted level change on the client and then send a server-event or monitor on the server using a timer + for all players loop. You must make sure that you only send the wanted level on a real change because you would otherwise kill the bandwidth of your server Hopefully this helps!
    1 point
  18. Recomendo que baixe um da internet, tem varios paineis mt bons na net
    1 point
  19. Hello! My real name is Ignacio, I'm 19 years old and I'm currently playing Multi Theft Auto since 2011. I just want to show you not the last theme that I have created long time ago. It's called Glowing Desires and sadly I forgot my password for my another account here called ZebraCL. You can check more themes here: Click me dear user. Don't blame me for the background, added it for website copyright. Also please, don't blame me for 'LASTEST News'. I know my error but I'm too lazy to fix it. Installation: Go to your MTA directory and put all the files into MTA/cgui/images (replace all items). Additional: Players asked me in every theme about the problem with high resolutions (1920x1080) and I finally fixed the problem, in every resolution the background will be in high definition, without a dreadful quality, enjoy it. Every opinion is acceptable for me (obviously it needs to be with criticism or I won't take care about). Download: Thank you I'm working now in another theme, it's like Neon Strike 2.0, stay tuned! If you want to keep updated about my works, please follow me on my facebook page ZE Graphics.
    1 point
×
×
  • Create New...