SA-MP Forums Archive
[GameMode] [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! (/showthread.php?tid=531006)

Pages: 1 2 3 4 5


[COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Excel™ - 10.08.2014

[COD7]
CALL OF DUTY 7
Created by Excel
Version: 3.0



UPDATED(ver3.0), added an advance weapon drop and wanted drops system, when player dies, pickups are created. Fixed anti-ads, anti-swear, anti-spam systems. Fixed player 3D text labels. Fixed /write and /spam commands.

UPDATED(ver2.5), Added donor commands list via /dcmds and /dhelp. Fixed Headshots(only Sniper class can perform headshots). Fixed some minor bugs.

UPDATED(ver2.1), Added player objects(attachments), fixed some stuff.

NOTE: the script is still in development, If there are bugs, then please report them as i will fix them.


DOWNLOAD
UPDATE(3.0)http://speedy.sh/nfSSy/COD7ver3.zip
UPDATE(ver2.5) http://www.solidfiles.com/d/3ca22a85bb/COD7.zip
UPDATE(ver2.1) http://www.solidfiles.com/d/55dea175b0/COD7.zip

Credits
If i have missed someone, then please forgive me, it might by my absence state of mind or i just forgot or i don't know the name of the guy who actually is worth of the credits.
Excel - for creating script from scratch
Luxurion - For lux admin, i edited it to its extent
Kyance - Squad system
Incognito -Streamer
beaz - For awesome bordered and numbered gangzones
Toribo - Progress bar
Zeex - Zcmd command processor
****** - Foreach

FEATURES
IMAGES
To checkout the game album, go to link (http://imgur.com/a/rVT6d#0) or simply view these photos given via the link. Thanks to IMGUR (www.imgur.com) for their awesome image hosting.


How to edit script?
Server settings:
pawn Код:
/*------------------------------------------------------
-> Server settings
------------------------------------------------------*/

//------------------------------------------------
#define SLOTS               100
// how many slots the server got.
//------------------------------------------------
#define ATTACK_TIME         2
// How many minutes
//------------------------------------------------
#define STANDINTURF_TIME    20000
// Twenty secs (Always some extra secs are added because of the CheckPlayers timer)
//------------------------------------------------
#define ATTACK_KILLS        2
// Kills to start a turfwar
//------------------------------------------------
#define MEMBERS_NEEDED      1
// Members in turf to start turfwar
//------------------------------------------------
#define TEAMSCORE           500
// Teamscore to take over all the opponends turf.
//------------------------------------------------
#define MAX_TURFS           60
// The amount of turfs in the game.
//------------------------------------------------
#define MAX_TEAMS           15
// The amount of teams in the game.
//------------------------------------------------
#define MAX_RANKS           20
// The amount of ranks in the game.
//------------------------------------------------
#define MAX_SHOPS           100
// The amount of shops in the game.
//------------------------------------------------
#define SERVER_NAME         "[COD7 - ver2.1] Los Santos"
//Server hostname
//------------------------------------------------
#define SERVER_WEBSITE      "www.Sampindia.com"
//Server website/forums
//------------------------------------------------
#define SERVER_MODE         "[COD7-TDM] by Excel"
//Server gamemode name
//------------------------------------------------
#define WIN_SCORE           5
//Score given when a team wins a turf
//------------------------------------------------
#define USE_DIALOGS         true
//Enable/Disable some stuff in Dialogs
//------------------------------------------------
#define GANGZONEEX          true
//Enable/Disable bordered & numbered gangzones
//------------------------------------------------
#define HEADSHOT            true
//Enable/Disable headshot performing
//------------------------------------------------
#define TEAM_CHAT           true
//Enable/Disable teamchat system
//------------------------------------------------
#define VIP_SYSTEM          true
//Enable/Disable VIP. system
//------------------------------------------------
#define TURF_CMDS           true
//Enable/Disable Turf commands - /Turfs, /Findwar, /Turfhelp
//------------------------------------------------
#define TEAM_CMDS           true
//Enable/Disable Team commands - /Teams, /Myteam
//------------------------------------------------
#define CREDIT_CMDS         true
//Enable/Disable /Credits Command
//------------------------------------------------
#define KILL_CMDS           true
//Enable/Disable /Kill command
//------------------------------------------------
#define SWITCH_CMDS         true
//Enable/Disable /Sc and /St commands
//------------------------------------------------
#define HELP_CMDS           true
//Enable/Disable /Help, /Cmds commands
//------------------------------------------------
#define RULES_CMDS          true
//Enable/Disable /Rules command
//------------------------------------------------
#define USE_DEATHMATCH      true
//Enable/Disable /Joindm, /Leavedm commands
//------------------------------------------------
#define USE_ANIMS           true
//Enable/Disable /anims, and animation commands
//------------------------------------------------
#define VIP_BIKE            GetVehicleModelIDFromName("Nrg-500")
//VIP. Bike, when a vip types /dbike, a vehicle(bike) is spawned
//------------------------------------------------
#define VIP_CAR             GetVehicleModelIDFromName("Bullet")
//VIP. Car, when a vip types /dcar, a vehicle(car) is spawned
//------------------------------------------------
#define VIP_BOAT            GetVehicleModelIDFromName("Jetmax")
//VIP. Boat, when a vip types /dboat, a vehicle(boat) is spawned
//------------------------------------------------
Editing team info:
pawn Код:
new TeamInfo[ MAX_TEAMS ][ teaminfo ]= {
{ "Civils",             0xFFFF0080,     0, 0, 0, 0, 0, 0, 142},
{ "Grove",              0x007D0080,     0, 0, 0, 0, 0, 0, 106},
{ "Ballas",             0x9245AB80,     0, 0, 0, 0, 0, 0, 102},
{ "Aztecas",            0x18D6E480,     0, 0, 0, 0, 0, 0, 115},
{ "Vagos",              0xF5BE1880,     0, 0, 0, 0, 0, 0, 108},
{ "Da Nang",            0x5E2F2F80,     0, 0, 0, 0, 0, 0, 123},
{ "Rifas",              0xAAAA0080,     0, 0, 0, 0, 0, 0, 175},
{ "Triads",             0x0080FF80,     0, 0, 0, 0, 0, 0, 118},
{ "Bikers",             0xD2B48C80,     0, 0, 0, 0, 0, 0, 248},
{ "Mafia",              0x00FFFF80,     0, 0, 0, 0, 0, 0, 113},
{ "Italians",           0x7CFC0080,     0, 0, 0, 0, 0, 0, 126},
{ "Law Enforcement",    0x0000FF80,     0, 0, 0, 0, 0, 0, 285},
{ "Fireman",            0xDC143C80,     0, 0, 0, 0, 0, 0, 279},
{ "Paramedic",          0x00FF0080,     0, 0, 0, 0, 0, 0, 276},
{ "Farmer",             0xF0E68C80,     0, 0, 0, 0, 0, 0, 162}
};
Editing team spawns:
pawn Код:
/*------------------------------------------------------
-> Spawn points
------------------------------------------------------*/

new Float:Spawn_Team0[ 5 ][ 4 ] = {
{1947.0345,-1561.4669,13.6253,162.8989},
{1905.6295,-1575.5793,23.8756,21.1715},
{1845.6813,-1590.9966,15.7799,147.8170},
{2024.5212,-1595.7037,13.5750,130.7689},
{1973.4781,-1563.7590,13.6330,196.6715}
};
//------------------------------------------------------
new Float:Spawn_Team1[ 5 ][ 4 ] = {
{2512.3740,-1672.5977,13.4930,78.4229},
{2470.7673,-1650.7491,13.4721,95.4892},
{2459.4785,-1690.0421,13.5443,1.0288},
{2482.5139,-1706.6488,13.5334,150.6757},
{2406.8738,-1671.2035,13.5749,353.1093}
};
//------------------------------------------------------
new Float:Spawn_Team2[ 5 ][ 4 ] = {
{1999.8577, -1114.6553, 27.1250, 182.0473},
{2022.9449, -1120.9398, 26.4210, 176.7813},
{2045.8439, -1115.7263, 26.3617, 273.3338},
{2093.7844, -1123.7844, 27.6899,  85.9610},
{2094.6392, -1145.1943, 26.5929,  90.0567}
};
//------------------------------------------------------
new Float:Spawn_Team3[ 5 ][ 4 ] = {
{1776.2535,-1909.0365,13.3866,291.6176},
{1804.8118,-1938.4250,13.5469,351.1515},
{1741.1334,-1988.6484,14.1172,330.5131},
{1764.4401,-2056.9519,13.5873,191.6007},
{1761.8795,-2104.2297,13.5469,229.3056}
};
//------------------------------------------------------
new Float:Spawn_Team4[ 5 ][ 4 ] = {
{2565.6797,-1067.9745,69.3009,123.8051},
{2542.0571,-1035.1486,69.5817,169.0509},
{2479.4712,-1024.0151,64.3934,147.6370},
{2456.1582,-1054.1906,59.7422,9.5184},
{2576.1108,-970.8934,81.3746,161.1497}
};
//------------------------------------------------------
new Float:Spawn_Team5[ 5 ][ 4 ] = {
{2797.0317,-1539.4778,10.9219,214.6433},
{2824.4182,-1523.5879,11.8266,189.2422},
{2768.2800,-1611.2836,10.9219,258.3015},
{2901.0852,-1599.0824,17.9998,70.5713},
{2905.3228,-1639.2496,11.0469,5.8961}
};
//------------------------------------------------------
new Float:Spawn_Team6[ 5 ][ 4 ] = {
{1119.4385,-1373.4799,13.9844,175.1367},
{1109.2798,-1332.0913,12.9828,343.0224},
{1143.2567,-1249.8956,14.9114,298.1735},
{1185.0002,-1228.3804,22.1406,328.3374},
{1273.6770,-1306.5867,13.4924,153.7047}
};
//------------------------------------------------------
new Float:Spawn_Team7[ 5 ][ 4 ] = {
{2667.5989,-2387.7415,13.6328,102.2766},
{2780.9006,-2420.7112,13.6353,86.4009},
{2760.3015,-2530.9463,13.6385,13.3727},
{2500.6482,-2527.2495,13.6734,61.3967},
{2462.1211,-2628.1296,13.6628,219.3600}
};
//------------------------------------------------------
new Float:Spawn_Team8[ 5 ][ 4 ] = {
{865.1617, -1634.7625, 14.9297, 176.2746},
{851.1503, -1688.4281, 14.9478, 270.6273},
{892.3436, -1638.1572, 14.9494, 179.3978},
{936.1555, -1612.9193, 14.9414, 182.2190},
{986.8895, -1624.1165, 14.9297,  85.0584}
};
//------------------------------------------------------
new Float:Spawn_Team9[ 5 ][ 4 ] = {
{1254.7452,-781.4287,92.0302,3.8220},
{1299.4650,-791.2515,88.3125,203.4774},
{1270.5049,-832.3721,83.1406,106.2386},
{1285.2885,-870.5181,46.8438,173.3136},
{1192.4078,-885.0795,43.0725,113.3828}
};
//------------------------------------------------------
new Float:Spawn_Team10[ 5 ][ 4 ] = {
{1459.5981,-2462.8850,13.7327,200.0891},
{1450.3064,-2637.3044,13.7211,306.0572},
{1861.9470,-2626.1323,13.7099,345.4754},
{1842.1196,-2433.8916,14.0503,230.1407},
{1842.1196,-2433.8916,14.0503,230.1407}
};
//------------------------------------------------------
new Float:Spawn_Team11[ 5 ][ 4 ] = {
{1530.0195,-1679.4529,5.8906,227.5359},
{1587.7992,-1611.3186,13.3828,119.6879},
{1479.1306,-1658.4443,14.0469,301.6202},
{1541.0609,-1681.5389,13.5518,34.8900},
{1497.3793,-1585.1797,13.5469,199.9974}
};
//------------------------------------------------------
new Float:Spawn_Team12[ 5 ][ 4 ] = {
{2326.2375,-1252.3954,27.9766,228.3806},
{2346.0356,-1283.2363,27.9766,140.2704},
{2317.5198,-1273.3596,23.9547,91.8495},
{2337.8198,-1315.7466,24.0843,317.6814},
{2329.1667,-1243.3610,22.5000,239.8904}
};
//------------------------------------------------------
new Float:Spawn_Team13[ 5 ][ 4 ] = {
{865.1617, -1634.7625, 14.9297, 176.2746},
{851.1503, -1688.4281, 14.9478, 270.6273},
{892.3436, -1638.1572, 14.9494, 179.3978},
{936.1555, -1612.9193, 14.9414, 182.2190},
{986.8895, -1624.1165, 14.9297,  85.0584}
};
//------------------------------------------------------
new Float:Spawn_Team14[ 5 ][ 4 ] = {
{865.1617, -1634.7625, 14.9297, 176.2746},
{851.1503, -1688.4281, 14.9478, 270.6273},
{892.3436, -1638.1572, 14.9494, 179.3978},
{936.1555, -1612.9193, 14.9414, 182.2190},
{986.8895, -1624.1165, 14.9297,  85.0584}
};
Editing ranks:
pawn Код:
new rank[ MAX_RANKS ][rank_info] = {
{"Private",         0,      1},
{"Corporal",        50,     2},
{"Sergeant",        200,    3},
{"Sergeant Major"500,    4},
{"Gunnery Sergeant",1000,   5},
{"Chief",           1500,   6},
{"Master Chief",    2500,   7},
{"Ensign",          4000,   8},
{"Lieutenant",      8500,   9},
{"Lieutenant Major",1000010},
{"Captain",         1500011},
{"Commander",       2000012},
{"Major",           2500013},
{"Coloneal",        3500014},
{"Brigadier",       5000015},
{"General",         6500016},
{"Vice Field Marshal",80000,17},
{"Field Marshall"100000, 18},
{"Warlord",         150000, 19},
{"Master Of War",   200000, 20}
};
Turfs system
Server default turfs made by me:
pawn Код:
AddTurf(0, "Ganton",            2222.50, -1852.80, 2632.80, -1722.30,           TEAM_0);
    AddTurf(1, "Ganton",            2222.50, -1722.30, 2632.80, -1628.50,           TEAM_0);
    AddTurf(2, "Idlewood",          1812.60, -1852.80, 1971.60, -1742.30,           TEAM_0);
    AddTurf(3, "Idlewood",          1951.60, -1742.30, 2124.60, -1602.30,           TEAM_0);
    AddTurf(4, "Idlewood",          1812.60, -1602.30, 2124.60, -1449.60,           TEAM_1);
    AddTurf(5, "Idlewood",          2124.60, -1742.30, 2222.50, -1494.00,           TEAM_1);
    AddTurf(6, "Idlewood",          1971.60, -1852.80, 2222.50, -1742.30,           TEAM_1);
    AddTurf(7, "Idlewood",          1812.60, -1742.30, 1951.60, -1602.30,           TEAM_1);
    AddTurf(8, "Willow Field",      1970.60, -2179.20, 2089.00, -1852.80,           TEAM_2);
    AddTurf(9, "Willow Field",      2089.00, -1989.90, 2324.00, -1852.80,           TEAM_2);
    AddTurf(10, "Willow Field",      2089.00, -2235.80, 2201.80, -1989.90,          TEAM_2);
    AddTurf(11, "Willow Field",      2324.00, -2059.20, 2541.70, -1852.80,          TEAM_2);
    AddTurf(12, "Jefferson",         2056.80, -1372.00, 2281.40, -1210.70,          TEAM_3);
    AddTurf(13, "Jefferson",         2056.80, -1210.70, 2185.30, -1126.30,          TEAM_3);
    AddTurf(14, "Jefferson",         2056.80, -1449.60, 2266.20, -1372.00,          TEAM_3);
    AddTurf(15, "East Los Santos",   2421.00, -1628.50, 2632.80, -1454.30,          TEAM_3);
    AddTurf(16, "East Los Santos",   2222.50, -1628.50, 2421.00, -1494.00,          TEAM_4);
    AddTurf(17, "East Los Santos",   2266.20, -1494.00, 2381.60, -1372.00,          TEAM_4);
    AddTurf(18, "East Los Santos",   2281.60, -1372.00, 2381.60, -1135.00,          TEAM_4);
    AddTurf(19, "East Los Santos",   2381.60, -1454.30, 2462.10, -1135.00,          TEAM_4);
    AddTurf(20, "East Los Santos",   2462.10, -1454.30, 2581.70, -1135.00,          TEAM_5);
    AddTurf(21, "East Beach",        2632.80, -1852.80, 2959.30, -1668.10,          TEAM_5);
    AddTurf(22, "East Beach",        2632.80, -1668.10, 2747.70, -1393.40,          TEAM_5);
    AddTurf(23, "East Beach",        2747.70, -1668.10, 2959.30, -1498.60,          TEAM_5);
    AddTurf(24, "East Beach",        2747.70, -1498.60, 2959.30, -1120.00,          TEAM_6);
    AddTurf(25, "Playa Del Seville", 2703.50, -2126.90, 2959.30, -1852.80,          TEAM_6);
    AddTurf(26, "El Corona",         1812.60, -2179.20, 1970.60, -1852.80,          TEAM_6);
    AddTurf(27, "El Corona",         1692.60, -2179.20, 1812.60, -1842.20,          TEAM_6);
    AddTurf(28, "Glen Park",         1812.60, -1350.70, 2056.80, -1100.80,          TEAM_7);
    AddTurf(29, "Los Flores",        2581.70, -1393.40, 2747.70, -1135.00,          TEAM_7);
    AddTurf(30, "Las Colinas",       1994.30, -1100.80, 2056.80,  -920.80,          TEAM_7);
    AddTurf(31, "Las Colinas",       2056.80, -1126.30, 2126.80,  -920.80,          TEAM_7);
    AddTurf(32, "Las Colinas",       2185.30, -1154.50, 2281.40,  -934.40,          TEAM_8);
    AddTurf(33, "Las Colinas",       2126.80, -1126.30, 2185.30,  -934.40,          TEAM_8);
    AddTurf(34, "Las Colinas",       2632.70, -1135.00, 2747.70,  -945.00,          TEAM_0);
    AddTurf(35, "Las Colinas",       2281.40, -1135.00, 2632.70,  -945.00,          TEAM_8);
    AddTurf(36, "Verona Beach",      930.20, -2006.70, 1073.20, -1804.20,           TEAM_9);
    AddTurf(37, "Verona Beach",      851.40, -1804.20, 1046.10, -1577.50,           TEAM_9);
    AddTurf(38, "Verona Beach",      1161.50, -1722.20, 1323.90, -1577.50,          TEAM_9);
    AddTurf(39, "Verona Beach",      1046.10, -1722.20, 1161.50, -1577.50,          TEAM_9);
    AddTurf(40, "Mulholland",        1169.10,  -910.10,  1318.10, -768.00,          TEAM_9);
    AddTurf(41, "Mulholland",        1318.10,  -910.10,  1357.00, -768.00,          TEAM_10);
    AddTurf(42, "Mulholland",        1357.00,  -926.90,  1463.90, -768.00,          TEAM_10);
    AddTurf(43, "Mulholland",        1185.58,  -767.09,  1462.02, -641.76,          TEAM_10);
    AddTurf(44, "Pershing Square",  1327.8929,-1729.3352,1821.7725,-1573.5878,      TEAM_10);
    AddTurf(45, "LS International",  1249.60, -2394.30, 1852.00, -2179.20,          TEAM_11);
    AddTurf(46, "LS International",  1852.00, -2394.30, 2089.00, -2179.20,          TEAM_11);
    AddTurf(47, "LS International",  1382.70, -2730.80, 2201.80, -2394.30,          TEAM_11);
    AddTurf(48, "Ocean Docks",       2373.70, -2697.00, 2809.20, -2330.40,          TEAM_11);
    AddTurf(49, "Ocean Docks",       2201.80, -2418.30, 2324.00, -2095.00,          TEAM_11);
    AddTurf(50, "Ocean Docks",       2324.00, -2302.30, 2703.50, -2145.10,          TEAM_12);
    AddTurf(51, "Ocean Docks",       2089.00, -2394.30, 2201.80, -2235.80,          TEAM_12);
    AddTurf(52, "Ocean Docks",       2201.80, -2730.80, 2324.00, -2418.30,          TEAM_12);
    AddTurf(53, "Ocean Docks",       2703.50, -2302.30, 2959.30, -2126.90,          TEAM_12);
    AddTurf(54, "Ocean Docks",       2324.00, -2145.10, 2703.50, -2059.20,          TEAM_13);
    AddTurf(55, "Market",            787.40, -1416.20, 1072.60, -1310.20,           TEAM_13);
    AddTurf(56, "Market",            952.60, -1310.20, 1072.60, -1130.80,           TEAM_13);
    AddTurf(57, "Market",            1072.60, -1416.20, 1370.80, -1130.80,          TEAM_13);
    AddTurf(58, "Market",            926.90, -1577.50, 1370.80, -1416.20,           TEAM_14);
    AddTurf(59, "Downtown LS",       1370.80, -1384.90, 1463.90, -1170.80,          TEAM_14);
For adding turfs by yourself, use this code:
pawn Код:
stock AddTurf(id, x_name[40], Float:x, Float:y, Float:z, Float:a, owner);
Editing weapon shop dialog:
pawn Код:
/*------------------------------------------------------
-> Weapon shop dialog system
------------------------------------------------------*/

stock ShowWeaponDialog(playerid)
{
    if(! IsPlayerNPC(playerid))
    {
        if(IsPlayerConnected(playerid))
        {
            new color[50];
            new dialog[1100];
            new _string[200];
            new w,a;

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 31 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 31 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s1. M4 ( $2500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 30 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 31 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s2. Ak-47 ( $2300 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 39 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 39 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s3. MP5 ( $2000 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 32 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 32 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s4. Tec-9 ( $3500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 28 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 28 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s5. UZI ( $3500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 26 && a >= 150)
                {
                    color = COL_GREEN;
                }
                else if(w == 26 && a < 150)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s6. Sawn-Off-Shotgun ( $7000 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 25 && a >= 150)
                {
                    color = COL_GREEN;
                }
                else if(w == 25 && a < 150)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s7. Shotgun ( $2500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 27 && a >= 150)
                {
                    color = COL_GREEN;
                }
                else if(w == 27 && a < 150)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s8. Combat Shotgun ( $5000 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 22 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 22 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s9. Colt 9mm ( $1700 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 23 && a >= 250)
                {
                    color = COL_GREEN;
                }
                else if(w == 23 && a < 250)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s10. Silenced Colt 9mm ( $1500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 24 && a >= 150)
                {
                    color = COL_GREEN;
                }
                else if(w == 24 && a < 150)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s11. Desert Eagle ( $2000 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 34 && a >= 100)
                {
                    color = COL_GREEN;
                }
                else if(w == 34 && a < 100)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s12. Sniper Rifle ( $4500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 16 && a >= 5)
                {
                    color = COL_GREEN;
                }
                else if(w == 15 && a < 5)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s13. Grenade ( $3000 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 18 && a >= 5)
                {
                    color = COL_GREEN;
                }
                else if(w == 18 && a < 5)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s14. Moltove ( $2500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 17 && a >= 5)
                {
                    color = COL_GREEN;
                }
                else if(w == 17 && a < 5)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s15. Tear Gas ( $2500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 9 && a >= 1)
                {
                    color = COL_GREEN;
                }
                else if(w == 9 && a < 1)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s16. Chainsaw ( $1000 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 4 && a >= 1)
                {
                    color = COL_GREEN;
                }
                else if(w == 4 && a < 1)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s17. Knife ( $800 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            if(anti_teargas[playerid]==1)
            {
                color = COL_GREEN;
            }
            format(_string,sizeof(_string),"%s18. Anti-Teargas Mask ( $3500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            if(anti_headshot[playerid]==1)
            {
                color = COL_GREEN;
            }
            format(_string,sizeof(_string),"%s19. Anti-Headshot Helmet ( $3500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            if(anti_teargas[playerid]==1)
            {
                color = COL_GREEN;
            }
            format(_string,sizeof(_string),"%s20. Anti-Spypawner Pack ( $2500 )\n",color);
            strcat(dialog,_string);

            color = COL_WHITE;
            for(new _w; _w < 12; _w++)
            {
                GetPlayerWeaponData(playerid,_w,w,a);
                if(w == 41 && a >= 5)
                {
                    color = COL_GREEN;
                }
                else if(w == 41 && a < 5)
                {
                    color = COL_MARONE;
                }
            }
            format(_string,sizeof(_string),"%s21. C4-Satchel ( $2000 )",color);
            strcat(dialog,_string);
            return ShowPlayerDialog(playerid,DIALOG_WEAPONS,DIALOG_STYLE_LIST,"Ammunation Shop:",dialog,"Buy","Cancel");
        }
        else return false;
    }
    else return false;
}



Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Raza2013 - 10.08.2014

Meh the first user thanks for sharing
+rep


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Excel™ - 10.08.2014

Quote:
Originally Posted by Raza2013
Посмотреть сообщение
Meh the first user thanks for sharing
+rep
Thanks lot!
And please report bugs.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - KingServerIRAN - 10.08.2014

Good job! 10/10

+Rep


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Excel™ - 10.08.2014

Quote:
Originally Posted by KingServerIRAN
Посмотреть сообщение
Good job! 10/10

+Rep
Thanks and nice, your signature!


Re : [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Younes44 - 10.08.2014

Awesome Work Bro..
i'll REP you Later i spent them


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - SpikY_ - 10.08.2014

OsM Work Bro !!!!

Gonna Marry This gamemode after testing .

+rep

Keep it UP , Btw nice eAdmin system

and tell me other rcons password i mean 2nd rcon password can't login as rcon


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Excel™ - 10.08.2014

Quote:
Originally Posted by NGEN123
Посмотреть сообщение
OsM Work Bro !!!!

Gonna Marry This gamemode after testing .

+rep

Keep it UP , Btw nice eAdmin system

and tell me other rcons password i mean 2nd rcon password can't login as rcon
2nd rcon is "adminadmin". You can change it from eAdmin main script.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - ChetanSharma170205 - 10.08.2014

10/10 Awesome work, best COD gm I have seen.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - SpikY_ - 10.08.2014

Thx broooooooo!! and one more thing when we type /kill so it dnt show tht we suicide at right corner.
if you can fix it soo thts good if not then no problem .. Fucking osm gamemode no words bro and how to use attachments system ..




Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - davcoxwen - 10.08.2014

10/10 Good job Excel.I will refer the bugs if I find. As always excellent gamemode.

congratulation


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - ntmp - 10.08.2014

Thanks!!


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Vaishnav - 10.08.2014

hey brother solidfiles is not working for me :\

can u upload it on mediafire or any other else pls :\


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - iReacheR - 10.08.2014

This is NOWHERE near to COD, how can you even call it that ? Just because naming something COD makes it popular doesnt mean that you have to name EVERYTHING after it -.- Naming it somethin like turf wars or gang wars would be better. Anyways, poor scripting methods. You could have modernized the script rather than staying on the old files and y_ini methods. You could have used MySQL. You could have used MySQL throughout the script, from the admin system to the loading of turfs and each and everything. Why do we stay on something difficult to script and to maintain rather than switching to MySQL ? YES! MySQL is easier to script than y_ini and to maintain too.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Crystallize - 10.08.2014

Quote:
Originally Posted by iReacheR
Посмотреть сообщение
This is NOWHERE near to COD, how can you even call it that ? Just because naming something COD makes it popular doesnt mean that you have to name EVERYTHING after it -.- Naming it somethin like turf wars or gang wars would be better. Anyways, poor scripting methods. You could have modernized the script rather than staying on the old files and y_ini methods. You could have used MySQL. You could have used MySQL throughout the script, from the admin system to the loading of turfs and each and everything. Why do we stay on something difficult to script and to maintain rather than switching to MySQL ? YES! MySQL is easier to script than y_ini and to maintain too.
Just because you use mySQL doesn't mean that everybody should use it , everyone has it's own scripting method's.
Good job Excel keep it up.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - iReacheR - 10.08.2014

Its not only about mysql, its about his scripting methods, i'd give him a rep if i had 40 posts for how he has given help for everything in the script and made it easier for a new player to understand. That is something I like about the script. Plus the stuff which he claims to be dynamic is not so dynamic IMO this could be more dynamic than it is atm. Plus the naming, that is a very very bad part.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - Crystallize - 10.08.2014

Dude he's developing COD versions since years so yeh
If you want to take this any further PM me since we're chit-chatting for nothing


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - SpikY_ - 10.08.2014

Quote:
Originally Posted by iReacheR
Посмотреть сообщение
Its not only about mysql, its about his scripting methods, i'd give him a rep if i had 40 posts for how he has given help for everything in the script and made it easier for a new player to understand. That is something I like about the script. Plus the stuff which he claims to be dynamic is not so dynamic IMO this could be more dynamic than it is atm. Plus the naming, that is a very very bad part.
IReacheR leave tht scripting method ..

Try to use This samp-forums method i mean format .
your are not Allowed to insult anyone here [First rule].
Just use these text in replies [ +1 / -1 / not bad / good work / keep it up etc ] [2nd rule]


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - iReacheR - 10.08.2014

Did I insult anyone ? OMFG! Let me tell you something genius, I DIDNT!
Anyways, developing COD "for years" doesnt mean someone has to have good scripting methods -_-
I am not saying i am the god here and no one can be better than me, this is called constructive criticism which IMO helps one improve himself. And if he still doesnt then he's something that I cant say here.


Re: [COD7- Los Santos] | Solidfiles, Advance, eAdmin(BETA) | Be the first one to USE! - ChandraLouis - 11.08.2014

Nice one
was waiting for this..