Leaderboard
Popular Content
Showing content with the highest reputation on 06/23/18 in all areas
-
Description GTA World Roleplay is a server opened the 16th of October on Grand Theft Multiplayer, with very specific values and goals. After witnessing the fall of text roleplay communities from SAMP in the last years, where most of them became a dictature-like system with untouchable administrators and rigged with corruption. All administrators are players first: No administrators shall be more protected than any players nor disrespect a player. Transparency in any decision: The server management always inform the players before any decision and is completely transparent : from financial subjects to roleplay ones. A strict roleplay environment: We aim to be extremely strict on roleplay, as we will probably be the last english text roleplay server remaining. Does this mean we're the perfect server thanks to these values? No, we're not the perfect server and I believe that every servers has its matching community. We also make mistakes, but we will always recognize it and work harder to fix what we could have made wrong. As a player, you are able to criticize and we welcome it as soon as the goal is to bring solutions and improve the server quality. Being strict also mean taking rough decision, as closing entire factions when needed in order to keep the server roleplay standards high. This is important that this point is not hidden so you do know what you are stepping into, however our Faction Management team is here to guide & help you. Features description In GTA World, compared to the current hype of using CEF only features, we adapt to our targeted community which loves text commands. But we also like to adapt to new roleplayers, so we offer text commands for each actions, hotkeys, menus and CEF! You have the full choice of what you wish to use. Scripted Jobs We offer hundreds of jobs for you to roleplay, however we strongly recommend working for a company or a player: Store cashier Phone vendor Alcohol vendor Lawyer Government worker Police officer Fireman Trucker Farmer Metallurgist Mechanic Taxi driver Car thief Strict & realistic police department Journalist Fishing Coroners Sheriff County jail guard Brewers Business system You are able to use, lease or become the owner of the following business: Airsoft 24/7 Ammunation Cinema Barbershop Clothing Store Plastic Surgery Clinic Tattoo Parlor Gas Station Mask Shop Electronic Shop Factory Garage / Chop Shop Restaurant Bar Night club Warehouse Phone shop Liquor store Pawnshops We like to offer our players a wide variety of business they can own and use, and our Property Management team offer a list of 50+ business for lease which you can apply for based on your roleplay project: no need for grinding to get them! Property system More than 5000 houses are available for players to own, with a garage system linked to your house and more than 300 interiors to choose from! Our furniture system allows you to completely create your own interior from A to Z, but you can also decide to use a premade interior and make some minor changes, and exterior furnishing! You can also import your own mapping from Menyoo or other editors, and map the outside world for your business! Basic Income : No more grinding! On GTAW, we do not believe in grinding. While some servers think that forcing players to grind for hundred of hours will help them keep the players busy, on GTAW we do our best to avoid you from grinding: Every character starts with a $5000 paycheck per hour up to 40 hours, which are $200,000 available for you to buy a decent car and house. This amount is enough for most players to start roleplay the story they want without having to worry about grinding! ... And way more features! Cats & Dogs Police K9 Custom shops Forensic & shell casings County jail Permanent corpses Blackjack Poker Faction system XM Radio with your own radio station Social styles : customize your walk style, mood... Vehicle modding Most advanced furniture system Easy to use customization system: save up to 20 outfits, change them completely in a minute! Weed farming Speed radars Forensics Multiple phones system House robberies Safes Airsoft Vehicle hotwiring & lockpicking Facebook like system with Facebrowser Emergency advanced CEF MDC system No pay 2 win shops, no vehicles, no weapons and no cash for donators. Join 150,000 players today, with more than 600 players connected at peak time! https://gta.world/ https://discord.gg/C8SHAnW (strongly recommended)5 points
-
Version 1.0.1
3667 downloads
This resource will sync basic things for you such as the doors, windows, tyres, engine, dirt, and lock status. Note that this resource incorporates the disabling of automatic engine toggle. If you get in a car you can only start it by script commands. There are several API functions provided for you to use. Read up on how to use this resource here; https://wiki.gtanet.work/index.php?title=Getting_started_with_Basic_Vehicle_Sync_Resource1 point -
I wanted to make a tutorial that is a little different from what is currently offered on the wiki (https://wiki.gtanet.work/index.php?title=Setting_Up_a_Development_Environment_using_Visual_Studio) This tutorial gets you through setting up a project outside the RAGE MP folder, that automatically builds into a resource folder, and allows debugging by simply pressing "Run" or F5 in Visual Studio 2017 There's a download of a project set up this way in the bottom of the post, if you just want to get started as fast as possible. You'll need to change all the paths in the configured project obviously, but there you go. Prerequisites Visual Studio 2017 (At the time of writing, using version 15.7.1) RAGE MP installed and server set up. Common sense Setup Ensure the .NET Core cross-platform development package/product is installed. Open Visual Studio Installer from the start menu Click on modify under Visual Studio {Version} 2017 Find .NET Core cross-platform development and make sure it's checked If it wasn't installed previously, after checking the box on this item, click modify in the bottom right, and install the package. Creating the project Open Visual Studio, and click File -> New -> Project. In the tree on the left, go to Installed -> Visual C# -> .NET Core. Then select Class Library (.NET Core) in the list on the right. Give your project a name in the bottom, choose a location to store it (can be anywhere on your PC), and hit OK This should create a project that compiles as .NET Core 2.0, which is the version used for resources at the time of writing. It may change to 2.1 in version 0.4 of RAGE MP. To ensure the project compiles to Core 2.0, right click on your new project in the Solution Explorer, and select Properties. Under Target framework, ensure it says .NET Core 2.0 While we're here, we can configure debugging. On the left, select the Debug tab, change the Launch dropdown to Executable. A new item appears: Executable with a Browse... button. Click browse, and select your RAGE MP server.exe The second input below that is for Working directory, set that to the folder that contains server.exe Save this window and close it. Build configuration Now we need to change how the project is built. If you want use external NuGet packages, you'll want Visual Studio to copy their DLLs to the build directory. Right click on your project in the Solution Explorer, and click Edit {project name}.csproj Under <TargetFramework>netcoreapp2.0</TargetFramework> Add the following: <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> Save and close the file. Now we set up the Meta.xml file. Right click on your project, and select Add -> New Item... In the pop-up dialog, click on Installed -> Visual C# Items in the tree on the left, then scroll down and select Xml File in the list on the right, and name it meta.xml Replace the file contents with the following, replacing ExampleResource with the name of your project: <meta> <info name="ExampleResource" type="script" /> <script src="ExampleResource.dll" /> </meta> Save and close the file. Right click on the file in Solution Explorer and click Properties Set Build Action to Content and Copy to Output Directory to Copy always Now let's configure it to copy the built project to the resources directory. Go back to the project properties (Solution Explorer, right click on the project, Properties). Open the Build Events tab, and put the following code in the text box under Post-build event command line: del "D:\Games\RAGEMP\server-files\bridge\resources\ExampleResource\*.*" /Q xcopy "$(OutDir)*" "D:\Games\RAGEMP\server-files\bridge\resources\ExampleResource" /Y Make sure to replace the path to \bridge\resources and ExampleResource with the correct path to the resources, and your project name. Also make sure the folder exists, obviously. Save and close the properties window. Try going to Build -> Rebuild Solution in the top of Visual Studio. This should complete successfully, and several DLLs should now appear in the resource folder in your server installation. Add the resource to the server settings.xml Open the settings.xml file in the RAGE MP server directory under the bridge folder Add the following, replacing ExampleResource with the name of your resource <resource src="ExampleResource" /> Save and close the file. Creating the resource Alright, that should be the basic project and debugging configured. Now let's add the GTA Network package so we can create a resource. In the Solution Explorer, right click on your project and select Manage NuGet packages... Click on Browse in the top left, search for gtanetwork.api, and install the gtanetwork.api package. By default, there should be a Class1.cs with a class in it called Class1. I like to rename this to Main.cs with a class Main, I suggest you do the same as I'll be referring to it in the rest of the tutorial. Replace the content of the file with the following. I will not be explaining basic C#, but it'll demonstrate the project working, and give you an entry point for the code: using System; using GTANetworkAPI; namespace ExampleResource { public class Main : Script { [ServerEvent(Event.ResourceStart)] public void OnResourceStart() { NAPI.Util.ConsoleOutput("Example resource loaded!"); } } } Save the file, and HIT THAT MF DEBUG BUTTON in the top of Visual Studio The server should now start up and show our console output: Breakpoints Breakpoints should also work immediately, try placing one on the console output, and hit debug: If something still doesn't work, you can download an example project here, which was set up using the steps above. Obviously you'll need to change the paths configured in it to match your system, but it may help you debug any issues.1 point
