Leaderboard
Popular Content
Showing content with the highest reputation on 20/11/16 in all areas
-
السلام عليكم ورحمة الله تعالى وبركاته كيف الحال ؟ عساكم طيبين وبخير اليوم معنا الشرح الثانية من سلسلة "#دروس_برمجة" شرح عن الداتا وكيفية استخدامها ووش الفائدة منها, لمشاهدة الشرح : لو عجبك المقطع لاتبخل علي بـالضغط على زر لايك, وتشترك لو ماكنت مشترك دعمكم مهم بالنسبة لي في أمان الله تعالى, اخوكم مستر جراند4 points
-
Is the MTA server running? If yes, then stop it. If no, then try PC reboot.2 points
-
عليكم السلام جيب داتا الاعب ونقص منها عدد الساعات الباقي له مثلا عنده 36 ساعه وتبي تعرف كم باقي له عشان يوصل 100 Data - 100 وبكذا تقدر تجيبها انا من الجوال الان ولا عطيتك مثال2 points
-
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
-
السلام عليكم ورحمة الله تعالى وبركاته, شرح مفصل عن كيف تسوي سكربت وكيف تحط ميتا له وكيف تبرمجه وتصمم لوحة وتخليها تفتح بواسطة زر أول شرح في دخول البرمجة, أتمنى يكون الشرح مفيد لكل الأشخاص اللي يبون يكونون مبرمجين لآتنسى دعمي بالضغط على زر لايك للفيديو والإشتراك بالقناة لو كنت حاب انزل مودات وشروحات واشياء اكثر, الشرح : في أمان الله, اخوكم مستر جراند1 point
-
السلام عليكم ورحمة الله من زمان عن المواضيع والتنسيق والكلام المرتب ^^" .. المهم خير الكلام ما قل ودل عندي مشروع و إن شاء الله نتوفق فيه وحبيت الكل يساعدني بمقاس شاشته بالعبه او المقاس اللي يفضل يلعب فيه دائما الي اعرفه الأغلبيه تستخدم هالمقاسين 800×600 1024×700 ف ابي اعرف المقاسات الي الاغلبيه يستخدموها ^^" وشكرا مُقدما .1 point
-
https://twitter.com/dabdine يبدو انة من اللي سوو ام تي اي او هو اللي مسويها او جايب فكرتها لاحظ البايو Director, Rapid7 Labs / scans.io / Co-creator of MultiTheftAuto / hacker / automator / daddy / internet enthusiast and lastly, data nerd لقيناه اخيراً1 point
-
1 point
-
But I would like to do it in a way like the DayZ gamemode has it, since it is just replacing the models and handles the functions, there is no need to create objects, play around with positions. I am also afraid of objects because I think they wouldn't be steady if I move my camera so fast.1 point
-
Use the following : addEventHandler ( 'onClientPlayerDamage' ) getElementType getPlayerTeam getTeamFromName cancelEvent1 point
-
Hi, You can open the admin panel and search for the scoreboard resource and open the setting for the scoreboard and change color code or names not sure from false to true .1 point
-
If the MTA devs, or anyone else who works for free in his own time on a community project, would think in the same way, that would be pretty bad. Of course people can make stuff exclusivly for their own communities or servers, but thats not a behaviour that should be encouraged or seen as anything else than "selfish" (not meant in a bad way, but after all its done for themselfs and their own profit). With the success of DayZ, MTA could have been famous for having a DayZ mod long ago, if it would have been open source (not sure when it became that). Same for Rocket League and CarBall in MTA. Lost potential for MTA as a whole because some people put themselfs above everything else.1 point
-
العفو حبيب قلبي قليل في حقك يا مبدع1 point
-
1 point
-
Provide more informations, we can't read in your mind. Tell us the errors/warnings if there are, tell us if the server is a default server and if there's a resource causing this. Also give a title that represents the issue, "help" is way too much generic1 point
-
عشان تلصقه بيد الاعب كأنه سلاح وبعدين عطيه شادر ويضبط معك bone_attachاعتقد تقدر استخدم اوبجكت الأسلحة واستخدم سكربت1 point
-
1 point
-
1 point
-
1 point
-
такие же как ты были против паровозов и автомобилей. вот теперь вы копротивляетесь против новой винды. хватит. у меня есть такой же товарищ, который всё мне рассказывает, какой божественной была 98, а сам сидит на хп, страдая о того, что нужный ему софт отказывается нормально работать на устаревшей винде. доколе эти подонки будут обновлять свой продукт!!! могли бы сразу сделать один раз и на 15097918375 лет!!!1 point
-
تمت إزالة الردود السابقة , ويرجي عدم وضع ردود خارج محتوي الموضوع1 point
-
No, no es necesario, así está bien y es mejor opción que hacerlo en el server.1 point
-
Hello all! I am not sure how many people have noticed that the Admin resource has outdated IP tables, and sometimes people which joined my server had the an unknown location. There is a simple way of overcoming this issue using Application programming interface (API), this allows us to access other websites applications to obtain data and in this case we will access a constantly updated IP API to get the location. This code can be easily melded into any purpose and even the possibility of blocking certain countries from joining the server. We will be using http://ipinfodb.com to collect the players country. IPInfoDB provides you with 2 calls per second, anything more is delayed by one second, this is good because we can then store this data in a table! IPInfoDB says that they are using a less accurate database, but its very accurate, they update it themselves, and if you answer the register properly you will only be helping. Dependencies: Title Case function (Add it to your code): function titlecase(str) result='' for word in string.gfind(str, "%S+") do local first = string.sub(word,1,1) result = (result .. string.upper(first) .. string.lower(string.sub(word,2)) .. ' ') end return result end Steps: 1) Getting an API key from IPInfoDB A) Goto http://ipinfodb.com/register.php B) Fill in the details on the register page and click register. C) You will need to go to your email to confirm your account. D) When you log-in you will now see your API Key at the bottom of the grey box, keep that somewhere, we will need it shortly. EXAMPLE: API Key aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 2) Creating the join code addEventHandler('onPlayerJoin', root, function() fetchRemote("http://api.ipinfodb.com/v3/ip-country/?key=Your_API_Key&format=xml&ip="..getPlayerIP(source), countryResult, "", false, source) end ) Replace Your_API_Key with your API key from IPInfoDB. The above code is downloading the source of a file which contains info on the player's country. Now we need to create the function called countryResult, this contains the returned data. 3) Returning the page data sent from the fetchRemote() This function contains the data returned from the fetchRemote, aka the Country and the IP. Add the below to your code: function countryResult(responseData, errno, thePlayer) startEntry, endEntry = responseData:find('') startEnding, endEnding = responseData:find('', endEntry+1) country = titlecase(responseData:sub(endEntry+1, startEnding - 1)) startEntry, endEntry = responseData:find('') startEnding, endEnding = responseData:find('', endEntry+1) ip = responseData:sub(endEntry+1, startEnding - 1) oldIPS[ip] = country outputChatBox('#0099FF[JOIN]#FFFFFF '.. getPlayerName(thePlayer) ..'#FFFFFF has joined from '..(country), root, 255, 100, 100,true) end 4) Storing the ip and country to save server bandwidth. Use tables of this. Firstly put a table at the beggining at line one: oldIPS = { } Now add this to the beginning of your onPlayerJoin event: if oldIPS[getPlayerIP(source)] then outputChatBox('#0099FF[JOIN]#FFFFFF '.. getPlayerName(thePlayer) ..'#FFFFFF has joined from '..(oldIPS[getPlayerIP(source)]), root, 255, 100, 100,true) return end 5) Adding a simple output for when a player changes their nickname Add the below to your code: addEventHandler('onPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('#0099FF[NICK]#FFFFFF ' .. oldNick .. '#FFFFFF is now known as ' .. newNick, root, 255, 100, 100,true) end ) 6) Adding the quit message and using the table to get the country This uses the stored countries to output the players country when they quit, add the below to your code: addEventHandler('onPlayerQuit', root, function(reason) outputChatBox('#0099FF[QUIT]#FFFFFF ' .. getPlayerName(source) .. '#FFFFFF has left from '.. oldIPS[getPlayerIP(source)] .. ' [' .. reason .. ']', root, 255, 100, 100,true) end ) Full Code (If your copying the full code, then replace the Your_API_Key with the key you obtained from Step 1: oldIPS = { } function titlecase(str) result='' for word in string.gfind(str, "%S+") do local first = string.sub(word,1,1) result = (result .. string.upper(first) .. string.lower(string.sub(word,2)) .. ' ') end return result end function countryResult(responseData, errno, thePlayer) startEntry, endEntry = responseData:find('') startEnding, endEnding = responseData:find('', endEntry+1) country = titlecase(responseData:sub(endEntry+1, startEnding - 1)) startEntry, endEntry = responseData:find('') startEnding, endEnding = responseData:find('', endEntry+1) ip = responseData:sub(endEntry+1, startEnding - 1) oldIPS[ip] = country outputChatBox('#0099FF[JOIN]#FFFFFF '.. getPlayerName(thePlayer) ..'#FFFFFF has joined from '..(country), root, 255, 100, 100,true) end addEventHandler('onPlayerJoin', root, function() if oldIPS[getPlayerIP(source)] then outputChatBox('#0099FF[JOIN]#FFFFFF '.. getPlayerName(thePlayer) ..'#FFFFFF has joined from '..(oldIPS[getPlayerIP(source)]), root, 255, 100, 100,true) return end fetchRemote("http://api.ipinfodb.com/v3/ip-country/?key=Your_API_Key&format=xml&ip="..getPlayerIP(source), countryResult, "", false, source) end ) addEventHandler('onPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('#0099FF[NICK]#FFFFFF ' .. oldNick .. '#FFFFFF is now known as ' .. newNick, root, 255, 100, 100,true) end ) addEventHandler('onPlayerQuit', root, function(reason) outputChatBox('#0099FF[QUIT]#FFFFFF ' .. getPlayerName(source) .. '#FFFFFF has left from '.. oldIPS[getPlayerIP(source)] .. ' [' .. reason .. ']', root, 255, 100, 100,true) end )1 point
