Leaderboard
Popular Content
Showing content with the highest reputation on 11/02/18 in all areas
-
You wont decrypt it. You can use setAccountPassword to set a new password.2 points
-
Vice City Roleplay is an entirely new roleplaying experience made completely from scratch utilizing MTA's latest script features in currently in Closed Beta. Our service exhibits a wide array of features, ranging from common functionalities such as factions and vehicle dealerships to a unique vehicle sound system based off of RPM with manual and automatic gear shifting or a slot based inventory system. The server is set in current day Vice City and due to the entire map being hosted on the server, players can connect and play without having to install a single client-side modification. The server tailors to your needs by giving players the ability to adjust the object streaming distance to their own preferences. The core features are listed below: Roleplay in Vice City. An entirely new script: Scripted from the ground up. Multi-faction system: Players can be in 3 factions at the same time, whilst each faction provides 5 sub-divisions. Unrestricted faction ranks: Each member of a faction can have a unique rank set to them. Jobs-system: Players can make money in a simple way by working jobs, such as thrash masters or taxi drivers. Business-system: Players can start their own business and link jobs to them, meaning you can hire people to your business as thrash masters who will collect garbage. A slot-based inventory-system. Makes players able to expand their inventories using backpacks, which they can drop on the ground whilst the contents of it save. A right click menu allows players to interact with the objects in their inventory such as equipping different types of body armor. A Health System that calculates damage and simulates pain, and bleeding effects based off of the type of injuries such as cuts, blunt trauma, and even the caliber of a bullet. A Suppression system which makes firefights even more intense and realistic. An in-depth weapon-system which utilizes an entire library of firearms, magazines, and calibers where firearms can be named after real-life counterparts and will be displayed using the correct image in the inventory. Magazine compatibility checks ensure that the correct magazines can only be used in compatible weapon systems. Interior System: Enter interiors without delay or lag, even when entering interiors located in San Andreas. Or create your own using our Interior Builder. Place each wall or floor individually and in different sizes, making the perfect interior for your character. Furniture System: After you purchase or create your own interior, you can purchase furniture and model your home to your own liking. Texture System: Makes players able to texture anything from a Wall, Floor, Couch or Television, using a library provided by the server, or their own by simply putting in a link. A Vehicle System that uses custom vehicle sounds and calculates RPM, allowing cars to use any sound in our library independently whilst also giving players to option to purchase automatic or manual transmission vehicles. An MDC System that integrates both a dispatch and a web-interface, allowing easy callsign distribution, dispatching and accessing of reports. As states the features listed above are our core systems, meaning there's much more for players to enjoy and much more will be added as the server development progresses. Below you can go through some of our media and updates released in the past. Vice City Roleplay Teaser #1 Interior Building Timelapse Teaser #2 Sale Rules & Information Private Message Offers Only (@Dias) Payments by PayPal No maintenance contracts Full Game mode & Database structure are included in this sale1 point
-
1 point
-
local weapon = getPedWeapon(localPlayer) local weaponName = getWeaponNameFromID(weapon) outputChatBox( "Weapon name: "..tostring(weaponName) )1 point
-
local weapon = getPedWeapon(localPlayer) local weaponName = getWeaponNameFromID(weapon) The weapon is required, not the player.1 point
-
1 point
-
1 point
-
السلام عليكم ورحمة الله وبركاته السكربت مره رائع ولاكن يكون احسن لو خليته برتبة Console 1 + Console 2 + Console يعني يكوون برتبة احسن تحياتي لك @MR.GNA71 point
-
local fileHandle = fileCreate("mtaserver.txt") function writeRunningResources() if not fileHandle then fileHandle = fileCreate("mtaserver.txt") end for i, k in pairs(getResources()) do if getResourceState(k) == "running" then fileWrite(fileHandle, "<resource src='" .. getResourceName(k) .. "' startup='1' protected='0'/>\n") end end outputChatBox("Got resources in the list.") fileClose(fileHandle) end addCommandHandler("getresources", writeRunningResources) Here.1 point
-
Hi there, this thread includes resources which were produced as semi products on working and research different techniques. Most of that resources wont be useable for your servers, but they´ll showing examples how to handle or create some stuff for it. A lot of resources uses OOP classlib of sbx320, so a special thanks goes to him. You can use it for waht ever you want and didnt need any permission! EDIT: The challenge to release 101 resources each day was cancelled by time. I´ll release planned resources more randomly now. 1.) DX-Fog example The resource today shows an example how to create animated dx-fog using OOP instances. Someone can need that as background of loading screens or any menus, maybe. Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10765 2.) Vehicle Damage Shader This resource creates a little effect (blurred sight, lost colours, heartbeat and noise sound) if you got damage by vehicle collision. Effect is appending by impact damage. Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10772 3.) Particle Objects (Groundfog) This resource creates a simple ground fog effect to simulate ingame particles. Particles using OOP-Instances. Video: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10784 4.) DX-Confetti Effect This resource creates a simple dx-confetti effect. Effect can be triggered by event "createConfetti" or by command "/confetti". Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10786 5.) Menu-fading with Pixelshaders This is a little example resource which demonstrate how create neat fade-in and fade-out effects using pixelshaders. Also test menu includes fog background of day 01 resource. With key "U" you can open or close menu!!! Video: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10788 6.) Server-synchronized and shadered billboards Simple resource showing server synchronized and shader faded billboards. Video: Download: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10793 Greetings, Sam@ke1 point
-
Impossible, le code n'a aucun sens et même avec un addCommandHandler ça ne passera pas. function repair() outputChatBox("Bouton réparer cliqué !") end addEventHandler("onClientGUIClick", GUIEditor_Button[8], repair, false) Ce code affichera "Bouton réparer cliqué !" dans le chat si on fait un clic gauche, droit ou clic molette. Ok donc on va maintenant restreindre notre code pour n'autoriser que le clic gauche, et pour ça il faut vérifier la valeur du paramètre button que l'event envoit en 1er paramètre si on ajoute une variable pour la réceptionner: function repair( button ) if button == "left" then outputChatBox("Bouton réparer cliqué !") end end addEventHandler("onClientGUIClick", GUIEditor_Button[8], repair, false) Voilà le code du dessus affichera "Bouton réparer cliqué !" mais que si on a fait un clic gauche. Maintenant on veut réparer le véhicule dans lequel le joueur est assis. En regardant le wiki, je trouve cette fonction: fixVehicle Mais d'après la syntaxe et comme on pouvait s'y attendre, il faut lui donner en paramètre le véhicule à réparer donc il faut d'abord récupérer le véhicule dans lequel le joueur local (on est en script client donc getLocalPlayer() pour ça) est assis et toujours via le wiki (plus difficile à trouver je te l'accorde) je vois cette fonction: getPedOccupiedVehicle Elle retournera false s'il n'est pas actuellement dans un véhicule, auquel cas on peut afficher un message d'erreur: function repair( button ) if button == "left" then local vehicle = getPedOccupiedVehicle( getLocalPlayer() ) -- on récupère le véhicule occupé par le joueur local if vehicle then -- si on a bien une valeur (autre que false ici) ... fixVehicle( vehicle ) -- on répare ce véhicule else -- sinon ... outputChatBox( "You have to be in a vehicle to fix it !", getLocalPlayer(), 200, 0, 0) -- on affiche ce message au joueur local et en rouge. end end end addEventHandler("onClientGUIClick", GUIEditor_Button[8], repair, false) On va également lui retirer 50$ et afficher ton message: function repair( button ) if button == "left" then local vehicle = getPedOccupiedVehicle( getLocalPlayer() ) if vehicle then fixVehicle( vehicle ) takePlayerMoney ( getLocalPlayer(), 50 ) -- il n'y a que 2 arguments, pas de true à la fin outputChatBox( "You have payed 50$ for your repair.", getLocalPlayer(), 125, 125, 0 ) else outputChatBox( "You have to be in a vehicle to fix it !", getLocalPlayer(), 200, 0, 0) end end end addEventHandler("onClientGUIClick", GUIEditor_Button[8], repair, false) Et là tu as quelque chose de de fonctionnel et qui correspond à ce que tu veux. C'est en essayant et en apprenant de ces erreurs qu'on devient meilleur. Continue ton apprentissage et n'hésite pas si tu as d'autres questions. Cordialement, Citizen1 point
-
Проблема была в том, что скорее всего я неверно делал, позже в интернете нашёл другой способ, который всё и решил.1 point
-
جآ لاق فبس بالسيرفر # : ههههههههههههههههههه الله يهديك بس1 point
-
تم التحديث وحل مشكلة اللاق يا ريت الكل يجربه ويقول اذا فيه اي مشاكل ولالا عشان اصلحها ومشكور,1 point
-
0 points