Sign in to follow this  
Oli

TDM Attack/Defend/FFA Gang war Script

Recommended Posts

I made this script a few weeks ago for use with MTA 0.3, however I have now updated it for use with MTA 0.4 servers.

This is still only v1.13, and I plan to add a lot of new 0.4 features to it, but for now it basically is what it was for 0.3 but works with 0.4

here is a readme:

;TDM GANG WAR SCRIPT V1.13

;

;THIS SCRIPT IS A TDM GANG WAR MODE SCRIPT. IT IS BASED ON THE FOLLOWING RULES:

;

;THERE IS A 3 ROUND GANG WAR. GANGS CHOSE A BASE EACH, THERE IS 1 ROUND OF ATTACK, 1 ROUND OF DEFENSE AND 1 ROUND OF FFA FOR EACH CLAN

;ONCE PLAYERS DIE IN A ROUND THEY ARE NOT ALLOWED TO RESPAWN AND MUST WAIT TILL THE ROUND IS OVER.

;ONCE A PLAYER IS READY AT THE BEGINNING OF A ROUND, AT THEIR BASE, THEY MUST TYPE !READY

;THIS IS A COMMON TYPE OF MATCH TYPE, RULES OF WHICH CAN BE FOUND AT THE MTA EULEAGUE WEBSITE, http://WWW.MTA-EULEAGUE.COM - RULES

;

;TO ACTIVATE THE SCRIPT, THE ADMIN MUST TYPE THE FOLLOWING:

; !TDM ON - IE: !TDM ON FMJ ULK

;THIS WILL ONLY WORK IF THERE ARE AT LEAST 2 MEMBERS OF EACH CLAN PRESENT. ERROR LOG WARNINGS ARE GIVEN IN CASE OF ERRORS.

;

;THESE ARE THE SCRIPT FUNCTIONS BEFORE ROUNDS START:

; !READY - SETS PLAYER TO READY WHEN THEY ARE AT BASE BEFORE A ROUND STARTS (CANNOT PERFORM WHILE OUT OF GAME)

; !UNREADY - SETS PLAYER TO NOT READY, IF THEY CRASH OR HAVE TO LEAVE THEIR BASE BEFORE THE ROUND STARTS

; !IDLE - SETS THE PLAYER TO "IDLE FOR CURRENT ROUND" AND WILL NOT COUNT THEM IN ANY OF THE KILLS FOR THE ROUND.

; !UNIDLE - UNSETS THE IDLE STATUS OF A PLAYER BEFORE THE ROUND STARTS, ALLOWING THEM TO PLAY. THEY STILL THEN HAVE TO TYPE !READY

;

;THESE ARE THE SCRIPT FUNCTIONS AT ANY TIME DURING THE MATCH:

; !SCORE - RETURNS THE PLAYERS SCORE, THE TEAMS SCORE AND THE WINNING GANG.

; !WINNING - RETURNS THE CURRENTLY WINNING GANG

; !ROUND - RETURNS THE CURRENT ROUND

; !TEAMS - RETURNS THE CURRENTLY PLAYING TEAMS

;

;THESE ARE THE SCRIPT FUNCTIONS DURING A ROUND:

; !CRASHED - IF A PLAYER CRASHES DURING A ROUND, THIS COUNTS THEM AS BEING DEAD IN THE ROUND AND WONT LET THEM PLAY

;

;I SUGGEST ADMINS EXPERIMENT WITH THE FUNCTIONS OF THIS SCRIPT, IT BASICALLY GUIDES THE WHOLE MATCH, DETERMINING THE WINNER AND SET ALL THE MODES AUTOMATICALLY.

;IF THERE ARE ANY PROBLEMS, PLEASE CONTACT [FMJ]OLI, fmjoli@mta-fmj.com, FOR ASSISTANCE.

;

;CREDITS

;SCRIPT CREATED BY [FMJ]OLI

;SCRIPT IDEA BY [FMJ]OLI

;

;PLEASE LEAVE THSES CREDITS IN THE SCRIPT AS IT TOOK [FMJ]OLI OVER A WEEK TO DEBUG AND WAS SOLELY CREATED BY [FMJ]OLI

;

;THIS SCRIPT HAS BEEN TESTED IN 3 GANG WARS, ONE OF THEM AN EULEAGUE MATCH AND SEEMS TO OPERATE UNDER ALL CONDITIONS, HOWEVER IF ERRORS ARE FOUND PLEASE

;REPORT THESE BUGS TO [FMJ]OLI

;

;UPDATES:

;V1.13 - FIXED VARIABLE SET ON INSUFFECENT GANG MEMBERS.

; ADDED VARIABLE REMOVAL ON START.TDM SECTIONS.

; CHANGED MTA.TEXT TO MTA.COMMAND FOR USE WITH MTA:mA 3.0

; CHANGED $MTA.GAME TO $MTA.STATUS FOR USE WITH MTA:mA 3.0

; CHANGED !READY SYSTEM SO PLAYERS CANNOT SELECT TO BE READY WHEN SPECTATING.

You can download this script here:

http://www.mta-fmj.com/tdm.mrc

Share this post


Link to post

its more of a private gang war script.. as thats the mode of gang war we usually play i thought id automate it.. which ive done :)

btw im making a LOT of new stuff admin+ in this script..(like a dialog so the admin can input the base names of the gangs and it will annouce when they are all there etc)

But it wont be finished for a while cos ive got more urgent scripts that need making

Share this post


Link to post

Ok but Will there be servers that run this script and maybe mta will use it as an gamemode (I hope they do)

Share this post


Link to post

well ive no idea thats up to A) the server admins and B) the MTA team. I just made it for ppl i know would like a game mode script to run this in matches for large clans :)

Share this post


Link to post
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.