Szerző Téma: Battlefield Project Reality  (Megtekintve 3256 alkalommal)

Nem elérhető Place

Battlefield Project Reality
« Dátum: 2012. december 02. - 15:04:16 »
+1 Show voters

\"2vtxowz.jpg\"
Battlefield - Project Reality V1.8
 

Sziasztok!!


Elhoztam egy jó kis játékmódot, remélem sokan ismeritek Battlefield játékot, ez a mód arról szól a készítõk próbálták minél jobban megtervezni a játékmódot!!


Nem magyar a játékmód


Készítõ: Dan


Letöltések:


Solidfiles Letöltés:


Játékmód =
http://www.solidfiles.com/d/3ac3fb478b/

CFG =
http://www.solidfiles.com/d/2767bc25fc/

Shared Letöltés:


Játékmód =
http://www.2shared.com/file/Usv2jS7b...Server_18.html

CFG =
http://www.2shared.com/file/XEN2SWRk/server.html

Eredeti téma:
http://forum.sa-mp.com/showthread.php?t=393206

Mostani Téma:
http://sampforum.hu/index.php?action=post;board=13.0

Pastebin Letöltés:


http://pastebin.com/8tvTRpgH

Script funkciók:

 


    • Egyedi rang rendszer


    • Class rendszer


    • Elfoglalható területek


    • Donor rendszer - 3 donor szint + adományozó


    • Teljesen újraírt lézerrendszer


    • Ha egy játékos, meghall akkor földön lesz a fegyvere amit felehet venni


    • Egyéni Pálya/Map


    • A nagyon tiszta /help rendszer, minden le van írva Dialógban.


    • Játékmód script olyan tiszta, amennyire csak lehetséges


    • Csapat kiegyensúlyozó tartja minden csapatott egyensúlyban


    • Radio rendszer 6dbö rádióállomások


    • Killing spree rendszer + jutalom


    • Az adományozók és az adminoknak saját chat


    • 5 admin, tárgyalás a tulajdonosal


    • Tudsz csevegni Cleverbot all


    • Ellenõrzõpontok minden bázis, ahol meg lehet vásárolni fegyvereket


    • Osztály kiválasztása mértékben textdrawos


    • Statisztika Kijelzõ,  ölések/halálok/arány/pontszám


    • Játékos statisztikák kerülnek mentésre biztonságos MySQL adatbázis


    • Automatikus segítség üzenetek játékosoknak 3percenként


    • A játékosok letilthatja saját ALSS rendszer egy paranccsal


    • Be kell vezetni Airfoce osztályba repülõgépeket


    • A játékosok letilthatja a PM-t  paranccsal!!


    • Adminok van / esemény paranccs teleport lépet hûvös helyen esemény


    • Egyes osztályok tekintette specical készségek orvos/mentõ megtekintheti /mheal paranccsal


    • Bugok kivannak javítva


    • Minden csapatnak egy csapat rádió /r


    • Miután meghal, látni fogja a forduló Statisztikák


    • PLUS sokkal több, amit felfedezni!



Parancsok:


Szerver játékmódban összesen 60 Parancs található!!


Adományozó Parancsot csak adományozok használhatják:  /dhelp


Admin parancsokat csak is adminok/tulajdonos/fõadmin használhatják: /ahelp


Szerver futó includek:


foreach, sscanf2, streamer, MySQL


Játékmódról képek:


\"vcs6qs.png\"

\"C6ptn.png\"

\"VX3GS.png\"

\"GmJxZ.png\"

\"7HroY.png\"

\"xbYOU.png\"

\"b79RL.png\"

\"g3ok5.png\"

\"ZtFmY.png\"

\"GaidT.png\"

\"1ktQz.png\"

Játékmód Pawno Kódja:

 
/====================================================
// V1.8
// UPDATE LOG
//
// Weapons drop when a player dies!
// Some admin commands fixed + added /givescore.
// Added nightvision into the shop.
// Some little bugs fixed.
//
// NEED TO DO
//
// Random wars between 2 teams.
// Add mappings!
// Missions.
// Fix battleshield.
//====================================================
#include <a_samp>
#include <a_mysql>
#include <zcmd>
#include <foreach>
#include <sscanf2>
#include <streamer>
#include <weaponsdrop>
#include <carnames>
#include <CleverBot>
//====================================================
#define mysql_host          \"69.73.143.228\"
#define mysql_user          \"risto_user\"
#define mysql_password       \"MT^7?4CF6@ss\"
#define mysql_database       \"risto_battlefield\"
/*#define mysql_host          \"localhost\"
#define mysql_user          \"root\"
#define mysql_password       \"\"
#define mysql_database       \"server\"*/
//====================================================
#define VERSION          \"1.8\"
#define GAMEMODE          \"BPR ˆ V1.8\"
#define SCRIPTER          \"Dan.\"
#define SERVERNAME          \"Battlefield - Project Reality\"
#undef MAX_PLAYERS
#define MAX_PLAYERS         50
//====================================================
#define C_RED             0xFF0000FF
#define C_GANG_RED          0xFF000077
#define C_WHITE          0xFFFFFFFF
#define C_GANG_WHITE       0xFFFFFF77
#define C_FADE             0xC8C8C8FF
#define C_GREY             0xAFAFAFFF
#define C_CYAN             0x00FFFFFF
#define C_PINK             0xFF66FFFF
#define C_ORANGE          0xFF9900FF
#define C_LORANGE          0xFFB13DFF
#define C_PURPLE          0xA86EFCFF
#define C_GANG_PURPLE       0xA86EFC77
#define C_YELLOW          0xFFFF00FF
#define C_LYELLOW          0xD7DE16FF
#define C_GANG_YELLOW       0xFFFF0077
#define C_BLUE             0x0000BBFF
#define C_RADIOBLUE       0x8D8DFFFF
#define C_LBLUE          0x33CCFFFF
#define C_VIOLET          0x9955DEFF
#define C_DVIOLET          0x4B00B0FF
#define C_DGREEN          0x33AA33FF
#define C_GREEN          0x15FF00FF
#define C_GANG_GREEN       0x15FF0077
#define C_LGREEN          0x33FF33FF
#define C_LIME             0x99FF00FF
#define COLOR_RED          \"{FF0000}\"
#define COLOR_WHITE       \"{FFFFFF}\"
#define COLOR_FADE          \"{C8C8C8}\"
#define COLOR_GREY          \"{AFAFAF}\"
#define COLOR_CYAN          \"{00FFFF}\"
#define COLOR_PINK          \"{FF66FF}\"
#define COLOR_ORANGE       \"{FF9900}\"
#define COLOR_LORANGE       \"{FFB13D}\"
#define COLOR_PURPLE       \"{A86EFC}\"
#define COLOR_YELLOW       \"{FFFF00}\"
#define COLOR_LYELLOW       \"{D7DE16}\"
#define COLOR_BLUE          \"{0000BB}\"
#define COLOR_RADIOBLUE    \"{8D8DFF}\"
#define COLOR_LBLUE       \"{33CCFF}\"
#define COLOR_VIOLET       \"{9955DE}\"
#define COLOR_DVIOLET       \"{4B00B0}\"
#define COLOR_DGREEN       \"{33AA33}\"
#define COLOR_GREEN       \"{15FF00}\"
#define COLOR_LGREEN       \"{33FF33}\"
#define COLOR_LIME          \"{99FF00}\"
//====================================================
#define D_LOGIN          0
#define D_REGISTER        1
#define D_CLASS           2
#define D_SUCCESS          3
#define D_ADMINS          4
#define D_SHOP             5
#define D_HELP             6
#define D_INFO             7
#define D_RULES          8
#define D_COMMANDS          9
#define D_RANKS          10
#define D_CLASSINFO       11
#define D_ASSAULTINFO       12
#define D_MEDICINFO       13
#define D_ANTI-TANKINFO      14
#define D_ENGINEERINFO       15
#define D_AIRFORCEINFO       16
#define D_SPEC-OPSINFO       17
#define D_RADIO          18
#define D_DONOR          19
#define D_ROUNDSTATS       20
//====================================================
#define T_ENGLAND         100
#define T_RUSSIA          101
#define T_IRAQ             102
#define T_MEXICO          103
#define T_ENGLAND_SKIN       287
#define T_RUSSIA_SKIN       122
#define T_IRAQ_SKIN       273
#define T_MEXICO_SKIN       116
//====================================================
#define ASSAULT          200
#define MEDIC             201
#define ANTI-TANK          202
#define ENGINEER          203
#define AIRFORCE          204
#define SPEC-OPS         205
//====================================================
#define RANK1             0
#define RANK2             100
#define RANK3             300
#define RANK4             500
#define RANK5             1000
#define RANK6             1500
#define RANK7             2000
#define RANK8             2500
#define RANK9             5000
#define RANK1NAME          \"Private\"
#define RANK2NAME          \"Specialist\"
#define RANK3NAME          \"Corporal\"
#define RANK4NAME          \"Second Lieutenant\"
#define RANK5NAME          \"First Lieutenant\"
#define RANK6NAME          \"Captain\"
#define RANK7NAME          \"Major\"
#define RANK8NAME          \"Lieutenant Colonel\"
#define RANK9NAME          \"General\"
//====================================================
#define INFO             300
#define RULES             301
#define COMMANDS          302
#define RANKS             303
#define CLASS             304
#define DONOR             305
//====================================================
#define ADMINRANK1          \"Trial Adminstrator\"
#define ADMINRANK2          \"Administrator\"
#define ADMINRANK3          \"Lead Administrator\"
#define ADMINRANK4          \"Master Administrator\"
#define ADMINRANK5          \"Co-Owner\"
#define ADMINRANK6          \"Owner\"
#define ZoneCaptureTime    25
#define Donor1CaptureTime    20
#define Donor2CaptureTime    15
#define Donor3CaptureTime    10
//====================================================
#define PRESSED(%0) \\
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
//====================================================
new gang_a51;        // Area 51
new gang_airport;     // Old airport
new gang_fortcarson; // Little town in desert
new gang_ghosttown;  // Fort Carson
new A51CP; // Area 51
new AIRCP; // Old airport
new DESCP; // Little town in desert
new FOCCP; // Fort Carson
//====================================================
new BigEarZone;
new BigEarArea;
new BigEarCP;
new BigEarColor;
new SnakeZone;
new SnakeArea;
new SnakeCP;
new SnakeColor;
new TeeMotelZone;
new TeeMotelArea;
new TeeMotelCP;
new TeeMotelColor;
new OilZone;
new OilArea;
new OilCP;
new OilColor;
new SeaZone;
new SeaArea;
new SeaCP;
new SeaColor;
new HillZone;
new HillArea;
new HillCP;
new HillColor;
new DamZone;
new DamArea;
new DamCP;
new DamColor;
//====================================================
new RandomMSG[][] =
{
    \"** [bOT] Do you want to be an admin? Apply at our forums www.bfpr.co.cc!\",
    \"** [bOT] Like the server? Then add the server to your favorites :: 62.141.35.14:7805!\",
    \"** [bOT] Are you new here? Type /help or /ask [text] to get help from admins!\",
    \"** [bOT] Need some score for new ranks? Capture zones or kill some PLAYERS!\",
    \"** [bOT] Welcome to Battlefield - Project Reality || Owned & scripted by Flashman!\",
    \"** [bOT] See our super-awesome online donators using command /donors!\",
    \"** [bOT] Register in our forums to get latest information about the server!\",
    \"** [bOT] If you have ANY suggestions, post them in our forums at www.bfpr.co.cc!\"
};
//====================================================
//====================================================
new Text:Textdraw0;            // Black box
new Text:Textdraw1;            // \"Stats\"
new Text:Textdraw2;            // \"Kills\"
new Text:Textdraw3;            // \"Deaths\"
new Text:Textdraw4;            // \"Ratio\"
new Text:Textdraw5;            // \"Points\"
new Text:Textkills[MAX_PLAYERS];  // Kills
new Text:Textdeaths[MAX_PLAYERS]; // Deaths
new Text:Textratio[MAX_PLAYERS];  // Ratio
new Text:Textpoints[MAX_PLAYERS]; // Points
new Text:ForumURL;
//====================================================
new Text:ClassBox;
new Text:ClassNameLine;
new Text:ClassWeapons;
new Text:ClassDescription1;
new Text:ClassDescription2;
new Text:ClassRequiredRank;
new Text:ClassHelpBox;
new Text:ClassClick;
new Text:ClassSpawn;
//====================================================
new Text3D:RankLabel[MAX_PLAYERS];
new Text:RankStars;
//====================================================
//====================================================
new PlayerCount[MAX_PLAYERS];
new PlayerCountTimer[MAX_PLAYERS];
//====================================================
new aDuty[MAX_PLAYERS];
new LastAdminVehicle[MAX_PLAYERS];
new AFK[MAX_PLAYERS];
new TogglePM[MAX_PLAYERS];
new LagShoot[MAX_PLAYERS]             = 1;
new RoundStats[MAX_PLAYERS]          = 1;
new JustJoined[MAX_PLAYERS]          = 1;
new IsPlayerChoosingTeam[MAX_PLAYERS]  = 1;
new IsPlayerChoosingClass[MAX_PLAYERS] = 1;
new ClassChoosingStep[MAX_PLAYERS];
new ClassPositionSet[MAX_PLAYERS];
new HackTest[MAX_PLAYERS]                = 0;
new gTeam[MAX_PLAYERS];
new gClass[MAX_PLAYERS];
new CanHeal[MAX_PLAYERS]             = 1;
new CanCaptureZone[MAX_PLAYERS]        = 1;
//====================================================
new DonorFix[MAX_PLAYERS]             = 1;
new DonorHeal[MAX_PLAYERS]             = 1;
new LastDonorVehicle[MAX_PLAYERS];
//====================================================
enum pInfo
{
pRegistered,
pLogged,
pAdmin,
pWarnings,
pKills,
pDeaths,
pPoints,
pCaptureZone,
pMoney,
pVIP,
pMuted,
pKillingspree
}
new PlayerInfo[MAX_PLAYERS][pInfo];
enum zInfo
{
gAttacked = 0,
gOwner = 0,
}
new GangInfo[][zInfo];
enum rInfo
{
Kills,
Float:Damage,
Zones
}
new RoundInfo[MAX_PLAYERS][rInfo];
//====================================================
main()
{
    print(\"                                                         \");
print(\"  _____           _           _     _____            _ _ _\");
print(\" |  __ \\\\         (_)         | |   |  __ \\\\          | (_) |\");
print(\" | |__) | __ ___  _  ___  ___| |_  | |__) |___  __ _| |_| |_ _   _\");
print(\" |  ___/ \'__/ _ \\\\| |/ _ \\\\/ __| __| |  _  // _ \\\\/ _` | | | __| | | |\");
print(\" | |   | | | (_) | |  __/ (__| |_  | | \\\\ \\\\  __/ (_| | | | |_| |_| |\");
print(\" |_|   |_|  \\\\___/| |\\\\___|\\\\___|\\\\__| |_|  \\\\_\\\\___|\\\\__,_|_|_|\\\\__|\\\\__, |\");
print(\"                _/ |                                          __/ |\");
print(\"               |__/                                          |___/\");
printf(\" VERSION: %s  ||  SCRIPTER: %s  ||  Sharing this script not allowed.\", VERSION, SCRIPTER);
print(\"                                                                    \");
}
//====================================================
public OnGameModeInit()
{
    ShowPlayerMarkers(1);
    EnableStuntBonusForAll(0);
    DisableInteriorEnterExits();
    SetWorldTime(12);
    SetWeather(1);
    SetTimer(\"SendRandomMessage\", 1000*30*7, true);
    // SetTimer(\"BattleShield\", 1000, true); NOT FINISHED, MAY FALSE BAN
    // SetTimer(\"RandomWar\", 1000*60*10, true); // NOT FINISHED
    AddPlayerClass(T_ENGLAND_SKIN,213.8508,1868.0325,13.1406,359.6966,0,0,0,0,0,0); // England
AddPlayerClass(T_RUSSIA_SKIN,-135.3077,1116.7949,20.1966,91.1457,0,0,0,0,0,0); // Russia
AddPlayerClass(T_IRAQ_SKIN,405.1154,2450.2124,16.5000,2.6969,0,0,0,0,0,0); // Iraq
AddPlayerClass(T_MEXICO_SKIN,-377.2719,2242.3125,42.6185,100.8263,0,0,0,0,0,0); // Mexico
    //====================================================
     mysql_connect(mysql_host, mysql_user, mysql_database, mysql_password);
     mysql_query(\"CREATE TABLE IF NOT EXISTS accounts(user VARCHAR(24), password VARCHAR(41), admin INT(20), vip INT(20), warnings INT(20), score INT(20), money INT(20), IP VARCHAR(16), kills INT(20), deaths INT(20), points INT(20) )\");
    if(mysql_ping() == 1)
{
        mysql_debug(1);
printf(\"[MYSQL] Connection with the database: SUCCESS!\");
}
else
{
   printf(\"[MYSQL] Connection with the database: FAIL!\");
}
//====================================================
SetGameModeText(GAMEMODE);
    //====================================================
//====================================================
Textdraw0 = TextDrawCreate(615.000000, 360.000000, \"  \");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 7.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 85);
TextDrawTextSize(Textdraw0, 494.000000, 0.000000);
Textdraw1 = TextDrawCreate(530.000000, 359.000000, \"STATS\");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.360000, 1.400000);
TextDrawColor(Textdraw1, -1);
TextDrawSetShadow(Textdraw1, 1);
Textdraw2 = TextDrawCreate(501.000000, 376.000000, \"Kills\");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 1);
TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
TextDrawColor(Textdraw2, -1);
TextDrawSetShadow(Textdraw2, 1);
Textdraw3 = TextDrawCreate(501.000000, 387.000000, \"Deaths\");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 1);
TextDrawLetterSize(Textdraw3, 0.500000, 1.000000);
TextDrawColor(Textdraw3, -1);
TextDrawSetShadow(Textdraw3, 1);
Textdraw4 = TextDrawCreate(501.000000, 399.000000, \"Ratio\");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 1);
TextDrawLetterSize(Textdraw4, 0.500000, 1.000000);
TextDrawColor(Textdraw4, -1);
TextDrawSetShadow(Textdraw4, 1);
Textdraw5 = TextDrawCreate(501.000000, 410.000000, \"Score\");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 1);
TextDrawLetterSize(Textdraw5, 0.500000, 1.000000);
TextDrawColor(Textdraw5, -1);
TextDrawSetShadow(Textdraw5, 1);
//====================================================
ForumURL = TextDrawCreate(507.000000, 427.000000, \"www.bfpr.co.cc\");
TextDrawBackgroundColor(ForumURL, 255);
TextDrawFont(ForumURL, 2);
TextDrawLetterSize(ForumURL, 0.280000, 1.399999);
TextDrawColor(ForumURL, 3394815);
TextDrawSetOutline(ForumURL, 1);
TextDrawSetProportional(ForumURL, 1);
//====================================================
    ClassBox = TextDrawCreate(468.000000, 360.000000, \"  \");
TextDrawBackgroundColor(ClassBox, 255);
TextDrawFont(ClassBox, 1);
TextDrawLetterSize(ClassBox, -0.330000, -10.100000);
TextDrawColor(ClassBox, -1);
TextDrawSetOutline(ClassBox, 0);
TextDrawSetProportional(ClassBox, 1);
TextDrawSetShadow(ClassBox, 1);
TextDrawUseBox(ClassBox, 1);
TextDrawBoxColor(ClassBox, 85);
TextDrawTextSize(ClassBox, 179.000000, 102.000000);
ClassNameLine = TextDrawCreate(187, 276.000000, \"< %s CLASS >\");
TextDrawBackgroundColor(ClassNameLine, 255);
TextDrawFont(ClassNameLine, 2);
TextDrawLetterSize(ClassNameLine, 0.490000, 1.600000);
TextDrawColor(ClassNameLine, -1);
TextDrawSetOutline(ClassNameLine, 1);
TextDrawSetProportional(ClassNameLine, 1);
ClassWeapons = TextDrawCreate(187.000000, 296.000000, \"Weapons: M4, Rocket Launcher, Deagle\");
TextDrawBackgroundColor(ClassWeapons, 255);
TextDrawFont(ClassWeapons, 1);
TextDrawLetterSize(ClassWeapons, 0.270000, 1.300000);
TextDrawColor(ClassWeapons, -1);
TextDrawSetOutline(ClassWeapons, 1);
TextDrawSetProportional(ClassWeapons, 1);
ClassDescription1 = TextDrawCreate(187.000000, 310.000000, \"Description:\");
TextDrawBackgroundColor(ClassDescription1, 255);
TextDrawFont(ClassDescription1, 1);
TextDrawLetterSize(ClassDescription1, 0.270000, 1.300000);
TextDrawColor(ClassDescription1, -1);
TextDrawSetOutline(ClassDescription1, 1);
TextDrawSetProportional(ClassDescription1, 1);
ClassDescription2 = TextDrawCreate(187.000000, 325.000000, \"Description line 2\");
TextDrawBackgroundColor(ClassDescription2, 255);
TextDrawFont(ClassDescription2, 1);
TextDrawLetterSize(ClassDescription2, 0.270000, 1.300000);
TextDrawColor(ClassDescription2, -1);
TextDrawSetOutline(ClassDescription2, 1);
TextDrawSetProportional(ClassDescription2, 1);
ClassRequiredRank = TextDrawCreate(187.000000, 340.000000, \"Rank required:\");
TextDrawBackgroundColor(ClassRequiredRank, 255);
TextDrawFont(ClassRequiredRank, 1);
TextDrawLetterSize(ClassRequiredRank, 0.27000, 1.300000);
TextDrawColor(ClassRequiredRank, -1);
TextDrawSetOutline(ClassRequiredRank, 1);
TextDrawSetProportional(ClassRequiredRank, 1);
ClassHelpBox = TextDrawCreate(422.000000, 401.000000, \"  \");
TextDrawBackgroundColor(ClassHelpBox, 255);
TextDrawFont(ClassHelpBox, 1);
TextDrawLetterSize(ClassHelpBox, -0.430000, -4.100001);
TextDrawColor(ClassHelpBox, -1);
TextDrawSetOutline(ClassHelpBox, 0);
TextDrawSetProportional(ClassHelpBox, 1);
TextDrawSetShadow(ClassHelpBox, 1);
TextDrawUseBox(ClassHelpBox, 1);
TextDrawBoxColor(ClassHelpBox, 85);
TextDrawTextSize(ClassHelpBox, 226.000000, 102.000000);
ClassClick = TextDrawCreate(243.000000, 368.000000, \"<< LMB choose your class RMB >>\");
TextDrawBackgroundColor(ClassClick, 255);
TextDrawFont(ClassClick, 1);
TextDrawLetterSize(ClassClick, 0.270000, 1.299999);
TextDrawColor(ClassClick, -1);
TextDrawSetOutline(ClassClick, 1);
TextDrawSetProportional(ClassClick, 1);
ClassSpawn = TextDrawCreate(282.000000, 382.000000, \"LSHIFT to spawn\");
TextDrawBackgroundColor(ClassSpawn, 255);
TextDrawFont(ClassSpawn, 1);
TextDrawLetterSize(ClassSpawn, 0.270000, 1.299999);
TextDrawColor(ClassSpawn, -1);
TextDrawSetOutline(ClassSpawn, 1);
TextDrawSetProportional(ClassSpawn, 1);
//====================================================
RankStars = TextDrawCreate(499.000000, 122.000000, \"Your rank\");
TextDrawBackgroundColor(RankStars, 255);
TextDrawFont(RankStars, 2);
TextDrawLetterSize(RankStars, 0.480000, 1.100000);
TextDrawColor(RankStars, -1);
TextDrawSetOutline(RankStars, 1);
TextDrawSetProportional(RankStars, 1);
 
//====================================================
//====================================================
/*   ___________   ___ _____ _____ _____ _____
|  _  | ___ \\ |_  |  ___/  __ \\_   _/  ___|
| | | | |_/ /   | | |__ | /  \\/ | | \\ `--.
| | | | ___ \\   | |  __|| |     | |  `--. \\
\\ \\_/ / |_/ /\\__/ / |___| \\__/\\ | | /\\__/ /
 \\___/\\____/\\____/\\____/ \\____/ \\_/ \\____/
                                        */
   //=====================================================
   
// Area 51 (mapping, vehicles, gangzone)
    gang_a51 = GangZoneCreate(391.089019,2082.039550,96.008270,1798.399902);
AddStaticVehicleEx(447,225.09960938,1883.09960938,17.70000076,0.00000000,-1,-1,90); //Seasparrow
AddStaticVehicleEx(447,203.00000000,1883.09997559,17.70000076,0.00000000,-1,-1,90); //Seasparrow
AddStaticVehicleEx(476,280.60000610,1955.80004883,18.79999924,270.00000000,-1,-1,90); //Rustler
AddStaticVehicleEx(476,280.60000610,1989.59997559,18.79999924,270.00000000,-1,-1,90); //Rustler
AddStaticVehicleEx(520,280.60000610,2023.69995117,18.29999924,270.00000000,-1,-1,90); //Hydra
AddStaticVehicleEx(476,312.00000000,2053.79980469,18.79999924,177.99499512,-1,-1,90); //Rustler
AddStaticVehicleEx(470,172.09960938,1932.09960938,18.39999962,180.00000000,36,1,90); //Patriot
AddStaticVehicleEx(470,179.80000305,1932.09997559,17.89999962,180.00000000,36,1,90); //Patriot
AddStaticVehicleEx(425,213.30000305,1970.00000000,19.10000038,90.00000000,-1,-1,90); //Hunter
AddStaticVehicleEx(599,284.50000000,1937.09997559,18.00000000,270.00000000,-1,1,90); //Police Ranger
AddStaticVehicleEx(487,325.09960938,1905.39941406,17.79999924,0.00000000,-1,-1,90); //Maverick
AddStaticVehicleEx(487,325.50000000,1865.19995117,17.79999924,0.00000000,-1,-1,90); //Maverick
AddStaticVehicleEx(500,293.00000000,1904.80004883,17.89999962,0.00000000,-1,-1,90); //Mesa
AddStaticVehicleEx(521,220.50000000,1920.79980469,17.29999924,180.00000000,-1,-1,90); //FCR-900
AddStaticVehicleEx(521,202.09960938,1920.89941406,17.30143547,177.74780273,-1,-1,90); //FCR-900
AddStaticVehicleEx(432,122.00000000,1900.59997559,18.70000076,0.00000000,-1,-1,90); //Rhino
AddStaticVehicleEx(470,290.89999390,1831.19995117,17.79999924,0.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(497,183.00000000,1834.50000000,23.50000000,270.00000000,-1,-1,90); //Police Maverick
AddStaticVehicleEx(470,154.60000610,1932.09960938,18.89999962,180.00000000,36,1,90); //Patriot
AddStaticVehicleEx(543,207.50000000,1862.80004883,13.10000038,0.00000000,-1,-1,90); //Sadler
AddStaticVehicleEx(475,203.00000000,1862.80004883,13.00000000,0.00000000,-1,-1,90); //Sabre
AddStaticVehicleEx(482,205.39999390,1872.80004883,13.19999981,269.25000000,-1,-1,90); //Burrito
AddStaticVehicleEx(427,133.69999695,1855.80004883,17.89999962,138.00000000,-1,-1,90); //Enforcer
AddStaticVehicleEx(427,133.80000305,1841.80004883,17.89999962,135.99926758,-1,-1,90); //Enforcer
CreateDynamicObject(2929,233.50000000,1822.80004883,8.19999981,0.00000000,0.00000000,90.50000000); //object(a51_blastdoorl) (1)
CreateDynamicObject(3399,278.50000000,1913.69995117,19.10000038,0.00000000,0.00000000,329.49645996); //object(cxrf_a51_stairs) (2)
CreateDynamicObject(3399,279.50000000,1915.40002441,19.10000038,0.00000000,0.00000000,329.49645996); //object(cxrf_a51_stairs) (3)
CreateDynamicObject(3399,284.29998779,1842.00000000,19.10000038,0.00000000,0.00000000,269.49462891); //object(cxrf_a51_stairs) (4)
CreateDynamicObject(3399,286.29998779,1842.00000000,19.10000038,0.00000000,0.00000000,269.49462891); //object(cxrf_a51_stairs) (5)
CreateDynamicObject(4726,213.30000305,1966.80004883,16.00000000,0.00000000,0.00000000,0.00000000); //object(libtwrhelipd_lan2) (1)
CreateDynamicObject(3279,194.10000610,2037.50000000,16.60000038,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1)
CreateDynamicObject(3279,382.00000000,2074.50000000,16.60000038,0.00000000,0.00000000,270.00000000); //object(a51_spottower) (2)
CreateDynamicObject(3279,383.50000000,1894.69995117,16.60000038,0.00000000,0.00000000,270.50000000); //object(a51_spottower) (3)
CreateDynamicObject(2985,190.89999390,1925.50000000,22.20000076,0.00000000,0.00000000,220.00000000); //object(minigun_base) (1)
CreateDynamicObject(2985,222.80000305,1925.50000000,22.20000076,0.00000000,0.00000000,315.00000000); //object(minigun_base) (2)
CreateDynamicObject(2985,207.09960938,1925.50000000,22.20000076,0.00000000,0.00000000,270.00000000); //object(minigun_base) (3)
CreateDynamicObject(3928,325.50000000,1866.69995117,16.70000076,0.00000000,0.00000000,270.00000000); //object(helipad) (2)
CreateDynamicObject(3928,325.10000610,1906.90002441,16.70000076,0.00000000,0.00000000,90.00000000); //object(helipad) (3)
CreateDynamicObject(3055,266.39999390,1875.40002441,9.80000019,0.00000000,0.00000000,0.00000000); //object(kmb_shutter) (1)
CreateDynamicObject(3055,270.10000610,1884.09997559,16.29999924,90.00000000,0.00000000,90.00000000); //object(kmb_shutter) (2)
CreateDynamicObject(3055,266.70001221,1884.09997559,16.29999924,90.00000000,0.00000000,90.00000000); //object(kmb_shutter) (3)
CreateDynamicObject(3052,191.50000000,1926.00000000,22.39999962,0.00000000,0.00000000,310.00000000); //object(db_ammo) (1)
CreateDynamicObject(3052,222.30000305,1926.09997559,22.39999962,0.00000000,0.00000000,42.00000000); //object(db_ammo) (2)
CreateDynamicObject(3052,207.10000610,1926.19995117,22.39999962,0.00000000,0.00000000,0.00000000); //object(db_ammo) (3)
CreateDynamicObject(3399,188.10000610,1932.50000000,19.10000038,0.00000000,0.00000000,91.49645996); //object(cxrf_a51_stairs) (2)
CreateDynamicObject(10397,206.30000305,1883.09997559,21.50000000,0.00000000,0.00000000,1.99951172); //object(hc_stadlight1_sfs) (1)
CreateDynamicObject(3386,226.00000000,1862.50000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(a51_srack2_) (1)
CreateDynamicObject(3387,226.00000000,1861.50000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(a51_srack3_) (1)
CreateDynamicObject(3388,226.00000000,1860.50000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(a51_srack4_) (1)
CreateDynamicObject(3389,225.89999390,1857.90002441,12.10000038,0.00000000,0.00000000,0.00000000); //object(a51_srack1_) (1)
CreateDynamicObject(3390,223.89999390,1854.69995117,11.80000019,0.00000000,0.00000000,307.50000000); //object(a51_sdsk_ncol1_) (1)
CreateDynamicObject(3391,219.60000610,1853.50000000,11.80000019,0.00000000,0.00000000,270.50000000); //object(a51_sdsk_ncol2_) (1)
CreateDynamicObject(3788,216.10000610,1856.00000000,12.39999962,0.00000000,0.00000000,36.00000000); //object(missile_03_sfxr) (1)
CreateDynamicObject(3790,216.19999695,1856.09997559,12.60000038,0.00000000,0.00000000,215.25000000); //object(missile_01_sfxr) (1)
CreateDynamicObject(3794,213.80000305,1853.59997559,12.39999962,0.00000000,5.00000000,320.00000000); //object(missile_07_sfxr) (1)
CreateDynamicObject(3795,212.10000610,1856.80004883,12.39999962,0.00000000,0.00000000,0.00000000); //object(missile_04_sfxr) (1)
CreateDynamicObject(2977,211.39999390,1860.00000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(kmilitary_crate) (1)
CreateDynamicObject(2977,211.39999390,1861.50000000,12.10000038,0.00000000,0.00000000,0.00000000); //object(kmilitary_crate) (2)
CreateDynamicObject(2977,211.39999390,1863.09997559,12.10000038,0.00000000,0.00000000,0.00000000); //object(kmilitary_crate) (3)
CreateDynamicObject(2977,211.39999390,1862.30004883,13.10000038,0.00000000,0.00000000,90.00000000); //object(kmilitary_crate) (4)
CreateDynamicObject(2977,211.39999390,1860.80004883,13.10000038,0.00000000,0.00000000,90.00000000); //object(kmilitary_crate) (5)
CreateDynamicObject(3577,222.50000000,1869.19995117,12.89999962,0.00000000,0.00000000,90.00000000); //object(dockcrates1_la) (1)
CreateDynamicObject(7040,258.70001221,1835.50000000,20.10000038,0.00000000,0.00000000,0.00000000); //object(vgnplcehldbox01) (1)
CreateDynamicObject(12912,171.10000610,1880.30004883,29.20000076,0.00000000,0.00000000,0.00000000); //object(sw_silo04) (1)
 
// Old Airport in the desert (mapping, vehicles, gangzone)
gang_airport = GangZoneCreate(264, 2418, 480, 2568);
AddStaticVehicleEx(432,415.5202,2455.9368,16.5142,0.6440,43,0,90);//Rhino
AddStaticVehicleEx(432,393.6799,2455.9368,16.5141,2.2203,43,0,90);//Rhino
AddStaticVehicleEx(425,365.29980469,2536.89941406,17.50000000,179.99975586,-1,-1,90); //Hunter
AddStaticVehicleEx(476,290.29998779,2541.00000000,18.00000000,180.00000000,-1,-1,90); //Rustler
AddStaticVehicleEx(476,324.39999390,2541.00000000,18.00000000,180.00000000,-1,-1,90); //Rustler
AddStaticVehicleEx(520,266.60000610,2541.00000000,17.70000076,180.00000000,-1,-1,90); //Hydra
AddStaticVehicleEx(487,403.10000610,2466.60009766,29.79999924,0.00000000,-1,-1,90); //Maverick
AddStaticVehicleEx(447,403.10000610,2446.10009766,29.60000038,0.00000000,-1,-1,90); //Seasparrow
AddStaticVehicleEx(470,311.20001221,2535.39990234,16.89999962,180.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(470,341.29998779,2541.00000000,16.89999962,180.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(433,389.50000000,2541.00000000,16.89999962,180.00000000,-1,-1,90); //Barracks
AddStaticVehicleEx(500,426.79998779,2478.60009766,16.70000076,90.00000000,-1,-1,90); //Mesa
AddStaticVehicleEx(470,432.50000000,2491.00000000,16.60000038,90.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(470,432.50000000,2502.19995117,16.60000038,90.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(470,432.50000000,2514.19995117,16.60000038,90.00000000,-1,-1,90); //Patriot
CreateDynamicObject(987,263.10000610,2556.60009766,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (2)
CreateDynamicObject(987,275.10000610,2556.60009766,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (3)
CreateDynamicObject(987,287.10000610,2556.60009766,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (4)
CreateDynamicObject(987,299.20001221,2556.50000000,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (5)
CreateDynamicObject(987,311.20001221,2556.50000000,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (6)
CreateDynamicObject(987,323.20001221,2556.50000000,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (7)
CreateDynamicObject(987,335.20001221,2556.50000000,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (8)
CreateDynamicObject(987,347.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (9)
CreateDynamicObject(987,359.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (10)
CreateDynamicObject(987,371.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (11)
CreateDynamicObject(987,383.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (12)
CreateDynamicObject(987,395.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (13)
CreateDynamicObject(987,407.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (14)
CreateDynamicObject(987,419.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (15)
CreateDynamicObject(987,431.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (16)
CreateDynamicObject(987,443.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (18)
CreateDynamicObject(987,455.19921875,2556.50000000,15.39999962,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (19)
CreateDynamicObject(12805,449.39999390,2495.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(ce_bigshed1) (2)
CreateDynamicObject(3055,433.60000610,2451.00000000,17.60000038,0.00000000,0.00000000,0.00000000); //object(kmb_shutter) (1)
CreateDynamicObject(3055,433.50000000,2451.00000000,21.29999924,0.00000000,0.00000000,0.25000000); //object(kmb_shutter) (2)
CreateDynamicObject(987,366.20001221,2433.89990234,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (21)
CreateDynamicObject(987,354.19921875,2433.89941406,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (22)
CreateDynamicObject(987,342.19921875,2433.89941406,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (23)
CreateDynamicObject(987,330.19921875,2433.89941406,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (24)
CreateDynamicObject(987,318.19921875,2433.89941406,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (25)
CreateDynamicObject(987,306.19921875,2434.00000000,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (26)
CreateDynamicObject(987,294.19921875,2434.00000000,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (27)
CreateDynamicObject(987,250.89999390,2544.39990234,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (29)
CreateDynamicObject(3749,250.89999390,2498.69995117,20.00000000,0.00000000,0.00000000,90.00000000); //object(clubgate01_lax) (2)
CreateDynamicObject(987,251.00000000,2488.80004883,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (31)
CreateDynamicObject(987,467.20001221,2556.50000000,15.39999962,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (19)
CreateDynamicObject(987,250.89941406,2556.39941406,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (29)
CreateDynamicObject(987,250.89999390,2532.39990234,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (29)
CreateDynamicObject(987,250.89999390,2520.39990234,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (29)
CreateDynamicObject(987,251.00000000,2476.80004883,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (31)
CreateDynamicObject(987,251.00000000,2464.80004883,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (31)
CreateDynamicObject(987,251.00000000,2452.80004883,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (31)
CreateDynamicObject(987,251.00000000,2443.80004883,15.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (31)
CreateDynamicObject(3749,276.09960938,2434.09960938,21.29999924,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (1)
CreateDynamicObject(3749,260.29998779,2434.10009766,21.29999924,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (1)
CreateDynamicObject(987,282.20001221,2434.00000000,15.39999962,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (27)
CreateDynamicObject(14877,376.70001221,2471.19995117,17.60000038,0.00000000,0.00000000,270.00000000); //object(michelle-stairs) (1)
CreateDynamicObject(14877,376.70001221,2461.30004883,21.50000000,0.00000000,0.00000000,270.00000000); //object(michelle-stairs) (2)
CreateDynamicObject(3279,308.50000000,2549.50000000,15.80000019,0.00000000,0.00000000,270.00000000); //object(a51_spottower) (1)
CreateDynamicObject(3457,332.39999390,2455.30004883,18.60000038,0.00000000,0.00000000,0.00000000); //object(vgnhseblk2) (1)
CreateDynamicObject(3279,296.20001221,2437.30004883,15.50000000,0.00000000,0.00000000,179.99450684); //object(a51_spottower) (2)
CreateDynamicObject(8537,292.89999390,2473.30004883,22.70000076,0.00000000,0.00000000,0.00000000); //object(tikisign02_lvs) (1)
CreateDynamicObject(1443,374.50000000,2475.39990234,16.10000038,0.00000000,0.00000000,0.00000000); //object(dyn_street_sign_1) (1)
CreateDynamicObject(2580,377.89999390,2468.10009766,21.79999924,0.00000000,0.00000000,266.00000000); //object(sex_1) (1)
CreateDynamicObject(2583,376.39999390,2456.60009766,24.50000000,0.00000000,0.00000000,180.00000000); //object(cj_sex_video_2) (1)
CreateDynamicObject(2579,377.70001221,2456.60009766,24.50000000,0.00000000,0.00000000,180.00000000); //object(cj_sex_shelf_2) (1)
CreateDynamicObject(2580,378.10000610,2473.89990234,19.29999924,0.00000000,0.00000000,272.00000000); //object(sex_1) (2)
CreateDynamicObject(16781,363.20001221,2482.19995117,15.50000000,0.00000000,0.00000000,180.00000000); //object(cn2_ringking) (1)
CreateDynamicObject(3249,260.10000610,2514.00000000,15.60000038,0.00000000,0.00000000,90.00000000); //object(des_westsaloon_) (1)
CreateDynamicObject(1308,251.30000305,2556.60009766,15.60000038,0.00000000,0.00000000,0.00000000); //object(telgrphpole02) (1)
 
// Fort Carson (vehicles, gangzone)
gang_fortcarson = GangZoneCreate(-282,1086,-48,1230);
AddStaticVehicleEx(425,-83.19999695,1124.40002441,20.60000038,0.00000000,-1,-1,90); //Hunter
AddStaticVehicleEx(470,-140.89999390,1085.00000000,19.89999962,0.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(470,-158.50000000,1085.00000000,19.89999962,0.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(520,-220.10000610,1216.50000000,20.29999924,0.00000000,-1,-1,90); //Hydra
AddStaticVehicleEx(447,-235.39941406,1085.00000000,19.79999924,0.00000000,-1,-1,90); //Seasparrow
AddStaticVehicleEx(447,-248.50000000,1085.00000000,19.79999924,0.00000000,-1,-1,90); //Seasparrow
AddStaticVehicleEx(432,-146.10000610,1179.50000000,18.70000076,0.00000000,-1,-1,90); //Rhino
AddStaticVehicleEx(433,-160.19999695,1131.90002441,20.10000038,180.00000000,-1,-1,90); //Barracks
AddStaticVehicleEx(490,-153.50000000,1217.09997559,20.10000038,0.00000000,-1,-1,90); //FBI Rancher
AddStaticVehicleEx(487,-46.59999847,1171.40002441,19.79999924,90.00000000,-1,-1,90); //Maverick
AddStaticVehicleEx(470,-77.19999695,1222.09997559,19.89999962,0.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(601,-30.20000076,1084.19995117,19.70000076,0.00000000,-1,-1,90); //S.W.A.T. Van
AddStaticVehicleEx(522,-177.30000305,1010.59997559,19.39999962,0.00000000,-1,-1,90); //NRG-500
AddStaticVehicleEx(521,-169.89999390,1010.59997559,19.39999962,0.00000000,-1,-1,90); //FCR-900
AddStaticVehicleEx(476,-349.29998779,1198.50000000,20.89999962,270.00000000,-1,-1,90); //Rustler
AddStaticVehicleEx(470,-46.20000076,1042.59997559,19.79999924,0.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(490,-222.00000000,1069.59997559,20.10000038,0.00000000,-1,-1,90); //FBI Rancher
AddStaticVehicleEx(500,-253.69999695,1183.30004883,20.00000000,90.00000000,-1,-1,90); //Mesa
 
// Ghost town (vehicles, gangzone)
gang_ghosttown = GangZoneCreate(-474,2196,-360,2286);
AddStaticVehicleEx(425,-431.29998779,2205.50000000,43.29999924,2.00000000,-1,-1,90); //Hunter
AddStaticVehicleEx(520,-411.29998779,2205.50000000,43.29999924,0.00000000,-1,-1,90); //Hydra
AddStaticVehicleEx(470,-377.20001221,2251.39990234,42.59999847,106.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(500,-392.50000000,2248.80004883,42.59999847,10.00000000,-1,-1,90); //Mesa
AddStaticVehicleEx(432,-361.29998779,2199.69995117,42.59999847,100.00000000,-1,-1,90); //Rhino
AddStaticVehicleEx(447,-431.50000000,2228.19995117,42.50000000,0.00000000,-1,-1,90); //Seasparrow
AddStaticVehicleEx(522,-420.39999390,2225.89990234,42.00000000,0.00000000,-1,-1,90); //NRG-500
AddStaticVehicleEx(470,-386.70001221,2198.80004883,42.50000000,280.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(433,-355.00000000,2230.89990234,43.09999847,104.00000000,-1,-1,90); //Barracks
AddStaticVehicleEx(522,-402.10000610,2259.80004883,42.00000000,0.00000000,-1,-1,90); //NRG-500
AddStaticVehicleEx(528,-364.10000610,2262.80004883,42.70000076,4.00000000,-1,-1,90); //FBI Truck
AddStaticVehicleEx(470,-409.00000000,2226.60009766,42.50000000,0.00000000,-1,-1,90); //Patriot
AddStaticVehicleEx(468,-425.89999390,2242.69995117,42.20000076,0.00000000,-1,-1,90); //Sanchez
// The Mighty Dam, some Dodos near the sea level
AddStaticVehicleEx(593,-573.59997559,1981.00000000,23.50000000,118.00000000,-1,-1,90); //Dodo
AddStaticVehicleEx(593,-584.20001221,1988.80004883,23.50000000,165.99554443,-1,-1,90); //Dodo
//====================================================
// TEAM CHECKPOINTS
A51CP = CreateDynamicCP(183.7988,1927.1082,17.8443, 3.0, -1, -1, -1, 100.0);
AIRCP = CreateDynamicCP(407.6558,2527.97850,16.5684, 3.0, -1, -1, -1, 100.0);
DESCP = CreateDynamicCP(-413.7866,2230.3303,42.4258, 3.0, -1, -1, -1, 100.0);
FOCCP = CreateDynamicCP(-148.4048,1136.2720,19.7422, 3.0, -1, -1, -1, 100.0);
//====================================================
// CAPTURABLE CHECKPOINTS && ZONES && AREAS
BigEarZone = GangZoneCreate(-366, 1512, -270, 1578);
BigEarArea = CreateDynamicRectangle(-366, 1512, -270, 1578, -1, -1, -1);
BigEarCP = CreateDynamicCP(-308.9923,1537.8146,75.5625, 3.0, -1, -1, -1, 100.0);
BigEarColor = C_GANG_WHITE;
SnakeZone = GangZoneCreate(-66, 2322, 6, 2394);
SnakeArea = CreateDynamicRectangle(-66, 2322, 6, 2394, -1, -1, -1);
SnakeCP = CreateDynamicCP(-32.3534,2340.9919,24.1406, 3.0, -1, -1, -1, 100.0);
SnakeColor = C_GANG_WHITE;
TeeMotelZone = GangZoneCreate(-906, 2724, -810, 2778);
TeeMotelArea = CreateDynamicRectangle(-906, 2724, -810, 2778, -1, -1, -1);
TeeMotelCP = CreateDynamicCP(-847.6240,2743.1699,45.8315, 3.0, -1, -1, -1, 100.0);
TeeMotelColor = C_GANG_WHITE;
OilZone = GangZoneCreate(90, 1332, 288, 1494);
OilArea = CreateDynamicRectangle(90, 1332, 288, 1494, -1, -1, -1);
OilCP = CreateDynamicCP(254.6765,1411.3141,10.7075, 3.0, -1, -1, -1, 100.0);
OilColor = C_GANG_WHITE;
SeaZone = GangZoneCreate(228, 2892, 300, 2958);
SeaArea = CreateDynamicRectangle(228, 2892, 300, 2958, -1, -1, -1);
SeaCP = CreateDynamicCP(263.2417,2896.1741,10.4772, 3.0, -1, -1, -1, 100.0);
SeaColor = C_GANG_WHITE;
HillZone = GangZoneCreate(-846, 2364, -756, 2460);
HillArea = CreateDynamicRectangle(-846, 2364, -756, 2460, -1, -1, -1);
HillCP = CreateDynamicCP(-772.5001,2423.8455,157.0877, 3.0, -1, -1, -1, 100.0);
HillColor = C_GANG_WHITE;
DamZone = GangZoneCreate(-912, 1980, -540, 2100);
DamArea = CreateDynamicRectangle(-912, 1980, -540, 2100, -1, -1, -1);
DamCP = CreateDynamicCP(-895.0860,2002.6703,60.9141, 3.0, -1, -1, -1, 100.0);
DamColor = C_GANG_WHITE;
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
IsPlayerChoosingTeam[playerid] = 1;
    SetPlayerPos(playerid, 219.4820,1822.7864,7.5271);
SetPlayerCameraPos(playerid, 225.7349,1822.9067, 7.521);
SetPlayerFacingAngle( playerid, 270);
SetPlayerCameraLookAt(playerid, 219.4820,1822.7864,7.5271);
switch (classid)
{
case 0:
{
   gTeam[playerid] = T_ENGLAND;
   SetPlayerColor(playerid, C_DGREEN);
   GameTextForPlayer(playerid, \"~g~England\", 1000, 4);
   CreateExplosion(216.5553,1822.7733,7.4256, 11, 1.0);
    }
    case 1:
{
   gTeam[playerid] = T_RUSSIA;
   SetPlayerColor(playerid, C_RED);
   GameTextForPlayer(playerid, \"~r~Russia\", 1000, 4);
   CreateExplosion(216.5553,1822.7733,7.4256, 11, 1.0);
    }
    case 2:
{
   gTeam[playerid] = T_IRAQ;
   SetPlayerColor(playerid, C_PURPLE);
   GameTextForPlayer(playerid, \"~p~Iraq\", 1000, 4);
   CreateExplosion(216.5553,1822.7733,7.4256, 11, 1.0);
}
    case 3:
{
   gTeam[playerid] = T_MEXICO;
   SetPlayerColor(playerid, C_YELLOW);
   GameTextForPlayer(playerid, \"~y~Mexico\", 1000, 4);
   CreateExplosion(216.5553,1822.7733,7.4256, 11, 1.0);
    }
}
     return 1;
}
public OnPlayerConnect(playerid)
{
new string[128];
format(string, sizeof(string), \"** {99FF00}[JOIN]{FFFFFF} %s has joined %s.\", Name(playerid), SERVERNAME);
SendClientMessageToAll(C_WHITE, string);
//====================================================
    PlayerInfo[playerid][pRegistered] = 0;
PlayerInfo[playerid][pLogged] = 0;
PlayerInfo[playerid][pAdmin] = 0;
PlayerInfo[playerid][pWarnings] = 0;
PlayerInfo[playerid][pKills] = 0;
PlayerInfo[playerid][pDeaths] = 0;
PlayerInfo[playerid][pPoints] = 0;
PlayerInfo[playerid][pCaptureZone] = 0;
PlayerInfo[playerid][pMoney] = 0;
PlayerInfo[playerid][pVIP] = 0;
PlayerInfo[playerid][pMuted] = 0;
PlayerInfo[playerid][pKillingspree] = 0;
aDuty[playerid] = 0;
AFK[playerid] = 0;
LagShoot[playerid] = 1;
JustJoined[playerid] = 1;
RoundStats[playerid] = 1;
IsPlayerChoosingTeam[playerid] = 1;
IsPlayerChoosingClass[playerid] = 1;
ClassChoosingStep[playerid] = 0;
ClassPositionSet[playerid] = 0;
HackTest[playerid] = 0;
CanCaptureZone[playerid] = 1;
    TogglePM[playerid] = 1;
CanHeal[playerid] = 1;
DonorFix[playerid] = 1;
    //====================================================
format(string, sizeof(string), \"SELECT IP FROM `accounts` WHERE user = \'%s\' LIMIT 1\", Name(playerid));
mysql_query(string);
mysql_store_result();
new rows = mysql_num_rows();
if(rows == 0)
{
format(string, sizeof(string), \"{FFFFFF}Hello {00AAFF}%s{FFFFFF}! This username isn\'t registered.\\n\\
Please type your new password here:\", Name(playerid));
ShowPlayerDialog(playerid, D_REGISTER, DIALOG_STYLE_PASSWORD, \"Register\", string, \"Register\", \"Kick\");
}
else if(rows == 1)
{
    format(string, sizeof(string), \"{FFFFFF}Hello {00AAFF}%s{FFFFFF}! This username is registered.\\n\\
Please type your password here:\", Name(playerid));
    ShowPlayerDialog(playerid, D_LOGIN, DIALOG_STYLE_PASSWORD, \"Login\", string, \"Login\", \"Kick\");
}
mysql_free_result();
//====================================================
GangZoneShowForPlayer(playerid, gang_a51, C_GANG_GREEN );
GangZoneShowForPlayer(playerid, gang_airport, C_GANG_PURPLE);
GangZoneShowForPlayer(playerid, gang_fortcarson, C_GANG_RED);
GangZoneShowForPlayer(playerid, gang_ghosttown, C_GANG_YELLOW);
GangZoneShowForPlayer(playerid, BigEarZone, BigEarColor);
    GangZoneShowForPlayer(playerid, SnakeZone, SnakeColor);
    GangZoneShowForPlayer(playerid, TeeMotelZone, TeeMotelColor);
    GangZoneShowForPlayer(playerid, OilZone, OilColor);
    GangZoneShowForPlayer(playerid, SeaZone, SeaColor);
    GangZoneShowForPlayer(playerid, HillZone, HillColor);
    GangZoneShowForPlayer(playerid, DamZone, DamColor);
    //====================================================
Textkills[playerid] = TextDrawCreate(576.000000, 376.000000, \"0\");
TextDrawBackgroundColor(Textkills[playerid], 255);
TextDrawFont(Textkills[playerid], 1);
TextDrawLetterSize(Textkills[playerid], 0.410000, 1.100000);
TextDrawColor(Textkills[playerid], 369033386);
TextDrawSetShadow(Textkills[playerid], 1);
Textdeaths[playerid] = TextDrawCreate(576.000000, 388.000000, \"0\");
TextDrawBackgroundColor(Textdeaths[playerid], 255);
TextDrawFont(Textdeaths[playerid], 1);
TextDrawLetterSize(Textdeaths[playerid], 0.410000, 1.100000);
TextDrawColor(Textdeaths[playerid], -16777046);
TextDrawSetShadow(Textdeaths[playerid], 1);
Textratio[playerid] = TextDrawCreate(576.000000, 400.000000, \"0\");
TextDrawBackgroundColor(Textratio[playerid], 255);
TextDrawFont(Textratio[playerid], 1);
TextDrawLetterSize(Textratio[playerid], 0.410000, 1.100000);
TextDrawColor(Textratio[playerid], -673310977);
TextDrawSetShadow(Textratio[playerid], 1);
Textpoints[playerid] = TextDrawCreate(576.000000, 412.000000, \"0\");
TextDrawBackgroundColor(Textpoints[playerid], 255);
TextDrawFont(Textpoints[playerid], 1);
TextDrawLetterSize(Textpoints[playerid], 0.410000, 1.100000);
TextDrawColor(Textpoints[playerid], -1347440726);
TextDrawSetShadow(Textpoints[playerid], 1);
// Old Airport in the desert (removes planes and some objects)
RemoveBuildingForPlayer(playerid, 3368, 323.0078, 2411.3828, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3369, 349.8750, 2438.2500, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3369, 269.2656, 2411.3828, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3369, 242.3984, 2438.2500, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3367, 296.1406, 2438.2500, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3269, 242.3984, 2438.2500, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3269, 269.2656, 2411.3828, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3271, 296.1406, 2438.2500, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 3270, 323.0078, 2411.3828, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 16101, 321.6719, 2463.4922, 15.4766, 0.25);
RemoveBuildingForPlayer(playerid, 16368, 321.6719, 2463.4922, 25.6641, 0.25);
RemoveBuildingForPlayer(playerid, 3269, 349.8750, 2438.2500, 15.4766, 0.25);
// Gets rid of all the vending machines (needed for anti-health hack to work)
RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);
RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 956, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1775, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1977, 0.0, 0.0, 0.0, 6000.0);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
    new string[64];
    switch(reason)
    {
        case 0: format(string, sizeof string, \"%s has left the server. (Timed out)\", Name(playerid));
        case 1: format(string, sizeof string, \"%s has left the server. (Leaving)\", Name(playerid));
        case 2: format(string, sizeof string, \"%s has left the server. (Kicked/Banned)\", Name(playerid));
    }
    SendClientMessageToAll(C_GREY, string);
if(PlayerInfo[playerid][pLogged] == 1)
{
SaveStats(playerid);
PlayerInfo[playerid][pLogged] = 0;
//=====================================================
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
//=====================================================
TextDrawDestroy(Textkills[playerid]);
TextDrawDestroy(Textdeaths[playerid]);
TextDrawDestroy(Textpoints[playerid]);
TextDrawDestroy(Textratio[playerid]);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(IsPlayerChoosingClass[playerid] == 0)
{
    SetPlayerHealth(playerid, 99);
    GiveClassWeapons(playerid);
IsPlayerChoosingTeam[playerid] = 0;
if(JustJoined[playerid] == 0)
{
    ShowRoundStats(playerid);
}
if(JustJoined[playerid] == 1)
{
    JustJoined[playerid] = 0;
}
SetTimerEx(\"Spawned\", 6000, false, \"i\", playerid);
UpdatePlayerTeam(playerid);
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, ForumURL);
TextDrawShowForPlayer(playerid, Textkills[playerid]);
TextDrawShowForPlayer(playerid, Textdeaths[playerid]);
TextDrawShowForPlayer(playerid, Textratio[playerid]);
TextDrawShowForPlayer(playerid, Textpoints[playerid]);
        TextDrawShowForPlayer(playerid, RankStars);
UpdateStatsTextdraw(playerid);
//====================================================
new text[128];
SendClientMessage(playerid, C_DGREEN, \"\");
format(text, sizeof(text), \"Your rank is %s (%d) and you belong to team %s!\", RankName(playerid), Rank(playerid), PlayerTeamName(playerid));
SendClientMessage(playerid, C_WHITE, text);
if(LagShoot[playerid] == 1) format(text, sizeof text, \"Your \"COLOR_DGREEN\"Anti Lag Shoot System\"COLOR_WHITE\" is currently \"COLOR_GREEN\"ENABLED\"COLOR_WHITE\"!\");
else format(text, sizeof text, \"Your \"COLOR_DGREEN\"Anti Lag Shoot System\"COLOR_WHITE\" is currently \"COLOR_RED\"DISABLED\"COLOR_WHITE\"!\");
SendClientMessage(playerid, C_WHITE, text);
SendClientMessage(playerid, C_DGREEN, \"\");
SetPlayerWantedLevel(playerid, Rank(playerid));
//====================================================
SendClientMessage(playerid, C_RED, \"Anti-SK: You are protected for 5 seconds.\");
{
   SetPlayerHealth(playerid, 99999);
    SetTimerEx(\"Spawnkill\", 1000*5, false, \"i\", playerid);
}
    //====================================================
    if(PlayerInfo[playerid][pVIP] > 0)
    {
       new Float:armour, level;
   GetPlayerArmour(playerid, armour);
        level = PlayerInfo[playerid][pVIP];
        switch(level)
        {
            case 1:
            {
                SetPlayerArmour(playerid, 50.0);
                SendClientMessage(playerid, C_GREY, \"** VIP armour added!\");
      }
      case 2:
      {
          SetPlayerArmour(playerid, 99);
          SendClientMessage(playerid, C_GREY, \"** VIP armour added!\");
      }
      case 3:
      {
          SetPlayerArmour(playerid, 99);
          SendClientMessage(playerid, C_GREY, \"** VIP armour added!\");
      }
   }
}
SetRank3DText(playerid);
}
else
{
TogglePlayerControllable(playerid, 0);
    SetPlayerClass(playerid);
}
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
    HackTest[playerid] = 0;
// == VICTIM ==
new Float:XYZ[3], deathtext[64];
GetPlayerPos(playerid, XYZ[0], XYZ[1], XYZ[2]);
GameTextForPlayer(playerid, \"~r~ You got owned!\", 3000, 3);
PlayerInfo[playerid][pDeaths] ++;
PlayerInfo[playerid][pKillingspree] = 0;
DonorHeal[playerid] = 1;
UpdateStatsTextdraw(playerid);
TextDrawHideForPlayer(playerid, RankStars);
new rand = random(1000-500)+500;
format(deathtext, sizeof(deathtext), \"You died! Lost {FFFFFF}-$%d{FF0000} because of death.\", rand);
SendClientMessage(playerid, C_RED, deathtext);
GivePlayerMoney(playerid, -rand);
SendDeathMessage(killerid, playerid, reason);
if(killerid != INVALID_PLAYER_ID)
{
    TogglePlayerSpectating(playerid, 1);
    if(IsPlayerInAnyVehicle(killerid))
    {
        new vehicleid = GetPlayerVehicleID(killerid);
        PlayerSpectateVehicle(playerid, vehicleid);
}
else
{
       PlayerSpectatePlayer(playerid, killerid);
}
    SetTimerEx(\"DeathCameraStop\", 1000*6, false, \"i\", playerid);
}
    //====================================================
// == KILLER ==
    if(killerid != INVALID_PLAYER_ID)
    {
        SendClientMessage(killerid, C_VIOLET, \"You killed a player. You earned $1500 and +3 score!\");
        GameTextForPlayer(killerid, \"~r~An enemy killed\\n~g~+3 score and $1500\", 3000, 3);
SetPlayerScore(killerid, GetPlayerScore(killerid) +3);
GivePlayerMoney(killerid, 1500);
RoundInfo[killerid][Kills] ++;
PlayerInfo[killerid][pKills] ++;
PlayerInfo[killerid][pKillingspree] ++;
UpdateStatsTextdraw(killerid);
}
// == KILLING SPREE ==
new text[128];
if(PlayerInfo[killerid][pKillingspree] == 3)
{
    format(text, sizeof(text), \"** %s is starting to OWN PEOPLE (3 killing spree)!\", Name(killerid));
SendClientMessageToAll(C_CYAN, text);
        SendClientMessage(killerid, C_LBLUE, \"You get $1500 and +2 score! (killing spree bonus)\");
        GivePlay
« Utoljára szerkesztve: 2012. december 02. - 15:05:51 írta Place »

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Battlefield Project Reality
« Válasz #1 Dátum: 2012. december 02. - 15:15:02 »
0 Show voters
látszolag a battlefield nations szerverrõl copyztak néhány dolgot.

Nem elérhető Pedró

  • 3341
  • 2014 © Az év Szkriptere
    • Profil megtekintése
Battlefield Project Reality
« Válasz #2 Dátum: 2012. december 03. - 16:28:39 »
+2 Show voters
Dear <[Lu$ta]> Fan!
jajj nem, én nem fogom angolul írni, mert én magyar fórumra magyar cuccokat rakok, magyarul írok.


Ide hoztad ezt az angol gm-t.. Biztosan nagy fáradság lehetett.. Ezért adnom kell egy +t!!!!   NEM


Most õszintén...
Minek hozol át Angol GM-t a hivatalos fórumról? Ugyan ebben a formában, ott megtalálhatjuk.
És még +t sem kapsz, pedig azért nyitottad. :<
cs

Nem elérhető TryStar

  • 776
  • TryStar
    • Profil megtekintése
Battlefield Project Reality
« Válasz #3 Dátum: 2012. december 03. - 16:42:04 »
0 Show voters
Egész jónak tünik csak Jobb lett volna ha le is forditottad volna  :D
Annak jobban õrültem volna HA már áthoztad..

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal