11.06.2009, 19:35
guys i made some teams but when i go in game and i chose any class is allways color blue or dark blue
why my air force is not LightBlue,taxi light green?
#include <a_samp>
#include <core>
#include <a_vehicles>
#define TEAM_COP 0
#define TEAM_COP_COLOR 0x0000BBAA
#define TEAM_FBI 1
#define TEAM_FBI_COLOR 0x300FFAAB
#define TEAM_MEDIC 2
#define TEAM_MEDIC_COLOR 0x0000BBAA
#define TEAM_AIRFORCE 3
#define TEAM_AIRFORCE_COLOR 0x33CCFFAA
#define TEAM_TAXI 4
#define TEAM_TAXI_COLOR 0x24FF0AB9
#define TEAM_CIVILIAN 5
#define TEAM_CIVILIAN_COLOR 0xFFFFFFAA
new gTeam[MAX_PLAYERS];
SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 281)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 280)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 28
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 282)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 284)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 283)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 274)
{
gTeam[playerid] = TEAM_MEDIC;
}
else if (classid == 275)
{
gTeam[playerid] = TEAM_MEDIC;
}
else if (classid == 276)
{
gTeam[playerid] = TEAM_MEDIC;
}
else if (classid == 121)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 179)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 73)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 285)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 55)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 61)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 253)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 255)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 163)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 164)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 165)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 166)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 286)
{
gTeam[playerid] = TEAM_FBI;
}
}
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_COP)
{
SetPlayerColor(playerid, TEAM_COP_COLOR);
}
else if (gTeam[playerid] == TEAM_MEDIC)
{
SetPlayerColor(playerid, TEAM_MEDIC_COLOR);
}
else if (gTeam[playerid] == TEAM_MEDIC)
{
SetPlayerColor(playerid, TEAM_MEDIC_COLOR);
}
else if (gTeam[playerid] == TEAM_AIRFORCE)
{
SetPlayerColor(playerid, TEAM_AIRFORCE_COLOR);
}
else if (gTeam[playerid] == TEAM_TAXI)
{
SetPlayerColor(playerid, TEAM_TAXI_COLOR);
}
else if (gTeam[playerid] == TEAM_FBI)
{
SetPlayerColor(playerid, TEAM_FBI_COLOR);
}
}
#if defined FILTERSCRIPT
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
//COLORS
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_VIOLET 0x9955DEEE
#define COLOR_LIGHTRED 0xFF99AADD
#define COLOR_SEAGREEN 0x00EEADDF
#define COLOR_GRAYWHITE 0xEEEEFFC4
#define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_MEDIUMBLUE 0x63AFF00A
#define COLOR_NEUTRAL 0xABCDEF97
#define COLOR_BLACK 0x00000000
#define COLOR_NEUTRALGREEN 0x81CFAB00
#define COLOR_DARKGREEN 0x12900BBF
#define COLOR_LIGHTGREEN 0x24FF0AB9
#define COLOR_DARKBLUE 0x300FFAAB
#define COLOR_BLUEGREEN 0x46BBAA00
#define COLOR_PINK 0xFF66FFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_PURPLE 0x800080AA
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_RED1 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_SYSTEM 0xEFEFF7AA
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD1 0xB4B5B7FF
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
//MEDIC'S
AddPlayerClass(274,1607.1361,1820.2712,10.8280,0.5 015,3,1,22,50,0,0); // MEDIC
AddPlayerClass(275,1614.9767,1820.2704,10.8280,2.0 682,3,1,22,50,0,0); // MEDIC
AddPlayerClass(276,1599.9725,1820.8362,10.8203,358 .9348,3,1,22,50,0,0); // MEDIC
//COP'S
AddPlayerClass(288,-215.2224,977.9517,19.4878,269.7672,3,1,24,21,25,15 ); // Fort Carson Sherif
AddPlayerClass(283,-215.3469,980.7720,19.4937,271.3338,3,1,24,21,25,15 ); //Fort Carson Sherif
AddPlayerClass(280,2268.0596,2448.2661,-7.1953,181.1716,3,1,24,21,29,350); // COP
AddPlayerClass(281,2273.6841,2447.6694,-7.1953,181.4849,3,1,24,21,29,350); // COP
AddPlayerClass(282,2262.2563,2446.6885,-7.1953,185.5583,3,1,24,21,29,350); // COP
AddPlayerClass(284,2282.1404,2424.3220,-7.2500,0.0867,3,1,24,21,29,350); // COP
//FBI'S
AddPlayerClass(163,945.8929,1728.4990,8.8516,268.5 575,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(164,945.8641,1731.7333,8.8516,271.0 641,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(165,945.9214,1734.8145,8.8516,272.9 442,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(166,945.7820,1737.5703,8.8516,273.8 842,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(286,947.7168,1725.9724,8.8516,280.5 931,3,1,31,150,29,350); // FBI at Whitewood estate
//AIRFORCE'S
AddPlayerClass(121,283.0263,1937.0424,17.6406,270. 6100,3,1,31,150,27,35); // Airforce at Arena 69
AddPlayerClass(179,279.2265,1835.0978,17.6481,11.4 120,3,1,31,150,27,35); // Airforce at Arena 69
AddPlayerClass(73,406.6621,2540.4829,16.5464,181.0 125,3,1,31,150,27,35); // Airforce at Las Venturas Airport
AddPlayerClass(285,1318.9913,1252.2271,10.8203,356 .7581,3,1,31,150,27,35); // Airforce at Old Airport
//TAXI'S
AddPlayerClass(55,2846.2561,1289.7943,11.3906,88.8 027,2,1,0,0,0,0); // TAXI at Taxi station in LV
//PILOT / TAXI
AddPlayerClass(61,1670.8250,1564.4315,10.7795,79.5 930,2,1,0,0,0,0); // Pilot
//BUS DRIVER / TAXI
AddPlayerClass(253,2846.1536,1292.8014,11.3906,98. 9002,2,1,0,0,0,0); // Bus Driver
AddPlayerClass(255,2846.6580,1288.0815,11.3906,89. 5002,2,1,0,0,0,0); // Bus Driver
//FBI CARS
AddStaticVehicle(523,971.9491,1702.8131,8.2197,180 .3490,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.8367,1700.0443,8.2147,174 .3278,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.7780,1697.0247,8.2047,179 .3669,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.7446,1693.9806,8.2083,179 .3670,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.7115,1690.9896,8.2144,179 .3671,0,0); // police bikes at Whitewood estate
AddStaticVehicle(490,983.3745,1744.8450,8.7772,91. 6997,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,983.4326,1736.6455,8.7793,91. 2067,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,983.6045,1728.7130,8.7825,92. 2495,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,983.8357,1720.7009,8.7823,92. 2786,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,952.5565,1714.2520,8.7766,268 .6295,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,952.6023,1754.9269,8.7759,269 .2598,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,952.7291,1747.7795,8.7774,269 .4550,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(427,930.5581,1807.1541,8.7804,270 .0425,0,1); // ENFORCER at Whitewood estate
AddStaticVehicle(427,928.6624,1815.2279,8.7804,271 .1203,0,1); // ENFORCER at Whitewood estate
AddStaticVehicle(421,957.0996,1815.4987,8.5309,269 .0489,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,973.6632,1815.3492,8.5308,269 .6707,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,972.9972,1782.7205,8.5309,179 .2072,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,930.7711,1659.9913,8.5309,270 .4041,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,952.0488,1659.9796,8.5374,270 .7449,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,969.1536,1650.9641,8.5309,269 .8157,0,0); // Washington at Whitewood estate
//AIRFORCE PLANES
AddStaticVehicle(476,293.6522,1954.6941,18.3489,27 0.2563,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,293.9130,1990.6007,18.3539,27 1.3987,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,292.8679,2024.2646,18.3488,27 4.2355,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,311.6489,2053.5164,18.3534,17 6.0599,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,390.1918,2469.4600,17.2060,26 4.6092,77,87); // Rustler at Old Airport
AddStaticVehicle(476,389.8570,2454.9712,17.2140,27 0.4474,6,7); // Rustler at Old Airport
AddStaticVehicle(476,389.8500,2439.3535,17.2041,27 1.9529,119,117); // Rustler at Old Airport
AddStaticVehicle(476,405.4228,2439.4570,17.2080,0. 0679,77,87); // Rustler at Old Airport
AddStaticVehicle(476,419.3563,2469.4824,17.2266,91 .8958,6,7); // Rustler at Old Airport
AddStaticVehicle(476,419.1535,2454.1875,17.2151,91 .4423,1,6); // Rustler at Old Airport
AddStaticVehicle(476,419.0529,2440.2520,17.2074,90 .1341,119,117); // Rustler at Old Airport
AddStaticVehicle(497,365.3177,2537.9207,16.8347,17 6.6481,0,1); // Police Heli at Old Airport
//OTEHR PLANES
AddStaticVehicle(511,424.8604,2501.3560,17.8587,90 .3074,12,60); // Plane at Old Airport
AddStaticVehicle(593,325.3048,2537.1133,17.2717,18 0.1511,2,1); // Dodo at Old Airport
AddStaticVehicle(513,291.2851,2542.5881,17.3637,17 8.2096,54,34); // Stunt plane at Old Airport
AddStaticVehicle(469,382.8653,2532.3325,16.5707,18 0.4162,1,3); // Small heli at Old Airport
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerTeamFromClass(playerid, classid);
SetPlayerPos(playerid, 2006.3486,1669.9321,13.3020);
SetPlayerFacingAngle(playerid,269.1799);
SetPlayerCameraPos(playerid, 2018.2972,1669.7803,11.1539);
SetPlayerCameraLookAt(playerid, 2006.3486,1669.9321,13.3020);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0x33AA33AA,"Welcome to the server");
SendClientMessage(playerid,0x33AA33AA,"Read /rules /scmds For Start Playing Easier");
SendClientMessage(playerid,0x33CCFFAA,"Die Hard Cops and Robbers Server! Play Fair and Have Fun");
GameTextForPlayer(playerid,"~r~Die Hard ~w~Server Cops and Robbers ~r~MAP:~b~Las Venturas ~y~Have Fun ~r~And Read /rules /scmds",8000,5);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerToTeamColor(playerid);
GivePlayerMoney(playerid,1000);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(playerid,0xAA3333AA,"You are death! R.I.P");
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,-500);
SetPlayerScore(playerid,-1);
return 1;
}
why my air force is not LightBlue,taxi light green?
#include <a_samp>
#include <core>
#include <a_vehicles>
#define TEAM_COP 0
#define TEAM_COP_COLOR 0x0000BBAA
#define TEAM_FBI 1
#define TEAM_FBI_COLOR 0x300FFAAB
#define TEAM_MEDIC 2
#define TEAM_MEDIC_COLOR 0x0000BBAA
#define TEAM_AIRFORCE 3
#define TEAM_AIRFORCE_COLOR 0x33CCFFAA
#define TEAM_TAXI 4
#define TEAM_TAXI_COLOR 0x24FF0AB9
#define TEAM_CIVILIAN 5
#define TEAM_CIVILIAN_COLOR 0xFFFFFFAA
new gTeam[MAX_PLAYERS];
SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 281)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 280)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 28
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 282)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 284)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 283)
{
gTeam[playerid] = TEAM_COP;
}
else if (classid == 274)
{
gTeam[playerid] = TEAM_MEDIC;
}
else if (classid == 275)
{
gTeam[playerid] = TEAM_MEDIC;
}
else if (classid == 276)
{
gTeam[playerid] = TEAM_MEDIC;
}
else if (classid == 121)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 179)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 73)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 285)
{
gTeam[playerid] = TEAM_AIRFORCE;
}
else if (classid == 55)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 61)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 253)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 255)
{
gTeam[playerid] = TEAM_TAXI;
}
else if (classid == 163)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 164)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 165)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 166)
{
gTeam[playerid] = TEAM_FBI;
}
else if (classid == 286)
{
gTeam[playerid] = TEAM_FBI;
}
}
SetPlayerToTeamColor(playerid)
{
if (gTeam[playerid] == TEAM_COP)
{
SetPlayerColor(playerid, TEAM_COP_COLOR);
}
else if (gTeam[playerid] == TEAM_MEDIC)
{
SetPlayerColor(playerid, TEAM_MEDIC_COLOR);
}
else if (gTeam[playerid] == TEAM_MEDIC)
{
SetPlayerColor(playerid, TEAM_MEDIC_COLOR);
}
else if (gTeam[playerid] == TEAM_AIRFORCE)
{
SetPlayerColor(playerid, TEAM_AIRFORCE_COLOR);
}
else if (gTeam[playerid] == TEAM_TAXI)
{
SetPlayerColor(playerid, TEAM_TAXI_COLOR);
}
else if (gTeam[playerid] == TEAM_FBI)
{
SetPlayerColor(playerid, TEAM_FBI_COLOR);
}
}
#if defined FILTERSCRIPT
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
//COLORS
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_VIOLET 0x9955DEEE
#define COLOR_LIGHTRED 0xFF99AADD
#define COLOR_SEAGREEN 0x00EEADDF
#define COLOR_GRAYWHITE 0xEEEEFFC4
#define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_MEDIUMBLUE 0x63AFF00A
#define COLOR_NEUTRAL 0xABCDEF97
#define COLOR_BLACK 0x00000000
#define COLOR_NEUTRALGREEN 0x81CFAB00
#define COLOR_DARKGREEN 0x12900BBF
#define COLOR_LIGHTGREEN 0x24FF0AB9
#define COLOR_DARKBLUE 0x300FFAAB
#define COLOR_BLUEGREEN 0x46BBAA00
#define COLOR_PINK 0xFF66FFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_PURPLE 0x800080AA
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_RED1 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_SYSTEM 0xEFEFF7AA
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD1 0xB4B5B7FF
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
//MEDIC'S
AddPlayerClass(274,1607.1361,1820.2712,10.8280,0.5 015,3,1,22,50,0,0); // MEDIC
AddPlayerClass(275,1614.9767,1820.2704,10.8280,2.0 682,3,1,22,50,0,0); // MEDIC
AddPlayerClass(276,1599.9725,1820.8362,10.8203,358 .9348,3,1,22,50,0,0); // MEDIC
//COP'S
AddPlayerClass(288,-215.2224,977.9517,19.4878,269.7672,3,1,24,21,25,15 ); // Fort Carson Sherif
AddPlayerClass(283,-215.3469,980.7720,19.4937,271.3338,3,1,24,21,25,15 ); //Fort Carson Sherif
AddPlayerClass(280,2268.0596,2448.2661,-7.1953,181.1716,3,1,24,21,29,350); // COP
AddPlayerClass(281,2273.6841,2447.6694,-7.1953,181.4849,3,1,24,21,29,350); // COP
AddPlayerClass(282,2262.2563,2446.6885,-7.1953,185.5583,3,1,24,21,29,350); // COP
AddPlayerClass(284,2282.1404,2424.3220,-7.2500,0.0867,3,1,24,21,29,350); // COP
//FBI'S
AddPlayerClass(163,945.8929,1728.4990,8.8516,268.5 575,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(164,945.8641,1731.7333,8.8516,271.0 641,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(165,945.9214,1734.8145,8.8516,272.9 442,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(166,945.7820,1737.5703,8.8516,273.8 842,3,1,31,150,29,350); // FBI at Whitewood estate
AddPlayerClass(286,947.7168,1725.9724,8.8516,280.5 931,3,1,31,150,29,350); // FBI at Whitewood estate
//AIRFORCE'S
AddPlayerClass(121,283.0263,1937.0424,17.6406,270. 6100,3,1,31,150,27,35); // Airforce at Arena 69
AddPlayerClass(179,279.2265,1835.0978,17.6481,11.4 120,3,1,31,150,27,35); // Airforce at Arena 69
AddPlayerClass(73,406.6621,2540.4829,16.5464,181.0 125,3,1,31,150,27,35); // Airforce at Las Venturas Airport
AddPlayerClass(285,1318.9913,1252.2271,10.8203,356 .7581,3,1,31,150,27,35); // Airforce at Old Airport
//TAXI'S
AddPlayerClass(55,2846.2561,1289.7943,11.3906,88.8 027,2,1,0,0,0,0); // TAXI at Taxi station in LV
//PILOT / TAXI
AddPlayerClass(61,1670.8250,1564.4315,10.7795,79.5 930,2,1,0,0,0,0); // Pilot
//BUS DRIVER / TAXI
AddPlayerClass(253,2846.1536,1292.8014,11.3906,98. 9002,2,1,0,0,0,0); // Bus Driver
AddPlayerClass(255,2846.6580,1288.0815,11.3906,89. 5002,2,1,0,0,0,0); // Bus Driver
//FBI CARS
AddStaticVehicle(523,971.9491,1702.8131,8.2197,180 .3490,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.8367,1700.0443,8.2147,174 .3278,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.7780,1697.0247,8.2047,179 .3669,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.7446,1693.9806,8.2083,179 .3670,0,0); // police bikes at Whitewood estate
AddStaticVehicle(523,971.7115,1690.9896,8.2144,179 .3671,0,0); // police bikes at Whitewood estate
AddStaticVehicle(490,983.3745,1744.8450,8.7772,91. 6997,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,983.4326,1736.6455,8.7793,91. 2067,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,983.6045,1728.7130,8.7825,92. 2495,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,983.8357,1720.7009,8.7823,92. 2786,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,952.5565,1714.2520,8.7766,268 .6295,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,952.6023,1754.9269,8.7759,269 .2598,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(490,952.7291,1747.7795,8.7774,269 .4550,0,0); // FBI RANCHERS at Whitewood estate
AddStaticVehicle(427,930.5581,1807.1541,8.7804,270 .0425,0,1); // ENFORCER at Whitewood estate
AddStaticVehicle(427,928.6624,1815.2279,8.7804,271 .1203,0,1); // ENFORCER at Whitewood estate
AddStaticVehicle(421,957.0996,1815.4987,8.5309,269 .0489,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,973.6632,1815.3492,8.5308,269 .6707,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,972.9972,1782.7205,8.5309,179 .2072,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,930.7711,1659.9913,8.5309,270 .4041,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,952.0488,1659.9796,8.5374,270 .7449,0,0); // Washington at Whitewood estate
AddStaticVehicle(421,969.1536,1650.9641,8.5309,269 .8157,0,0); // Washington at Whitewood estate
//AIRFORCE PLANES
AddStaticVehicle(476,293.6522,1954.6941,18.3489,27 0.2563,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,293.9130,1990.6007,18.3539,27 1.3987,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,292.8679,2024.2646,18.3488,27 4.2355,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,311.6489,2053.5164,18.3534,17 6.0599,103,102); // RUSTLER at arena 69
AddStaticVehicle(476,390.1918,2469.4600,17.2060,26 4.6092,77,87); // Rustler at Old Airport
AddStaticVehicle(476,389.8570,2454.9712,17.2140,27 0.4474,6,7); // Rustler at Old Airport
AddStaticVehicle(476,389.8500,2439.3535,17.2041,27 1.9529,119,117); // Rustler at Old Airport
AddStaticVehicle(476,405.4228,2439.4570,17.2080,0. 0679,77,87); // Rustler at Old Airport
AddStaticVehicle(476,419.3563,2469.4824,17.2266,91 .8958,6,7); // Rustler at Old Airport
AddStaticVehicle(476,419.1535,2454.1875,17.2151,91 .4423,1,6); // Rustler at Old Airport
AddStaticVehicle(476,419.0529,2440.2520,17.2074,90 .1341,119,117); // Rustler at Old Airport
AddStaticVehicle(497,365.3177,2537.9207,16.8347,17 6.6481,0,1); // Police Heli at Old Airport
//OTEHR PLANES
AddStaticVehicle(511,424.8604,2501.3560,17.8587,90 .3074,12,60); // Plane at Old Airport
AddStaticVehicle(593,325.3048,2537.1133,17.2717,18 0.1511,2,1); // Dodo at Old Airport
AddStaticVehicle(513,291.2851,2542.5881,17.3637,17 8.2096,54,34); // Stunt plane at Old Airport
AddStaticVehicle(469,382.8653,2532.3325,16.5707,18 0.4162,1,3); // Small heli at Old Airport
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerTeamFromClass(playerid, classid);
SetPlayerPos(playerid, 2006.3486,1669.9321,13.3020);
SetPlayerFacingAngle(playerid,269.1799);
SetPlayerCameraPos(playerid, 2018.2972,1669.7803,11.1539);
SetPlayerCameraLookAt(playerid, 2006.3486,1669.9321,13.3020);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0x33AA33AA,"Welcome to the server");
SendClientMessage(playerid,0x33AA33AA,"Read /rules /scmds For Start Playing Easier");
SendClientMessage(playerid,0x33CCFFAA,"Die Hard Cops and Robbers Server! Play Fair and Have Fun");
GameTextForPlayer(playerid,"~r~Die Hard ~w~Server Cops and Robbers ~r~MAP:~b~Las Venturas ~y~Have Fun ~r~And Read /rules /scmds",8000,5);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerToTeamColor(playerid);
GivePlayerMoney(playerid,1000);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessage(playerid,0xAA3333AA,"You are death! R.I.P");
ResetPlayerMoney(playerid);
GivePlayerMoney(playerid,-500);
SetPlayerScore(playerid,-1);
return 1;
}