SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 13/07/2019, 11:56 PM   #1
Chenko
Big Clucker
 
Chenko's Avatar
 
Join Date: Apr 2012
Location: America
Posts: 185
Reputation: 35
Default Moving Target Gaming Roleplay Script

Hello everyone, I present to you the Moving Target Gaming Roleplay gamemode. This is a fully fledged roleplay server developed over the course of 5 or so years starting with Vortex Roleplay 1 as a base.

The code is provided as is with no support being provided such as help setting up the SA:MP server, SQL server, fixing bugs etc.

Link: https://github.com/Chenkers/MTG-SAMP-Script

If you are going to use this script please make sure to remove all references to Moving Target Gaming, MT-Gaming, or MTG from the script.

If you wish to see the features present within the gamemode, you can check my post history or search for MT-Gaming videos on the web. There are a few on an old channel showcasing updates as well as many community uploaded ones.

Some features off the top of my head are:
  • Account creation whitelist (Admins need to do /pcreate to allow someone to register.. You'll probably want to remove this)
  • Fully dynamic house, faction, and gang system.
  • Furniture system. Houses are empty by default and can be furnished by purchasing furniture at a store. Players can move objects however they like
  • Driving and trucker license test
  • A full host of jobs including arms dealer, pizza delivery, garbage man, car jacker, delivery boy, etc
  • Fully dynamic storage system which can be adapted to give anything storage. Already implemented for car trunks, houses, businesses, factions, gangs, and hotel rooms.
  • Tents which can store items
  • 25 types of businesses including but not limited to: advertising, clothing, car dealership, boat dealership, hotels with rentable rooms
  • Crowdfunding business type (Like Go Fund Me, Kickstarter). Allows players to create funding campaigns and get donations. Funds are only distributed if campaign meets its goal
  • Admin controlled fireworks
  • Holiday events for Christmas, Halloween, Easter, and 4th of July including minigames
  • Server wide plague even which can be turned on.
  • Dynamic door & gate system. Place openable gates and doors anywhere.
  • Parkcar ban zones created by admins so players cannot spawn their car in undesirable locations.
  • Dynamic garages for vehicles which supports custom mapping
  • Dynamic side doors for houses, businesses, etc
  • Toy system
  • Boombox system
  • Hunger system
  • Hotwire minigame
  • Drug system
  • LSPD Mobile Database Computer system (MDC). Keeps track of all crimes and tickets handed out. Can lookup players
  • LSPD siren system allows addition of sirens to a select number of undercover vehicles. More info in the LSPD_Siren.pwn file
  • Prison system with fully mapped prison which includes jobs within it
  • Bombing system
  • Weapon license system
  • Fully fledged admin system including commands for lvl 1-8 admins. Level 1 are moderators with only access to respond to players /asks. 2-8 gain more access as they rise in the ranks.
  • Warning system. Admins can /warn, 3 warns = automatic temp ban. Players are temp banned twice (6 warnings in total) and permbanned after 9 warnings
  • Loyalty system. Rewards players who play everyday with cash, drugs, materials, etc.
  • Includes all of the mapping done for the server. Including tons of interior mapping used by players. Found in the mtg_mapping filterscript
  • Casino faction with functional slot machines.
  • Hitman faction with contracting system
  • Government faction which receives tax revenue from players hourly paychecks
  • Dynamic actor system. Admins can add NPCs ingame which can stand around and contribute to immersion.
  • Dynamic animation system. Admins can add animation commands with /addanim

There are a ton of other features I can't remember. You'll have to play around to see what is there. This script is very robust and was enjoyed by thousands of players over the course of 5 years. The latest iteration of the server had over 80,000 registered users.

Tip: If you are having issues with MySQL make sure SQL Mode does not include STRICT_TRANS_TABLES or STRICT_ALL_TABLES. This will cause the gamemode to not work as most columns do not have default values.

Last edited by Chenko; 24/07/2019 at 06:51 PM.
Chenko is offline   Reply With Quote
Old 15/07/2019, 04:04 AM   #2
SirCrow
Little Clucker
 
SirCrow's Avatar
 
Join Date: May 2015
Location: New Zealand
Posts: 15
Reputation: 73
Default Re: Moving Target Gaming Roleplay Script

Nice o/
__________________
SirCrow is offline   Reply With Quote
Old 16/07/2019, 08:39 PM   #3
KevTheJoker
Little Clucker
 
KevTheJoker's Avatar
 
Join Date: Dec 2018
Posts: 43
Reputation: 1
Default Re: Moving Target Gaming Roleplay Script

I can't see the .sql file there, or am I blind? lol
KevTheJoker is offline   Reply With Quote
Old 16/07/2019, 09:45 PM   #4
Chenko
Big Clucker
 
Chenko's Avatar
 
Join Date: Apr 2012
Location: America
Posts: 185
Reputation: 35
Default Re: Moving Target Gaming Roleplay Script

Quote:
Originally Posted by KevTheJoker View Post
I can't see the .sql file there, or am I blind? lol
The server used a hosted MySQL database. As it has been so long and no backups exist, I don't fully remember all the tables and their structure so that is something you'll need to go through the code and determine.

There is a bit of code that I used in the initial migration to SQL to create a few tables in the mtg_mysql.pwn file but it is not the complete tables anymore.


Edit: I found a backup with SQL table generation info. Ill add it to the Github once I remove some sensitive info.
Chenko is offline   Reply With Quote
Old 16/07/2019, 10:35 PM   #5
Chenko
Big Clucker
 
Chenko's Avatar
 
Join Date: Apr 2012
Location: America
Posts: 185
Reputation: 35
Default Re: Moving Target Gaming Roleplay Script

mtg_rp_tables.sql has been added to the repo. This contains create table code required for the MySQL database.

Last edited by Chenko; 16/07/2019 at 11:53 PM.
Chenko is offline   Reply With Quote
Old 17/07/2019, 12:10 PM   #6
Hawk839
Little Clucker
 
Join Date: Jul 2019
Posts: 1
Reputation: 0
Default Re: Moving Target Gaming Roleplay Script

Where to fill up the mysql details?
Hawk839 is offline   Reply With Quote
Old 17/07/2019, 01:00 PM   #7
aoky
Huge Clucker
 
aoky's Avatar
 
Join Date: Oct 2016
Location: Czech Republic
Posts: 491
Reputation: 136
Default Re: Moving Target Gaming Roleplay Script

idiot child chenko !!
__________________
owner/developer @ koky's deathmatch
aoky is offline   Reply With Quote
Old 17/07/2019, 03:36 PM   #8
Chenko
Big Clucker
 
Chenko's Avatar
 
Join Date: Apr 2012
Location: America
Posts: 185
Reputation: 35
Default Re: Moving Target Gaming Roleplay Script

Quote:
Originally Posted by Hawk839 View Post
Where to fill up the mysql details?
Server should create a file called MySQLConfig.ini on startup.
Chenko is offline   Reply With Quote
Old 18/07/2019, 03:59 AM   #9
Chenko
Big Clucker
 
Chenko's Avatar
 
Join Date: Apr 2012
Location: America
Posts: 185
Reputation: 35
Default Re: Moving Target Gaming Roleplay Script

Added some features I could remember to the main post so people can have an idea of what this script has to offer. I've also updated the github repo to have more necessary files in scriptfiles.
Chenko is offline   Reply With Quote
Old 18/07/2019, 06:21 AM   #10
DropKick
Little Clucker
 
DropKick's Avatar
 
Join Date: Jul 2019
Posts: 3
Reputation: 0
Default Re: Moving Target Gaming Roleplay Script

Good script, thanks for sharing !
DropKick is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] Classified Gaming RP - United Gaming script Antoniohl Gamemode Scripts 368 01/05/2019 01:53 PM
[GameMode] United Gaming Roleplay - BASE SCRIPT Apes Gamemode Scripts 16 30/03/2019 11:34 AM
[GameMode] Dynamic Gaming Roleplay [BASIC SCRIPT] Ahmad45123 Gamemode Scripts 9 22/12/2014 12:41 PM
Limitless Gaming: Roleplay script & Streamer Plugin v2.6.1 issue EAsT-OAK_510 Scripting Help 2 07/08/2012 07:01 AM


All times are GMT. The time now is 12:30 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.