Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*********************************
- ** SWAT VS TERRORISTS **
- ** By [Svt]Mike **
- ** v4.1 **
- *********************************/
- #include <a_samp>
- #include <dini>
- /*******************************************************************************
- * <=[Defines]=> *
- *******************************************************************************/
- #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
- #define CmdsMenu 100
- #define ANTI_WEAPONS
- #define ANTI_ARMOUR
- #define ANTI_HEALTH
- #define MAX_SERVER_PLAYERS 50
- #define VEHICLE_RESPAWN_SECONDS 130
- #define CAR_HEALTH
- #define PLAYER_INFO
- // teams //
- #define TEAM_TERRORISTS 1
- #define TEAM_SWAT 2
- // Checkpoints //
- #define CHECKPOINT_NONE 0
- #define CHECKPOINT_CAR_FIXER_1 1
- #define CHECKPOINT_CAR_FIXER_2 2
- /*******************************************************************************
- * <=[ARMI]=> *
- *******************************************************************************/
- #define PISTOL 22
- #define SILENCED_PISTOL 23
- #define DEAGLE 24
- #define AK47 30
- #define M4 31
- #define TEC9 32
- #define MICRO_UZI 28
- #define MP5 29
- #define GRENADES 16
- #define MOLOTOV 18
- #define TEAR_GAS 17
- #define NIGHT_STICK 3
- #define KNIFE 4
- #define SHOTGUN 25
- #define SAWNOFF_SHOTGUN 26
- #define COMBAT_SHOTGUN 27
- #define MICRO_UZI 28
- #define SNIPER_RIFLE 34
- #define RPG 35
- #define ROCKET_LAUNCHER 36
- #define FLAME_THROWER 37
- #define MINIGUN 38
- #define SPRAY_PAINT 41
- #define FIRE_EXTINGUER 42
- #define PARACHUTE 46
- #define SACHET_CHARGERS 39
- #define DETONATOR 40
- /*******************************************************************************
- * <=[Admins CMDS levels]=> *
- *******************************************************************************/
- #define SLAP_LEVEL /**/ 2 //
- #define EXPLODE_LEVEL /**/ 4 //
- /*******************************************************************************
- * <=[COLORS]=> *
- *******************************************************************************/
- #define COLOR_GREY 0xAFAFAFAA //grey
- #define COLOR_LIGHTGREEN 0x81F628AA //lightgreen
- #define COLOR_YELLOW 0xFFFF00AA //yellow
- #define COLOR_LIGHTBLUE 0x33CCFFAA //lightblue
- #define COLOR_BLUE 0x0050F6AA //blue
- #define COLOR_GREEN 0x33AA33AA //green
- #define COLOR_RED 0xF60000AA //red
- #define COLOR_ORANGE 0xFF9900AA //orange
- #define COLOR_LIGHTRED 0xF60000AA //lightred
- #define COLOR_WHITE 0xFFFFFFFF //white
- #define COLOR_BLACK 0x000000AA //black
- #define COLOR_ZADMINBLUE 0x6D4CEBAA
- #define TERRORISTS_CHAT 0xF6F685AA
- #define SWAT_CHAT 0xACF6A6AA
- #define AZZURRO 0x00FFFFEE // light blue
- #define FUCSIA 0xDB02CBF0 // purple
- #define ARANCIONE 0xFD6C02EE // orange
- #define GIALLO 0xF6F600AA // yellow
- #define ROSSO 0xF60000AA // red
- #define BLU 0x0000F6AA // blue
- #define VERDE 0x00C400AA // green
- #define VERDE_SCURO 0x003500F9 // dark green
- #define BIANCO 0xFFFFFFFF // white
- #define BLU_SCURO 0x0000A0AA // dark blue
- #define GRIGIO 0xCCCECCAA // grey
- #define MILITARE 0x759140AA // army color
- #define VERDE_CHIARO 0x00F200F4 // lightgreen
- #define COLOR_GOLD 0xE3C700AA // gold
- #define FBI 0x004CF6AA // blue2
- #define AVVISI 0xD6E9B0AA // dark white
- #define NERO 0x000000FF // black2
- #define ROSSO_SCURO 0x640000F2 // dark red
- #define COL_WHITE "{FFFFFF}"
- #define COL_BLACK "{0E0101}"
- #define COL_GREY "{C3C3C3}"
- #define COL_GREEN "{6EF83C}"
- #define COL_RED "{F81414}"
- #define COL_YELLOW "{F3FF02}"
- #define COL_ORANGE "{FFAF00}"
- #define COL_CYAN "{00FFEE}"
- #define COL_LIGHTBLUE "{00C0FF}"
- #define COL_BLUE "{0049FF}"
- /*******************************************************************************
- * <=[Forwards]=> *
- *******************************************************************************/
- forward VitaPlayerAuto();
- forward CarInfo();
- forward OptionsConfiguration();
- forward ServerTeamWinning();
- forward Restart();
- forward PlayerInfoTimer();
- forward AntiArmourHack();
- forward AntiHealthHack();
- forward AntiWeaponsHack();
- forward FloodTimer(playerid);
- forward ServerConfiguration();
- forward UnMutePlayerTimer(playerid);
- forward TimerCarFixersCheckpoints();
- forward FixingTimer1(playerid);
- forward FixingTimer2(playerid);
- forward FixingTimer3(playerid);
- forward ReplaceJetpack();
- forward SpawnedPlayer(playerid);
- forward HealPlayers();
- forward AutomaticMessages();
- forward ReCountForBalance();
- /*******************************************************************************
- * <=[Variables]=> *
- *******************************************************************************/
- new MuteTimer[MAX_SERVER_PLAYERS];
- new name[24],
- pname[24],
- string[256],str[256],
- incriminato[24],
- adminname[24],
- player;
- enum PlayerData{
- gTeam[MAX_SERVER_PLAYERS],
- GoodKillings[MAX_SERVER_PLAYERS],
- BadKillings[MAX_SERVER_PLAYERS],
- Score[MAX_SERVER_PLAYERS],
- Deaths[MAX_SERVER_PLAYERS],
- pPassword2[256],
- pAdminlevel[MAX_SERVER_PLAYERS],
- pLoggedin[MAX_SERVER_PLAYERS],
- pFreezed[MAX_SERVER_PLAYERS],
- pMuted[MAX_SERVER_PLAYERS],
- pJailed[MAX_SERVER_PLAYERS],
- pMuteWarnings[MAX_SERVER_PLAYERS],
- pPingWarnings[MAX_SERVER_PLAYERS],
- pFlood[MAX_SERVER_PLAYERS],
- pFloodding[MAX_SERVER_PLAYERS]};
- new Account[MAX_SERVER_PLAYERS][PlayerData];
- enum CommandLevels{
- Mute, UnMute,
- Spec, SpecOff,
- kick, ban, Explode,
- Jail, UnJail, Slap,
- GetIp, Setweather, Settime,
- Freeze, UnFreeze,
- Goto, Get,
- ClearChat, Gmx,
- MakeAdmin, MakeMeGodAdmin,
- AChat, AutoHealPlayers};
- new CmdsOptions[CommandLevels];
- enum ServerData2{ // Cmds Enable/Disable
- Pm, Language,
- AutoLogin,
- AntiFlood,
- GetIp,
- Mute, UnMute, Explode,
- Spec, SpecOff, Slap,
- kick, ban,
- Jail, UnJail,
- Freeze, UnFreeze,
- Goto, Get, Setweather, Settime,
- ClearChat, Gmx,
- MakeAdmin, MakeMeGodAdmin,
- AChat, AutoHealPlayers};
- new ServerInfo[ServerData2];
- enum ServerOptions{ // Options
- ConnectMessages,
- MaxAdminLevel, MaxMoney,
- MaxHealth, MaxArmour,
- MaxMuteWarnings,
- MaxFloodTimes,
- MaxFloodSeconds,
- AutoHealPlayers, BalanceSystem};
- new Options2[ServerOptions];
- new SKIN[MAX_SERVER_PLAYERS];
- new BeginningSkin[MAX_SERVER_PLAYERS];
- new SetSkinToMeSkin[MAX_SERVER_PLAYERS];
- new MenuDialog=185;
- new LanguageDialog=186;
- new BoxColorDialog=187;
- new FullHealthColorDialog=188;
- new HealthColorDialog=189;
- new TextColorDialog=190;
- new Text:BlackIndicator[MAX_SERVER_PLAYERS];
- new Text:FullHealth[MAX_SERVER_PLAYERS];
- new Text:VehicleHealth[MAX_SERVER_PLAYERS];
- new Text:NameText[MAX_SERVER_PLAYERS];
- new Text:GMtext;
- new Text:CMDtext;
- new Text:BOX;
- new Text:STATStext[MAX_SERVER_PLAYERS];
- new Float:CarHealth3;
- enum ServerOptionsX{ // Options
- TextLanguage,
- Text1,
- Text2,
- Text3,
- Text4};
- new Options[ServerOptionsX];
- new Float:PlayerHealth;
- new CriminalsAmmount;
- new SWATAmmount;
- new tempo1,
- tempo2,
- tempo3,
- tempo4,
- tempo5,
- tempo6,
- tempo7,
- tempo8;
- new TerroristsCount;
- new SWATCount;
- new Jetpack;
- #if defined PLAYER_INFO
- new Checkpoint[MAX_SERVER_PLAYERS];
- new Fixing[MAX_SERVER_PLAYERS];
- #endif
- new bool:Spawned[MAX_SERVER_PLAYERS];
- new bool:CamActive[MAX_SERVER_PLAYERS];
- new Jetpack2[MAX_SERVER_PLAYERS];
- new SWAT_ZONE_1;
- new SWAT_ZONE_2;
- new TERRORISTS_ZONE_1;
- new TERRORISTS_ZONE_2;
- new v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11,v12,v13,v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24,v25,v26,v27,v28,v29,v30,v31,v32,v33,v34,v35; // veicoli
- /*******************************************************************************
- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
- * | [SWAT] | *
- * | vs | *
- * | [Terrorists] | *
- * | ^^ By [Svt]Mike ^^ | *
- * | ^^ v4.1 ^^ | *
- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - *
- *******************************************************************************/
- public OnGameModeInit(){
- SetTimer("VitaPlayerAuto",100,1);
- SetTimer("CarInfo",100,1);
- SetTimer("OptionsConfiguration",5000,1);
- new file[256]; format(file,sizeof(file),"VHealthConfig.ini");
- if(!dini_Exists(file)){
- dini_Create(file);
- if(!dini_Isset(file,"TextLanguage")) dini_IntSet(file,"TextLanguage",2);
- if(!dini_Isset(file,"Text1Color")) dini_IntSet(file,"Text1Color",7);
- if(!dini_Isset(file,"Text2Color")) dini_IntSet(file,"Text2Color",5);
- if(!dini_Isset(file,"Text3Color")) dini_IntSet(file,"Text3Color",4);
- if(!dini_Isset(file,"Text4Color")) dini_IntSet(file,"Text4Color",1);}
- #if defined CAR_HEALTH
- for(new i=0; i<MAX_SERVER_PLAYERS; i++){
- BlackIndicator[i] = TextDrawCreate(235.000000, 386.000000, " ");
- TextDrawBackgroundColor(BlackIndicator[i], 255);
- TextDrawFont(BlackIndicator[i], 1);
- TextDrawLetterSize(BlackIndicator[i], 0.500000, 1.600000);
- TextDrawColor(BlackIndicator[i], 16711935);
- TextDrawSetOutline(BlackIndicator[i], 0);
- TextDrawSetProportional(BlackIndicator[i], 1);
- TextDrawSetShadow(BlackIndicator[i], 1);
- TextDrawUseBox(BlackIndicator[i], 1);
- TextDrawBoxColor(BlackIndicator[i], NERO);
- TextDrawTextSize(BlackIndicator[i], 410.000000, 0.000000);
- FullHealth[i] = TextDrawCreate(238.000000, 390.000000, " ");
- TextDrawBackgroundColor(FullHealth[i], 255);
- TextDrawFont(FullHealth[i], 1);
- TextDrawLetterSize(FullHealth[i], 0.500000, 0.699999);
- TextDrawColor(FullHealth[i], 0x007B00AA);
- TextDrawSetOutline(FullHealth[i], 0);
- TextDrawSetProportional(FullHealth[i], 1);
- TextDrawSetShadow(FullHealth[i], 1);
- TextDrawUseBox(FullHealth[i], 1);
- TextDrawBoxColor(FullHealth[i], VERDE_SCURO);
- TextDrawTextSize(FullHealth[i], 407.000000, 0.000000);
- VehicleHealth[i] = TextDrawCreate(238.000000, 390.000000, ".");
- TextDrawBackgroundColor(VehicleHealth[i], 255);
- TextDrawFont(VehicleHealth[i], 1);
- TextDrawLetterSize(VehicleHealth[i], 0.500000, 0.699999);
- TextDrawColor(VehicleHealth[i],VERDE_SCURO);
- TextDrawSetOutline(VehicleHealth[i], 0);
- TextDrawSetProportional(VehicleHealth[i], 1);
- TextDrawSetShadow(VehicleHealth[i], 0);
- TextDrawUseBox(VehicleHealth[i], 1);
- TextDrawBoxColor(VehicleHealth[i], VERDE_CHIARO);
- TextDrawTextSize(VehicleHealth[i], 407.000000, 0.000000); // spazio BOX
- NameText[i] = TextDrawCreate(258.000000, 370.000000, "Vehicle Health");
- TextDrawBackgroundColor(NameText[i], 255);
- TextDrawFont(NameText[i], 1);
- TextDrawLetterSize(NameText[i], 0.500000, 1.300000);
- TextDrawColor(NameText[i], ROSSO);
- TextDrawSetOutline(NameText[i], 0);
- TextDrawSetProportional(NameText[i], 1);
- TextDrawSetShadow(NameText[i], 1);}
- #endif
- BOX = TextDrawCreate(0.000000, 000.000000, "");
- TextDrawBackgroundColor(BOX, 0x000000FF);
- TextDrawFont(BOX, 2);
- TextDrawLetterSize(BOX, 0.350000, 1.100000);
- TextDrawColor(BOX, 0x000000FF);
- TextDrawSetOutline(BOX, 0);
- TextDrawSetProportional(BOX, 1);
- TextDrawSetShadow(BOX, 1);
- TextDrawUseBox(BOX, 1);
- TextDrawBoxColor(BOX, 0x000000FF);
- TextDrawTextSize(BOX, 629.000000, 0.000000);
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- STATStext[i] = TextDrawCreate(485.000000, 319.000000, " ");
- TextDrawBackgroundColor(STATStext[i], 0x000000FF);
- TextDrawFont(STATStext[i], 2);
- TextDrawLetterSize(STATStext[i], 0.350000, 1.100000);
- TextDrawColor(STATStext[i], 0x000000FF);
- TextDrawSetOutline(STATStext[i], 0);
- TextDrawSetProportional(STATStext[i], 1);
- TextDrawSetShadow(STATStext[i], 1);}
- SetCorrectColor();
- print("Colors loaded:");
- format(string, sizeof(string), "- TextBoxColor=%d", dini_Int(file,"Text1Color"));
- print(string);
- format(string, sizeof(string), "- TextFullHealthColor=%d", dini_Int(file,"Text2Color"));
- print(string);
- format(string, sizeof(string), "- TextVehicleHealthColor=%d", dini_Int(file,"Text3Color"));
- print(string);
- format(string, sizeof(string), "- TextHealthTextColor=%d", dini_Int(file,"Text4Color"));
- print(string);
- SWAT_ZONE_1 = GangZoneCreate(116.7788, 1833.426, 303.6248, 2038.527);
- SWAT_ZONE_2 = GangZoneCreate(-00.00000, 0000.000, 000.0000, 0000.000);
- TERRORISTS_ZONE_1 = GangZoneCreate(-430.2263,2560.7783,45.6875, 2830.542);
- TERRORISTS_ZONE_2 = GangZoneCreate(000.0000, 0000.00, 000.000, 0000.000);
- format(file,sizeof(file),"Config/EnableCmds.ini");
- if(!fexist("Users/")){
- if(dini_Int(file, "Language")==1) print("\n\n > ATTENZIONE: La cartella 'Users' è mancante in Scriptfiles\nSYSTEM Inutilizzabile");else
- if(dini_Int(file, "Language")==2) print("\n\n > WARNING: Folder 'Users' Missing From Scriptfiles\n");
- return 1;}
- if(!fexist("Config/")){
- if(dini_Int(file, "Language")==1) print("\n\n > ATTENZIONE: La cartella 'Config' è mancante in Scriptfiles\nSYSTEM Inutilizzabile");else
- if(dini_Int(file, "Language")==2) print("\n\n > WARNING: Folder 'Config' Missing From Scriptfiles\n");
- return 1;}
- if(!dini_Exists("aka.txt"))dini_Create("aka.txt");
- if(!dini_Exists(file)){
- dini_Create(file);
- if(ServerInfo[Language]==1) print("- COMANDI-ADMIN: La configurazione è stata creata in 'EnableCmds.ini'");else
- if(ServerInfo[Language]==2) print("- ADMIN-CMDS: Configuration has been created in 'EnableCmds.ini'");}
- if(!dini_Isset(file,"********************************************")) dini_IntSet(file,"********************************************",0);
- if(!dini_Isset(file,"Language")) dini_IntSet(file,"Language",2);
- if(!dini_Isset(file,"AntiFlood")) dini_IntSet(file,"AntiFlood",1);
- if(!dini_Isset(file,"ReadCmds")) dini_IntSet(file,"ReadCmds",1);
- if(!dini_Isset(file,"AutoLogin")) dini_IntSet(file,"AutoLogin",0);
- if(!dini_Isset(file,"Pm")) dini_IntSet(file,"Pm",1);
- if(!dini_Isset(file,"GetIp")) dini_IntSet(file,"GetIp",1);
- if(!dini_Isset(file,"Mute")) dini_IntSet(file,"Mute",1);
- if(!dini_Isset(file,"UnMute")) dini_IntSet(file,"UnMute",1);
- if(!dini_Isset(file,"Spec")) dini_IntSet(file,"Spec",1);
- if(!dini_Isset(file,"SpecOff")) dini_IntSet(file,"SpecOff",1);
- if(!dini_Isset(file,"SetTime")) dini_IntSet(file,"SetTime",1);
- if(!dini_Isset(file,"SetWeather")) dini_IntSet(file,"SetWeather",1);
- if(!dini_Isset(file,"AutoHealPlayers")) dini_IntSet(file,"AutoHealPlayers",1);
- if(!dini_Isset(file,"Kick")) dini_IntSet(file,"Kick",1);
- if(!dini_Isset(file,"Explode")) dini_IntSet(file,"Explode",1);
- if(!dini_Isset(file,"Slap")) dini_IntSet(file,"Slap",1);
- if(!dini_Isset(file,"Ban")) dini_IntSet(file,"Ban",1);
- if(!dini_Isset(file,"Jail")) dini_IntSet(file,"Jail",1);
- if(!dini_Isset(file,"UnJail")) dini_IntSet(file,"UnJail",1);
- if(!dini_Isset(file,"Freeze")) dini_IntSet(file,"Freeze",1);
- if(!dini_Isset(file,"UnFreeze")) dini_IntSet(file,"UnFreeze",1);
- if(!dini_Isset(file,"Goto")) dini_IntSet(file,"Goto",1);
- if(!dini_Isset(file,"Get")) dini_IntSet(file,"Get",1);
- if(!dini_Isset(file,"CleatChat")) dini_IntSet(file,"ClearChat",1);
- if(!dini_Isset(file,"Gmx")) dini_IntSet(file,"Gmx",1);
- if(!dini_Isset(file,"MakeAdmin")) dini_IntSet(file,"MakeAdmin",1);
- if(!dini_Isset(file,"MakeMeGodAdmin")) dini_IntSet(file,"MakeMeGodAdmin",1);
- if(!dini_Isset(file,"AChat")) dini_IntSet(file,"AChat",1);
- if(ServerInfo[Language]==1)print("- Opzioni di Attivazione comandi admin caricata");else
- if(ServerInfo[Language]==2)print("- Admin Cmds activation options loaded");
- new sfile[256]; format(sfile,sizeof(sfile),"Config/OptionsConfig.ini");
- if(!dini_Exists(sfile)){
- dini_Create(sfile);
- if(ServerInfo[Language]==1) print("- OPZIONI-SERVER: La configurazione è stata creata in 'OptionsConfig.ini'");else
- if(ServerInfo[Language]==2) print("- SERVER-OPTIONS: Configuration has been created in 'OptionsConfig.ini'");}
- if(!dini_Isset(sfile,"********************************************")) dini_IntSet(sfile,"********************************************",0);
- if(!dini_Isset(sfile,"StandardWeather")) dini_IntSet(sfile,"StandardWeather",1);
- if(!dini_Isset(sfile,"StandardTime")) dini_IntSet(sfile,"StandardTime",12);
- if(!dini_Isset(sfile,"ConnectMessages")) dini_IntSet(sfile,"ConnectMessages",1);
- if(!dini_Isset(sfile,"MaxAdminLevel")) dini_IntSet(sfile,"MaxAdminLevel",10);
- if(!dini_Isset(sfile,"MaxMuteWarnings")) dini_IntSet(sfile,"MaxMuteWarnings",5);
- if(!dini_Isset(sfile,"MaxFloodTimes")) dini_IntSet(sfile,"MaxFloodTimes",5);
- if(!dini_Isset(sfile,"MaxFloodSeconds")) dini_IntSet(sfile,"MaxFloodSeconds",2);
- if(!dini_Isset(sfile,"AutoHealPlayers")) dini_IntSet(sfile,"AutoHealPlayers",1);
- if(!dini_Isset(sfile,"*******************************************")) dini_IntSet(sfile,"*******************************************",0);
- if(ServerInfo[Language]==1)print("- Configurazione opzioni server + anticheat caricata");else
- if(ServerInfo[Language]==2)print("- Server Options + anticheat configuation loaded");
- SetWeather(dini_Int(sfile,"StandardWeather"));
- SetWorldTime(dini_Int(sfile,"StandardTime"));
- format(string,sizeof(string),"- WeatherID=%d\n- WorldTime=%d",dini_Int(sfile,"StandardWeather"),dini_Int(sfile,"StandardTime"));
- print(string);
- new cfile[256]; format(cfile,sizeof(cfile),"Config/CmdsLevels.ini");
- if(!dini_Exists(cfile)){
- dini_Create(cfile);
- if(ServerInfo[Language]==1) print("- LIVELLI-COMANDI: La configurazione è stata creata in 'CmdsLevels.ini'");else
- if(ServerInfo[Language]==2) print("- COMMANDS LEVELS: Configuration has been created in 'CmdsLevels.ini'");}
- if(!dini_Isset(cfile,"********************************************")) dini_IntSet(file,"********************************************",0);
- if(!dini_Isset(cfile,"GetIp")) dini_IntSet(cfile,"GetIp",1);
- if(!dini_Isset(cfile,"Mute")) dini_IntSet(cfile,"Mute",2);
- if(!dini_Isset(cfile,"UnMute")) dini_IntSet(cfile,"UnMute",2);
- if(!dini_Isset(cfile,"Spec")) dini_IntSet(cfile,"Spec",1);
- if(!dini_Isset(cfile,"SpecOff")) dini_IntSet(cfile,"SpecOff",1);
- if(!dini_Isset(cfile,"SetTime")) dini_IntSet(cfile,"SetTime",1);
- if(!dini_Isset(cfile,"SetWeather")) dini_IntSet(cfile,"SetWeather",1);
- if(!dini_Isset(cfile,"AutoHealPlayers")) dini_IntSet(cfile,"AutoHealPlayers",7);
- if(!dini_Isset(cfile,"Kick")) dini_IntSet(cfile,"Kick",3);
- if(!dini_Isset(cfile,"Explode")) dini_IntSet(cfile,"Explode",4);
- if(!dini_Isset(cfile,"Slap")) dini_IntSet(cfile,"Slap",3);
- if(!dini_Isset(cfile,"Ban")) dini_IntSet(cfile,"Ban",8);
- if(!dini_Isset(cfile,"Jail")) dini_IntSet(cfile,"Jail",7);
- if(!dini_Isset(cfile,"UnJail")) dini_IntSet(cfile,"UnJail",7);
- if(!dini_Isset(cfile,"Freeze")) dini_IntSet(cfile,"Freeze",5);
- if(!dini_Isset(cfile,"UnFreeze")) dini_IntSet(cfile,"UnFreeze",5);
- if(!dini_Isset(cfile,"Goto")) dini_IntSet(cfile,"Goto",3);
- if(!dini_Isset(cfile,"Get")) dini_IntSet(cfile,"Get",4);
- if(!dini_Isset(cfile,"CleatChat")) dini_IntSet(cfile,"ClearChat",1);
- if(!dini_Isset(cfile,"Gmx")) dini_IntSet(cfile,"Gmx",10);
- if(!dini_Isset(cfile,"MakeAdmin")) dini_IntSet(cfile,"MakeAdmin",1);
- if(!dini_Isset(cfile,"AChat")) dini_IntSet(cfile,"AChat",1);
- if(ServerInfo[Language]==1)print("- Configurazione livelli dei comandi admin caricata");else
- if(ServerInfo[Language]==2)print("- Admin Cmds levels configuration loaded");
- tempo1=SetTimer("AntiArmourHack",3000,1);
- tempo2=SetTimer("AntiHealthHack",3000,1);
- tempo3=SetTimer("AntiWeaponsHack",3000,1);
- tempo4=SetTimer("ServerTeamWinning",5000,1);
- tempo5=SetTimer("PlayerInfoTimer",200,1);
- tempo6=SetTimer("ServerConfiguration",5000,1);
- tempo7=SetTimer("HealPlayers",2000,1);
- tempo8=SetTimer("AutomaticMessages",120000,1);
- SetTimer("TimerCarFixersCheckpoints",1000,1);
- format(cfile,sizeof(cfile),"Config/EnableCmds.ini");
- if(dini_Int(file,"Language")==1)SetGameModeText("* ITA Polizia VS Terroristi [DM] *");
- if(dini_Int(file,"Language")==2)SetGameModeText("* [SvT] v1.1] *");
- CriminalsAmmount=10000;
- SWATAmmount=10000;
- TerroristsCount=0;
- SWATCount=0;
- ShowNameTags(1);SetWeather(1);ShowPlayerMarkers(1); SetNameTagDrawDistance(200.0);SetWeather(3);SetWorldTime(12);UsePlayerPedAnims();
- /*******************************************************************************
- * <=[SKINS]=> *
- *******************************************************************************/
- //terrorists//
- AddPlayerClass(125, -169.3251,2707.1938,62.5284,7.1425,COMBAT_SHOTGUN,3000,DEAGLE,200,M4,2100); // Terror
- AddPlayerClass(124,-169.3251,2707.1938,62.5284,7.1425,COMBAT_SHOTGUN,3000,DEAGLE,200,M4,2100); // Girl
- //SWAT//
- AddPlayerClass(285,211.4132,1898.1892,16.9663,0.0,COMBAT_SHOTGUN,3000,DEAGLE,200,M4,2100); // Police
- AddPlayerClass(287,211.4132,1898.1892,16.9663,0.0,COMBAT_SHOTGUN,3000,DEAGLE,200,M4,2100); // Army
- /*******************************************************************************
- * <=[Vehicles]=> *
- *******************************************************************************/
- AddStaticVehicle(471,1890.3622,1919.1782,141.3445,93.2204,120,113); // QUAD 1
- AddStaticVehicle(471,1890.6888,1912.3683,141.3436,92.3228,120,117); // QUAD 2
- AddStaticVehicle(471,1890.4542,1915.3906,141.3450,90.3432,120,113); // QUAD 3
- AddStaticVehicle(424,-163.1253,2719.2942,61.7088,117.4886,3,2); //
- AddStaticVehicle(424,-164.3605,2722.6746,61.9742,111.9985,6,16); //
- AddStaticVehicle(568,546.4878,2276.6704,34.6743,170.0,21,1); // dunebuggy
- AddStaticVehicle(568,672.0789,1707.1348,7.0540,130.0,21,1); // dunebuggy2
- AddStaticVehicle(568,541.4863,1559.4414,1.1374,160.0,21,1); // dunebuggy3
- AddStaticVehicle(568,241.2455,1417.3711,10.4462,270.0,21,1); // dunebuggy4
- AddStaticVehicle(539,-482.6982,2193.8738,41.0315,180.0,0,2); // vortex1
- AddStaticVehicle(539,-482.6603,2180.9607,41.0073,180.0,0,3); // vortex2
- AddStaticVehicle(487,-168.8659,2675.5461,62.8603,87.4022,54,29); // TERROR HELI
- AddStaticVehicle(476,-309.1722,2634.9658,64.0348,269.6682,89,91); // TERROR PLANE !
- AddStaticVehicle(476,-309.1722,2634.9658,64.0348,269.6682,89,91); // TERROR PLANE 1
- AddStaticVehicle(476,-309.2643,2622.8464,64.3645,269.7480,103,102); // TERROR PLANE 2
- AddStaticVehicle(578,-234.6929,2598.1189,63.3280,359.4493,1,1); // TERROR TRUCK 1
- AddStaticVehicle(578,-228.7661,2598.1143,63.3282,359.5267,1,1); // TERROR TRUCK 2
- AddStaticVehicle(470,-217.4698,2653.9739,62.6643,272.6195,43,0); // TERROR CARARMY 1
- AddStaticVehicle(470,-217.9010,2659.3132,62.5970,276.2273,43,0); // TERROR CARARMY 2
- AddStaticVehicle(468,-165.3123,2689.9534,62.1105,94.4316,53,53); // TERROR SANCHEZ 1
- AddStaticVehicle(468,-165.3369,2686.5818,62.2139,89.0596,6,6); // TERROR SANCHEZ 2
- AddStaticVehicle(495,-201.3317,2595.2788,63.0518,0.1923,116,115); // TERROR VAN 1
- AddStaticVehicle(495,-207.3876,2595.4131,63.0520,0.3656,101,106); // TERROR VAN 2
- AddStaticVehicle(495,-213.5703,2595.5400,63.0536,359.2940,5,6); // TERROR VAN 3
- AddStaticVehicle(433,-219.1444,2597.7456,63.1397,359.5717,43,0); // TERROR TRUCKARMY 1
- AddStaticVehicle(433,-224.0946,2597.6660,63.1398,359.3936,43,0); // TERROR TRUCKARMY 2
- AddStaticVehicle(432,-208.0879,2728.8286,62.6964,271.0740,43,0); // TERROR TANK 1
- AddStaticVehicle(432,-207.8384,2735.6812,62.6966,268.9254,43,0); // TERROR TANK 2
- AddStaticVehicle(471,153.2954,1889.6296,17.8033,137.4735,120,114); //
- AddStaticVehicle(471,153.8186,1887.6716,17.7548,136.9200,120,112); //
- AddStaticVehicle(471,153.9804,1885.4796,17.7039,136.4340,120,113); //
- AddStaticVehicle(471,154.3786,1883.5540,17.6600,132.9804,120,117); //
- AddStaticVehicle(522,185.7254,1924.6674,17.3357,30.1494,6,25); //
- AddStaticVehicle(522,183.4221,1924.7513,17.4271,34.5778,8,82); //
- AddStaticVehicle(522,181.2607,1924.3959,17.4975,40.0982,39,106); //
- AddStaticVehicle(522,178.9758,1924.3998,17.5783,43.0176,3,3); //
- AddStaticVehicle(522,176.4674,1924.1808,17.6622,45.4583,6,25); //
- AddStaticVehicle(528,162.8309,1905.4430,18.6956,30.9275,0,0); //
- AddStaticVehicle(528,168.2095,1905.6758,18.5031,24.6313,0,0); //
- AddStaticVehicle(528,174.5316,1905.6541,18.2827,21.6185,0,0); //
- AddStaticVehicle(601,192.7631,1895.8226,17.3994,0.0891,1,1); //
- AddStaticVehicle(601,193.2829,1886.1932,17.3994,0.0678,1,1); //
- AddStaticVehicle(601,193.7072,1877.6240,17.3995,0.3000,1,1); //
- AddStaticVehicle(432,204.9264,1890.5995,17.6537,6.7154,43,0); //
- AddStaticVehicle(432,223.6556,1888.0044,17.6500,354.4488,43,0); //
- // Variables:
- /*******************************************************************************
- * <=[Objects]=> *
- *******************************************************************************/
- CreateObject(19005, 1882.04175, 1916.00208, 124.18427, 0.00000, 0.00000, 91.00000);
- CreateObject(3945, 136.00038, 1941.51208, 19.99679, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, -65.59456, 2575.78467, 19.47606, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -250.63951, 2643.25098, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -238.93336, 2643.13745, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -226.94501, 2643.17188, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -214.93872, 2643.08154, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -204.03539, 2643.06812, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.34274, 2643.36450, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -180.23586, 2643.00684, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.73773, 2679.33081, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.47067, 2655.40405, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.53848, 2667.33154, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.89310, 2691.29980, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -156.99159, 2643.05615, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -152.10576, 2643.05225, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -141.12183, 2703.28101, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.32791, 2715.28345, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.46573, 2727.30664, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.72696, 2739.28491, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -148.24336, 2776.91064, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -160.18787, 2775.85645, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -166.14874, 2775.35693, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -178.15639, 2774.39966, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -178.34099, 2786.33862, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -275.78818, 2642.67700, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -287.79291, 2642.71802, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -299.74826, 2642.65918, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -311.62387, 2643.50366, 61.98980, 0.00000, 0.00000, -4.00000);
- CreateObject(987, -323.17496, 2647.04932, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -334.59686, 2650.72827, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -344.64175, 2657.24951, 61.98980, 0.00000, 0.00000, -33.00000);
- CreateObject(987, -352.83661, 2666.00098, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -358.45288, 2676.54639, 61.98980, 0.00000, 0.00000, -62.00000);
- CreateObject(987, -363.56683, 2684.04761, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -384.79126, 2712.57617, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -376.59097, 2703.82642, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -393.72867, 2720.36670, 61.98980, 0.00000, 0.00000, -40.00000);
- CreateObject(987, -402.47003, 2723.97949, 61.98980, 0.00000, 0.00000, -25.00000);
- CreateObject(987, -413.83527, 2727.55005, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -412.09470, 2739.29370, 61.98980, 0.00000, 0.00000, -98.00000);
- CreateObject(968, -189.83876, 2643.06226, 62.27154, 0.00000, 0.00000, 0.00000);
- CreateObject(966, 739.54279, -7773.95703, 480.22153, 0.00000, 0.00000, 0.00000);
- CreateObject(966, -189.77161, 2643.07153, 62.17160, 0.00000, 0.00000, 185.00000);
- CreateObject(967, -191.16660, 2643.05518, 62.24190, 0.00000, 0.00000, -91.00000);
- CreateObject(967, -263.00681, 2643.70850, 61.52300, 0.00000, 0.00000, -91.00000);
- CreateObject(966, -261.45364, 2643.55371, 61.52940, 0.00000, 0.00000, 178.00000);
- CreateObject(987, -252.48480, 2643.39063, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(968, -261.51794, 2643.52979, 61.52878, 0.00000, 0.00000, 0.00000);
- CreateObject(967, -369.23660, 2692.75830, 62.61600, 0.00000, 0.00000, -156.00000);
- CreateObject(966, -368.61771, 2691.64258, 62.69750, 0.00000, 0.00000, -244.00000);
- CreateObject(968, -368.60596, 2691.66235, 62.78749, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 177.32248, 1941.09204, 16.69963, 0.00000, 0.00000, 0.00000);
- CreateObject(3945, 136.00038, 1941.51208, 19.99679, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, -65.59456, 2575.78467, 19.47606, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -250.63951, 2643.25098, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -238.93336, 2643.13745, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -226.94501, 2643.17188, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -214.93872, 2643.08154, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -204.03539, 2643.06812, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.34274, 2643.36450, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -180.23586, 2643.00684, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.73773, 2679.33081, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.47067, 2655.40405, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.53848, 2667.33154, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.89310, 2691.29980, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -156.99159, 2643.05615, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -152.10576, 2643.05225, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -141.12183, 2703.28101, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.32791, 2715.28345, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.46573, 2727.30664, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.72696, 2739.28491, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -148.24336, 2776.91064, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -160.18787, 2775.85645, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -166.14874, 2775.35693, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -178.15639, 2774.39966, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -178.34099, 2786.33862, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -275.78818, 2642.67700, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -287.79291, 2642.71802, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -299.74826, 2642.65918, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -311.62387, 2643.50366, 61.98980, 0.00000, 0.00000, -4.00000);
- CreateObject(987, -323.17496, 2647.04932, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -334.59686, 2650.72827, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -344.64175, 2657.24951, 61.98980, 0.00000, 0.00000, -33.00000);
- CreateObject(987, -352.83661, 2666.00098, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -358.45288, 2676.54639, 61.98980, 0.00000, 0.00000, -62.00000);
- CreateObject(987, -363.56683, 2684.04761, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -384.79126, 2712.57617, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -376.59097, 2703.82642, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -393.72867, 2720.36670, 61.98980, 0.00000, 0.00000, -40.00000);
- CreateObject(987, -402.47003, 2723.97949, 61.98980, 0.00000, 0.00000, -25.00000);
- CreateObject(987, -413.83527, 2727.55005, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -412.09470, 2739.29370, 61.98980, 0.00000, 0.00000, -98.00000);
- CreateObject(968, -189.83876, 2643.06226, 62.27154, 0.00000, 0.00000, 0.00000);
- CreateObject(966, 739.54279, -7773.95703, 480.22153, 0.00000, 0.00000, 0.00000);
- CreateObject(966, -189.77161, 2643.07153, 62.17160, 0.00000, 0.00000, 185.00000);
- CreateObject(967, -191.16660, 2643.05518, 62.24190, 0.00000, 0.00000, -91.00000);
- CreateObject(967, -263.00681, 2643.70850, 61.52300, 0.00000, 0.00000, -91.00000);
- CreateObject(966, -261.45364, 2643.55371, 61.52940, 0.00000, 0.00000, 178.00000);
- CreateObject(987, -252.48480, 2643.39063, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(968, -261.51794, 2643.52979, 61.52878, 0.00000, 0.00000, 0.00000);
- CreateObject(967, -369.23660, 2692.75830, 62.61600, 0.00000, 0.00000, -156.00000);
- CreateObject(966, -368.61771, 2691.64258, 62.69750, 0.00000, 0.00000, -244.00000);
- CreateObject(968, -368.60596, 2691.66235, 62.78749, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 188.85153, 1941.16992, 16.65139, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 176.86830, 1941.09399, 16.65139, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 164.79343, 1941.11426, 16.65139, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 152.82553, 1941.15527, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 128.61327, 1941.33215, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 116.78584, 1941.42639, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 104.75521, 1941.48743, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 92.83935, 1941.60474, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.72471, 1929.67798, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.68612, 1918.39258, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.62528, 1906.43494, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.13067, 1870.99170, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.29089, 1882.87170, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.29089, 1882.87170, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.45543, 1894.64954, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.96145, 1859.06995, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.73012, 1847.18652, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.50421, 1835.34680, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.50421, 1835.34680, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.29527, 1823.46411, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.14830, 1811.62036, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 275.26141, 1798.85632, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(16121, 167.11400, 1950.11047, 8.14010, 0.00000, -16.00000, 51.00000);
- CreateObject(16121, 168.08908, 1959.26880, 7.10076, 0.00000, -4.00000, 270.00000);
- CreateObject(3749, 9709.82129, 3563.58521, 165.93393, 0.00000, 0.00000, 0.00000);
- CreateObject(3749, 134.99237, 1939.70337, 23.96680, 0.00000, 0.00000, 0.00000);
- CreateObject(729, 141.99374, 1939.05896, 24.14409, 0.00000, 0.00000, 0.00000);
- CreateObject(18795, -168.57091, 2574.06836, 48.06170, 0.00000, -20.00000, 114.00000);
- CreateObject(18795, -154.07062, 2580.17944, 47.57700, 0.00000, -18.00000, 114.00000);
- CreateObject(18795, -130.96855, 2512.58521, 20.65630, -10.00000, -20.00000, 140.00000);
- CreateObject(18795, -153.20517, 2539.85913, 34.14790, -6.00000, -20.00000, 128.00000);
- CreateObject(18795, -138.79968, 2545.38013, 35.10627, -4.00000, -18.00000, 128.00000);
- CreateObject(3279, 201.26428, 1880.95703, 16.72367, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 209.40707, 1932.50171, 22.31780, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -398.12433, 2184.72729, 46.85466, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -387.96954, 2173.32861, 47.41525, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -405.06146, 2162.79468, 48.58695, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -442.16092, 2175.15942, 49.77832, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -435.14716, 2192.87305, 47.38590, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -416.40680, 2175.41870, 46.92938, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -382.15179, 2152.16699, 47.59148, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -436.84570, 2141.62451, 51.23775, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.32928, 2133.93018, 50.56220, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -433.97781, 2113.32642, 53.09803, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -348.51331, 2190.18677, 48.18690, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -350.46899, 2170.47314, 48.89574, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -345.34949, 2150.73779, 52.39939, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -351.60928, 2131.34106, 58.01917, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -340.10278, 2101.04272, 53.82222, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -325.58292, 2132.72241, 52.35795, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -316.12735, 2149.59814, 56.37136, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.22067, 2171.45337, 55.41240, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -313.74631, 2198.65601, 57.65634, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -308.92615, 2236.56592, 57.07997, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.18274, 2247.94507, 53.44827, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -330.25751, 2259.41772, 57.07356, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -342.89380, 2248.41821, 48.24707, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -354.09149, 2268.58545, 49.77263, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -460.09225, 2207.61133, 49.84482, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.41739, 2224.96436, 49.63446, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -482.94284, 2249.29736, 53.74930, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.78635, 2257.08765, 52.99461, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -475.49872, 2279.28271, 61.07130, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -445.22940, 2284.09644, 54.66698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -439.67853, 2263.37500, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.61023, 2276.93286, 47.14102, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -420.73160, 2258.22876, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -412.71454, 2300.19824, 45.66779, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -431.98340, 2305.18823, 55.42387, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -453.52768, 2306.54028, 63.60773, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -379.70221, 2285.37402, 45.56824, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 263.42307, 1798.74011, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 251.48900, 1798.52478, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 239.58586, 1798.22852, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 227.65533, 1797.96179, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 215.75229, 1797.73718, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 203.78291, 1797.57446, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 191.87140, 1797.35168, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 191.87140, 1797.35168, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 179.91064, 1797.17883, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 168.00597, 1796.96887, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 156.09529, 1796.74170, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 144.32176, 1796.35779, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 132.41631, 1796.16650, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 120.43871, 1795.98108, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 108.54172, 1795.73767, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 102.52810, 1795.62012, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 91.10159, 1806.90430, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(729, 127.13146, 1938.84009, 24.14409, 0.00000, 0.00000, 0.00000);
- CreateObject(18795, -168.57091, 2574.06836, 48.06170, 0.00000, -20.00000, 114.00000);
- CreateObject(18795, -154.07062, 2580.17944, 47.57700, 0.00000, -18.00000, 114.00000);
- CreateObject(18795, -130.96855, 2512.58521, 20.65630, -10.00000, -20.00000, 140.00000);
- CreateObject(18795, -153.20517, 2539.85913, 34.14790, -6.00000, -20.00000, 128.00000);
- CreateObject(18795, -138.79968, 2545.38013, 35.10627, -4.00000, -18.00000, 128.00000);
- CreateObject(3279, 201.26428, 1880.95703, 16.72367, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 209.40707, 1932.50171, 22.31780, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -398.12433, 2184.72729, 46.85466, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -387.96954, 2173.32861, 47.41525, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -405.06146, 2162.79468, 48.58695, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -442.16092, 2175.15942, 49.77832, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -435.14716, 2192.87305, 47.38590, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -416.40680, 2175.41870, 46.92938, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -382.15179, 2152.16699, 47.59148, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -436.84570, 2141.62451, 51.23775, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.32928, 2133.93018, 50.56220, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -433.97781, 2113.32642, 53.09803, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -348.51331, 2190.18677, 48.18690, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -350.46899, 2170.47314, 48.89574, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -345.34949, 2150.73779, 52.39939, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -351.60928, 2131.34106, 58.01917, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -340.10278, 2101.04272, 53.82222, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -325.58292, 2132.72241, 52.35795, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -316.12735, 2149.59814, 56.37136, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.22067, 2171.45337, 55.41240, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -313.74631, 2198.65601, 57.65634, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -308.92615, 2236.56592, 57.07997, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.18274, 2247.94507, 53.44827, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -330.25751, 2259.41772, 57.07356, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -342.89380, 2248.41821, 48.24707, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -354.09149, 2268.58545, 49.77263, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -460.09225, 2207.61133, 49.84482, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.41739, 2224.96436, 49.63446, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -482.94284, 2249.29736, 53.74930, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.78635, 2257.08765, 52.99461, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -475.49872, 2279.28271, 61.07130, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -445.22940, 2284.09644, 54.66698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -439.67853, 2263.37500, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.61023, 2276.93286, 47.14102, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -420.73160, 2258.22876, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -412.71454, 2300.19824, 45.66779, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -431.98340, 2305.18823, 55.42387, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -453.52768, 2306.54028, 63.60773, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -379.70221, 2285.37402, 45.56824, 0.00000, 0.00000, 0.00000);
- CreateObject(18802, -156.31889, 2594.03979, 52.98770, 0.00000, -14.00000, 94.00000);
- CreateObject(18802, -169.57339, 2584.24487, 52.51865, -2.00000, -12.00000, 98.00000);
- CreateObject(3945, 136.00038, 1941.51208, 19.99679, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, -65.59456, 2575.78467, 19.47606, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -250.63951, 2643.25098, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -238.93336, 2643.13745, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -226.94501, 2643.17188, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -214.93872, 2643.08154, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -204.03539, 2643.06812, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.34274, 2643.36450, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -180.91124, 2643.05518, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.73773, 2679.33081, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.47067, 2655.40405, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.53848, 2667.33154, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.89310, 2691.29980, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -168.84967, 2643.14697, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -156.99159, 2643.05615, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -152.10576, 2643.05225, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -141.12183, 2703.28101, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.32791, 2715.28345, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.46573, 2727.30664, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.72696, 2739.28491, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -148.24336, 2776.91064, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -160.18787, 2775.85645, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -166.14874, 2775.35693, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -178.15639, 2774.39966, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -178.34099, 2786.33862, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -275.78818, 2642.67700, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -287.79291, 2642.71802, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -299.74826, 2642.65918, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -311.62387, 2643.50366, 61.98980, 0.00000, 0.00000, -4.00000);
- CreateObject(987, -323.17496, 2647.04932, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -334.59686, 2650.72827, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -344.64175, 2657.24951, 61.98980, 0.00000, 0.00000, -33.00000);
- CreateObject(987, -352.83661, 2666.00098, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -358.45288, 2676.54639, 61.98980, 0.00000, 0.00000, -62.00000);
- CreateObject(987, -363.56683, 2684.04761, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -384.79126, 2712.57617, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -376.59097, 2703.82642, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -393.72867, 2720.36670, 61.98980, 0.00000, 0.00000, -40.00000);
- CreateObject(987, -402.47003, 2723.97949, 61.98980, 0.00000, 0.00000, -25.00000);
- CreateObject(987, -413.83527, 2727.55005, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -412.09470, 2739.29370, 61.98980, 0.00000, 0.00000, -98.00000);
- CreateObject(968, -189.83876, 2643.06226, 62.27154, 0.00000, 0.00000, 0.00000);
- CreateObject(966, 739.54279, -7773.95703, 480.22153, 0.00000, 0.00000, 0.00000);
- CreateObject(966, -189.77161, 2643.07153, 62.17160, 0.00000, 0.00000, 185.00000);
- CreateObject(967, -191.16660, 2643.05518, 62.24190, 0.00000, 0.00000, -91.00000);
- CreateObject(967, -263.00681, 2643.70850, 61.52300, 0.00000, 0.00000, -91.00000);
- CreateObject(966, -261.45364, 2643.55371, 61.52940, 0.00000, 0.00000, 178.00000);
- CreateObject(987, -252.48480, 2643.39063, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(968, -261.51794, 2643.52979, 61.52878, 0.00000, 0.00000, 0.00000);
- CreateObject(967, -369.23660, 2692.75830, 62.61600, 0.00000, 0.00000, -156.00000);
- CreateObject(966, -368.61771, 2691.64258, 62.69750, 0.00000, 0.00000, -244.00000);
- CreateObject(968, -368.60596, 2691.66235, 62.78749, 0.00000, 0.00000, 0.00000);
- CreateObject(6875, 19.14001, 2420.37280, 7.36026, 0.00000, 0.00000, 0.00000);
- CreateObject(3399, -7.47319, 2447.41016, 17.66161, 0.00000, 0.00000, 0.00000);
- CreateObject(3399, 4.04324, 2447.44458, 22.04506, 0.00000, 0.00000, 0.00000);
- CreateObject(3399, 15.47266, 2447.42993, 26.52610, 0.00000, 0.00000, 0.00000);
- CreateObject(3399, 26.97917, 2447.43677, 31.09675, 0.00000, 0.00000, 0.00000);
- CreateObject(3399, 32.91570, 2441.55225, 35.72180, 0.00000, 0.00000, -91.00000);
- CreateObject(3399, 32.77562, 2436.77686, 36.90005, 0.00000, 0.00000, -91.00000);
- CreateObject(3945, 136.00038, 1941.51208, 19.99679, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, 10544.89258, 3338.98828, 759.76160, 0.00000, 0.00000, 0.00000);
- CreateObject(984, -65.59456, 2575.78467, 19.47606, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -250.63951, 2643.25098, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -238.93336, 2643.13745, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -226.94501, 2643.17188, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -214.93872, 2643.08154, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -204.03539, 2643.06812, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.34274, 2643.36450, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -180.23586, 2643.00684, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -140.73773, 2679.33081, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.47067, 2655.40405, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.53848, 2667.33154, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -140.89310, 2691.29980, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -156.99159, 2643.05615, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -152.10576, 2643.05225, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -141.12183, 2703.28101, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.32791, 2715.28345, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.46573, 2727.30664, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -141.72696, 2739.28491, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -148.24336, 2776.91064, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -160.18787, 2775.85645, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -166.14874, 2775.35693, 61.98980, 0.00000, 0.00000, 185.00000);
- CreateObject(987, -178.15639, 2774.39966, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -178.34099, 2786.33862, 61.98980, 0.00000, 0.00000, 91.00000);
- CreateObject(987, -275.78818, 2642.67700, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -287.79291, 2642.71802, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -299.74826, 2642.65918, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(987, -311.62387, 2643.50366, 61.98980, 0.00000, 0.00000, -4.00000);
- CreateObject(987, -323.17496, 2647.04932, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -334.59686, 2650.72827, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -344.64175, 2657.24951, 61.98980, 0.00000, 0.00000, -33.00000);
- CreateObject(987, -352.83661, 2666.00098, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -358.45288, 2676.54639, 61.98980, 0.00000, 0.00000, -62.00000);
- CreateObject(987, -363.56683, 2684.04761, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -384.79126, 2712.57617, 61.98980, 0.00000, 0.00000, -47.00000);
- CreateObject(987, -376.59097, 2703.82642, 61.98980, 0.00000, 0.00000, -55.00000);
- CreateObject(987, -393.72867, 2720.36670, 61.98980, 0.00000, 0.00000, -40.00000);
- CreateObject(987, -402.47003, 2723.97949, 61.98980, 0.00000, 0.00000, -25.00000);
- CreateObject(987, -413.83527, 2727.55005, 61.98980, 0.00000, 0.00000, -18.00000);
- CreateObject(987, -412.09470, 2739.29370, 61.98980, 0.00000, 0.00000, -98.00000);
- CreateObject(968, -189.83876, 2643.06226, 62.27154, 0.00000, 0.00000, 0.00000);
- CreateObject(966, 739.54279, -7773.95703, 480.22153, 0.00000, 0.00000, 0.00000);
- CreateObject(966, -189.77161, 2643.07153, 62.17160, 0.00000, 0.00000, 185.00000);
- CreateObject(967, -191.16660, 2643.05518, 62.24190, 0.00000, 0.00000, -91.00000);
- CreateObject(967, -263.00681, 2643.70850, 61.52300, 0.00000, 0.00000, -91.00000);
- CreateObject(966, -261.45364, 2643.55371, 61.52940, 0.00000, 0.00000, 178.00000);
- CreateObject(987, -252.48480, 2643.39063, 61.98976, 0.00000, 0.00000, 0.00000);
- CreateObject(968, -261.51794, 2643.52979, 61.52878, 0.00000, 0.00000, 0.00000);
- CreateObject(967, -369.23660, 2692.75830, 62.61600, 0.00000, 0.00000, -156.00000);
- CreateObject(966, -368.61771, 2691.64258, 62.69750, 0.00000, 0.00000, -244.00000);
- CreateObject(968, -368.60596, 2691.66235, 62.78749, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 188.85153, 1941.16992, 16.65139, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 176.86830, 1941.09399, 16.65139, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 164.79343, 1941.11426, 16.65139, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 152.82553, 1941.15527, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 128.61327, 1941.33215, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 116.78584, 1941.42639, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 104.75521, 1941.48743, 16.65140, 0.00000, 0.00000, 180.00000);
- CreateObject(987, 92.83935, 1941.60474, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.72471, 1929.67798, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.68612, 1918.39258, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.62528, 1906.43494, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.13067, 1870.99170, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.29089, 1882.87170, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.29089, 1882.87170, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 92.45543, 1894.64954, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.96145, 1859.06995, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.73012, 1847.18652, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.50421, 1835.34680, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.50421, 1835.34680, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.29527, 1823.46411, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 91.14830, 1811.62036, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(987, 275.26141, 1798.85632, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(16121, 167.11400, 1950.11047, 8.14010, 0.00000, -16.00000, 51.00000);
- CreateObject(16121, 168.08908, 1959.26880, 7.10076, 0.00000, -4.00000, 270.00000);
- CreateObject(3749, 9709.82129, 3563.58521, 165.93393, 0.00000, 0.00000, 0.00000);
- CreateObject(3749, 134.99237, 1939.70337, 23.96680, 0.00000, 0.00000, 0.00000);
- CreateObject(729, 141.99374, 1939.05896, 24.14409, 0.00000, 0.00000, 0.00000);
- CreateObject(18795, -168.57091, 2574.06836, 48.06170, 0.00000, -20.00000, 114.00000);
- CreateObject(18795, -154.07062, 2580.17944, 47.12775, 0.00000, -18.00000, 114.00000);
- CreateObject(18795, -130.96855, 2512.58521, 20.65630, -10.00000, -20.00000, 140.00000);
- CreateObject(18795, -153.20517, 2539.85913, 34.14790, -6.00000, -20.00000, 128.00000);
- CreateObject(18795, -138.79968, 2545.38013, 35.10627, -4.00000, -18.00000, 128.00000);
- CreateObject(18795, -115.09942, 2516.77783, 21.01270, -10.00000, -22.00000, 142.00000);
- CreateObject(3279, 201.26428, 1880.95703, 16.72367, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 209.40707, 1932.50171, 22.31780, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -398.12433, 2184.72729, 46.85466, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -387.96954, 2173.32861, 47.41525, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -405.06146, 2162.79468, 48.58695, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -442.16092, 2175.15942, 49.77832, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -435.14716, 2192.87305, 47.38590, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -416.40680, 2175.41870, 46.92938, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -382.15179, 2152.16699, 47.59148, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -436.84570, 2141.62451, 51.23775, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.32928, 2133.93018, 50.56220, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -433.97781, 2113.32642, 53.09803, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -348.51331, 2190.18677, 48.18690, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -350.46899, 2170.47314, 48.89574, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -345.34949, 2150.73779, 52.39939, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -351.60928, 2131.34106, 58.01917, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -340.10278, 2101.04272, 53.82222, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -325.58292, 2132.72241, 52.35795, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -316.12735, 2149.59814, 56.37136, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.22067, 2171.45337, 55.41240, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -313.74631, 2198.65601, 57.65634, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -308.92615, 2236.56592, 57.07997, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.18274, 2247.94507, 53.44827, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -330.25751, 2259.41772, 57.07356, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -342.89380, 2248.41821, 48.24707, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -354.09149, 2268.58545, 49.77263, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -460.09225, 2207.61133, 49.84482, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.41739, 2224.96436, 49.63446, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -482.94284, 2249.29736, 53.74930, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.78635, 2257.08765, 52.99461, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -475.49872, 2279.28271, 61.07130, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -445.22940, 2284.09644, 54.66698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -439.67853, 2263.37500, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.61023, 2276.93286, 47.14102, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -420.73160, 2258.22876, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -412.71454, 2300.19824, 45.66779, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -431.98340, 2305.18823, 55.42387, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -453.52768, 2306.54028, 63.60773, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -379.70221, 2285.37402, 45.56824, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 263.42307, 1798.74011, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 251.48900, 1798.52478, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 239.58586, 1798.22852, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 227.65533, 1797.96179, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 215.75229, 1797.73718, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 203.78291, 1797.57446, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 191.87140, 1797.35168, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 191.87140, 1797.35168, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 179.91064, 1797.17883, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 168.00597, 1796.96887, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 156.09529, 1796.74170, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 144.32176, 1796.35779, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 132.41631, 1796.16650, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 120.43871, 1795.98108, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 108.54172, 1795.73767, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 102.52810, 1795.62012, 16.65140, -3.00000, 0.00000, 181.00000);
- CreateObject(987, 91.10159, 1806.90430, 16.65140, -3.00000, 0.00000, 269.00000);
- CreateObject(729, 127.13146, 1938.84009, 24.14409, 0.00000, 0.00000, 0.00000);
- CreateObject(18802, -156.31889, 2594.03979, 52.43079, 0.00000, -14.00000, 94.00000);
- CreateObject(18802, -169.57339, 2584.24487, 52.51865, -2.00000, -12.00000, 98.00000);
- CreateObject(18795, -168.57091, 2574.06836, 48.06170, 0.00000, -20.00000, 114.00000);
- CreateObject(18795, -154.07062, 2580.17944, 47.09181, 0.00000, -18.00000, 114.00000);
- CreateObject(18795, -130.96855, 2512.58521, 20.65630, -10.00000, -20.00000, 140.00000);
- CreateObject(18795, -153.20517, 2539.85913, 34.14790, -6.00000, -20.00000, 128.00000);
- CreateObject(18795, -138.79968, 2545.38013, 35.10627, -4.00000, -18.00000, 128.00000);
- CreateObject(18795, -115.09942, 2516.77783, 21.01270, -10.00000, -22.00000, 142.00000);
- CreateObject(3279, 201.26428, 1880.95703, 16.72367, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 209.40707, 1932.50171, 22.31780, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -398.12433, 2184.72729, 46.85466, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -387.96954, 2173.32861, 47.41525, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -405.06146, 2162.79468, 48.58695, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -442.16092, 2175.15942, 49.77832, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -435.14716, 2192.87305, 47.38590, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -416.40680, 2175.41870, 46.92938, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -382.15179, 2152.16699, 47.59148, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -436.84570, 2141.62451, 51.23775, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.32928, 2133.93018, 50.56220, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -433.97781, 2113.32642, 53.09803, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -348.51331, 2190.18677, 48.18690, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -350.46899, 2170.47314, 48.89574, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -345.34949, 2150.73779, 52.39939, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -351.60928, 2131.34106, 58.01917, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -340.10278, 2101.04272, 53.82222, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -325.58292, 2132.72241, 52.35795, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -316.12735, 2149.59814, 56.37136, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.22067, 2171.45337, 55.41240, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -313.74631, 2198.65601, 57.65634, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -308.92615, 2236.56592, 57.07997, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.18274, 2247.94507, 53.44827, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -330.25751, 2259.41772, 57.07356, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -342.89380, 2248.41821, 48.24707, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -354.09149, 2268.58545, 49.77263, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -460.09225, 2207.61133, 49.84482, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.41739, 2224.96436, 49.63446, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -482.94284, 2249.29736, 53.74930, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.78635, 2257.08765, 52.99461, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -475.49872, 2279.28271, 61.07130, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -445.22940, 2284.09644, 54.66698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -439.67853, 2263.37500, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.61023, 2276.93286, 47.14102, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -420.73160, 2258.22876, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -412.71454, 2300.19824, 45.66779, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -431.98340, 2305.18823, 55.42387, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -453.52768, 2306.54028, 63.60773, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -379.70221, 2285.37402, 45.56824, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 201.26428, 1880.95703, 16.72367, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 209.40707, 1932.50171, 22.31780, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -398.12433, 2184.72729, 46.85466, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -387.96954, 2173.32861, 47.41525, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -405.06146, 2162.79468, 48.58695, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -442.16092, 2175.15942, 49.77832, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -435.14716, 2192.87305, 47.38590, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -416.40680, 2175.41870, 46.92938, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -382.15179, 2152.16699, 47.59148, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -436.84570, 2141.62451, 51.23775, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.32928, 2133.93018, 50.56220, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -433.97781, 2113.32642, 53.09803, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -348.51331, 2190.18677, 48.18690, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -350.46899, 2170.47314, 48.89574, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -345.34949, 2150.73779, 52.39939, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -351.60928, 2131.34106, 58.01917, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -340.10278, 2101.04272, 53.82222, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -325.58292, 2132.72241, 52.35795, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -316.12735, 2149.59814, 56.37136, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.22067, 2171.45337, 55.41240, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -313.74631, 2198.65601, 57.65634, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -308.92615, 2236.56592, 57.07997, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -326.18274, 2247.94507, 53.44827, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -330.25751, 2259.41772, 57.07356, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -342.89380, 2248.41821, 48.24707, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -354.09149, 2268.58545, 49.77263, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -460.09225, 2207.61133, 49.84482, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.41739, 2224.96436, 49.63446, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -482.94284, 2249.29736, 53.74930, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -465.78635, 2257.08765, 52.99461, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -475.49872, 2279.28271, 61.07130, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -445.22940, 2284.09644, 54.66698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -439.67853, 2263.37500, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -421.61023, 2276.93286, 47.14102, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -420.73160, 2258.22876, 47.40698, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -412.71454, 2300.19824, 45.66779, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -431.98340, 2305.18823, 55.42387, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -453.52768, 2306.54028, 63.60773, 0.00000, 0.00000, 0.00000);
- CreateObject(711, -379.70221, 2285.37402, 45.56824, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 119.56800, 2056.84668, 16.24082, 0.00000, 0.00000, 0.00000);
- CreateObject(5481, -21.00319, 2247.56323, 113.28629, 0.00000, 0.00000, 0.00000);
- CreateObject(3253, 9.54090, 1997.94531, 16.58140, 0.00000, 0.00000, 164.00000);
- CreateObject(3250, 0.34737, 2009.13831, 16.62210, 0.00000, 0.00000, 84.00000);
- CreateObject(3284, 22.35772, 2004.42920, 16.62030, 0.00000, 0.00000, 40.00000);
- CreateObject(9244, 15.48975, 2022.35193, 16.62124, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 84.84610, 2476.50269, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 96.81201, 2476.44824, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 108.72053, 2476.39282, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 120.72904, 2476.48145, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 132.74184, 2476.39868, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 144.75012, 2476.39453, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 156.70161, 2476.37329, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 168.66878, 2476.34888, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 180.66359, 2476.36377, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 192.54524, 2476.96582, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 204.65982, 2476.32520, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 216.62975, 2476.25562, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 228.58781, 2476.23413, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 240.55450, 2476.16846, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 252.57710, 2476.21777, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 264.52667, 2476.13916, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 276.53189, 2476.16577, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 288.49432, 2476.19141, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 300.47958, 2476.22803, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 312.44702, 2476.23267, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 324.45255, 2476.25488, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 336.44415, 2476.26587, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 348.43155, 2476.27588, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 360.47144, 2476.21436, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 417.74255, 2550.86060, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 431.41861, 2476.00830, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 431.18097, 2487.98340, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 430.71069, 2500.01831, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 430.17657, 2512.03687, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 430.13559, 2524.05005, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 429.84750, 2536.01782, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 429.65854, 2539.00952, 15.47490, 0.00000, 0.00000, 91.00000);
- CreateObject(987, 366.47147, 2476.24219, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 405.80060, 2550.85181, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 393.85522, 2550.85547, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 381.74677, 2550.76587, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 369.92844, 2550.86206, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 357.95526, 2550.83643, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 345.98181, 2550.83594, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 337.01865, 2550.82007, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 311.89941, 2554.27417, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 324.21112, 2553.95044, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 299.93454, 2554.33203, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 287.90784, 2554.38867, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 275.94907, 2554.34229, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 263.98709, 2554.30273, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 252.02168, 2554.33350, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 240.07118, 2554.34937, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 228.10294, 2554.39355, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 216.17336, 2554.39185, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 204.24117, 2554.38037, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 192.30977, 2554.36450, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 180.34442, 2554.35620, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 168.39854, 2554.32446, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 156.48582, 2554.35986, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 144.54434, 2554.30688, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 132.57346, 2554.33521, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 120.60539, 2554.37866, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 108.67724, 2554.41748, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 96.72910, 2554.42651, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 86.83662, 2553.96143, 15.47491, 0.00000, 0.00000, 0.00000);
- CreateObject(987, 85.26074, 2488.14795, 15.47490, 0.00000, 0.00000, -91.00000);
- CreateObject(987, 85.59731, 2500.16821, 15.47490, 0.00000, 0.00000, -91.00000);
- CreateObject(987, 86.66308, 2536.23828, 15.47490, 0.00000, 0.00000, -91.00000);
- CreateObject(987, 87.00394, 2548.29907, 15.47490, 0.00000, 0.00000, -91.00000);
- CreateObject(987, 86.95404, 2554.27734, 15.47490, 0.00000, 0.00000, -91.00000);
- CreateObject(3279, 60.75741, 2537.16284, 15.49501, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, -148.65346, 2615.58398, 59.94767, 0.00000, 0.00000, -91.00000);
- CreateObject(966, 86.83361, 2523.95386, 15.50130, 0.00000, 0.00000, 91.00000);
- CreateObject(966, 86.24880, 2500.89917, 15.50130, 0.00000, 0.00000, -98.00000);
- CreateObject(967, 85.76083, 2512.85620, 16.31310, 0.00000, 0.00000, 178.00000);
- CreateObject(968, 86.93262, 2523.99731, 15.58090, 0.00000, 0.00000, 0.00000);
- CreateObject(968, 86.21848, 2500.85229, 15.58090, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 85.30568, 2529.31421, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 79.10014, 2551.45166, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 103.85262, 2557.38135, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 129.00815, 2557.37207, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 151.75037, 2557.07422, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 180.24199, 2556.94824, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 204.60336, 2557.31934, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 228.05602, 2556.22900, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 250.81340, 2557.58643, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 275.62546, 2558.62866, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 296.72852, 2557.86768, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 319.23923, 2557.51318, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 348.72412, 2555.34619, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 367.67288, 2551.56616, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 387.66595, 2552.61865, 11.19297, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 407.90076, 2552.30371, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 428.76324, 2551.80029, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(1303, 430.86301, 2538.97900, 15.36750, 0.00000, 0.00000, 0.00000);
- CreateObject(1304, 430.99060, 2536.69214, 15.86809, 0.00000, 0.00000, 0.00000);
- CreateObject(1305, 431.75922, 2535.58081, 15.97046, 0.00000, 0.00000, 0.00000);
- CreateObject(1305, 431.69699, 2532.72388, 15.97050, 0.00000, 0.00000, 40.00000);
- CreateObject(1305, 431.77530, 2529.43311, 15.97050, 0.00000, 0.00000, -47.00000);
- CreateObject(1305, 431.79840, 2526.43750, 15.97050, 0.00000, 0.00000, -98.00000);
- CreateObject(1305, 431.55301, 2523.66870, 15.97050, 0.00000, 0.00000, -142.00000);
- CreateObject(1305, 431.81161, 2520.87573, 15.97050, 0.00000, 0.00000, -164.00000);
- CreateObject(1305, 431.64609, 2517.93848, 15.97050, 0.00000, 0.00000, -200.00000);
- CreateObject(1305, 431.75311, 2515.05737, 15.97050, 0.00000, 0.00000, -251.00000);
- CreateObject(1305, 432.07129, 2511.99658, 15.97050, 0.00000, 0.00000, -345.00000);
- CreateObject(1305, 432.08539, 2508.90088, 15.97050, 0.00000, 0.00000, -222.00000);
- CreateObject(1305, 431.90839, 2505.98853, 15.97050, 0.00000, 0.00000, -164.00000);
- CreateObject(1305, 431.96570, 2502.99390, 15.97050, 0.00000, 0.00000, -124.00000);
- CreateObject(1305, 432.23972, 2500.29492, 15.97050, 0.00000, 0.00000, -62.00000);
- CreateObject(1305, 432.78540, 2497.40405, 15.97050, 0.00000, 0.00000, -11.00000);
- CreateObject(1305, 432.84680, 2494.65967, 15.97050, 0.00000, 0.00000, 40.00000);
- CreateObject(1305, 433.06561, 2491.76660, 15.97050, 0.00000, 0.00000, 135.00000);
- CreateObject(1305, 433.21011, 2488.75781, 15.97050, 0.00000, 0.00000, 163.00000);
- CreateObject(1305, 433.50510, 2485.94019, 15.97050, 0.00000, 0.00000, 200.00000);
- CreateObject(1305, 433.96051, 2483.21460, 15.97050, 0.00000, 0.00000, 229.00000);
- CreateObject(1305, 433.62280, 2480.39038, 15.97050, 0.00000, 0.00000, 269.00000);
- CreateObject(1304, 432.75409, 2478.35400, 15.85214, 0.00000, 0.00000, 0.00000);
- CreateObject(1303, 431.83020, 2476.42578, 15.44374, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 435.24539, 2477.73169, 15.11464, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 433.90524, 2495.77661, 15.11464, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 433.17868, 2513.35596, 15.11464, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 433.07074, 2531.07324, 15.11464, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 368.83868, 2472.86719, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 345.66827, 2472.72363, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 323.35858, 2471.78076, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 305.11771, 2473.53931, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 284.58890, 2472.62939, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 263.04431, 2472.73267, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 244.31595, 2470.63330, 10.86696, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 213.60846, 2472.78467, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 192.33403, 2467.15430, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 167.63199, 2469.52930, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 146.28581, 2472.73169, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 121.40978, 2472.92456, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 101.42039, 2472.97778, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 84.72787, 2495.70410, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(616, 82.72840, 2478.39941, 11.02686, 0.00000, 0.00000, 0.00000);
- CreateObject(11556, 297.63977, 2476.08594, 10.13998, 0.00000, 0.00000, 0.00000);
- CreateObject(3250, 219.91203, 2486.14624, 15.12241, 0.00000, 0.00000, 178.00000);
- CreateObject(3250, 211.08786, 2486.49731, 15.12353, 0.00000, 0.00000, 178.00000);
- CreateObject(3250, 202.33047, 2486.72998, 15.10697, 0.00000, 0.00000, 178.00000);
- CreateObject(3279, 520.55060, 2099.58350, 54.77147, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 192.63374, 2538.15015, 15.48667, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 102.35498, 2541.30151, 15.43453, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 153.73067, 2539.49731, 15.43453, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 155.95320, 2483.98950, 15.43453, 0.00000, 0.00000, 0.00000);
- CreateObject(3279, 107.74176, 2486.41992, 15.43453, 0.00000, 0.00000, 0.00000);
- CreateObject(3277, 243.04379, 2490.43188, 16.24980, 0.00000, 0.00000, -25.00000);
- CreateObject(3268, 243.85049, 2490.15674, 15.31034, 0.00000, 0.00000, -91.00000);
- CreateObject(3268, 239.18243, 2356.23267, 15.63008, 0.00000, 0.00000, 0.00000);
- CreateObject(3268, 24.05697, 2541.54077, 15.31555, 0.00000, 0.00000, 91.00000);
- CreateObject(3268, -8.68054, 2541.11475, 15.42557, 0.00000, 0.00000, 91.00000);
- CreateObject(3268, -39.87542, 2540.63062, 15.40878, 0.00000, 0.00000, 91.00000);
- CreateObject(3268, 379.93066, 2488.44971, 15.07896, 0.00000, 0.00000, -91.00000);
- CreateObject(3268, 348.64874, 2489.04028, 15.29285, 0.00000, 0.00000, -91.00000);
- CreateObject(3268, 410.64813, 2487.88501, 15.40319, 0.00000, 0.00000, -91.00000);
- return 1;}
- /*******************************************************************************
- * <=[GM Exit]=> *
- *******************************************************************************/
- public OnGameModeExit(){
- KillTimer(tempo1);
- KillTimer(tempo2);
- KillTimer(tempo3);
- KillTimer(tempo4);
- KillTimer(tempo5);
- KillTimer(tempo6);
- KillTimer(tempo7);
- KillTimer(tempo8);
- new file[256]; format(file,sizeof(file),"VHealthConfig.ini");
- print("\n**** ========================= ****");
- print("**** ==> Car Health System <== ****");
- print("**** ==> By Zuc <== ****");
- if(dini_Int(file,"TextLanguage")==1)print("**** ==> Disattivato <== ****");else
- if(dini_Int(file,"TextLanguage")==2)print("**** ==> UnLoaded <== ****");
- print("**** ========================= ****");
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawHideForAll(BlackIndicator[i]);
- TextDrawHideForAll(FullHealth[i]);
- TextDrawHideForAll(VehicleHealth[i]);
- TextDrawHideForAll(NameText[i]);
- TextDrawDestroy(BlackIndicator[i]);
- TextDrawDestroy(FullHealth[i]);
- TextDrawDestroy(VehicleHealth[i]);
- TextDrawDestroy(NameText[i]);
- TextDrawHideForAll(STATStext[i]);
- TextDrawDestroy(STATStext[i]);}
- TextDrawHideForAll(GMtext);
- TextDrawDestroy(GMtext);
- TextDrawHideForAll(CMDtext);
- TextDrawDestroy(CMDtext);
- TextDrawHideForAll(BOX);
- TextDrawDestroy(BOX);
- return 1;}
- /*******************************************************************************
- * <=[OnVehicleSpawn]=> *
- *******************************************************************************/
- public OnVehicleSpawn(vehicleid){
- if(vehicleid==v1) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v2) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v3) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v4) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v5) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v6) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v7) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v8) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v9) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v10) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v11) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v12) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v13) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v14) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v15) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v16) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v17) return CriminalsAmmount=CriminalsAmmount-400, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new vehicle has been bought"),print("TERRORISTS: A new vehicle has been bought");
- if(vehicleid==v18) return CriminalsAmmount=CriminalsAmmount-1000, SendRadioTeamMessage(TEAM_TERRORISTS,COLOR_WHITE,"A new RUSTLER has been bought"),print("TERRORISTS: A new RUSTLER has been bought");
- if(vehicleid==v19) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v20) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v21) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v22) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v23) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v24) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v25) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v26) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v27) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v28) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v29) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v30) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v31) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v32) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v33) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v34) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- if(vehicleid==v35) return SWATAmmount=SWATAmmount-430, SendRadioTeamMessage(TEAM_SWAT,COLOR_WHITE,"A new vehicle has been bought"),print("SWAT: A new vehicle has been bought");
- return 1;}
- /*******************************************************************************
- * <=[Skin Selection]=> *
- *******************************************************************************/
- public OnPlayerRequestClass(playerid, classid){
- SetSkinToMeSkin[playerid]=500;
- new skin=GetPlayerSkin(playerid);
- switch(skin){
- case 125,124:{
- SetPlayerPos(playerid, -382.5999,2206.6169,42.4236);
- SetPlayerFacingAngle(playerid,280.0);
- if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~r~TERRORISTS",2000,3);
- SetPlayerColor(playerid,COLOR_LIGHTRED);SKIN[playerid]=skin;
- SetPlayerCameraPos(playerid, -379.5999,2206.6169,42.4236);
- SetPlayerCameraLookAt(playerid, -382.5999,2206.6169,42.4236);}
- case 287:{
- SetPlayerPos(playerid, 212.7791,1919.7570,17.6406);
- SetPlayerFacingAngle(playerid,180.0);
- if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~b~SWAT",2000,3);
- SetPlayerColor(playerid,COLOR_BLUE);SKIN[playerid]=skin;
- SetPlayerCameraPos(playerid, 212.7791,1916.7570,17.6406);
- SetPlayerCameraLookAt(playerid, 212.7791,1919.7570,17.6406);}
- case 285:{
- SetPlayerPos(playerid, 212.7791,1919.7570,17.6406);
- SetPlayerFacingAngle(playerid,180.0);
- if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~b~DONATOR",2000,3);
- SetPlayerColor(playerid,COLOR_BLUE);SKIN[playerid]=skin;
- SetPlayerCameraPos(playerid, 212.7791,1916.7570,17.6406);
- SetPlayerCameraLookAt(playerid, 212.7791,1919.7570,17.6406);}}
- return 1;}
- /*******************************************************************************
- * <=[Player Connecting]=> *
- *******************************************************************************/
- public OnPlayerConnect(playerid){
- SetSkinToMeSkin[playerid]=500;
- BeginningSkin[playerid]=0;
- GangZoneShowForPlayer(playerid, SWAT_ZONE_1, 0x0000FF7C);
- GangZoneShowForPlayer(playerid, SWAT_ZONE_2, 0x0000FF7C);
- GangZoneShowForPlayer(playerid, TERRORISTS_ZONE_1, 0xFF00007E);
- GangZoneShowForPlayer(playerid, TERRORISTS_ZONE_2, 0xFF00007E);
- Spawned[playerid]=false;
- Jetpack2[playerid]=0;
- SetPlayerWorldBounds(playerid, 852.4849, -992.6194, 2931.147, 1272.888);
- GetPlayerName(playerid,name,sizeof(name));
- if(Options[TextLanguage]==1)format(string,sizeof(string),"- [ENTRATO]: %s (id:%d) è entrato nel server.",name, playerid);
- if(Options[TextLanguage]==2)format(string,sizeof(string),"- [JOIN]: %s (id:%d) joined the server.",name, playerid);
- SendClientMessageToAll(COLOR_YELLOW,string);print(string);
- if(Options[TextLanguage]==1)GameTextForPlayer(playerid,"~w~BENVENUTO~n~~g~nel server~n~~w~Polizia ~r~VS ~w~Terroristi",6000,3);
- if(Options[TextLanguage]==2)GameTextForPlayer(playerid,"~w~WELCOME~n~~g~in server~n~~w~SWAT ~r~VS ~w~Terrorists",6000,3);
- SendClientMessage(playerid,COLOR_LIGHTRED," ");
- SendClientMessage(playerid,COLOR_LIGHTRED,"******************************");
- if(Options[TextLanguage]==1){
- SendClientMessage(playerid,COLOR_WHITE, " Poliziotti");
- SendClientMessage(playerid,COLOR_WHITE, " VS");
- SendClientMessage(playerid,COLOR_WHITE, " Terroristi 4.1");}
- if(Options[TextLanguage]==2){
- SendClientMessage(playerid,COLOR_WHITE, " SWAT");
- SendClientMessage(playerid,COLOR_WHITE, " VS");
- SendClientMessage(playerid,COLOR_WHITE, " Terrorists 4.1");}
- SendClientMessage(playerid,COLOR_LIGHTRED,"******************************");
- SendClientMessage(playerid,COLOR_GREY," ><>< GM by [Svt]Mike ><><");
- TextDrawShowForPlayer(playerid, GMtext);
- TextDrawShowForPlayer(playerid, CMDtext);
- new pfile[256],tmp2[256],tmp3[256];GetPlayerIp(playerid,tmp3,50);
- GetPlayerName(playerid, pname, sizeof(pname));
- Account[playerid][pJailed]=0;
- Account[playerid][pMuted]=0;
- Account[playerid][pFreezed]=0;
- Account[playerid][pFlood]=0;
- format(pfile, sizeof(pfile), "Users/%s.sav", pname);
- tmp2 = dini_Get(pfile,"Ip");
- if(!fexist(pfile)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_ORANGE,"Non sei registrato!!! Usa /register [password]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_ORANGE,"Please login or register to play SvT!");}
- else if(fexist(pfile)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTGREEN, "Questo account è registrato!!! Usa /login [password] per accedere!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTGREEN, "Please login or register to play SvT!");}
- if(fexist(pfile) && Account[playerid][pLoggedin]==0 && ServerInfo[AutoLogin]==1){
- if((!strcmp(tmp3,tmp2,true))){
- PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
- Account[playerid][pLoggedin]=1;
- Account[playerid][pAdminlevel]=dini_Int(pfile, "Adminlevel");
- dini_IntSet(pfile, "Logged", Account[playerid][pLoggedin]);
- GetPlayerIp(playerid,tmp3,100);
- dini_Set(pfile,"Ip",tmp3);
- if(ServerInfo[Language]==1)format(str, 256, "Hai effettuato l'accesso correttamente!!! [nickname: %s][Livello Admin: %d]", pname, Account[playerid][pAdminlevel]),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);else
- if(ServerInfo[Language]==2)format(str, 256, "You are succesfully logged in!!! [nickname: %s][Admin Level: %d]", pname, Account[playerid][pAdminlevel]),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);
- }else{
- Account[playerid][pLoggedin]=0;}}
- if(Options2[ConnectMessages]==1){
- new stmp3[50]; GetPlayerIp(playerid,stmp3,50);
- new pAKA[256]; pAKA = dini_Get("aka.txt",stmp3);
- GetPlayerName(playerid,pname,sizeof(pname));
- if(strlen(pAKA)<3) format(str,sizeof(str),"* %s (%d) has joined the server *", pname, playerid),SendClientMessageToAll(COLOR_GREY,str);
- else if(!strcmp(pAKA,pname,true)) format(str,sizeof(str),"* %s (%d) has joined the server *", pname, playerid),SendClientMessageToAll(COLOR_GREY,str);
- else format(str,sizeof(str),"* %s (%d) has joined the server (aka: %s)*", pname, playerid, pAKA),MessageToAdmins(COLOR_GREY,str),print(str);
- if(strlen(dini_Get("aka.txt", stmp3)) == 0) dini_Set("aka.txt", stmp3, pname);else{
- if(strfind(dini_Get("aka.txt",stmp3),pname,true)==-1){
- format(string,sizeof(string),"%s,%s", dini_Get("aka.txt",stmp3), pname);
- dini_Set("aka.txt", stmp3, string);}}}
- return 1;}
- public OnPlayerTakeDamage ( playerid, issuerid, Float:amount, weaponid, bodypart ) {
- // I don't believe that's the sound ID for the sound you're looking for.
- PlayerPlaySound(playerid, 17802, 0.0, 0.0, 0.0);
- PlayerPlaySound(issuerid, 17802, 0.0, 0.0, 0.0);
- if(issuerid != INVALID_PLAYER_ID && weaponid == 34, 33 && bodypart == 9)
- {
- SetPlayerHealth(playerid, 0.0);
- GameTextForPlayer(issuerid,"~g~HEADSHOT",2000,3);
- GameTextForPlayer(playerid,"~r~HEAD~y~SHOT",2000,3);
- }
- return 1;
- }
- /*******************************************************************************
- * <=[Player Leaving]=> *
- *******************************************************************************/
- public OnPlayerDisconnect(playerid, reason){
- if(Spawned[playerid]==true){
- switch(SKIN[playerid]){
- case 125,124:{
- TerroristsCount--;}
- case 285,287:{
- SWATCount--;}}}
- Spawned[playerid]=false;
- SetSkinToMeSkin[playerid]=500;
- CamActive[playerid]=false;
- Account[playerid][pLoggedin]=0;
- new file[256];format(file, sizeof(file), "Users/%s.sav", pname);
- Account[playerid][pLoggedin]=0;
- dini_IntSet(file,"Logged",Account[playerid][pLoggedin]);
- dini_IntSet(file,"Kills",Account[playerid][GoodKillings]);
- dini_IntSet(file,"BadKills",Account[playerid][BadKillings]);
- dini_IntSet(file,"Deaths",Account[playerid][Deaths]);
- dini_IntSet(file,"Score",GetPlayerScore(playerid));
- TextDrawHideForPlayer(playerid, GMtext);
- TextDrawHideForPlayer(playerid, CMDtext);
- TextDrawHideForPlayer(playerid, BOX);
- TextDrawHideForPlayer(playerid, STATStext[playerid]);
- new stringa[39 + MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- switch(reason){
- case 0:{
- if(Options[TextLanguage]==1)format(stringa, sizeof(stringa), "- [CRASH]: %s è uscito dal server.", name);
- if(Options[TextLanguage]==2)format(stringa, sizeof(stringa), "- [CRASH]: %s has left the server.", name);}
- case 1:{
- if(Options[TextLanguage]==1)format(stringa, sizeof(stringa), "- [USCITO]: %s è uscito dal server.", name);
- if(Options[TextLanguage]==2)format(stringa, sizeof(stringa), "- [LEFT]: %s has left the server.", name);}
- case 2:{
- if(Options[TextLanguage]==1)format(stringa, sizeof(stringa), "- [KICK/BAN]: %s è stato buttato fuori.", name);
- if(Options[TextLanguage]==2)format(stringa, sizeof(stringa), "- [KICKED/BANNED]: %s has been expelled.", name);}}
- SendClientMessageToAll(COLOR_YELLOW, stringa);print(stringa);
- return 1;}
- /*******************************************************************************
- * <=[OnPlayerRequestSpawn]=> *
- *******************************************************************************/
- public OnPlayerRequestSpawn(playerid){
- TextDrawShowForPlayer(playerid, BOX);
- TextDrawShowForPlayer(playerid, STATStext[playerid]);
- SKIN[playerid]=GetPlayerSkin(playerid);
- SetSkinToMeSkin[playerid]=500;
- BeginningSkin[playerid]=SKIN[playerid];
- if(Options2[BalanceSystem]==1){
- switch(SKIN[playerid]){
- case 125,124:{
- if(TerroristsCount>SWATCount){
- if(Options[TextLanguage]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"BILANCIAMENTO: Ci sono troppi terroristi! Scegli un poliziotto!");
- if(Options[TextLanguage]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"BALANCE: There are too many players in Terrorists! Choose SWAT!");
- return 0;}}
- case 285,287:{
- if(SWATCount>TerroristsCount){
- if(Options[TextLanguage]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"BILANCIAMENTO: Ci sono troppi poliziotti scegli un terrorista!");
- if(Options[TextLanguage]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"BALANCE: There are too many players in SWAT! Choose Terrorists!");
- return 0;}}}}
- return 1;}
- /*******************************************************************************
- * <=[OnPlayerSpawn]=> *
- *******************************************************************************/
- public OnPlayerSpawn(playerid){
- CamActive[playerid]=false;
- SetPlayerHealth(playerid,99);
- SetTimerEx("SpawnedPlayer",2000,0,"d",playerid);
- ReCountForBalance();
- //new skin=GetPlayerSkin(playerid);
- switch(SKIN[playerid]){
- case 125,124:{
- Account[playerid][gTeam]=TEAM_TERRORISTS;
- GivePlayerWeapon(playerid, 18, 5); // Give playerid a sawn-off shotgun with 64 ammo
- GivePlayerWeapon(playerid, 33, 100); // Give playerid a sawn-off shotgun with 64 ammo
- SetPlayerTeam(playerid, 1);
- TerroristsCount++;}
- case 285,287:{
- Account[playerid][gTeam]=TEAM_SWAT;
- GivePlayerWeapon(playerid, 16, 5); // Give playerid a sawn-off shotgun with 64 ammo
- GivePlayerWeapon(playerid, 33, 100); // Give playerid a sawn-off shotgun with 64 ammo
- SetPlayerTeam(playerid, 2);
- SWATCount++;}}
- return 1;}
- /*******************************************************************************
- * <=[OnPlayerDeath]=> *
- *******************************************************************************/
- public OnPlayerDeath(playerid, killerid, reason){
- new Float:health2,name2[24];
- Spawned[playerid]=false;
- GetPlayerHealth(playerid,health2);
- SendDeathMessage(killerid, playerid, reason);
- switch(SKIN[playerid]){
- case 125,124:{
- SetPlayerColor(playerid,COLOR_LIGHTRED);
- TerroristsCount--;}
- case 285,287:{
- SetPlayerColor(playerid,COLOR_BLUE);
- SWATCount--;}}
- GetPlayerName(playerid,name,sizeof(name));
- GetPlayerName(killerid,name2,sizeof(name2));
- Account[playerid][Deaths]++;
- printf("+++++++ %s is dead!!! +++++++",name);
- if(Options[TextLanguage]==1)format(string,sizeof(string),"+++++++ %s è morto!!! +++++++",name);
- if(Options[TextLanguage]==2)format(string,sizeof(string),"+++++++ %s is dead!!! +++++++",name);
- SendClientMessageToAll(COLOR_GREY,string);
- if(Account[killerid][gTeam]==Account[playerid][gTeam]){
- SetPlayerScore(killerid,GetPlayerScore(killerid)-1); Account[killerid][BadKillings]++;
- GivePlayerMoney(killerid,-200);
- if(Options[TextLanguage]==1)GameTextForPlayer(killerid,"~r~NON UCCIDERE I COMPAGNI DI SQUADRA!!!",3000,3);
- if(Options[TextLanguage]==2)GameTextForPlayer(killerid,"~r~DON'T KILL TEAMMATES!!!",3000,3);
- if(Account[killerid][gTeam]==TEAM_TERRORISTS){
- CriminalsAmmount=CriminalsAmmount-200;}
- if(Account[killerid][gTeam]==TEAM_SWAT){
- SWATAmmount=SWATAmmount-200;}
- if(Options[TextLanguage]==1)SendClientMessage(killerid,COLOR_LIGHTRED,"Hai fatto perdere 200$ al tuo team!!! [Motivo: team-kill]");
- if(Options[TextLanguage]==2)SendClientMessage(killerid,COLOR_LIGHTRED,"You made your team loosing 200$!!! [Reason: team-kill]");}else
- if(Account[killerid][gTeam]!=Account[playerid][gTeam]){
- SetPlayerScore(killerid,GetPlayerScore(killerid)+1); Account[killerid][GoodKillings]++;
- GivePlayerMoney(killerid,50);
- //new skin=GetPlayerSkin(killerid);
- switch(SKIN[playerid]){
- case 125,124:{
- CriminalsAmmount=CriminalsAmmount+50;}
- case 285,287:{
- SWATAmmount=SWATAmmount+50;}}
- if(Options[TextLanguage]==1)format(string,sizeof(string),"\"%s\" ha fatto guadagnare 50$ al suo team!!! [motivo: nemico ucciso]",name2);
- if(Options[TextLanguage]==2)format(string,sizeof(string),"\"%s\" earned 50$ for his team!!! [Reason: killed enemy]",name2);
- SendClientMessageToAll(COLOR_GREY,string);}
- return 1;}
- public OnPlayerEnterCheckpoint(playerid){
- //new skin=GetPlayerSkin(playerid);
- switch(SKIN[playerid]){
- case 125,124:{
- if(Checkpoint[playerid]==CHECKPOINT_CAR_FIXER_1){
- if(IsPlayerInAnyVehicle(playerid)){
- if(Fixing[playerid]==0){
- SetTimerEx("FixingTimer1",500,0,"d",playerid);
- Fixing[playerid]=1;}}}}
- case 285,287:{
- if(Checkpoint[playerid]==CHECKPOINT_CAR_FIXER_2){
- if(IsPlayerInAnyVehicle(playerid)){
- if(Fixing[playerid]==0){
- SetTimerEx("FixingTimer1",500,0,"d",playerid);
- Fixing[playerid]=1;}}}}}
- return 1;}
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- if(GetVehicleModel(vehicleid) == 432 && GetPlayerScore(playerid) < 1500)
- {
- new Float:posx,Float:posy,Float:posz;
- GetPlayerPos(playerid, posx, posy, posz);
- SetPlayerPos(playerid, posx, posy, posz + 3);
- GameTextForPlayer(playerid,"~r~ERROR: You need 1500+ score to drive tanks!",2000,3);
- }
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){
- if(newkeys == KEY_SECONDARY_ATTACK) {
- if(Jetpack2[playerid]==1){
- Jetpack2[playerid]=0;
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- SetPlayerPos(playerid,x,y,z);}}
- return 1;}
- public OnPlayerPickUpPickup(playerid,pickupid){
- if(pickupid==Jetpack){
- //new skin=GetPlayerSkin(playerid);
- switch(SKIN[playerid]){
- case 285,287:{
- Jetpack2[playerid]=1;
- SetPlayerSpecialAction(playerid,2);
- DestroyPickup(Jetpack);
- SetTimer("ReplaceJetpack",60000,0);
- return 1;}
- case 125,124:{
- GetPlayerName(playerid,name,sizeof(name));
- if(Options[TextLanguage]==1)format(string,sizeof(string),"JETPACK: %s ha trovato il jetpack e guadagnato 2000$ per i TERRORISTI!",name);
- if(Options[TextLanguage]==2)format(string,sizeof(string),"JETPACK: %s has found the jetpack and earned 2000$ for the TERRORISTS!",name);
- SendClientMessageToAll(COLOR_LIGHTGREEN,string);
- SetPlayerSpecialAction(playerid,2);
- SetTimer("ReplaceJetpack",60000,0);
- DestroyPickup(Jetpack);
- CriminalsAmmount+=2000;
- Jetpack2[playerid]=1;
- return 1;}}}
- return 1;}
- /*******************************************************************************
- * <=[COMANDS]=> *
- *******************************************************************************/
- public OnPlayerCommandText(playerid, cmdtext[]){
- dcmd(return, 6, cmdtext);
- dcmd(villagecam, 10, cmdtext);
- dcmd(area51cam, 9, cmdtext);
- dcmd(area69cam, 9, cmdtext);
- dcmd(fbicam, 6, cmdtext);
- if(CamActive[playerid]==true){
- if(Options[TextLanguage]==1)SendClientMessage(playerid,ROSSO,"Stai osservando con una telecamera! Usa /return");else
- if(Options[TextLanguage]==2)SendClientMessage(playerid,ROSSO,"You're watching from a Camera! Use /return");
- return 1;}
- if(CamActive[playerid]==false){
- if(strcmp("/zvhealth",cmdtext, true)==0){
- if(!IsPlayerAdmin(playerid)){
- if(Options[TextLanguage]==1)SendClientMessage(playerid,ROSSO,"Devi essere loggato come RCON Admin per modificare i colori del ZVHealth");else
- if(Options[TextLanguage]==2)SendClientMessage(playerid,ROSSO,"You must be logged as RCON Admin to modify colors in ZVHealth");}
- if(IsPlayerAdmin(playerid)){
- if(Options[TextLanguage]==1)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "Opzioni SegnaVita:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");else
- if(Options[TextLanguage]==2)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "VehicleHealth Options:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");}
- return 1;}
- if(strcmp("/reloadcolors",cmdtext, true)==0){
- if(IsPlayerAdmin(playerid)){
- if(Options[TextLanguage]==1)SendClientMessage(playerid,VERDE_CHIARO,"Colori ricaricati"),print("Colori ricaricati");
- if(Options[TextLanguage]==2)SendClientMessage(playerid,VERDE_CHIARO,"Colors are Reloaded"),print("Colors are Reloaded");
- SetCorrectColor();}
- return 1;}
- if (strcmp("/recount", cmdtext, true) == 0){
- ReCountForBalance();
- SendClientMessage(playerid,COLOR_GREEN,"Players Teams Re-Count is done. use /pcount to see.");
- return 1;}
- if (strcmp("/pcount", cmdtext, true) == 0){
- format(string,sizeof(string),"| Terrorists Count: %d | SWAT Count: %d |",TerroristsCount,SWATCount);
- SendClientMessage(playerid,COLOR_GREEN,"--------------------------------------------------");
- SendClientMessage(playerid,COLOR_WHITE,string);
- SendClientMessage(playerid,COLOR_GREEN,"--------------------------------------------------");
- return 1;}
- // player commands //
- dcmd(weapons, 7, cmdtext);
- dcmd(kill, 4, cmdtext);
- dcmd(cmd, 3, cmdtext);
- dcmd(admins, 6, cmdtext);
- // register system //
- dcmd(register, 8, cmdtext);
- dcmd(login, 5, cmdtext);
- dcmd(logout, 6, cmdtext);
- dcmd(changepass, 10, cmdtext);
- if(Account[playerid][pMuted]==0){
- dcmd(pm, 2, cmdtext);}
- // admin commands //
- dcmd(admincmd, 8, cmdtext);
- dcmd(setweather,10,cmdtext);
- dcmd(autohealplayers,15,cmdtext);
- dcmd(settime,7,cmdtext);
- dcmd(admins, 6, cmdtext);
- dcmd(report, 6, cmdtext);
- dcmd(reports, 7, cmdtext);
- dcmd(asay,4,cmdtext);
- dcmd(slap,4,cmdtext);
- dcmd(explode,7,cmdtext);
- dcmd(spec,4,cmdtext);
- dcmd(specoff,7,cmdtext);
- dcmd(getip,5,cmdtext);
- dcmd(mute,4,cmdtext);
- dcmd(unmute,6,cmdtext);
- dcmd(kick,4,cmdtext);
- dcmd(ban,3,cmdtext);
- dcmd(jail,4,cmdtext);
- dcmd(unjail,6,cmdtext);
- dcmd(freeze,6,cmdtext);
- dcmd(unfreeze,8,cmdtext);
- dcmd(goto,4,cmdtext);
- dcmd(get,3,cmdtext);
- dcmd(gmx,3,cmdtext);
- dcmd(makemegodadmin,14,cmdtext);
- dcmd(makeadmin,9,cmdtext);
- dcmd(cchat,5,cmdtext);}
- return 0;}
- /*******************************************************************************
- * <=[DCMD COMMANDS]=> *
- *******************************************************************************/
- dcmd_weapons(playerid,params[]){
- #pragma unused params
- ShowPlayerDialog(playerid, CmdsMenu, DIALOG_STYLE_LIST, "Weapons:","1): UZI, nAK-47, Spray Paint\n2): Tec9, M4, Fire Extinguer\n3): Sniper Rifle, Knife, Silenced Pistol\n4): Deagle, MP5, Sawnoff Shotgun\n5): Parachute", "OK", "ESC");
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_kill(playerid,params[]){
- #pragma unused params
- SetPlayerHealth(playerid,0);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_cmd(playerid,params[]){
- #pragma unused params
- SendClientMessage(playerid,COLOR_LIGHTGREEN,"*******************************************************");
- SendClientMessage(playerid,COLOR_YELLOW,"/shop /weapons /kill /admins /pm /report /villagecam /area51cam");
- SendClientMessage(playerid,COLOR_YELLOW,"/area69cam /fbicam /return /register /login /logout /changepass");
- SendClientMessage(playerid,COLOR_WHITE,"TEAM CHAT: * [text]");
- SendClientMessage(playerid,COLOR_LIGHTGREEN,"*******************************************************");
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_villagecam(playerid,params[]){
- #pragma unused params
- if(Account[playerid][gTeam]!=TEAM_TERRORISTS){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "Non sei un terrorista, non puoi usare questo cmd");
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "You're not a terrorist, you can't use this cmd");
- return 1;}
- CamActive[playerid]=true;
- SetPlayerCameraPos(playerid,-340.5810,2182.2849,63.2930);
- SetPlayerCameraLookAt(playerid,-387.5705,2214.1582,42.4255);
- GameTextForPlayer(playerid,"~w~Village Camera.",2000,3);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_area51cam(playerid,params[]){
- #pragma unused params
- if(Account[playerid][gTeam]!=TEAM_TERRORISTS){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "Non sei un terrorista, non puoi usare questo cmd");
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "You're not a terrorist, you can't use this cmd");
- return 1;}
- CamActive[playerid]=true;
- SetPlayerCameraPos(playerid,304.9887,1844.9895,69.4630);
- SetPlayerCameraLookAt(playerid,208.6236,1897.7513,16.8711);
- GameTextForPlayer(playerid,"~w~Area51 Camera.",2000,3);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_area69cam(playerid,params[]){
- #pragma unused params
- if(Account[playerid][gTeam]!=TEAM_SWAT){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "Non fai parte delle forze dell'ordine, non puoi usare questo cmd");
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "You're in order forces, you can't use this cmd");
- return 1;}
- CamActive[playerid]=true;
- SetPlayerCameraPos(playerid,457.8419,2504.9170,27.8692);
- SetPlayerCameraLookAt(playerid,377.0463,2528.7100,16.6018);
- GameTextForPlayer(playerid,"~w~Area69 Camera.",2000,3);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_fbicam(playerid,params[]){
- #pragma unused params
- if(Account[playerid][gTeam]!=TEAM_SWAT){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "Non fai parte delle forze dell'ordine, non puoi usare questo cmd");
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "You're in order forces, you can't use this cmd");
- return 1;}
- CamActive[playerid]=true;
- SetPlayerCameraPos(playerid,65.8267,1574.7274,39.0658);
- SetPlayerCameraLookAt(playerid,-0.7615,1506.1614,12.8914);
- GameTextForPlayer(playerid,"~w~FBI Base Camera.",2000,3);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_return(playerid,params[]){
- #pragma unused params
- if(CamActive[playerid]==false)return 1;
- CamActive[playerid]=false;
- SetCameraBehindPlayer(playerid);
- GameTextForPlayer(playerid,"~g~Back.",2000,3);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_register(playerid, params[]){
- new file[256], tmp3[100];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(file, sizeof(file), "Users/%s.sav", pname);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA /register "#COL_RED"[password]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE /register "#COL_RED"[password]");
- return 1;}
- if(dini_Exists(file)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Sei già registrato!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "You are already registered!");
- return 1;}
- Account[playerid][pLoggedin]=1;
- dini_Create(file);
- PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
- GetPlayerIp(playerid,tmp3,100);
- dini_Set(file,"Ip",tmp3);
- dini_IntSet(file, "hashPW", udb_hash(params));
- dini_Set(file, "Password", params);
- dini_IntSet(file, "Adminlevel", Account[playerid][pAdminlevel]=0);
- dini_IntSet(file, "Logged", Account[playerid][pLoggedin]);
- dini_IntSet(file, "Kills", Account[playerid][GoodKillings]);
- dini_IntSet(file, "BadKills", Account[playerid][BadKillings]);
- dini_IntSet(file, "Deaths", Account[playerid][Deaths]);
- dini_IntSet(file, "Score", Account[playerid][Score]);
- if(ServerInfo[Language]==1)format(str, 256, "Ti sei registrato con successo: nickmane %s con password %s", pname, params),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);else
- if(ServerInfo[Language]==2)format(str, 256, "You succesfully registered the nickname %s with password %s", pname, params),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);
- if(ServerInfo[Language]==1) format(str, 256, "%s si è registrato server", pname),MessageToAdmins(COLOR_GREY,str);else
- if(ServerInfo[Language]==2) format(str, 256, "%s registered in server", pname),MessageToAdmins(COLOR_GREY,str);
- printf("REGISTER: %s registered [password %s]", pname, params);
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTGREEN, "Sei stato loggato automaticamente!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTGREEN, "You have been automatically logged in!");
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_login(playerid, params[]){
- new file[256],tmp3[100];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(file, sizeof(file), "Users/%s.sav", pname);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA /login "#COL_RED"[password]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE /login "#COL_RED"[password]");
- return 1;}
- if(!dini_Exists(file)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Non sei registrato!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "You're not registered!");
- return 1;}
- if(Account[playerid][pLoggedin]==1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Sei già loggato!!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "You are already logged!!!");
- return 1;}
- new tmp[256]; tmp = dini_Get(file, "hashPW");
- if(udb_hash(params) != strval(tmp)){
- format(str, 256, "You specified the wrong password for %s!", pname);
- SendClientMessage(playerid, COLOR_RED, str);}else{
- PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
- Account[playerid][GoodKillings]=dini_Int(file, "Kills");
- Account[playerid][BadKillings]=dini_Int(file, "BadKills");
- Account[playerid][Score]=dini_Int(file, "Score");
- Account[playerid][Deaths]=dini_Int(file, "Deaths");
- SetPlayerScore(playerid,Account[playerid][Score]);
- Account[playerid][pLoggedin]=1;
- Account[playerid][pAdminlevel]=dini_Int(file, "Adminlevel");
- dini_IntSet(file, "Logged", Account[playerid][pLoggedin]);
- GetPlayerIp(playerid,tmp3,100);
- dini_Set(file,"Ip",tmp3);
- if(ServerInfo[Language]==1)format(str, 256, "Hai effettuato l'accesso correttamente!!! [nickname: %s][Punteggio: %d]", pname, Account[playerid][Score]),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);else
- if(ServerInfo[Language]==2)format(str, 256, "You are succesfully logged in!!! [nickname: %s][Score: %d]", pname, Account[playerid][Score]),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);
- printf("ACCOUNT: %s (%i) logged in with password %s", pname, playerid, params);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_logout(playerid, params[]){
- new file[256];
- GetPlayerName(playerid, pname, sizeof(pname));
- format(file, sizeof(file), "Users/%s.sav", pname);
- new tmp[256]; tmp = dini_Get(file, "hashPW");
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "UTILIZZA /logout "#COL_RED"[password]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "USAGE /logout "#COL_RED"[password]");
- return 1;}
- if(udb_hash(params) != strval(tmp)){
- if(ServerInfo[Language]==1)format(str, 256, "Hai sbagliato password, %s!", pname),SendClientMessage(playerid, COLOR_RED, str);else
- if(ServerInfo[Language]==2)format(str, 256, "You specified the wrong password for %s!", pname),SendClientMessage(playerid, COLOR_RED, str);
- return 1;}else{
- Account[playerid][pLoggedin]=0;
- Account[playerid][pAdminlevel]=0;
- dini_IntSet(file,"Logged",Account[playerid][pLoggedin]);
- dini_IntSet(file,"Kills",Account[playerid][GoodKillings]);
- dini_IntSet(file,"BadKills",Account[playerid][BadKillings]);
- dini_IntSet(file,"Deaths",Account[playerid][Deaths]);
- dini_IntSet(file,"Score",GetPlayerScore(playerid));
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_YELLOW, "<<<Disconnesso. Usa /login [password] se vuoi riaccedere.>>>");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_YELLOW, "<<<Disconnected. Use /login [password] if you want to login.>>>");
- printf("ACCOUNT: %s Unlogged [password %s]", pname, params);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_changepass(playerid, params[]){
- new file[256], tmp[256],tmp2[256], Index; tmp = strtok(params,Index); tmp2 = strtok(params,Index);
- GetPlayerName(playerid, pname, sizeof(pname));
- format(file, sizeof(file), "Users/%s.sav", pname);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "UTILIZZA /changepass "#COL_RED"[vecchia password] [nuova password]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "USAGE /changepass "#COL_RED"[old password] [new password]");
- return 1;}
- if(!strlen(tmp2)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "UTILIZZA /changepass [vecchia password] "#COL_RED"[nuova password]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "USAGE /changepass [old password] "#COL_RED"[new password]");
- return 1;}
- if(!dini_Exists(file)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Non sei registrato!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "You are not registered!");
- return 1;}
- if(Account[playerid][pLoggedin]!=1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Prima di cambiare password devi accedere!!! (/login [password])");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "Before changing password you must login!!!");
- return 1;}
- new tmp3[256]; tmp3 = dini_Get(file, "hashPW");
- if(udb_hash(tmp) != strval(tmp3)){
- if(ServerInfo[Language]==1)format(str, 256, "Hai sbagliato password %s!", pname),SendClientMessage(playerid, COLOR_RED, str);else
- if(ServerInfo[Language]==2)format(str, 256, "You wrote wrong password, %s!", pname),SendClientMessage(playerid, COLOR_RED, str);}else{
- PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
- dini_IntSet(file, "hashPW", udb_hash(tmp2));
- dini_Set(file, "Password", tmp2);
- if(ServerInfo[Language]==1)format(str, 256, "Hai cambiato password con successo [nickname: %s][Nuova password: %s]", pname, tmp2),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);else
- if(ServerInfo[Language]==2)format(str, 256, "You succesfully changed your password [nickname: %s][New password: %s]", pname, tmp2),SendClientMessage(playerid, COLOR_LIGHTGREEN, str);
- printf("ACCOUNT: %s (%i) logged in with password %s", pname, playerid, params);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_pm(playerid,params[]){
- if(ServerInfo[Pm]==1)if(Account[playerid][pMuted]==0){
- new tmp[256],Index; tmp = strtok(params, Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /pm "#COL_RED"[id] [messaggio]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pm "#COL_RED"[id] [message]");
- return 1;}
- player = strval(tmp);
- if(!IsPlayerConnected(player)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "ERRORE: Questo player non è connesso (ID non valido)");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "ERROR: This player is not connected (Invalid Player ID)");
- return 1;}
- if(player==playerid){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "ERRORE: Non puoi mandare un Messaggio Personale (PM) a te stesso!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "ERROR: You can't send a Personal Message (PM) to yourself!");
- return 1;}
- if(ServerInfo[AntiFlood]==1){
- if(Account[playerid][pFlood]==0 && Account[playerid][pMuted]==0 && IsPlayerConnected(player)){
- SetTimerEx("FloodTimer",Options2[MaxFloodSeconds]*1000,0,"d",playerid);
- Account[playerid][pFlood]=1;
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(string, sizeof(string), "<<< PM da %s (ID:%i): %s >>>", adminname,playerid, params[2]), SendClientMessage(player,COLOR_LIGHTGREEN,string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "<<< PM from %s (ID:%i): %s >>>", adminname,playerid, params[2]), SendClientMessage(player,COLOR_LIGHTGREEN,string);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "<<< PM a %s (ID:%i): %s >>>",incriminato, player, params[2]),SendClientMessage(playerid,COLOR_LIGHTGREEN,string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "<<< PM to %s (ID:%i): %s >>>",incriminato, player, params[2]),SendClientMessage(playerid,COLOR_LIGHTGREEN,string);
- return 1;}
- else if(Account[playerid][pFlood]==1){
- if(Account[playerid][pFloodding]==Options2[MaxFloodTimes]-1){
- GetPlayerName(playerid,name,sizeof(name));
- Account[playerid][pFloodding]++;
- if(ServerInfo[Language]==1)format(str,sizeof(str),"ANTI-FLOOD: %s è stato kickato!!! [Motivo: Flood]",name),SendClientMessageToAll(COLOR_YELLOW,str),print(str);else
- if(ServerInfo[Language]==2)format(str,sizeof(str),"ANTI-FLOOD: %s has been kicked!!! [Reason: Flood]",name),SendClientMessageToAll(COLOR_YELLOW,str),print(str);
- Account[playerid][pFloodding]=0;
- Kick(playerid);}
- else if(Account[playerid][pFloodding]<Options2[MaxFloodTimes]){
- Account[playerid][pFloodding]++;
- if(ServerInfo[Language]==1)format(str,sizeof(str),"ANTI-FLOOD: Non floodare!!! Avvertimento %d/%d",Account[playerid][pFloodding], Options2[MaxFloodTimes]),SendClientMessage(playerid,COLOR_LIGHTRED,str);else
- if(ServerInfo[Language]==2)format(str,sizeof(str),"ANTI-FLOOD: Don't Flood!!! Warning %d/%d",Account[playerid][pFloodding], Options2[MaxFloodTimes]),SendClientMessage(playerid,COLOR_LIGHTRED,str);
- return 1;}}}
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(string, sizeof(string), "<<< PM da %s (ID:%i): %s >>>", adminname,playerid, params[2]), SendClientMessage(player,COLOR_LIGHTGREEN,string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "<<< PM from %s (ID:%i): %s >>>", adminname,playerid, params[2]), SendClientMessage(player,COLOR_LIGHTGREEN,string);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "<<< PM a %s (ID:%i): %s >>>",incriminato, player, params[2]),SendClientMessage(playerid,COLOR_LIGHTGREEN,string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "<<< PM to %s (ID:%i): %s >>>",incriminato, player, params[2]),SendClientMessage(playerid,COLOR_LIGHTGREEN,string);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_admins(playerid,params[]){
- #pragma unused params
- new Var,VarR;
- for(new x=0;x<MAX_SERVER_PLAYERS;x++){
- if(Account[x][pAdminlevel]>=1){
- Var=1;}
- if(IsPlayerAdmin(x)){
- VarR=1;}}
- if(Var==1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*** Admins Connessi: ***");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*** Admins Online: ***");
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerConnected(i)){
- if(Account[i][pAdminlevel]>=1){
- new name2[24];
- GetPlayerName(i, name2, sizeof(name2));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "- %s | (id: %d) | [Livello: %d]", name2, i, Account[i][pAdminlevel]), SendClientMessage(playerid, COLOR_WHITE, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "- %s | (id: %d) | [Level: %d]", name2, i, Account[i][pAdminlevel]), SendClientMessage(playerid, COLOR_WHITE, str);}
- if(IsPlayerAdmin(i)){
- new name2[24];
- GetPlayerName(i, name2, sizeof(name2));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "- %s | (id: %d) | [RCON ADMIN]", name2, i), SendClientMessage(playerid, COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "- %s | (id: %d) | [RCON ADMIN]", name2, i), SendClientMessage(playerid, COLOR_YELLOW, str);}}}}
- if(Var==0 && VarR==0){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*** Non ci sono Admins connessi. ***");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*** No Admins Online. ***");}
- Var=0;
- VarR=0;
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_admincmd(playerid,params[]){
- #pragma unused params
- if(Account[playerid][pAdminlevel]>=1){
- if(Options[TextLanguage]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"******************* Tutti i comandi Admin: **********************");
- if(Options[TextLanguage]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"******************** All Admin Commands: ************************");
- SendClientMessage(playerid,COLOR_WHITE,"/reports /kick /ban /jail /unjail /freeze /unfreeze /explode /slap /asay /autohealplayers");
- SendClientMessage(playerid,COLOR_WHITE,"/setweather /settime /spec /specoff/getip /mute /unmute /goto /get /gmx /makeadmin /cchat");
- SendClientMessage(playerid,COLOR_WHITE,"/makemegodadmin (ONLY RCON) /zvhealth");
- SendClientMessage(playerid,COLOR_WHITE,"ADMIN CHAT: # [text]");
- SendClientMessage(playerid,COLOR_LIGHTRED,"************************************************************************");}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_slap(playerid,params[]){
- new Float:X,Float:Y,Float:Z;
- if(Account[playerid][pAdminlevel]>=SLAP_LEVEL){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(Options[TextLanguage]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /slap "#COL_RED"[id]");
- if(Options[TextLanguage]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /slap "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerPos(player, Float:X,Float:Y,Float:Z);
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(Options[TextLanguage]==1)format(string, sizeof(string), "[ADMIN]: %s ha fatto cadere %s", adminname, incriminato);
- if(Options[TextLanguage]==2)format(string, sizeof(string), "[ADMIN]: %s made %s to fall on the ground", adminname, incriminato);
- SendClientMessageToAll(COLOR_LIGHTRED, string);
- GameTextForPlayer(player, "~r~Die!!!!",3000,4); SetPlayerPos(player,X,Y,Z+50);}else{
- if(Options[TextLanguage]==1)format(str, sizeof(str), "Devi essere admin livello %d per usare questo!!!", SLAP_LEVEL);
- if(Options[TextLanguage]==2)format(str, sizeof(str), "You must be admin level %d to use this CMD!!!", SLAP_LEVEL);
- SendClientMessage(playerid, COLOR_LIGHTRED, str);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_explode(playerid,params[]){
- new Float:X,Float:Y,Float:Z;
- if(Account[playerid][pAdminlevel]>=EXPLODE_LEVEL){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- SendClientMessage(playerid, COLOR_WHITE, "USAGE: /explode "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerPos(player, Float:X,Float:Y,Float:Z);
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(Options[TextLanguage]==1)format(string, sizeof(string), "[ADMIN]: %s ha fatto esplodere %s", adminname, incriminato);
- if(Options[TextLanguage]==2)format(string, sizeof(string), "[ADMIN]: %s exploded %s", adminname, incriminato);
- SendClientMessageToAll(COLOR_LIGHTRED, string);
- GameTextForPlayer(player, "~r~Die!!!!",3000,4); CreateExplosion(X,Y,Z,10,12000);CreateExplosion(X,Y,Z,10,12000);}else{
- format(str, sizeof(str), "You must be admin level %d to use this CMD!!!", EXPLODE_LEVEL); SendClientMessage(playerid, COLOR_LIGHTRED, str);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_report(playerid,params[]){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "UTILIZZA /report "#COL_RED"[id] [motivo]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "USAGE /report "#COL_RED"[id] [reason]");
- return 1;}
- new File:Reported = fopen("Reported.txt",io_append);player = strval(tmp);
- GetPlayerName(playerid, adminname, sizeof(adminname)); GetPlayerName(player, incriminato, sizeof(incriminato));
- format(string, sizeof(string), "|| NEW REPORT ||: '%s' reported %s (id: %i) [reason: %s] \r\n", adminname, incriminato, player, params[2]);
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTGREEN, "Il tuo REPORT è stato mandato agli admins in linea!!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTGREEN, "Your report has been sent to online admins!!!");
- fwrite(Reported, string);
- fclose(Reported);
- MessageToAdmins(COLOR_ZADMINBLUE,string);
- printf("|| NEW REPORT ||: '%s' reported %s (id: %d) [reason: %s] \r\n", adminname, incriminato, player, params[2]);
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_reports(playerid,params[]){
- #pragma unused params
- if(Account[playerid][pAdminlevel]>=1){
- new File:Reported = fopen("Reported.txt",io_read);
- fread(Reported, string);
- format(string, sizeof(string), "LAST REPORT: \"%s\"", string),SendClientMessage(playerid,COLOR_ZADMINBLUE,string);
- fclose(Reported);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_asay(playerid,params[]){
- if(Account[playerid][pAdminlevel]>=CmdsOptions[AChat] || IsPlayerAdmin(playerid)){
- if(ServerInfo[AChat]==1){
- new tmp[256],Index; tmp = strtok(params,Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /asay "#COL_RED"[message]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /asay "#COL_RED"[message]");
- return 1;}
- GetPlayerName(playerid, adminname, sizeof(adminname));
- format(string, sizeof(string), "*Admin* %s: %s", adminname, params), SendClientMessageToAll(COLOR_ZADMINBLUE,string);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_spec(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[Spec]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Spec]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Spec]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if((Account[playerid][pAdminlevel]>=CmdsOptions[Spec]) || (Account[playerid][pAdminlevel]<=CmdsOptions[Spec] && IsPlayerAdmin(playerid))) if(ServerInfo[Spec]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /spec "#COL_RED"[id]");
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /spec "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- TogglePlayerSpectating(playerid, 1);
- SetPlayerInterior(playerid,GetPlayerInterior(player));
- if(!IsPlayerInAnyVehicle(player))PlayerSpectatePlayer(playerid, player, SPECTATE_MODE_NORMAL);else
- if(IsPlayerInAnyVehicle(player))PlayerSpectateVehicle(playerid, GetPlayerVehicleID(player), SPECTATE_MODE_NORMAL);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Stai osservando %s", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You're watching %s", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_specoff(playerid,params[]){
- #pragma unused params
- if(Account[playerid][pAdminlevel]<CmdsOptions[SpecOff]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Spec]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Spec]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if((Account[playerid][pAdminlevel]>=CmdsOptions[SpecOff]) || (Account[playerid][pAdminlevel]<=CmdsOptions[SpecOff] && IsPlayerAdmin(playerid))) if(ServerInfo[SpecOff]==1){
- SetPlayerInterior(playerid,0);
- TogglePlayerSpectating(playerid,0);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_mute(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[Mute]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Mute]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Mute]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Mute]) if(ServerInfo[Mute]==1){
- new tmp[256],tmp2[256],minuti, Index; tmp = strtok(params,Index); tmp2 = strtok(params,Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /mute "#COL_RED"[id] [minuti]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /mute "#COL_RED"[id] [minutes]");
- return 1;}
- if(!strlen(tmp2)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /mute [id] "#COL_RED"[minuti]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /mute [id] "#COL_RED"[minutes]");
- return 1;}
- player = strval(tmp);
- minuti = strval(tmp2);
- if(IsPlayerConnected(player)){
- if(Account[player][pMuted]==1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "Questo player è già Mutato!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "This player is already Muted!");
- return 1;}
- if(minuti<1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "ATTENZIONE: Non puoi dare meno di 1 minuto");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You can't mute for less than 1 minute");
- return 1;}
- if(minuti>10){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "ATTENZIONE: Non puoi dare più di 10 minuti");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You can't mute for more than 10 minutes");
- return 1;}
- GetPlayerName(player, incriminato, sizeof(incriminato));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- MuteTimer[player]=SetTimerEx("UnMutePlayerTimer",minuti*60000,0,"d",player);
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha mutato %s per %d minuti", adminname, incriminato, minuti), SendClientMessageToAll(COLOR_YELLOW, str), GameTextForPlayer(player,"~r~MUTATO!!!",5000,3);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s has muted %s for %d minutes", adminname, incriminato, minuti), SendClientMessageToAll(COLOR_YELLOW, str), GameTextForPlayer(player,"~r~MUTED!!!",5000,3);
- Account[player][pMuted]=1;
- Account[player][pMuteWarnings]=1;
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Hai mutato %s per %d minutes", incriminato, minuti), SendClientMessage(playerid, COLOR_ZADMINBLUE, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You muted %s for %d minutes", incriminato, minuti), SendClientMessage(playerid, COLOR_ZADMINBLUE, string);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_unmute(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[UnMute]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[UnMute]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[UnMute]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[UnMute]) if(ServerInfo[UnMute]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /mute "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /mute "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha smutato %s", adminname, incriminato), SendClientMessageToAll(COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s unmuted %s", adminname, incriminato), SendClientMessageToAll(COLOR_YELLOW, str);
- if(ServerInfo[Language]==1)GameTextForPlayer(player,"~g~SMUTATO!!!",5000,3);else
- if(ServerInfo[Language]==2)GameTextForPlayer(player,"~g~UNMUTED!!!",5000,3);
- Account[player][pMuted]=0;
- Account[player][pMuteWarnings]=0;
- KillTimer(MuteTimer[player]);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Hai smutato %s", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You unmuted %s", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_getip(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[GetIp]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[GetIp]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[GetIp]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[GetIp]) if(ServerInfo[GetIp]==1){
- new tmp[256],tmp2[50], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /getip "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /getip "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- GetPlayerIp(player,tmp2,50);
- if(ServerInfo[Language]==1)format(str,sizeof(str),"INFORMAZIONI PLAYER: \"%s\" (id: %d) (IP: %s) (Nomi usati: %s)", incriminato, player, tmp2, dini_Get("aka.txt",tmp2)),SendClientMessage(playerid,COLOR_LIGHTGREEN,str);else
- if(ServerInfo[Language]==2)format(str,sizeof(str),"PLAYER INFO: \"%s\" (id: %d) (IP: %s) (Names Used: %s)", incriminato, player, tmp2, dini_Get("aka.txt",tmp2)),SendClientMessage(playerid,COLOR_LIGHTGREEN,str);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_jail(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[Jail]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Jail]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Jail]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Jail]) if(ServerInfo[Jail]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /jail "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /jail "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha messo in prigione %s", adminname, incriminato), SendClientMessageToAll(COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s jailed %s", adminname, incriminato), SendClientMessageToAll(COLOR_YELLOW, str);
- if(ServerInfo[Language]==1)GameTextForPlayer(player,"~r~INCARCERATO!!!",5000,3);else
- if(ServerInfo[Language]==2)GameTextForPlayer(player,"~r~JAILED!!!",5000,3);
- SetPlayerHealth(player,1);SetPlayerInterior(player,6);
- ResetPlayerWeapons(player);
- Account[player][pJailed]=1;
- SetPlayerPos(player,264.0535,77.2942,1001.0391);SetPlayerFacingAngle(player,270.0);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Hai messo in prigione %s", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You jailed %s", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_unjail(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[UnJail]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[UnJail]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[UnJail]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[UnJail]) if(ServerInfo[UnJail]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /unjail "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unjail "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato));
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha liberato %s dalla prigione", adminname, incriminato), SendClientMessageToAll(COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s removed %s from prison", adminname, incriminato), SendClientMessageToAll(COLOR_YELLOW, str);
- if(ServerInfo[Language]==1)GameTextForPlayer(player,"~g~LIBERO!!!",5000,3);else
- if(ServerInfo[Language]==2)GameTextForPlayer(player,"~g~UNJAILED!!!",5000,3);
- SpawnPlayer(player);
- ResetPlayerWeapons(player);
- Account[player][pJailed]=0;
- SetPlayerPos(player,1551.3763,-1675.0123,15.8185);SetPlayerFacingAngle(player,90.0);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Hai liberato %s dalla prigione", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You removed %s from prison", incriminato), SendClientMessage(playerid, COLOR_WHITE, string);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_kick(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[kick]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[kick]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[kick]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[kick]) if(ServerInfo[kick]==1){
- if(ServerInfo[kick]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /kick "#COL_RED"[id] [motivo]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /kick "#COL_RED"[id] [reason]");
- return 1;}
- player = strval(tmp);
- if(IsPlayerConnected(player)){
- if(playerid==player){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "<<<<Non puoi kickare te stesso!!!>>>>");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "<<<<You can't kick yourself!!!>>>>");}else{
- if(Account[player][pAdminlevel]>=1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Non puoi kickare un altro admin!!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "You can't kick an other admin!!!");}else{
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha kickato %s [Motivo: %s] \r\n", adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s kicked %s [Reason: %s] \r\n", adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_YELLOW, str);
- if(ServerInfo[Language]==1)GameTextForPlayer(player,"~r~CACCIATO!!!",20000,3);else
- if(ServerInfo[Language]==2)GameTextForPlayer(player,"~r~KICKED!!!",20000,3);
- new File:reported = fopen("KICKED_PLAYERS.sav",io_append);
- fwrite(reported, str);
- fclose(reported);
- printf("//--------[ADMIN]: %s ha kickato %s [motivo: %s] --------//",adminname, incriminato, params[2]); Kick(player);}}}else{
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_RED,"Questo ID non appartiene a nessun player!!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_RED,"Invalid Player ID!!!");}}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_ban(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[ban]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[ban]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[ban]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[ban]) if(ServerInfo[ban]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /ban "#COL_RED"[id] [motivo]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ban "#COL_RED"[id] [reason]");
- return 1;}
- player = strval(tmp);
- if(IsPlayerConnected(player)){
- if(playerid==player){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "<<<<Non puoi bannare te stesso!!!>>>>");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "<<<<You can't ban yourself!!!>>>>");}else{
- if(Account[player][pAdminlevel]>=1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_RED, "Non puoi bannare un altro admin!!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_RED, "You can't ban an other admin!!!");}else{
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha bannato %s [Motivo: %s] \r\n", adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s banned %s [Reason: %s] \r\n", adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_YELLOW, str);
- if(ServerInfo[Language]==1)GameTextForPlayer(player,"~r~BANNATO!!!",20000,3);
- if(ServerInfo[Language]==2)GameTextForPlayer(player,"~r~BANNED!!!",20000,3);
- new File:reported = fopen("BANNED_PLAYERS.sav",io_append);
- fwrite(reported, str);
- fclose(reported);
- printf("//--------[ADMIN]: %s ha bannato %s [motivo: %s] --------//",adminname, incriminato, params); Ban(player);}}}else{
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_RED,"Questo ID non appartiene a nessun player!!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_RED,"Invalid Player ID!!!");}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_freeze(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[Freeze]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Freeze]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Freeze]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Freeze]) if(ServerInfo[Freeze]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /freeze "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /freeze "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha freezato %s",adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_LIGHTRED, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s freezed %s",adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_LIGHTRED, str);
- TogglePlayerControllable(player,0);Account[player][pFreezed]=1;}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_unfreeze(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[UnFreeze]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[UnFreeze]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[UnFreeze]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[UnFreeze]) if(ServerInfo[UnFreeze]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /unfreeze "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unfreeze "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "[ADMIN]: %s ha sfreezato %s",adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_GREEN, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "[ADMIN]: %s unfreezed %s",adminname, incriminato, params[2]), SendClientMessageToAll(COLOR_GREEN, str);
- TogglePlayerControllable(player,1);Account[player][pFreezed]=0;}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_gmx(playerid,params[]){
- #pragma unused params
- if(Account[playerid][pAdminlevel]<CmdsOptions[Gmx]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Gmx]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Gmx]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Gmx]) if(ServerInfo[Gmx]==1){
- SendRconCommand("gmx");
- GameTextForAll("~w~IL SERVER~n~~w~SI STA~n~~r~RIAVVIANDO...",8000,3);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_get(playerid,params[]){
- new Float:X,Float:Y,Float:Z;
- if(Account[playerid][pAdminlevel]<CmdsOptions[Get]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Get]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Get]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Get]) if(ServerInfo[Get]==1){
- new tmp[256],INTERIOR, Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /get "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /get "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerPos(playerid, Float:X,Float:Y,Float:Z);
- INTERIOR=GetPlayerInterior(playerid);
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(string, sizeof(string), "[ADMIN]: %s teletrasportato %s a se (con veicolo)", adminname, incriminato), SendClientMessageToAll(COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "[ADMIN]: %s teleported %s to him (with his vehicle)", adminname, incriminato), SendClientMessageToAll(COLOR_LIGHTRED, string);
- if(IsPlayerInAnyVehicle(player)) TelePlayerVehicle(player,X,Y,Z,0,INTERIOR);else
- SetPlayerPos(player,X+3,Y,Z);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_goto(playerid,params[]){
- new Float:X,Float:Y,Float:Z;
- if(Account[playerid][pAdminlevel]<CmdsOptions[Goto]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Goto]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Goto]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Goto]) if(ServerInfo[Goto]==1){
- new tmp[256],INTERIOR, Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /goto "#COL_RED"[id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /goto "#COL_RED"[id]");
- return 1;}
- player = strval(params);
- if(IsPlayerConnected(player)){
- GetPlayerPos(player, Float:X,Float:Y,Float:Z);
- INTERIOR=GetPlayerInterior(player);
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- format(string, sizeof(string), "Ti sei teletrasportato da %s", incriminato); SendClientMessage(playerid, COLOR_YELLOW, string);
- format(string, sizeof(string), "[ADMIN]: %s si è teletrasportato da %s", adminname, incriminato); SendClientMessageToAll(COLOR_LIGHTRED, string);
- if(IsPlayerInAnyVehicle(playerid)) TelePlayerVehicle(playerid,X,Y,Z,0,INTERIOR);else
- SetPlayerPos(playerid,X+3,Y,Z);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_setweather(playerid,params[]){
- new str2[256];
- if(Account[playerid][pAdminlevel]<CmdsOptions[Setweather]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Setweather]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Setweather]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Setweather]) if(ServerInfo[Setweather]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /setweather "#COL_RED"[weather id]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setweather "#COL_RED"[weather id]");
- return 1;}
- player = strval(params);
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str2, sizeof(str2), "[ADMIN]: %s ha settato il tempo numero %d", adminname, player), SendClientMessageToAll(COLOR_YELLOW, str2);
- if(ServerInfo[Language]==2)format(str2, sizeof(str2), "[ADMIN]: %s has setted weather number %d", adminname, player), SendClientMessageToAll(COLOR_YELLOW, str2);
- SetWeather(player);
- format(str2,sizeof(str2),"Config/OptionsConfig.ini");
- dini_IntSet(str2,"StandardWeather",player);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_autohealplayers(playerid,params[]){
- new str2[256];
- if(Account[playerid][pAdminlevel]<CmdsOptions[AutoHealPlayers]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[AutoHealPlayers]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[AutoHealPlayers]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[AutoHealPlayers]){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /autohealplayers "#COL_RED"[0 - 1]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /autohealplayers "#COL_RED"[0 - 1]");
- return 1;}
- player = strval(params);
- if(player!=0 && player!=1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"Il valore deve essere '1' per attivarlo, o '0' per disattivarlo");
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"The value must be '1' to enable it, or '0' to disable it");
- return 1;}
- if(player==0){
- if(Options2[AutoHealPlayers]==0){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"l'AutoHealPlayers è già disattivato!");
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"AutoHealPlayers is already disabled!");
- return 1;}}
- if(player==1){
- if(Options2[AutoHealPlayers]==1){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"l'AutoHealPlayers è già attivato!");
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"AutoHealPlayers is already enabled!");
- return 1;}}
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(player==0){
- if(ServerInfo[Language]==1)format(str2, sizeof(str2), "[ADMIN]: %s ha disattivato l'AutoHealPlayers", adminname), SendClientMessageToAll(COLOR_YELLOW, str2);
- if(ServerInfo[Language]==2)format(str2, sizeof(str2), "[ADMIN]: %s disabled AutoHealPlayers", adminname), SendClientMessageToAll(COLOR_YELLOW, str2);
- GameTextForPlayer(playerid,"~w~AutoHealPlayers~n~has been ~r~disabled",2000,3);}
- if(player==1){
- if(ServerInfo[Language]==1)format(str2, sizeof(str2), "[ADMIN]: %s ha attivato l'AutoHealPlayers", adminname), SendClientMessageToAll(COLOR_YELLOW, str2);
- if(ServerInfo[Language]==2)format(str2, sizeof(str2), "[ADMIN]: %s enabled AutoHealPlayers", adminname), SendClientMessageToAll(COLOR_YELLOW, str2);
- GameTextForPlayer(playerid,"~w~AutoHealPlayers~n~has been ~g~enabled",2000,3);}
- format(str2,sizeof(str2),"Config/OptionsConfig.ini");
- Options2[AutoHealPlayers]=player;
- dini_IntSet(str2,"AutoHealPlayers",Options2[AutoHealPlayers]);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_settime(playerid,params[]){
- new str2[256];
- if(Account[playerid][pAdminlevel]<CmdsOptions[Settime]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[Settime]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[Settime]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[Settime]) if(ServerInfo[Settime]==1){
- new tmp[256], Index; tmp = strtok(params,Index);
- if(!strlen(params)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /settime "#COL_RED"[orario]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /settime "#COL_RED"[hour]");
- return 1;}
- player = strval(params);
- GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(str2, sizeof(str2), "[ADMIN]: %s ha settato l'orario alle %d:00", adminname, player), SendClientMessageToAll(COLOR_YELLOW, str2);else
- if(ServerInfo[Language]==2)format(str2, sizeof(str2), "[ADMIN]: %s has setted time to %d:00", adminname, player), SendClientMessageToAll(COLOR_YELLOW, str2);
- SetWorldTime(player);
- format(str2,sizeof(str2),"Config/OptionsConfig.ini");
- dini_IntSet(str2,"StandardTime",player);}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_makemegodadmin(playerid,params[]){
- #pragma unused params
- new file2[256];
- if(ServerInfo[MakeMeGodAdmin]==1){
- if(!IsPlayerAdmin(playerid)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_LIGHTRED, "Devi essere loggato come RCON ADMIN!!! (/rcon login [password])");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_LIGHTRED, "You must be logged as RCON ADMIN!!! (/rcon login [password])");}else
- if(IsPlayerAdmin(playerid)){
- GetPlayerName(playerid, adminname, sizeof(adminname));
- format(file2, sizeof(file2), "Users/%s.sav", adminname);
- if(ServerInfo[Language]==1)format(string, sizeof(string), "%s è ADMIN SUPREMO [livello %d]", adminname, Options2[MaxAdminLevel]), SendClientMessageToAll(COLOR_LIGHTRED, string),GameTextForPlayer(player,"~b~PROMOSSO",3000,6);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "%s is GOD ADMIN [level %d]", adminname, Options2[MaxAdminLevel]), SendClientMessageToAll(COLOR_LIGHTRED, string),GameTextForPlayer(player,"~b~PROMOTED",3000,6);
- Account[playerid][pAdminlevel]=Options2[MaxAdminLevel];
- dini_IntSet(file2, "adminlevel", Options2[MaxAdminLevel]);}}
- return 1;}
- //----------------------------------------------------------------------------//
- dcmd_makeadmin(playerid,params[]){
- if(Account[playerid][pAdminlevel]<CmdsOptions[MakeAdmin]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[MakeAdmin]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[MakeAdmin]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[MakeAdmin] || IsPlayerAdmin(playerid)) if(ServerInfo[MakeAdmin]==1){
- new file2[256],tmp[256],tmp2[256],livello, Index; tmp = strtok(params,Index); tmp2 = strtok(params,Index);
- if(!strlen(tmp)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid, COLOR_WHITE, "UTILIZZA: /makeadmin "#COL_RED"[id] [livello]");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makeadmin "#COL_RED"[id] [level]");
- return 1;}
- player = strval(tmp);
- livello = strval(tmp2);
- if(IsPlayerConnected(player)){
- GetPlayerName(player, incriminato, sizeof(incriminato));
- format(file2, sizeof(file2), "Users/%s.sav", incriminato);
- if(livello>Account[playerid][pAdminlevel] && !IsPlayerAdmin(playerid)){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"Non puoi dare un livello admin superiore al tuo!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"You can't give a higher level than yours!");
- return 1;}else
- if(livello>Options2[MaxAdminLevel]){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"ERRORE: Non puoi superare il massimo livello!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"ERROR: You can't give a level which is more than MAX LEVEL!!");
- return 1;}
- if(livello<Account[player][pAdminlevel]){
- if(ServerInfo[Language]==1)SendClientMessage(playerid,COLOR_LIGHTRED,"ERRORE: Non puoi degradare un admin!!");else
- if(ServerInfo[Language]==2)SendClientMessage(playerid,COLOR_LIGHTRED,"ERROR: You can't set a lower level to an admin!!");
- return 1;}else
- if(livello<Options2[MaxAdminLevel] && livello>=0){
- GetPlayerName(player, incriminato, sizeof(incriminato)); GetPlayerName(playerid, adminname, sizeof(adminname));
- if(ServerInfo[Language]==1)format(string, sizeof(string), "[ADMIN]: %s ha promosso admin %s [livello %d]", adminname, incriminato, livello), SendClientMessageToAll(COLOR_LIGHTRED, string),GameTextForPlayer(player,"~b~PROMOSSO",3000,6);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "[ADMIN]: %s promoted %s [level %d]", adminname, incriminato, livello), SendClientMessageToAll(COLOR_LIGHTRED, string),GameTextForPlayer(player,"~b~PROMOTED",3000,6);
- Account[player][pAdminlevel]=livello;
- dini_IntSet(file2, "adminlevel", livello);}}}
- return 1;}
- dcmd_cchat(playerid,params[]){
- #pragma unused params
- if(Account[playerid][pAdminlevel]<CmdsOptions[ClearChat]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[ClearChat]), SendClientMessage(playerid, COLOR_LIGHTRED, string);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You must be admin level %d to use this CMD!!!", CmdsOptions[ClearChat]), SendClientMessage(playerid, COLOR_LIGHTRED, string);}else
- if(Account[playerid][pAdminlevel]>=CmdsOptions[ClearChat]) if(ServerInfo[ClearChat]==1){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++) SendClientMessageToAll(COLOR_WHITE," ");}else{
- if(ServerInfo[Language]==1)format(str, sizeof(str), "Devi avere livello admin %d per usare questo CMD!!!", CmdsOptions[ClearChat]), SendClientMessage(playerid, COLOR_LIGHTRED, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "You must be admin level %d to use this CMD!!!", CmdsOptions[ClearChat]), SendClientMessage(playerid, COLOR_LIGHTRED, str);}
- return 1;}
- /*******************************************************************************
- * <=[Dialogs]=> *
- *******************************************************************************/
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){
- if(dialogid == CmdsMenu){
- if(response){
- //new skin=GetPlayerSkin(playerid);
- GetPlayerName(playerid,name,sizeof(name));
- switch(SKIN[playerid]){
- case 125,124: CriminalsAmmount-=75;
- case 285,287: SWATAmmount-=75;}
- if(listitem == 0){
- GivePlayerWeapon(playerid,MICRO_UZI,100),GivePlayerWeapon(playerid,AK47,100),GivePlayerWeapon(playerid,SPRAY_PAINT,1000),format(string,sizeof(string),"WEAPONS: %s has bought first Weapons Kit for 75$ (/weapons)",name),SendClientMessageToAll(COLOR_GREEN,string);}
- if(listitem == 1){
- GivePlayerWeapon(playerid,TEC9,100),GivePlayerWeapon(playerid,M4,100),GivePlayerWeapon(playerid,FIRE_EXTINGUER,700),format(string,sizeof(string),"WEAPONS: %s has bought second Weapons Kit for 75$ (/weapons)",name),SendClientMessageToAll(COLOR_GREEN,string);}
- if(listitem == 2){
- GivePlayerWeapon(playerid,SNIPER_RIFLE,10),GivePlayerWeapon(playerid,KNIFE,1),GivePlayerWeapon(playerid,SILENCED_PISTOL,100),format(string,sizeof(string),"WEAPONS: %s has bought third Weapons Kit for 75$ (/weapons)",name),SendClientMessageToAll(COLOR_GREEN,string);}
- if(listitem == 3){
- GivePlayerWeapon(playerid,DEAGLE,50),GivePlayerWeapon(playerid,MP5,200),GivePlayerWeapon(playerid,SAWNOFF_SHOTGUN,50),format(string,sizeof(string),"WEAPONS: %s has bought fourth Weapons Kit for 75$ (/weapons)",name),SendClientMessageToAll(COLOR_GREEN,string);}
- if(listitem == 4){
- GivePlayerWeapon(playerid,46,1),format(string,sizeof(string),"WEAPONS: %s has bought a Parachute for 75$ (/weapons)",name),SendClientMessageToAll(COLOR_GREEN,string);}}
- return 1;}
- new file[256];
- format(file,sizeof(file),"VHealthConfig.ini");
- if(dialogid == MenuDialog){
- if(response)if(IsPlayerAdmin(playerid)){
- if(listitem == 0){
- ShowPlayerDialog(playerid, LanguageDialog, DIALOG_STYLE_LIST, "Languages Text:","Italiano\nEnglish", "OK", "ESC");}
- if(listitem == 1){
- ShowPlayerDialog(playerid, BoxColorDialog, DIALOG_STYLE_LIST, "Box Colors:","Red\nYellow\nGreen\nLightgreen\nDarkgreen\nPurple\nBlack\nBlue\nLightblue\nDarkblue\nOrange\nDarkred\nWhite", "OK", "ESC");}
- if(listitem == 2){
- ShowPlayerDialog(playerid, FullHealthColorDialog, DIALOG_STYLE_LIST, "Full Health Color:","Red\nYellow\nGreen\nLightgreen\nDarkgreen\nPurple\nBlack\nBlue\nLightblue\nDarkblue\nOrange\nDarkred\nWhite", "OK", "ESC");}
- if(listitem == 3){
- ShowPlayerDialog(playerid, HealthColorDialog, DIALOG_STYLE_LIST, "Vehicle Health Color:","Red\nYellow\nGreen\nLightgreen\nDarkgreen\nPurple\nBlack\nBlue\nLightblue\nDarkblue\nOrange\nDarkred\nWhite", "OK", "ESC");}
- if(listitem == 4){
- ShowPlayerDialog(playerid, TextColorDialog, DIALOG_STYLE_LIST, "Text Color","Red\nYellow\nGreen\nLightgreen\nDarkgreen\nPurple\nBlack\nBlue\nLightblue\nDarkblue\nOrange\nDarkred\nWhite", "OK", "ESC");}}
- return 1;}
- if(dialogid == LanguageDialog){
- if(response)if(IsPlayerAdmin(playerid)){
- format(file,sizeof(file),"VHealthConfig.ini");
- if(listitem == 0){
- dini_IntSet(file,"TextLanguage",1);
- Options[TextLanguage]=1;}
- if(listitem == 1){
- dini_IntSet(file,"TextLanguage",2);
- Options[TextLanguage]=2;}
- if(listitem == 2){
- dini_IntSet(file,"TextLanguage",3);
- Options[TextLanguage]=3;}}
- if(Options[TextLanguage]==1)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "Opzioni SegnaVita:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");else
- if(Options[TextLanguage]==2)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "VehicleHealth Options:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");
- return 1;}
- if(dialogid == BoxColorDialog){
- if(response)if(IsPlayerAdmin(playerid)){
- format(file,sizeof(file),"VHealthConfig.ini");
- if(listitem == 0){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], ROSSO);
- dini_IntSet(file,"Text1Color",1);}}
- if(listitem == 1){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], GIALLO);
- dini_IntSet(file,"Text1Color",2);}}
- if(listitem == 2){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], VERDE);
- dini_IntSet(file,"Text1Color",3);}}
- if(listitem == 3){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], VERDE_CHIARO);
- dini_IntSet(file,"Text1Color",4);}}
- if(listitem == 4){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], VERDE_SCURO);
- dini_IntSet(file,"Text1Color",5);}}
- if(listitem == 5){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], FUCSIA);
- dini_IntSet(file,"Text1Color",6);}}
- if(listitem == 6){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], NERO);
- dini_IntSet(file,"Text1Color",7);}}
- if(listitem == 7){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], BLU);
- dini_IntSet(file,"Text1Color",8);}}
- if(listitem == 8){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], AZZURRO);
- dini_IntSet(file,"Text1Color",9);}}
- if(listitem == 9){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], BLU_SCURO);
- dini_IntSet(file,"Text1Color",10);}}
- if(listitem == 10){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], ARANCIONE);
- dini_IntSet(file,"Text1Color",11);}}
- if(listitem == 11){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], ROSSO_SCURO);
- dini_IntSet(file,"Text1Color",12);}}
- if(listitem == 12){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(BlackIndicator[i], BIANCO);
- dini_IntSet(file,"Text1Color",13);}}}
- if(Options[TextLanguage]==1)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "Opzioni SegnaVita:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");else
- if(Options[TextLanguage]==2)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "VehicleHealth Options:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");
- return 1;}
- if(dialogid == FullHealthColorDialog){
- if(response)if(IsPlayerAdmin(playerid)){
- format(file,sizeof(file),"VHealthConfig.ini");
- if(listitem == 0){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], ROSSO);
- dini_IntSet(file,"Text2Color",1);}}
- if(listitem == 1){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], GIALLO);
- dini_IntSet(file,"Text2Color",2);}}
- if(listitem == 2){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], VERDE);
- dini_IntSet(file,"Text2Color",3);}}
- if(listitem == 3){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], VERDE_CHIARO);
- dini_IntSet(file,"Text2Color",4);}}
- if(listitem == 4){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], VERDE_SCURO);
- dini_IntSet(file,"Text2Color",5);}}
- if(listitem == 5){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], FUCSIA);
- dini_IntSet(file,"Text2Color",6);}}
- if(listitem == 6){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], NERO);
- dini_IntSet(file,"Text2Color",7);}}
- if(listitem == 7){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], BLU);
- dini_IntSet(file,"Text2Color",8);}}
- if(listitem == 8){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], AZZURRO);
- dini_IntSet(file,"Text2Color",9);}}
- if(listitem == 9){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], BLU_SCURO);
- dini_IntSet(file,"Text2Color",10);}}
- if(listitem == 10){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], ARANCIONE);
- dini_IntSet(file,"Text2Color",11);}}
- if(listitem == 11){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], ROSSO_SCURO);
- dini_IntSet(file,"Text2Color",12);}}
- if(listitem == 12){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(FullHealth[i], BIANCO);
- dini_IntSet(file,"Text2Color",13);}}}
- if(Options[TextLanguage]==1)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "Opzioni SegnaVita:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");else
- if(Options[TextLanguage]==2)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "VehicleHealth Options:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");
- return 1;}
- if(dialogid == HealthColorDialog){
- if(response)if(IsPlayerAdmin(playerid)){
- format(file,sizeof(file),"VHealthConfig.ini");
- if(listitem == 0){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], ROSSO);
- dini_IntSet(file,"Text3Color",1);}}
- if(listitem == 1){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], GIALLO);
- dini_IntSet(file,"Text3Color",2);}}
- if(listitem == 2){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], VERDE);
- dini_IntSet(file,"Text3Color",3);}}
- if(listitem == 3){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], VERDE_CHIARO);
- dini_IntSet(file,"Text3Color",4);}}
- if(listitem == 4){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], VERDE_SCURO);
- dini_IntSet(file,"Text3Color",5);}}
- if(listitem == 5){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], FUCSIA);
- dini_IntSet(file,"Text3Color",6);}}
- if(listitem == 6){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], NERO);
- dini_IntSet(file,"Text3Color",7);}}
- if(listitem == 7){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], BLU);
- dini_IntSet(file,"Text3Color",8);}}
- if(listitem == 8){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], AZZURRO);
- dini_IntSet(file,"Text3Color",9);}}
- if(listitem == 9){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], BLU_SCURO);
- dini_IntSet(file,"Text3Color",10);}}
- if(listitem == 10){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], ARANCIONE);
- dini_IntSet(file,"Text3Color",11);}}
- if(listitem == 11){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], ROSSO_SCURO);
- dini_IntSet(file,"Text3Color",12);}}
- if(listitem == 12){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawBoxColor(VehicleHealth[i], BIANCO);
- dini_IntSet(file,"Text3Color",13);}}}
- if(Options[TextLanguage]==1)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "Opzioni SegnaVita:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");else
- if(Options[TextLanguage]==2)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "VehicleHealth Options:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");
- return 1;}
- if(dialogid == TextColorDialog){
- if(response)if(IsPlayerAdmin(playerid)){
- format(file,sizeof(file),"VHealthConfig.ini");
- if(listitem == 0){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], ROSSO);
- dini_IntSet(file,"Text4Color",1);}}
- if(listitem == 1){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], GIALLO);
- dini_IntSet(file,"Text4Color",2);}}
- if(listitem == 2){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], VERDE);
- dini_IntSet(file,"Text4Color",3);}}
- if(listitem == 3){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], VERDE_CHIARO);
- dini_IntSet(file,"Text4Color",4);}}
- if(listitem == 4){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], VERDE_SCURO);
- dini_IntSet(file,"Text4Color",5);}}
- if(listitem == 5){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], FUCSIA);
- dini_IntSet(file,"Text4Color",6);}}
- if(listitem == 6){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], NERO);
- dini_IntSet(file,"Text4Color",7);}}
- if(listitem == 7){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], BLU);
- dini_IntSet(file,"Text4Color",8);}}
- if(listitem == 8){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], AZZURRO);
- dini_IntSet(file,"Text4Color",9);}}
- if(listitem == 9){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], BLU_SCURO);
- dini_IntSet(file,"Text4Color",10);}}
- if(listitem == 10){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], ARANCIONE);
- dini_IntSet(file,"Text4Color",11);}}
- if(listitem == 11){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], ROSSO_SCURO);
- dini_IntSet(file,"Text4Color",12);}}
- if(listitem == 12){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- TextDrawColor(NameText[i], BIANCO);
- dini_IntSet(file,"Text4Color",13);}}}
- if(Options[TextLanguage]==1)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "Opzioni SegnaVita:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");else
- if(Options[TextLanguage]==2)ShowPlayerDialog(playerid, MenuDialog, DIALOG_STYLE_LIST, "VehicleHealth Options:","Text Language\nBox Color\nFullHealth Color\nHealth Color\nText Color", "Change", "Esc");
- return 1;}
- return 1;}
- /*******************************************************************************
- * <=[ONPlayerText]=> *
- *******************************************************************************/
- public OnPlayerText(playerid, text[]){
- if(text[0] == '#' && Account[playerid][pAdminlevel]>=1){
- new string4[256]; GetPlayerName(playerid,name,sizeof(name));
- if(ServerInfo[Language]==1)format(string4,sizeof(string4)," <Admin Chat> \"%s\" scrive: %s",name, text[1]), MessageToAdmins(COLOR_LIGHTGREEN,string4);else
- if(ServerInfo[Language]==2)format(string4,sizeof(string4)," <Admin Chat> \"%s\" writes: %s",name, text[1]), MessageToAdmins(COLOR_LIGHTGREEN,string4);
- return 0;}
- if(text[0] == '*'){
- new string4[128];
- if(Account[playerid][gTeam]==TEAM_TERRORISTS){
- GetPlayerName(playerid,name,sizeof(name));
- format(string4,sizeof(string4)," <TeamChat> "#COL_RED"%s"#COL_WHITE": %s",name, text[1]), MessageToTerrorists(TERRORISTS_CHAT,string4);}
- if(Account[playerid][gTeam]==TEAM_SWAT){
- GetPlayerName(playerid,name,sizeof(name));
- format(string4,sizeof(string4)," <TeamChat> "#COL_BLUE"%s"#COL_WHITE": %s",name, text[1]), MessageToSWAT(SWAT_CHAT,string4);}
- return 0;}
- if(Account[playerid][pMuted]==1){
- GetPlayerName(playerid,name,sizeof(name));
- if(Account[playerid][pMuteWarnings]==Options2[MaxMuteWarnings]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "%s è stato kickato [Avvertimenti Mute: %d/%d]",name,Account[playerid][pMuteWarnings],Options2[MaxMuteWarnings]),SendClientMessageToAll(COLOR_YELLOW,string),GameTextForPlayer(player,"~r~KICKATO!!!~n~[Motivo: Flood]",20000,3);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "%s has been KICKED [Mute Warning: %d/%d]",name,Account[playerid][pMuteWarnings],Options2[MaxMuteWarnings]),SendClientMessageToAll(COLOR_YELLOW,string),GameTextForPlayer(player,"~r~KICKED!!!~n~[Reason: Flood]",20000,3);
- Account[playerid][pMuteWarnings]=0;Kick(playerid);
- return 0;}
- if(Account[playerid][pMuteWarnings]<Options2[MaxMuteWarnings]){
- if(ServerInfo[Language]==1)format(string, sizeof(string), "Non puoi parlare!!! Sei stato mutato!!! [Avvertimento: %d/%d]",Account[playerid][pMuteWarnings],Options2[MaxMuteWarnings]),SendClientMessage(playerid,COLOR_LIGHTRED,string),GameTextForPlayer(playerid,"~r~Sei MUTATO!!!~n~Non puoi chattare.",2000,3);else
- if(ServerInfo[Language]==2)format(string, sizeof(string), "You can't speak!!! You're Muted!!! [Warning: %d/%d]",Account[playerid][pMuteWarnings],Options2[MaxMuteWarnings]),SendClientMessage(playerid,COLOR_LIGHTRED,string),GameTextForPlayer(playerid,"~r~You're MUTED!!!~n~You can't chat.",2000,3);
- Account[playerid][pMuteWarnings]++;
- return 0;}}
- if(ServerInfo[AntiFlood]==1){
- if(Account[playerid][pFlood]==0){
- SetTimerEx("FloodTimer",Options2[MaxFloodSeconds]*1000,0,"d",playerid);
- Account[playerid][pFlood]=1;
- return 1;}
- else if(Account[playerid][pFlood]==1){
- if(Account[playerid][pFloodding]==Options2[MaxFloodTimes]-1){
- GetPlayerName(playerid,name,sizeof(name));
- Account[playerid][pFloodding]++;
- if(ServerInfo[Language]==1)format(str,sizeof(str),"ANTI-FLOOD: %s è stato kickato!!! [Motivo: Flood]",name),SendClientMessageToAll(COLOR_YELLOW,str),print(str);else
- if(ServerInfo[Language]==2)format(str,sizeof(str),"ANTI-FLOOD: %s has been kicked!!! [Reason: Flood]",name),SendClientMessageToAll(COLOR_YELLOW,str),print(str);
- Account[playerid][pFloodding]=0;
- Kick(playerid);}
- else if(Account[playerid][pFloodding]<Options2[MaxFloodTimes]){
- Account[playerid][pFloodding]++;
- if(ServerInfo[Language]==1)format(str,sizeof(str),"ANTI-FLOOD: Non floodare!!! Avvertimento %d/%d",Account[playerid][pFloodding], Options2[MaxFloodTimes]),SendClientMessage(playerid,COLOR_LIGHTRED,str);else
- if(ServerInfo[Language]==2)format(str,sizeof(str),"ANTI-FLOOD: Don't Flood!!! Warning %d/%d",Account[playerid][pFloodding], Options2[MaxFloodTimes]),SendClientMessage(playerid,COLOR_LIGHTRED,str);
- return 0;}}}
- return 0;}
- /*******************************************************************************
- * <=[Stocks]=> *
- *******************************************************************************/
- stock MessageToAdmins(color,const stringa2[]){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerConnected(i) == 1) if(Account[i][pAdminlevel]>=1){SendClientMessage(i, color, stringa2);}}
- return 1;}
- stock MessageToTerrorists(color,const stringa2[]){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerConnected(i)==1){
- if(Account[i][gTeam]==TEAM_TERRORISTS){
- SendClientMessage(i, color, stringa2);}}}
- return 1;}
- stock MessageToSWAT(color,const stringa2[]){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerConnected(i)==1){
- if(Account[i][gTeam]==TEAM_SWAT){
- SendClientMessage(i, color, stringa2);}}}
- return 1;}
- stock TelePlayerVehicle(playerid,Float:X,Float:Y,Float:Z,Float:ROT,INT){
- new VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,X,Y,Z); LinkVehicleToInterior(VehicleID,INT);SetVehicleZAngle(VehicleID,ROT);
- SetVehicleVirtualWorld(VehicleID, GetPlayerVirtualWorld(playerid));
- return 1;}
- stock udb_hash(buf[]) {
- new length=strlen(buf);
- new s1 = 1; new s2 = 0; new n;
- for (n=0; n<length; n++){
- s1 = (s1 + buf[n]) % 65521;
- s2 = (s2 + s1) % 65521;}
- return (s2 << 16) + s1;}
- stock SendMessageToCriminals(color,const str3[]){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(gTeam[i]==TEAM_TERRORISTS){
- SendClientMessage(i,color,str3);}}
- return 1;}
- stock SendMessageToSWAT(color,const str3[]){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(gTeam[i]==TEAM_SWAT){
- SendClientMessage(i,color,str3);}}
- return 1;}
- stock SendRadioTeamMessage(team,color,const str4[]){
- new str5[256];
- if(team==TEAM_TERRORISTS){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(Account[i][gTeam]==TEAM_TERRORISTS){
- format(str5,sizeof(str5),"** TEAM TERRORISTS INFO: %s **", str4);
- SendClientMessage(i,color,str5);}}}
- if(team==TEAM_SWAT){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(Account[i][gTeam]==TEAM_SWAT){
- format(str5,sizeof(str5),"** TEAM SWAT INFO: %s **", str4);
- SendClientMessage(i,color,str5);}}}
- return 1;}
- stock SpawnJetpack(){
- Jetpack=CreatePickup(370, 1, 268.7833,1883.2793,-30.0938);}
- stock SetCorrectColor(){
- new file[256];
- new Colore1,Colore2,Colore3,Colore4;
- format(file,sizeof(file),"VHealthConfig.ini");
- Options[TextLanguage]=dini_Int(file,"TextLanguage");
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- Colore1=dini_Int(file,"Text1Color");
- if(Colore1==1)TextDrawBoxColor(BlackIndicator[i],ROSSO);
- if(Colore1==2)TextDrawBoxColor(BlackIndicator[i],GIALLO);
- if(Colore1==3)TextDrawBoxColor(BlackIndicator[i],VERDE);
- if(Colore1==4)TextDrawBoxColor(BlackIndicator[i],VERDE_CHIARO);
- if(Colore1==5)TextDrawBoxColor(BlackIndicator[i],VERDE_SCURO);
- if(Colore1==6)TextDrawBoxColor(BlackIndicator[i],FUCSIA);
- if(Colore1==7)TextDrawBoxColor(BlackIndicator[i],NERO);
- if(Colore1==8)TextDrawBoxColor(BlackIndicator[i],BLU);
- if(Colore1==9)TextDrawBoxColor(BlackIndicator[i],AZZURRO);
- if(Colore1==10)TextDrawBoxColor(BlackIndicator[i],BLU_SCURO);
- if(Colore1==11)TextDrawBoxColor(BlackIndicator[i],ARANCIONE);
- if(Colore1==12)TextDrawBoxColor(BlackIndicator[i],ROSSO_SCURO);
- if(Colore1==13)TextDrawBoxColor(BlackIndicator[i],BIANCO);
- Colore2=dini_Int(file,"Text2Color");
- if(Colore2==1)TextDrawBoxColor(FullHealth[i],ROSSO);
- if(Colore2==2)TextDrawBoxColor(FullHealth[i],GIALLO);
- if(Colore2==3)TextDrawBoxColor(FullHealth[i],VERDE);
- if(Colore2==4)TextDrawBoxColor(FullHealth[i],VERDE_CHIARO);
- if(Colore2==5)TextDrawBoxColor(FullHealth[i],VERDE_SCURO);
- if(Colore2==6)TextDrawBoxColor(FullHealth[i],FUCSIA);
- if(Colore2==7)TextDrawBoxColor(FullHealth[i],NERO);
- if(Colore2==8)TextDrawBoxColor(FullHealth[i],BLU);
- if(Colore2==9)TextDrawBoxColor(FullHealth[i],AZZURRO);
- if(Colore2==10)TextDrawBoxColor(FullHealth[i],BLU_SCURO);
- if(Colore2==11)TextDrawBoxColor(FullHealth[i],ARANCIONE);
- if(Colore2==12)TextDrawBoxColor(FullHealth[i],ROSSO_SCURO);
- if(Colore2==13)TextDrawBoxColor(FullHealth[i],BIANCO);
- Colore3=dini_Int(file,"Text3Color");
- if(Colore3==1)TextDrawBoxColor(VehicleHealth[i],ROSSO);
- if(Colore3==2)TextDrawBoxColor(VehicleHealth[i],GIALLO);
- if(Colore3==3)TextDrawBoxColor(VehicleHealth[i],VERDE);
- if(Colore3==4)TextDrawBoxColor(VehicleHealth[i],VERDE_CHIARO);
- if(Colore3==5)TextDrawBoxColor(VehicleHealth[i],VERDE_SCURO);
- if(Colore3==6)TextDrawBoxColor(VehicleHealth[i],FUCSIA);
- if(Colore3==7)TextDrawBoxColor(VehicleHealth[i],NERO);
- if(Colore3==8)TextDrawBoxColor(VehicleHealth[i],BLU);
- if(Colore3==9)TextDrawBoxColor(VehicleHealth[i],AZZURRO);
- if(Colore3==10)TextDrawBoxColor(VehicleHealth[i],BLU_SCURO);
- if(Colore3==11)TextDrawBoxColor(VehicleHealth[i],ARANCIONE);
- if(Colore3==12)TextDrawBoxColor(VehicleHealth[i],ROSSO_SCURO);
- if(Colore3==13)TextDrawBoxColor(VehicleHealth[i],BIANCO);
- Colore4=dini_Int(file,"Text4Color");
- if(Colore4==1)TextDrawColor(NameText[i],ROSSO);
- if(Colore4==2)TextDrawColor(NameText[i],GIALLO);
- if(Colore4==3)TextDrawColor(NameText[i],VERDE);
- if(Colore4==4)TextDrawColor(NameText[i],VERDE_CHIARO);
- if(Colore4==5)TextDrawColor(NameText[i],VERDE_SCURO);
- if(Colore4==6)TextDrawColor(NameText[i],FUCSIA);
- if(Colore4==7)TextDrawColor(NameText[i],NERO);
- if(Colore4==8)TextDrawColor(NameText[i],BLU);
- if(Colore4==9)TextDrawColor(NameText[i],AZZURRO);
- if(Colore4==10)TextDrawColor(NameText[i],BLU_SCURO);
- if(Colore4==11)TextDrawColor(NameText[i],ARANCIONE);
- if(Colore4==12)TextDrawColor(NameText[i],ROSSO_SCURO);
- if(Colore4==13)TextDrawColor(NameText[i],BIANCO);}}
- /*******************************************************************************
- * <=[TIMERS]=> *
- *******************************************************************************/
- public SpawnedPlayer(playerid){
- Spawned[playerid]=true;
- return 1;}
- public PlayerInfoTimer(){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- Account[i][Score]=GetPlayerScore(i);
- GetPlayerHealth(i,PlayerHealth);
- if(Account[i][gTeam]==TEAM_TERRORISTS){
- if(ServerInfo[Language]==1)format(string,sizeof(string),"Morti ~w~%d~n~~r~Uccisioni ~w~%d~n~~y~CompagniUccisi ~w~%d~n~~p~Punti ~w~%d~n~~g~Salute ~w~%.f~n~~r~DENARO TERRORISTI: ~w~%d$ ~n~~b~denaro polizia: ~w~%d", Account[i][Deaths], Account[i][GoodKillings], Account[i][BadKillings], Account[i][Score], PlayerHealth+1, CriminalsAmmount, SWATAmmount);
- if(ServerInfo[Language]==2)format(string,sizeof(string),"~y~Score ~w~%d~n~~g~Health ~w~%.f~n~~r~terr. cash: ~w~%d$ ~n~~b~police cash: ~w~%d$", Account[i][Score], PlayerHealth+1, CriminalsAmmount, SWATAmmount);
- TextDrawSetString(STATStext[i],string);}
- if(Account[i][gTeam]==TEAM_SWAT){
- if(ServerInfo[Language]==1)format(string,sizeof(string),"Morti ~w~%d~n~~r~Uccisioni ~w~%d~n~~y~CompagniUccisi ~w~%d~n~~p~Punti ~w~%d~n~~g~Salute ~w~%.f~n~~u~DENARO POLIZIA: ~w~%d ~n~~b~denaro terroristi: ~w~%d", Account[i][Deaths], Account[i][GoodKillings], Account[i][BadKillings], Account[i][Score], PlayerHealth+1, SWATAmmount, CriminalsAmmount);
- if(ServerInfo[Language]==2)format(string,sizeof(string),"~y~Score ~w~%d~n~~g~Health ~w~%.f~n~~u~police cash: ~b~%d$ ~n~~r~terr. cash: ~w~%d$", Account[i][Score], PlayerHealth+1, SWATAmmount, CriminalsAmmount);
- TextDrawSetString(STATStext[i],string);}
- if(Account[i][gTeam]==TEAM_TERRORISTS){
- GivePlayerMoney(i,ResetPlayerMoney(i)+CriminalsAmmount-1);}
- if(Account[i][gTeam]==TEAM_SWAT){
- GivePlayerMoney(i,ResetPlayerMoney(i)+SWATAmmount-1);}}
- return 1;}
- public UnMutePlayerTimer(playerid){
- GetPlayerName(playerid, incriminato, sizeof(incriminato));
- if(ServerInfo[Language]==1)format(str, sizeof(str), "%s è stato smutato", incriminato), SendClientMessageToAll(COLOR_YELLOW, str);else
- if(ServerInfo[Language]==2)format(str, sizeof(str), "%s has been unmuted", incriminato), SendClientMessageToAll(COLOR_YELLOW, str);
- if(ServerInfo[Language]==1)GameTextForPlayer(playerid,"~g~SMUTATO!!!",5000,3);else
- if(ServerInfo[Language]==2)GameTextForPlayer(playerid,"~g~UNMUTED!!!",5000,3);
- Account[playerid][pMuted]=false;
- Account[playerid][pMuteWarnings]=0;
- return 1;}
- public FloodTimer(playerid){
- Account[playerid][pFlood]=0;
- return 1;}
- public HealPlayers(){
- if(Options2[AutoHealPlayers]==1){
- new Float:ph;
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerConnected(i)){
- if(Spawned[i]==true){
- GetPlayerHealth(i,ph);
- if(ph<99){
- SetPlayerHealth(i,ph+1);}}}}}
- return 1;}
- public ReCountForBalance(){
- if(Options2[BalanceSystem]==1){
- new VarT=0;
- new VarC=0;
- for(new i=0;i<MAX_SERVER_PLAYERS;i++)if(IsPlayerConnected(i))if(!IsPlayerNPC(i)){
- if(Spawned[i]==true){
- switch(SKIN[i]){
- case 29,30,101,121,122,123,131,70:{
- VarT++;}
- case 164,165,166,246,276,285,286,274,278:{
- VarC++;}}}}
- TerroristsCount=VarT;
- SWATCount=VarC;}
- return 1;}
- public AutomaticMessages(){
- new Mess; Mess=random(8);
- if(ServerInfo[Language]==1){
- switch (Mess){
- case 0: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~Digita "#COL_RED"/cmd"#COL_WHITE" per vedere tutti i comandi a tua disposizione");
- case 1: SendClientMessageToAll(COLOR_LIGHTRED,"~r~DIVIETO: "#COL_WHITE"E' proibito servirsi di "#COL_RED"s0beit "#COL_WHITE"o altre mod identificabili come Hacks!");
- case 2: SendClientMessageToAll(COLOR_WHITE,"~r~IL GIOCO: ~y~Polizia contro Terroristi. Il team che finisce il denaro perde!");
- case 3: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~Ti servono armi? digita "#COL_RED"/weapons"#COL_WHITE" e scegli un kit!");
- case 4: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~AutoHealPlayers attivo? La tua vita si rigenererà 1 punto ogni 2 secondi!");
- case 5: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~usa "#COL_RED"* [testo]"#COL_WHITE" per parlare in "#COL_CYAN"TEAM CHAT!");
- case 6: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~Se da scemo tu volessi suicidarti, usa "#COL_RED"/kill");
- case 7: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~digita "#COL_RED"/pm [id] [messaggio]"#COL_WHITE" se devi mandare un messaggio privato a qualcuno!");
- case 8: SendClientMessageToAll(COLOR_WHITE,"~r~SUGGERIMENTO: ~y~Ci sono due garage per la riparazione dei veicoli!");}}
- if(ServerInfo[Language]==2){
- switch (Mess){
- case 0: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: Type"#COL_RED" /cmd"#COL_YELLOW" to see which are your aviable commands");
- case 1: SendClientMessageToAll(COLOR_LIGHTRED,"PROHIBITION: "#COL_YELLOW"Using "#COL_RED"s0beit "#COL_YELLOW" or other similar mods is forbidden!");
- case 2: SendClientMessageToAll(COLOR_YELLOW,"SERVER: SWAT VS Terrorists. The team who ends all its money loses!");
- case 3: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: You need weapons? type "#COL_RED"/shop"#COL_YELLOW" and choose a kit!");
- case 4: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: AutoHealPlayers enabled? Your health will regenerate 1 point every 2 seconds!");
- case 5: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: use "#COL_RED"* [text]"#COL_YELLOW", to speak in "#COL_CYAN"TEAM CHAT!");
- case 6: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: If you, as a stupid, want to kill yourself, use "#COL_RED"/kill");
- case 7: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: type "#COL_RED"/pm [id] [message]"#COL_YELLOW" if you need to send a private message to somebody!");
- case 8: SendClientMessageToAll(COLOR_YELLOW,"SERVER: This server is in BETA! Many features are not working now.");
- case 9: SendClientMessageToAll(COLOR_YELLOW,"SUGGESTION: There are two garages for vehicle fixing!");}}
- return 1;}
- public TimerCarFixersCheckpoints(){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerInRangeOfPoint(i,20,-417.1060,2199.3337,42.4297)){
- if(IsPlayerInAnyVehicle(i)){
- SetPlayerCheckpoint(i,-417.1060,2199.3337,42.4297,5.0);
- Checkpoint[i]=CHECKPOINT_CAR_FIXER_1;}}else
- if(IsPlayerInRangeOfPoint(i,20,241.5254,1922.6737,17.6406)){
- if(IsPlayerInAnyVehicle(i)){
- SetPlayerCheckpoint(i,241.5254,1922.6737,17.6406,5.0);
- Checkpoint[i]=CHECKPOINT_CAR_FIXER_2;}}else
- if(!IsPlayerInRangeOfPoint(i,20,241.5254,1922.6737,17.6406) && !IsPlayerInRangeOfPoint(i,20,241.5254,1922.6737,17.6406)){
- DisablePlayerCheckpoint(i);
- Checkpoint[i]=CHECKPOINT_NONE;}}
- return 1;}
- public VitaPlayerAuto(){
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(IsPlayerInAnyVehicle(i)){
- #if defined CAR_HEALTH
- TextDrawShowForPlayer(i, BlackIndicator[i]);
- TextDrawShowForPlayer(i, FullHealth[i]);
- TextDrawShowForPlayer(i, VehicleHealth[i]);
- TextDrawShowForPlayer(i, NameText[i]);
- #endif
- }
- else if(!IsPlayerInAnyVehicle(i)){
- #if defined CAR_HEALTH
- TextDrawHideForPlayer(i, BlackIndicator[i]);
- TextDrawHideForPlayer(i, FullHealth[i]);
- TextDrawHideForPlayer(i, VehicleHealth[i]);
- TextDrawHideForPlayer(i, NameText[i]);
- #endif
- }}
- return 1;}
- public CarInfo(){
- for(new i=0; i<MAX_SERVER_PLAYERS; i++)if(IsPlayerConnected(i)){
- GetVehicleHealth(GetPlayerVehicleID(i),CarHealth3);
- if(IsPlayerInAnyVehicle(i)){
- #if defined CAR_HEALTH
- if(CarHealth3<248)return TextDrawTextSize(VehicleHealth[i], 232.000, 0.000000);
- TextDrawTextSize(VehicleHealth[i], CarHealth3/4.3+174, 0.000000);
- #endif
- }}
- return 1;}
- public OptionsConfiguration(){
- new file[256]; format(file,sizeof(file),"VHealthConfig.ini");
- if(dini_Exists(file)){
- Options[TextLanguage]=dini_Int(file,"TextLanguage");
- for(new i=0;i<MAX_SERVER_PLAYERS;i++){
- if(Options[TextLanguage]==1){
- TextDrawSetString(NameText[i]," Vita Veicolo:");}
- if(Options[TextLanguage]==2){
- TextDrawSetString(NameText[i],"Vehicle Health:");}
- if(Options[TextLanguage]==3){
- TextDrawSetString(NameText[i],"Vida del Vehiculo:");}}}
- return 1;}
- public FixingTimer1(playerid){
- TogglePlayerControllable(playerid,0);
- GameTextForPlayer(playerid,"~w~Fixing Vehicle~g~.~w~.~r~.",2000,3);
- SetTimerEx("FixingTimer2",3000,0,"d",playerid);
- return 1;}
- public FixingTimer2(playerid){
- RepairVehicle(GetPlayerVehicleID(playerid));
- GameTextForPlayer(playerid,"~w~Vehicle ~g~Fixed~r~!",1500,3);
- TogglePlayerControllable(playerid,1);
- SetTimerEx("FixingTimer3",5000,0,"d",playerid);
- GivePlayerMoney(playerid,GetPlayerMoney(playerid)-100);
- //new skin=GetPlayerSkin(playerid);
- switch(SKIN[playerid]){
- case 125,124:{
- CriminalsAmmount-=100;
- GetPlayerName(playerid,name,sizeof(name));
- if(ServerInfo[Language]==1)format(string,sizeof(string),"- [TERRORISTI] %s ha speso 100$ per riparare il suo mezzo!",name);
- if(ServerInfo[Language]==2)format(string,sizeof(string),"- [TERRORISTS] %s has payed 100$ to fix his vehicle!",name);
- SendClientMessageToAll(COLOR_GREY,string);}
- case 285,287:{
- SWATAmmount-=100;
- GetPlayerName(playerid,name,sizeof(name));
- if(ServerInfo[Language]==1)format(string,sizeof(string),"- [POLIZIA] %s ha speso 100$ per riparare il suo mezzo!",name);
- if(ServerInfo[Language]==2)format(string,sizeof(string),"- [SWAT] %s has payed 100$ to fix his vehicle!",name);
- SendClientMessageToAll(COLOR_GREY,string);}}
- return 1;}
- public FixingTimer3(playerid){
- Fixing[playerid]=0;
- return 1;}
- public ReplaceJetpack(){
- SpawnJetpack();
- return 1;}
- /*******************************************************************************
- * <=[Anticheat Timers]=> *
- *******************************************************************************/
- public ServerConfiguration(){
- new file[256]; format(file,sizeof(file),"Config/EnableCmds.ini");
- if(dini_Exists(file)){
- ServerInfo[Language] = dini_Int(file,"Language");
- ServerInfo[AntiFlood] = dini_Int(file,"AntiFlood");
- ServerInfo[AutoLogin] = dini_Int(file,"AutoLogin");
- ServerInfo[Pm] = dini_Int(file,"Pm");
- ServerInfo[Mute] = dini_Int(file,"Mute");
- ServerInfo[GetIp] = dini_Int(file,"GetIp");
- ServerInfo[UnMute] = dini_Int(file,"UnMute");
- ServerInfo[Spec] = dini_Int(file,"Spec");
- ServerInfo[SpecOff] = dini_Int(file,"SpecOff");
- ServerInfo[Setweather] = dini_Int(file,"SetWeather");
- ServerInfo[Settime] = dini_Int(file,"SetTime");
- ServerInfo[kick] = dini_Int(file,"Kick");
- ServerInfo[ban] = dini_Int(file,"Ban");
- ServerInfo[Jail] = dini_Int(file,"Jail");
- ServerInfo[UnJail] = dini_Int(file,"UnJail");
- ServerInfo[Freeze] = dini_Int(file,"Freeze");
- ServerInfo[UnFreeze] = dini_Int(file,"UnFreeze");
- ServerInfo[Goto] = dini_Int(file,"Goto");
- ServerInfo[Get] = dini_Int(file,"Get");
- ServerInfo[ClearChat] = dini_Int(file,"ClearChat");
- ServerInfo[Gmx] = dini_Int(file,"Gmx");
- ServerInfo[MakeAdmin] = dini_Int(file,"MakeAdmin");
- ServerInfo[MakeMeGodAdmin] = dini_Int(file,"MakeMeGodAdmin");
- ServerInfo[AChat] = dini_Int(file,"AChat");}
- new dfile[256]; format(dfile,sizeof(dfile),"Config/OptionsConfig.ini");
- if(dini_Exists(dfile)){
- Options2[ConnectMessages] = dini_Int(dfile,"ConnectMessages");
- Options2[MaxAdminLevel] = dini_Int(dfile,"MaxAdminLevel");
- Options2[MaxMoney] = dini_Int(dfile,"MaxMoney");
- Options2[MaxHealth] = dini_Int(dfile,"MaxHealth");
- Options2[MaxArmour] = dini_Int(dfile,"MaxArmour");
- Options2[MaxMuteWarnings] = dini_Int(dfile,"MaxMuteWarnings");
- Options2[MaxFloodTimes] = dini_Int(dfile,"MaxFloodTimes");
- Options2[MaxFloodSeconds] = dini_Int(dfile,"MaxFloodSeconds");
- Options2[AutoHealPlayers] = dini_Int(dfile,"AutoHealPlayers");}
- new cfile[256]; format(cfile,sizeof(cfile),"Config/CmdsLevels.ini");
- if(dini_Exists(cfile)){
- CmdsOptions[GetIp] = dini_Int(cfile,"GetIp");
- CmdsOptions[Mute] = dini_Int(cfile,"Mute");
- CmdsOptions[UnMute] = dini_Int(cfile,"UnMute");
- CmdsOptions[Spec] = dini_Int(cfile,"Spec");
- CmdsOptions[SpecOff] = dini_Int(cfile,"SpecOff");
- CmdsOptions[Setweather] = dini_Int(cfile,"SetWeather");
- CmdsOptions[Settime] = dini_Int(cfile,"SetTime");
- CmdsOptions[kick] = dini_Int(cfile,"Kick");
- CmdsOptions[ban] = dini_Int(cfile,"Ban");
- CmdsOptions[Jail] = dini_Int(cfile,"Jail");
- CmdsOptions[UnJail] = dini_Int(cfile,"UnJail");
- CmdsOptions[Freeze] = dini_Int(cfile,"Freeze");
- CmdsOptions[UnFreeze] = dini_Int(cfile,"UnFreeze");
- CmdsOptions[Goto] = dini_Int(cfile,"Goto");
- CmdsOptions[Get] = dini_Int(cfile,"Get");
- CmdsOptions[ClearChat] = dini_Int(cfile,"ClearChat");
- CmdsOptions[Gmx] = dini_Int(cfile,"Gmx");
- CmdsOptions[MakeAdmin] = dini_Int(cfile,"MakeAdmin");
- CmdsOptions[AChat] = dini_Int(cfile,"AChat");}
- return 1;}
- /*******************************************************************************
- * <=[Main]=> *
- *******************************************************************************/
- main(){
- print("\n*************************");
- print(" SWAT VS Terrorists v4.1 ");
- print(" By [Svt]Mike ");
- print("*************************\n");}
- /*******************************************************************************
- * <=[EOF]=> *
- *******************************************************************************/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement