Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 27/06/17 in Posts

  1. Server Rules Hello CommunityI made a new server rules system !Most of MTA Servers are using bind and commands like 'F1' .. etc etc !But mine is different ! I have made Dx Window and you can change the color of the bar of the window and when the player hit the 'Info Pickup' he'll get this Dx Gui, he won't get 'Cursor' !Your question is how will the player close the window, i'll answer on itwhen the player leave the pickup the window will close autoyou can change server rules and add more pickupsi made this script without using debugscript so if you had any error or problem post it in a Commandenjoy Download Link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14535 ScreenShots:
    2 points
  2. Hello! I started working on a vehicle realism system project, and I would like to introduce it to you. What does the system (will) contain? Currently has: - Custom sounds for vehicles - Custom damage "handling" (scroll down a little bit to see what I mean by that) - Players can't push the vehicles with "bare hands", by just running into them, vehicles will stay in one place, but you can push a car with another car or other vehicle I just started working on this, it is in alpha state, so right now it has a lot of bugs, but not so much that I can't make a video about it, so video coming soon (I already recorded it, I just have to edit, render and upload it)! Will feature: - Panels on vehicles (mostly cars) won't break if you collide with something if you are not going so fast, kind of a bug fix, since GTA SA handles these door and etc. breakings really bad, but if you go with high speed the damage will be applied - Probably a little bit complex (at least more complex than current ones) fuel and some other engine systems - Interaction with vehicles, like opening doors from outside, etc. - More realistic handlings - Realistic ramming system, for example if you hit an other player at high speed, your car won't fly up in the air, making the other player just fall down in front of the vehicle and losing a little bit of health - another example: if you collide with a breakable fence, bollard, lamp or something at high speed, it will break more easily, depending on the object you collided with - Engine failure system - breakdowns - Some basic stuff for cars, like travel meter, indicators and etc. - Custom events and functions, like onVehicleRepair, etc. - Custom siren sounds and sirens, flashers for emergency and other vehicles with sirens - Vehicles will get dirty depending on the surface you drive it on, for example, gets dirty on: mud, grass, sand etc. surfaces, and nothing will happen if you drive on surfaces like: concrete, road, etc. Therefore you will have to get your car to a carwash. That's it for now, I can't remember anything else I wanted to do, if something comes into my mind I will just put it in the "Will feature" section. So what do I mean by custom damage handling? You will see it in the video, but for a short explanation: Right now every vehicle's health will only go down to 650 HP, not below, from there, if you collide with something and the vehicle lost more HP than 75 HP, your vehicle will start releasing smoke from the rear tyres. From now on, your vehicle has an element data, which means that your vehicle is overheating and damaged, that's why there is smoke coming out from it, but not in the regular way. You can damage your vehicle however you want, it won't blow up until it loses 150 or more HP. If your vehicle loses 150 (or more) HP, it will be set on fire at the same spot, next to the rear tyres, just like in GTA IV, however, you can still drive it. From this moment, you have 10 seconds to leave your vehicle and run away, after 10 seconds it will blow up. Of course, you will be able to fix and remove the smoke leaking from the vehicle, but you won't be able to "cancel" the blowing up process by fixing the vehicle. So this is what I mean by "custom damage handling", it is a little bit harder to blow up a vehicle, it's like it has more health, since you can damage it with hands and weapons that doesn't remove more HP than 150 at once. As I already wrote, video will be coming soon! P.S.: Sorry for the (grammar) mistakes in sentences, if I made any, I'm not perfect at English. v0.1 - Custom sounds for vehicles - Custom damage "handling" (scroll down a little bit to see what I mean by that) - Players can't push the vehicles with "bare hands", by just running into them, vehicles will stay in one place, but you can push a car with another car or other vehicle Video:
    1 point
  3. DOWNLOAD: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14512 This script allows you to detect Ban evaders who change IP or serial to try evade bans, it can fight:- Dynamic IP's (or static..)- changed (new) serialsHow? By resolving the IP hostname when they connect.You can choose to 'log' the connections (flag option) when a player connects with a defined hostname, which means Internet Provider hostname, so you can investigate if they are who you think they might be.VPN hostname: looks like; datacenter1.vpnworks.net (example; you would then block or log use of a specific proxy/VPN program if many ban evaders use it)Home internet connection; looks like: (develop a sense for how they often look) customer17135.ippool.t-mobile.com (you can both list the customer-or pool specific hostname (before the first dot); this to avoid logging or blocking innocent unrelated players, OR if they are (almost) the only using that Internet provider or VPN software, log or block general hostname ('ippool.t-mobile.com' as for fictive example) If you know one problematic ban evader uses one internet provider usually (ISP) you check the hostname of that IP and add it to the flag list, then when someone connects using this matching hostname, it will print a warning to server.log and you can investigate: - Does the player behave as the banned player? - Is he with the same friends or does he talk similarly, IS HE clearly the same person? This resource basically give you usable leads in order to identify these ban evaders; it provides you with suspects, based on Internet provider or customer account hostname, so you can start analyzing if they are the same person. It can also block the connection automatically instead of only logging a warning of the suspicious player connecting. Besides the lead-giving to investigate, if you got problematic ban evader(s) who mainly use the same VPN/proxy program that uses often specific hostnames of Datacenters/the VPN company, or the same Internet provider hostname or the evader himself has a Dynamic public IP, BUT.. a static hostname (like based upon f.e, customer82423.pool.telecomalgeria.com) you can define and nail them on this static hostname that belongs to the ISP provider customer who has the internet/DSL account. (aka, the same person). As said before, be careful by analyzing the specific use of hostnames to see how many potentially legit players you could hurt. It's the best choice to go for Flagging only and not refusing connections, so you can look on a case by case basis if the player seems to be the same as the ban evader; and then re-ban the new evading serial or IP's. This resource will prove to be a reliable tool. IMPORTANT!! You MUST have a bit of experience with web-hosting in order to get this resource working! It will NOT work straight out of the box, you'll need to host a resolver API (PHP) file on the web. This .php file is included, together with extensive README (documentation) for you to understand why this is required, and assist in setting the resource up. See below a copy of this documentation: (spoiler)
    1 point
  4. Nice project I love it waiting for release
    1 point
  5. Look at this post and edit/add the needed details accordingly In short, tell us what's not working, any debug errors and steps you tried to solve your problem so far.
    1 point
  6. I'll just repost your code in code mode real quick. Next time, use code, so it is actually readable. addEventHandler("onResourceStart",getResourceRootElement(getThisResource)) call ( getResourceFromName ( "scoreboard" ), "scoreboardAddColumn", "Online" ) addEventHandler ( "onResourceStart" , resourceRoot , function ( ) for index , player in ipairs ( getElementsByType ( "player" ) ) do local pAccount = getPlayerAccount ( player ) if not isGuestAccount ( pAccount ) then local minutes = getAccountData ( pAccount , "Online.minutes" ) if minutes then local hours = getAccountData ( pAccount , "Online.hours" ) if # tostring ( minutes ) == 1 then minutes = "0" .. minutes end if # tostring ( hours ) == 1 then hours = "0" .. hours end setElementData ( player , "Online" , hours .. " H " .. minutes .. " M" ) local timer = setTimer ( updatePlayerOnline , 60000 , 1 , player ) setElementData ( player , "Online.timer" , timer ) else setAccountData ( pAccount , "Online.minutes" , 0 ) setAccountData ( pAccount , "Online.hours" , 0 ) setElementData ( player , "Online" , "00 H 00 M" ) local timer = setTimer ( updatePlayerOnline , 60000 , 1 , player ) setElementData ( player , "Online.timer" , timer ) end else setElementData ( player , "Online" , "N/A" ) end end end ) addEventHandler ( "onResourceStop" , resourceRoot , function ( ) for index , player in ipairs ( getElementsByType ( "player" ) ) do local pAccount = getPlayerAccount ( player ) if not isGuestAccount ( pAccount ) then local timer = getElementData ( player , "Online.timer" ) if isTimer ( timer ) then killTimer ( timer ) end end end end ) addEventHandler ( "onPlayerLogin" , root , function ( _ , pAccount ) local minutes = getAccountData ( pAccount , "Online.minutes" ) if minutes then local hours = getAccountData ( pAccount , "Online.hours" ) if # tostring ( minutes ) == 1 then minutes = "0" .. minutes end if # tostring ( hours ) == 1 then hours = "0" .. hours end setElementData ( source , "Online" , hours .. " H " .. minutes .. " M" ) local timer = setTimer ( updatePlayerOnline , 60000 , 1 , source ) setElementData ( source , "Online.timer" , timer ) else setAccountData ( pAccount , "Online.minutes" , 0 ) setAccountData ( pAccount , "Online.hours" , 0 ) setElementData ( source , "Online" , "00 H 00 M" ) local timer = setTimer ( updatePlayerOnline , 60000 , 1 , source ) setElementData ( source , "Online.timer" , timer ) end end ) addEventHandler ( "onPlayerLogout" , root , function ( pAccount ) local timer = getElementData ( source , "Online.timer" ) if isTimer ( timer ) then killTimer ( timer ) end end ) addEventHandler ( "onPlayerJoin" , root , function ( ) setElementData ( source , "Online" , "N/A" ) end ) addEventHandler ( "onPlayerQuit" , root , function ( ) local pAccount = getPlayerAccount ( source ) if not isGuestAccount ( pAccount ) then local timer = getElementData ( source , "Online.timer" ) if isTimer ( timer ) then killTimer ( timer ) end end end ) function updatePlayerOnline ( player ) local pAccount = getPlayerAccount ( player ) local minutes = getAccountData ( pAccount , "Online.minutes" ) local hours = getAccountData ( pAccount , "Online.hours" ) minutes = tostring ( tonumber ( minutes ) + 1 ) if minutes == "60" then hours = tostring ( tonumber ( hours ) + 1 ) minutes = "00" end setAccountData ( pAccount , "Online.minutes" , tonumber ( minutes ) ) setAccountData ( pAccount , "Online.hours" , tonumber ( hours ) ) if # tostring ( minutes ) == 1 then minutes = "0" .. minutes end if # tostring ( hours ) == 1 then hours = "0" .. hours end setElementData ( player , "Online" , hours .. " H " .. minutes .. " M" ) local timer = setTimer ( updatePlayerOnline , 60000 , 1 , player ) setElementData ( player , "Online.timer" , timer ) end
    1 point
  7. سلام عليكم بدون مقدمات كلمت الاداري ادمن اللعبة ccw وقالي انه راح يخلي كل الملفات اللي تتركب ب gta3.img , gta_int.img راح تتحول اصلية مثل السكنات الكلام هذا راح يطبق ممكن بالاصدار هذا او الاصدار الجديد
    1 point
  8. السلام عليكم ورحمة الله شفنا الكل يعاني من سرقة سيارات سيرفرهم اللي يتعبون عليها عشان كذا سوينا هذا الشي لخدمتكم يشفر لك السيارات بحيث انها ماتنسرق ABCompiler موقع طبعاً بما انه مافيه شي كامل, السيارات راح تشتغل لو الشخص سرق منك المود كامل حق السياره وهذا الشي ماراح يستوي الا بخطا منك بالنسبة للرفع ماتقدر ترفع ملف دي اف اف حجمه اكبر من 15 ميقا او ملف تي اكس دي حجمه اكبر من 10 ميقا TheBrain المشروع كله من برمجتي وبرمجة الأخ ويسمح لك بتشفير عدد غير محدود من السيارات مجانا * http://www.esport.ae/ABCompiler قبل ماتجينا وتقولنا سيارتي انفكت او انا فكيت سيارة السيرفر الفلاني هذي سياره من عندنا اذا تحس نفسك قد التحدي فكها : ) Download مانقدر نقول انه التشفيره ماتنفك ومحمية بنسبة 100% لانها اكيد ماهي كامله الكامل الله ولاكن نسبة الحماية فيها ماهي قليلة ابداً وان شاء الله انها ماتنفك تقدر تستخدمه التشفيره لأوبجكتات مو بس للسيارات * لاستمرار الموقع بشكل أفضل وبتشفيرات أقوى لن تعمل أكثر من 3 سيارات في السيرفر الواحد في نفس الوقت .. لكي تعمل عليك الاشتراك بأحد الخطط المدفوعة .. الخطط الموجوده 5 Models - 5 USD Monthly 10 Models - 10 USD Monthly 15 Models - 14 USD Monthly 25 Models - 20 USD Monthly
    1 point
×
×
  • Create New...