Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 16/07/17 in all areas

  1. ما تقدر تحفظ الباسورد ولا تقدر تجيبه من قاعدة بيانات الحسابات الطريقة الوحيدة هي ان يكتب الزائر الباسورد في ايديت ويتم تخزينها بقاعدة البيانات كما تتم بعض السيرفرات لعمل حفظ وهذا يعتبر انتهاك لخصوصية الزائر وافضل طريقة لحفظ باسورد الزائر هي بالكلنت
    3 points
  2. محد بيفيدك الا اللي يبي يسوي نفسه انا مبرمج وشوفوني اولا انت كشخص بذلت جهد كبير انك توصل للمنتدى مب كل الناس تصمم على كذا لكن خذ بنصيحة الاخ بوسولو ورح دور بالويكي https://wiki.multitheftauto.com/ بتحصله كله انجليزي ركز على اليسار بتحصل client functions client Event وبعد سيرفر خش عليهم وشف الفنكشن اللي بيناسبك بتلاقي يسار برضو اغلب الصفح مترجمه عربيه وايضا تقدر تشوف دروس البرمجه في المنتدى هنا بتحصل الاخوه ما قصرو هذا اللي اقدر افيدك بيه كشخص مسوي على مصلحتك انا ما بخسر شي لو سويتلك الكود ما بيكمل دقيقه حتى لانه سهل لكن انا مسوي على مصلحتك حبيبي وكذلك الاخ بوسولو لكنه ما عرف يعبر زين
    3 points
  3. فكرت بالرد على هذا الاقتباس بأكثر من طريقة لكن مارح اضيع الوقت اللي جلسته هنا *في المنتدى* بسبب مجرد منشور افهمها متل ما تبي وياريت لا تسوي اقتباس او رد وملاحظة بس ترا مب انت اللي تقول تعلق او لا .. متل ما قلت لا تسوي لي اقتباس او رد لهذا الرد
    2 points
  4. Donald Trump detected!? About the image, it looks like a marker not a wall.
    2 points
  5. Not true, # can be used to get the length of a string as well. So #guiGetText(editBox) should be good enough. But either way it works the same way.. you got an error because you were trying to get the length of the edit box itself (userdata value).
    2 points
  6. Website - Server IP - Discord - Forums History & about new version Limitless RPG was founded in 2014 as a basic MTA:SA RPG modded server, taking over the RPG communities by a storm and averaging 15-20 players in the middle of the week and by the weekends, LRPG was averaging nearly 30 players. In early 2014s Lampard founded a server named Limitless RPG, to entertain the players that were coming to the server and having fun each day. Lampard's decision to open LRPG was mainly affected by his friends and players nearby that were asking him to open a server. As Lampard saw that the server is old and getting more popular, he decided to start a new project, to make the server more modern, which was the 2.0 version of the server (LRPG). 2.0 Version was released in 2015, in this version of the server, the players count decrease and it was not as popular as it was in the 1.5 version. Lampard saw the influence of the 2.0 version and started immediately working on a new project which was 3.0 version. 3.0 version was released in 2016, this version gave the server his popularity back since our scripter ShockWave worked hard for it and gained between 30 players each day, in the middle of the week and weekends. Unfortunately, 2016 was the year that LRPG shut down, due to some unknown reasons. Nowadays, Limitless RPG is back alive with the same 3.0 version and even improvements that will surely play their part in the server. The current LRPG, is coming back better and stronger than ever with a whole lot of notes in order to make the community of RPG servers good again. Server Information: Spawning System & Roles: Choose an area where you would like to spawn from three cities and 2 county's, you can select what your role has to be, such as Civilian, Police or Criminal. Police: Your main job is to arrest the suspects, involved in the criminal activities, however police database can be used to track the criminals and also to find the most wanted criminals of the server. As a police, you have to hit the wanted criminal with a nightstick, and after that the criminal will be cuffed and will follow you. You have to escort the cuffed criminal to the nearest police station immediately as other criminals might kill you to save the cuffed criminal. Criminal: As a criminal, you can kill other criminals which can gain you a wanted level. You can rob ATMs, bank and even start turfing by starting your own gang. At LS Docks, criminals can go the weapon factory and can make illegal weapons at very cheap price, however criminals can also make drugs, and bombs there at low price. The weapons, bombs or drugs made from factory can be sold to other players or can be used by player itself. Civilian: There are numerous jobs for civilians, all the civilian jobs are mentioned below: 1. Miner: You can spawn as a miner, and will have shovel, so that you can break the rocks and precious stones. You will have Dune where you will be able to store the stones, depending on how the precious the stone is, you will get more cash for it. 2. Wood Cutter: As a wood cutter, you will have a Dozer, with the help of this vehicle you will be able to cut the trees, after cutting the trees, you have to get in DFT-30 and transport the trees to the factory. 3. Pilot: To transport the passengers and cargo to other airports, cash depends on how far the airport is. 4. Trucker: To transport the cargo to the factories, cash depends on long the distance is. 5. Mechanic: As a mechanic, you have to repair the player's car and to refuel them, however mechanic has their database which allows them to track the damaged car. 6. Fisherman: Get in the boat, and roam around the water, you will find the fishes of different categories, some may be expensive and some may be cheap. 7. Taxi Driver: Drive the taxi and transport the players to the location that they want, you will be automatically paid the price of the distance traveled. 8. Food Delivery Man: You have to drive a hotdog car and sell the food products to the players. 9. Bus Driver: Drive the bus around the city to the marked bus stations and you will gain money for transporting the people to the stations. 10. Gambler: As a gambler, you have to enter the casino and play Black jack. 11. Farmer: Plant the seeds by using a tractor and wait for the time for the crop to grow, after they are grown, use Combine Harvester to harvest the crops. Military: This server has a Military known as "Task Force 282", this squad is special due to the modern equipment that only it has, such as Tanks, Fighter Planes, and it also goes to war with terrorist at sometime. However to join this squad, you really need to have good skills. Terrorist: This server has a special criminal gang, since it has the equipment's that no other gang has, it goes to war with Military at sometime, to join this gang, you also need to be skilled. SASC: A special group which makes event for the players of the server, they have an access to a building panel from which they can create many objects suitable for event. This group is controlled by owners, and only owner can choose SASC. SAW: A special group of builders, it is mostly used for roleplaying, however the players of SAW has access to a building panel from which can create many objects suitable for construction. Other Important Features: Mobile Phone Every player in this server has a mobile phone, which helps the player to communicate with any single person of the server. With mobile phone, you can send money to different players, look at your bank balance, track other players location, use a camera, use a youtube, play games, listen to the radio, save the notes, use a calculator and also track player's houses. Housing System Our housing system has a features such as Buy & Sell, however you can also spawn at your own house. Vehicle System, Car & Plane Shops You can buy different types of car in the server, such as luxurious cars which costs more but it worth's the money. Cars can be hidden by a car control panel which can be accessed by pressing F2. With your car control panel, you can hide, recover, sell to car shop or sell the car to player. Planes can be also bought from Airports, and same control panel is used to manage the planes. Turf System Every gang can turf the areas, however the only city that can be turfed is Las Venturas. Each criminal gets rewarded for turfing the area. Fuel System & Hybrid car Every vehicle in this server needs a fuel, without fuel the vehicle will not work, however we have got one of the unique feature for the server that is Hybrid car, which does not need a fuel and is available at a car shop. Business System You can buy your own business in this server and it has 5 different levels. Every level has different profit and tax. More higher level gives more profit and has high taxes however it costs more too. In this Business system, a player can even do jobs to earn more profit, there are two types of job in Business system, that is Civilian and Criminal Job. In a civilian job you have to deal with a businessman to gain more products or to improve your business. You can also do criminal job, in a criminal job you have to hack the host of other business which will gain you a wanted level but a high amount of profit than civilian job. Bank System A player can withdraw or deposit the money into his account, however banks can be robbed by criminals and due to this criminals can earn a lot of cash. Gang, Squad & Company Features If you think that your gang, squad or company requires some features, you can apply to get some new features such as vehicle, base, spawn, and even modded skin for your gang, squad or company, however there are some requirements too which you can read at our forums: https://limitlessrpg.us/forums/showthread.php?tid=2&pid=3#pid3 Services Shop In this server, there are a lot of shops for food which can gain you health, and repair shop, that is Pay N Spray to repair your vehicles. Guns can be also bought from Ammunition shop. Gun Skills Every player from starting has no gun skills, so you have to train your weapons at Los Santos Ammunition Shop. Internet Cafe/Gaming Cafe You can visit our gaming cafe in Los Santos to play games, however there is also a game which you can play with your friend together. War System This feature is mostly for players of Military & Terrorist. The war system works when both higher rank player of Military & Terrorist agrees to do the war. VIP System A player can become VIP by inviting people to the server, however VIP has a lot of features such as a VIP has their own modded car, skin, neons, laser & their own pet. Vehicle Tuning System Every car can be tuned in this server, such as car's engine, brakes, and also car's look can be changed by adding paint jobs. Vehicle Mods There are many vehicle mods, such as for racing cars, realistic cars. Server Status: IP: mtasa://51.254.238.16:22003 Status: Open Server Website: https://limitlessrpg.us Join us at Discord: https://discord.gg/Ttk3sS8 Gallery:
    1 point
  7. استغفر الله هههههه انا عشان ت بديت في مجال البيع والشراء ما ابي اغلي السعر حتى لو اخد ساعات من العمل صراحة كنت ناوي اغلي السعر في القسم الاجنبي لكن الطمع شين تشكر على مرورك البطل لبى صواميل قلبك واحب اشكر الاخ نصور لنقل الموضوع يوم سويته اكشفت اني حطيته ب قسم البرمجة هههه
    1 point
  8. اعوذ بالله متحالف مع الماسونية انت ؟ امزحح ., ما شاء الله تبارك الله المود جبار ورائع , مثل ماتعودنا منك بنسبة المود سعره اقل من حقه فلو تخليه 15 او 20 بيكون جيد جداً .. × : ) والأفضل انك تبيعه عند الاجانب كمان لان تلقى هناك كثيرين يشترون ذذ حتى لو غالي ..
    1 point
  9. ماشاءالله تبارك الله.. مود جبار و مميزات جبارة.. 10 دولار قليلة ف حقه والله كمل مشوارك.. بالتوفيق
    1 point
  10. First of all, line 6 of the last snippet is wrong players_money = getPlayerMoney -- copies function getPlayerMoney to players_money variable -- instead, it should be players_money = getPlayerMoney() -- copies the RETURN from the function call Secondly, I strongly advise against using takePlayerMoney() on the clientside since it won't sync with the server (as to prevent clientside money hacks) Thirdly, setElementModel (SkinModel) -- is missing the first parameter - the element which you want to change the model of -- properly, it should be setElementModel (localPlayer, SkinModel) -- also, note that this will change the model only on the client's side - it won't be synced to the server nor any other players
    1 point
  11. Your IP could be blocked by the hosting service 'Romania Mihailescu Server' is using (Hostgame) Contact them http://hostgame.ro ask them if your IP is blocked. Tell them: 1) I can't connect to the game server 5.83.43.213:22003 2) My IP address is ......... 3) I can ping 5.83.43.1 4) I can not ping 5.83.43.212 or 5.83.43.213
    1 point
  12. Figured out after taking a cup of cofee ))
    1 point
  13. هذي لمن مود يشتغل بس اتوقع اذا ابيها للاعب لمن يدخل onPlayerJoin
    1 point
  14. لا ما اتوقع .. بس javascript من المحتمل تلقى طريقة ذذ
    1 point
  15. function animation(source) setPedAnimation( source, "ped", "gas_cwr") setTimer(pararanim, 5000, 2, source) end addCommandHandler ("toxic", animacion) function stopanimation(tp) setPedAnimation(tp,false) setTimer(animacion, 10000, 1, tp) end
    1 point
  16. شاطر فقط ؟ بصراحة متفوق بالدي اكس .. ويعرف خطوات واشياء كثيرة بالدي اكس ذذ : )
    1 point
  17. ^ مو لازم تنطيل يكون هو نفسه مرات احد يجي على جهازه غيره : ) + قاعد اجرب اللنك على الخادم مع البي اتش بي ذذ لعيونك
    1 point
  18. اتوقع تضبط لكن ليه ماتجرب ؟
    1 point
  19. والله شوف.. هذا البرنامج يخلي جهازك استضافه كامله تقريبا.. بس يبيله اللي يفهم فيه https://www.appserv.org/download/ انا مشغل سيرفري ع البرنامج هذا وسريع جدأأ والسيرفر يظهر فـ البحث وبدون تعليق كل اللي يسويه هو انه يسويلك sql علي جهازك + يسويلك صفحه phpmyadmin خاصه لك
    1 point
  20. أولاً مافهمت سؤالك, لكن تقدر تتصل بملفات البي اتش بي عن طريق callRemote وبخصوص الأباتشي تقدر تخلي جهازك تقريباً مثل الخادم وتنصب عليه لوحة phpMyAdmin عن طريق برنامج AppServ
    1 point
  21. Nope, the last edit was back in 2015 It doesn't matter, what matters is that it works now.
    1 point
  22. It's because you can't handle the /check command, it's already an MTA command, see here : https://wiki.multitheftauto.com/wiki/Server_Commands
    1 point
  23. setTimer(pararanim, 5000, 1, source) at line 4.
    1 point
  24. the '#' only can be used to get the lenght of a table. To get the lenght of the edit you can use : string.len( guiGetText( The_Edit_Box ) )
    1 point
  25. انت شكلك جديد ممممرة بالبرمجة تو مب لك اسبوع فيها وتعصب من اول مشكل ، ما علينا كلنا مرينا من المرحلة ذي بس حاول تفكر ب مخك شوي وزي ما قال طاليس مدري شسمه ض ماحنا فاضيين و هنا أغلبنا نبرمج بفلوس المودات الله يستر عليك دور في المواضيع القديمة تلقى زي طلبك " زي " يعني شوف الطريقة وسوي زيها على طلبك
    1 point
  26. عدلت عليه ببعض اشياء لكن تواجهني مشاكل ببعض اكواد وما ودي اطرح الاكواد فيه ناس يأخذ الكود ويظبطه وتعبي يطير يليت تكلمني خاص لو فاضي
    1 point
  27. 'onClientGUIClick' guiSetVisible
    1 point
  28. اعتذر عن الاخطاء بس كنت مستعجل في الكتابة #Edit: أوفلورن تقدم 30%الان ولفترة محدودة خصم 2RAM 2CPU 50GB SSD nvme Anti-DDoS GAME 40SR60SR linux
    1 point
  29. There is an error/warning on line 28 when you write /check, don't talk bull:~. Use this tutorial to find your problem:
    1 point
  30. make sure the water is created client sided.
    1 point
  31. 1 point
  32. I've always wanted to do this shader but never had enough motivation. It's very simple and works great when images are the same size (that is, texture and mask). This basically is used to mask part of an image (the texture). Scroll down to see an example. I'm not going to release a resource of this because it's just 2 files that you need to add to your resource and as far as I remember you can't export classes from resources. Anyway here is what you need. Create the following 2 files: c_50masker.lua --[[ Author: 50p Version: v1.0 Description: This class allows easy creation of masked images. You can create an image and mask it using another (grayscale) image. ]] CMasker = { }; CMasker.__index = CMasker; function CMasker: create( texture, mask ) local cShader = { shader = dxCreateShader( "50masktexture.fx" ), texture = dxCreateTexture( texture, "argb", true, "clamp" ), maskTexture = dxCreateTexture( mask, "argb", true, "clamp" ), }; dxSetShaderValue( cShader.shader, "ScreenTexture", cShader.texture ); dxSetShaderValue( cShader.shader, "MaskTexture", cShader.maskTexture ); self.__index = self; setmetatable( cShader, self ); return cShader; end function CMasker: draw( x, y, width, height ) if self.shader then dxDrawImage( x, y, width, height, self.shader ); end end function CMasker: destroy( ) if self.shader then destroyElement( self.shader ); end if self.texture then destroyElement( self.texture ); end if self.maskTexture then destroyElement( self.maskTexture ); end end 50masktexture.fx /* Author: 50p Version: v1.0 Description: This shader allows you to mask a texture with a mask texture (black and white). */ texture ScreenTexture; sampler implicitInputTexture = sampler_state { Texture = <ScreenTexture>; }; texture MaskTexture; sampler implicitMaskTexture = sampler_state { Texture = <MaskTexture>; }; float4 MaskTextureMain( float2 uv : TEXCOORD0 ) : COLOR0 { float4 sampledTexture = tex2D( implicitInputTexture, uv ); float4 maskSampled = tex2D( implicitMaskTexture, uv ); sampledTexture.a = (maskSampled.r + maskSampled.g + maskSampled.b) / 3.0f; return sampledTexture; } technique Technique1 { pass Pass1 { AlphaBlendEnable = true; SrcBlend = SrcAlpha; DestBlend = InvSrcAlpha; PixelShader = compile ps_2_0 MaskTextureMain(); } } Now, make sure the shader file (50masktexture.fx) is in the root folder of your resource otherwise change the path to the shader in c_50masker.lua. When you've done this, you're ready to use the CMasker class. How to use the class?: It's simple: local masked; addEventHandler( "onClientResourceStart", resourceRoot, function( ) masked = CMasker: create( "gtasa_radar_small.png", "mask.png" ); end ) addEventHandler( "onClientRender", root, function( ) if masked then masked: draw( 700, 250, 256, 256 ); end end ) Result: REMEMBER: When you don't need to use the masked image, use destroy method to free used memory! Example: masked: destroy();
    1 point
×
×
  • Create New...