Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*- Start of: Include -*/
- #include <a_samp>
- #include <YSI\y_ini>
- #include <zcmd>
- #include <foreach>
- #include <sscanf2>
- /*- Start of: Defines -*/
- #define D_Username 1
- #define D_Login 10
- #define D_Register 20
- #define D_R_Mail 21
- #define D_RC_Age 22
- #define D_RC_Origin 23
- #define D_RC_Gender 24
- #define D_R_Rules 25
- #define D_EmploymentAgencyDash 30
- #define D_ChuffLocker 40
- #define D_LAFMDLocker 41
- #define D_LAPDLocker 42
- #define D_LAPDClothes 43
- #define D_LAPDFirearms 44
- #define D_Commands 50
- #define COLOR_LightBlue 0x82CAFFFF
- #define COLOR_LightBlue_a "{82CAFF}"
- #define COLOR_White 0xFFFFFFFF
- #define COLOR_White_a "{FFFFFF}"
- #define COLOR_Purple 0xCC56CCFF
- #define COLOR_Purple_a "{CC56CC}"
- #define COLOR_Grey 0xD1D1D1FF
- #define COLOR_Grey_a "{D1D1D1}"
- #define COLOR_RED "{FF0000}"
- #define COLOR_RED_A 0xFF0000FF
- #define U_Path "/Accounts/%s.ini"
- #if !defined isnull
- #define isnull(%1) ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
- #endif
- /*- Start of: Vars -*/
- enum pStats
- {
- pID,
- pPassword[128],
- pMail[128],
- pAge,
- pOrigin[128],
- pGender[128],
- pSkin,
- pInterior,
- pVW,
- Float:pPositionX,
- Float:pPositionY,
- Float:pPositionZ,
- pMoney,
- pLevel,
- pJob1,
- pJob2,
- pFlags,
- pBanned,
- pBanBy[128],
- pBanReason[128],
- pRegIP[128],
- pLastIP[128],
- pFaction,
- pRank,
- pHealthCare,
- Float:pHealth,
- Float:pArmour,
- pPrisonnier,
- pPrisonTime
- }
- enum fStats
- {
- fID,
- fCompleteName[50],
- fShortName[10],
- fLeader[MAX_PLAYER_NAME],
- fMaxRank,
- }
- new rankFac[3][8][25] =
- {
- {
- "Cadet",
- "Officier 1",
- "Officier 2",
- "Officier 3",
- "Sergeant",
- "Captain",
- "Assistant Chief",
- "Chief"
- },
- {
- "Cadet",
- "EMS",
- "Firefighter",
- "EMS/Firefighter",
- "Captain",
- "Assistant Chief",
- "Chief",
- ""
- },
- {
- "New Reporter",
- "Heli Reporter",
- "Interview Reporter",
- "Owner",
- "",
- "",
- "",
- ""
- }
- };
- #define MAX_FACTION 3
- new Factions[MAX_FACTION][fStats];
- new U_Stats[MAX_PLAYERS][pStats];
- new pAdminVeh[MAX_PLAYERS],
- pHoldingPackage[MAX_PLAYERS],
- pTruckPackage[MAX_PLAYERS],
- og;
- new gate1,
- gate2;
- new hassiren[MAX_VEHICLES];
- new siren[MAX_VEHICLES];
- new cuffed[MAX_PLAYERS] = 0;
- new IsSuspect[MAX_PLAYERS];
- new IsPrisonnier[MAX_PLAYERS];
- new bool:IsOnDuty[MAX_PLAYERS] = false;
- stock duty(playerid)
- {
- return (IsOnDuty[playerid] ? true : false);
- }
- /*- Start of: Random -*/
- main()
- {
- print("\n[Launch] NCRP V0.10.0 has been loded.");
- }
- /*- Start of: Public -*/
- public OnVehicleDeath(vehicleid, killerid)
- {
- DestroyObject(siren[vehicleid]);
- return 1;
- }
- public OnGameModeInit()
- {
- og = 1;
- CreateVehicles();
- CreateEnters();
- CreateFactions();
- CreateATMS();
- ManualVehicleEngineAndLights();
- EnableStuntBonusForAll(0);
- DisableInteriorEnterExits();
- SetGameModeText("NCRP V0.10.0");
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- forward LoadUser_data(playerid,name[],value[]);
- public LoadUser_data(playerid,name[],value[])
- {
- INI_Int("ID", U_Stats[playerid][pID]);
- INI_String("Password", U_Stats[playerid][pPassword], 128);
- INI_String("Mail", U_Stats[playerid][pMail], 128);
- INI_Int("Age", U_Stats[playerid][pAge]);
- INI_String("Origin", U_Stats[playerid][pOrigin], 128);
- INI_String("Gender", U_Stats[playerid][pGender], 128);
- INI_Int("Skin", U_Stats[playerid][pSkin]);
- INI_Int("Interior", U_Stats[playerid][pInterior]);
- INI_Int("VW", U_Stats[playerid][pVW]);
- INI_Float("PositionX", U_Stats[playerid][pPositionX]);
- INI_Float("PositionY", U_Stats[playerid][pPositionY]);
- INI_Float("PositionZ", U_Stats[playerid][pPositionZ]);
- INI_Int("Money", U_Stats[playerid][pMoney]);
- INI_Int("Level", U_Stats[playerid][pLevel]);
- INI_Int("Job1", U_Stats[playerid][pJob1]);
- INI_Int("Job2", U_Stats[playerid][pJob2]);
- INI_Int("Flags", U_Stats[playerid][pFlags]);
- INI_Int("Banned", U_Stats[playerid][pBanned]);
- INI_String("BanBy", U_Stats[playerid][pBanBy], 128);
- INI_String("BanReason", U_Stats[playerid][pBanReason], 128);
- INI_String("RegIP", U_Stats[playerid][pRegIP], 128);
- INI_String("LastIP", U_Stats[playerid][pLastIP], 128);
- INI_Int("Faction", U_Stats[playerid][pFaction]);
- INI_Int("Rank", U_Stats[playerid][pRank]);
- INI_Int("HealthCare", U_Stats[playerid][pHealthCare]);
- INI_Float("Health", U_Stats[playerid][pHealth]);
- INI_Float("Armour", U_Stats[playerid][pArmour]);
- INI_Int("Prisonnier", U_Stats[playerid][pPrisonnier]);
- INI_Int("PrisonTime", U_Stats[playerid][pPrisonTime]);
- return 1;
- }
- forward LoadFaction_data(factionid, name[], value[]);
- public LoadFaction_data(factionid, name[], value[]) // faction load data
- {
- INI_Int("ID",Factions[factionid][fID]);
- INI_String("CompleteName",Factions[factionid][fCompleteName], 50);
- INI_String("ShortName",Factions[factionid][fShortName], 10);
- INI_String("Leader",Factions[factionid][fLeader], MAX_PLAYER_NAME);
- INI_Int("MaxRank",Factions[factionid][fMaxRank]);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
- RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
- RemoveBuildingForPlayer(playerid, 4025, 1777.8359, -1773.9063, 12.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 4215, 1777.5547, -1775.0391, 36.7500, 0.25);
- RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9063, 12.5234, 0.25);
- RemoveBuildingForPlayer(playerid, 1283, 1822.5703, -1763.2578, 15.5859, 0.25);
- RemoveBuildingForPlayer(playerid, 1283, 1832.8359, -1751.5078, 15.5859, 0.25);
- RemoveBuildingForPlayer(playerid, 1283, 1820.8359, -1741.1484, 15.5781, 0.25);
- pHoldingPackage[playerid] = 0;
- pTruckPackage[playerid] = 0;
- pAdminVeh[playerid] = 0;
- SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
- SetTimerEx("OnPlayerConnectCamera", 100, false, "d", playerid);
- for(new i; i!=20; i++)
- {
- SendClientMessage(playerid, -1, "");
- }
- new name[MAX_PLAYER_NAME];
- GetPlayerName(playerid, name, sizeof(name));
- if(IsARolePlayName(GetName(playerid)) == 1)
- {
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- ShowPlayerDialog(playerid, D_Login, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Login",""COLOR_White_a"Welcome back to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a". This name seems to be registrated.\nIf you're the owner of this account, Please proceed by entering your password.","Login","");
- }
- else
- {
- ShowPlayerDialog(playerid, D_Register, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a", It seems like this account isn't registrated yet! Enter a password below to contine the registration.",">>","");
- }
- }
- else
- {
- ShowPlayerDialog(playerid, D_Username, DIALOG_STYLE_INPUT, ""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Invalid Username", ""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a", We just met a little problem, Your name isn't allowed.\n\nEnter a new roleplay name such as: John_Doe", ">>", "");
- }
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch(dialogid)
- {
- case D_Username:
- {
- if(!response)
- {
- Kick(playerid);
- }
- else
- {
- if(!strlen(inputtext))
- {
- Kick(playerid);
- }
- else
- {
- SetPlayerName(playerid, inputtext);
- if(IsARolePlayName(GetName(playerid)) == 1)
- {
- if(fexist(UserPath(playerid)))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- ShowPlayerDialog(playerid, D_Login, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Login",""COLOR_White_a"Welcome back to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a". This name seems to be registrated.\nIf you're the owner of this account, Please proceed by entering your password.","Login","");
- }
- else
- {
- ShowPlayerDialog(playerid, D_Register, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a", It seems like this account isn't registrated yet!\nEnter a password below to contine the registration.",">>","");
- }
- }
- else
- {
- ShowPlayerDialog(playerid, D_Username, DIALOG_STYLE_INPUT, ""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Invalid Username", ""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a", We just met a little problem, Your name isn't allowed.\n\nEnter a new roleplay name such as: John_Doe", ">>", "");
- }
- }
- }
- }
- case D_Login:
- {
- if(!response)
- {
- Kick ( playerid );
- }
- else
- {
- if(!strlen(inputtext))
- {
- ShowPlayerDialog(playerid, D_Login, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Login",""COLOR_White_a"Welcome back to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a". This name seems to be registrated.\nIf you're the owner of this account, Please proceed by entering your password.","Login","");
- }
- else
- {
- if(!strcmp(inputtext, U_Stats[playerid][pPassword]))
- {
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- if(U_Stats[playerid][pBanned] == 1)
- {
- ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Banned",""COLOR_White_a"Welcome back to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a". It turns out that you're banned, You're not able to log in..","","");
- SetTimerEx("SKick", 0750, false, "i", playerid);
- }
- else
- {
- SpawnPlayer(playerid);
- SetSpawnInfo( playerid, 0, U_Stats[playerid][pSkin], U_Stats[playerid][pPositionX], U_Stats[playerid][pPositionY], U_Stats[playerid][pPositionZ], 269.15, 0, 0, 0, 0, 0, 0 );
- TogglePlayerSpectating(playerid, 0);
- INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
- SpawnPlayer(playerid);
- SetPlayerSkin(playerid, U_Stats[playerid][pSkin]);
- SetPlayerInterior(playerid, U_Stats[playerid][pInterior]);
- SetPlayerVirtualWorld(playerid, U_Stats[playerid][pVW]);
- SetPlayerPos(playerid, U_Stats[playerid][pPositionX], U_Stats[playerid][pPositionY], U_Stats[playerid][pPositionZ]);
- GivePlayerMoney(playerid, U_Stats[playerid][pMoney]);
- SetPlayerScore(playerid, U_Stats[playerid][pLevel]);
- SpawnPlayer(playerid);
- if(U_Stats[playerid][pPrisonnier] == 1){
- SetPlayerPos(playerid, 0, 0, 0);
- SetTimerEx("FreePrisoniers", U_Stats[playerid][pPrisonTime], false, "ii", playerid, U_Stats[playerid][pPrisonTime]);
- } // PRISON POS
- SendClientMessage(playerid, -1, "{FFFFFF}[{82CAFF}NCRP{FFFFFF}] Welcome back to NCRP!");
- }
- }
- else
- {
- ShowPlayerDialog(playerid, D_Login, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Login",""COLOR_White_a"Welcome back to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a". This name seems to be registrated.\nIf you're the owner of this account, Please proceed by entering your password.\n\n{FFFF00}You entered the wrong password!","Login","");
- }
- }
- return 1;
- }
- }
- case D_Register:
- {
- if(!response)
- {
- Kick ( playerid );
- }
- else
- {
- if(!strlen(inputtext))
- {
- ShowPlayerDialog(playerid, D_Register, DIALOG_STYLE_PASSWORD,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a", It seems like this account isn't registrated yet!\nEnter a password below to contine the registration.\n\n{FFFF00}You forgot to insert a password.",">>","");
- }
- else
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteString(File, "Password", inputtext);
- INI_Close(File);
- ShowPlayerDialog(playerid, D_R_Mail, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nWhat is your email? You may decide if you want to receive news letters or not.\nIf you don't, Simply leave it empty.",">>","");
- }
- return 1;
- }
- }
- case D_R_Mail:
- {
- if(!response)
- {
- ShowPlayerDialog(playerid, D_R_Mail, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nWhat is your email? You may decide if you want to receive news letters or not.\nIf you don't, Simply leave it empty.",">>","");
- }
- else
- {
- if(!strlen(inputtext))
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteString(File, "Mail", "empty");
- INI_Close(File);
- ShowPlayerDialog(playerid, D_RC_Age, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nHow old are your character? Not you, The character.\nEnter an age below 60 and over 17.",">>","");
- }
- else
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteString(File, "Mail", inputtext);
- INI_Close(File);
- ShowPlayerDialog(playerid, D_RC_Age, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nHow old are your character? Not you, The character.\nEnter an age below 60 and over 17.",">>","");
- }
- return 1;
- }
- }
- case D_RC_Age:
- {
- if(!response)
- {
- ShowPlayerDialog(playerid, D_RC_Age, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nHow old are your character? Not you, The character.\nEnter an age below 60 and over 17.",">>","");
- }
- else
- {
- if(!strlen(inputtext))
- {
- ShowPlayerDialog(playerid, D_RC_Age, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nHow old are your character? Not you, The character.\nEnter an age below 60 and over 17.\n\n{FFFF00}You forgot to enter an age.",">>","");
- }
- else
- {
- if(strval(inputtext) > 16 && strval(inputtext) < 61)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Age", strval(inputtext));
- INI_Close(File);
- ShowPlayerDialog(playerid, D_RC_Origin, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nWhere are your character borned? Enter it below!",">>","");
- }
- else
- {
- ShowPlayerDialog(playerid, D_RC_Age, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nHow old are your character? Not you, The character.\nEnter an age below 60 and over 17.\n\n{FFFF00}You need to be below 60 and 17!",">>","");
- }
- }
- return 1;
- }
- }
- case D_RC_Origin:
- {
- if(!response)
- {
- ShowPlayerDialog(playerid, D_RC_Origin, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nWhere are your character borned? Enter it below!",">>","");
- }
- else
- {
- if(!strlen(inputtext))
- {
- ShowPlayerDialog(playerid, D_RC_Origin, DIALOG_STYLE_INPUT,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nWhere are your character borned? Enter it below!\n\nYou forgot to enter the origin!",">>","");
- }
- else
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteString(File, "Origin", inputtext);
- INI_Close(File);
- ShowPlayerDialog(playerid, D_RC_Gender, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Register",""COLOR_White_a"Welcome to "COLOR_LightBlue_a"New City Roleplay"COLOR_White_a".\nWhat gender are your character? Press the buttons to choose.","Male","Female");
- }
- return 1;
- }
- }
- case D_RC_Gender:
- {
- if(!response)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteString(File, "Gender", "Female");
- INI_Close(File);
- new strca[3000];
- strcat(strca, ""COLOR_White_a"- {8C1717}Deathmatching"COLOR_White_a" You are not allowed to deathmatch anyone, Even if they did something to you OOC, You will be punished.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Hacking"COLOR_White_a" Using anything of a 3rd party program will get you IP-Banned for ever.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Powergaming"COLOR_White_a" You may not force any action towards a player, Always use some kind of Succes/Failure.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Metagaming"COLOR_White_a" You're not allowed to metagame, This means you cannot mix OOC Information with IC\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Revenge Killing"COLOR_White_a" If someone killed you, You cannot go back and kill them as revenge, Remember that you forget 30minutes of your past life after death.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Car Ramming"COLOR_White_a" This rule is tricky, You're allowed to ram someone, But you need to roleplay it correctly, without powergaming.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Spamming"COLOR_White_a" We don't like spammers, neither do roleplayers, Doing so will result a 15 minute kick to calm down.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Non RP Conducts"COLOR_White_a" GTA SA:MP Roleplay isn't just about getting money, beeing a \"gangster\", beeing a faction, It's about to actually Roleplay -..\n");
- strcat(strca, " -.. so we suggest you to not just be a criminal, It's not against the rules, we just don't want everyone to run around with weapons, robbing newbies and other people. Play fair.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Insulting/Harrasing"COLOR_White_a" Don't harrass any one in our server, Be nice, friednly. We do not accept any bad attitude.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Bunny jumping"COLOR_White_a" You may npt Bunny Jump, This is to jump while running to get faster to your destiny.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Begging"COLOR_White_a" Don't beg for any sort of membership such as VIP, Admin, Helper, and etc, Doing this will result an account flag.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Ninja jacking"COLOR_White_a" This is sort of Powergaming, Simple taking a car with someone in it without any roleplay.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Revenge Killing"COLOR_White_a" If someone killed you, You cannot go back and kill them as revenge, Remember that you forget 30minutes of your past life after death.\n");
- strcat(strca, ""COLOR_White_a" There's of course more rules that's not written here, If you're insecure, You can simply use /a(dmin)m(essage) or /m(oderator)m(essage)");
- ShowPlayerDialog(playerid, D_R_Rules, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Rules",strca,"Accept rules","");
- }
- else
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteString(File, "Gender", "Male");
- INI_Close(File);
- new strca[3000];
- strcat(strca, ""COLOR_White_a"- {8C1717}Deathmatching"COLOR_White_a" You are not allowed to deathmatch anyone, Even if they did something to you OOC, You will be punished.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Hacking"COLOR_White_a" Using anything of a 3rd party program will get you IP-Banned for ever.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Powergaming"COLOR_White_a" You may not force any action towards a player, Always use some kind of Succes/Failure.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Metagaming"COLOR_White_a" You're not allowed to metagame, This means you cannot mix OOC Information with IC\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Revenge Killing"COLOR_White_a" If someone killed you, You cannot go back and kill them as revenge, Remember that you forget 30minutes of your past life after death.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Car Ramming"COLOR_White_a" This rule is tricky, You're allowed to ram someone, But you need to roleplay it correctly, without powergaming.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Spamming"COLOR_White_a" We don't like spammers, neither do roleplayers, Doing so will result a 15 minute kick to calm down.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Non RP Conducts"COLOR_White_a" GTA SA:MP Roleplay isn't just about getting money, beeing a \"gangster\", beeing a faction, It's about to actually Roleplay -..\n");
- strcat(strca, " -.. so we suggest you to not just be a criminal, It's not against the rules, we just don't want everyone to run around with weapons, robbing newbies and other people. Play fair.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Insulting/Harrasing"COLOR_White_a" Don't harrass any one in our server, Be nice, friednly. We do not accept any bad attitude.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Bunny jumping"COLOR_White_a" You may npt Bunny Jump, This is to jump while running to get faster to your destiny.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Begging"COLOR_White_a" Don't beg for any sort of membership such as VIP, Admin, Helper, and etc, Doing this will result an account flag.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Ninja jacking"COLOR_White_a" This is sort of Powergaming, Simple taking a car with someone in it without any roleplay.\n");
- strcat(strca, ""COLOR_White_a"- {8C1717}Revenge Killing"COLOR_White_a" If someone killed you, You cannot go back and kill them as revenge, Remember that you forget 30minutes of your past life after death.\n");
- strcat(strca, ""COLOR_White_a" There's of course more rules that's not written here, If you're insecure, You can simply use /a(dmin)m(essage) or /m(oderator)m(essage)");
- ShowPlayerDialog(playerid, D_R_Rules, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Rules",strca,"Accept rules","");
- return 1;
- }
- }
- case D_R_Rules:
- {
- if(response)
- {
- TogglePlayerSpectating(playerid, 0);
- if(strcmp(U_Stats[playerid][pGender], "Female")){
- U_Stats[playerid][pSkin] = 17;}
- else {
- U_Stats[playerid][pSkin] = 93;}
- SetSpawnInfo(playerid, 0, 17, 1743.1300, -1861.9683, 13.5769, 359.2573, 0, 0, 0, 0, 0, 0);
- SpawnPlayer(playerid);
- GivePlayerMoney(playerid, 25000);
- SetPlayerScore(playerid, 1);
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Skin", 17);
- INI_WriteInt(File, "Interior", 0);
- INI_WriteInt(File, "VW", 0);
- INI_WriteFloat(File, "PositionX", 1743.1300);
- INI_WriteFloat(File, "PositionY", -1861.9683);
- INI_WriteFloat(File, "PositionZ", 13.5769);
- INI_WriteInt(File, "Money", 25000);
- INI_WriteInt(File, "Level", 1);
- INI_WriteInt(File, "Job1", 0);
- INI_WriteInt(File, "Job2", 0);
- INI_WriteInt(File, "Flags", 0);
- INI_WriteInt(File, "Banned", 0);
- INI_WriteString(File, "BanBy", "0");
- INI_WriteString(File, "BanReason", "0");
- new plrIP[16];
- GetPlayerIp(playerid, plrIP, sizeof(plrIP));
- INI_WriteString(File, "RegIP", plrIP);
- INI_WriteString(File, "LastIP", plrIP);
- INI_WriteInt(File, "Faction", -1);
- INI_WriteInt(File, "Rank", 0);
- INI_WriteFloat(File, "Health", 100.0);
- INI_WriteFloat(File, "Armour", 0.0);
- INI_WriteInt(File, "HealthCare", 0);
- INI_WriteInt(File, "Prisonnier", 0);
- INI_WriteInt(File, "PrisonTime", 0);
- INI_Close(File);
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"NCRP"COLOR_White_a"] Welcome to New City Roleplay! Are you in need of help? Feel free to use /m(oderator)m(essage)!");
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"NCRP"COLOR_White_a"] You may use /o(oc)c(hat) to chat globaly.");
- new message[255];
- format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"NCRP"COLOR_White_a"] Welcome our newest user %s to NCRP!", GetRPName(playerid));
- SendClientMessageToAll(-1, message);
- return 1;
- }
- }
- case D_EmploymentAgencyDash:
- {
- switch(listitem)
- {
- case 0:
- {
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Man says: Okay, So you want the Chuff Driver job, This is a very dangerously job but you will be armed with a gun.",-1);
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Man says: You will transport a package from the bank to stores.",-1);
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Man says: Go behind the bank and enter the back door to get your stuff.",-1);
- U_Stats[playerid][pJob1] = 1;
- }
- }
- }
- case D_ChuffLocker:
- {
- switch(listitem)
- {
- case 0:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as she unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 306);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 71);
- }
- }
- case 1:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as she unlocks the locker, grabbing their Bulletproof Vest and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerArmour(playerid, 100.0);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their Bulletproof Vest and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerArmour(playerid, 100.0);
- }
- }
- case 2:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as she unlocks the locker, grabbing their legal Colt .45 and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their legal Colt .45 and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- GivePlayerWeapon(playerid, 22, 48);
- }
- }
- }
- case D_LAFMDLocker:
- {
- switch(listitem)
- {
- case 0:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAFMD Key as she unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 308);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 277);
- }
- }
- case 1:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAFMD Key as she unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 308);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 275);
- }
- }
- case 2:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as she unlocks the locker, grabbing their equipments and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their equipments and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- GivePlayerWeapon(playerid, 9, 48);
- GivePlayerWeapon(playerid, 42, 400000);
- GivePlayerWeapon(playerid, 46, 400000);
- }
- }
- }
- case D_Commands:
- {
- switch(listitem)
- {
- case 0:
- {
- new strca[3000];
- strcat(strca, ""COLOR_White_a"General: /stats | /time | /admins | /gps | /ead | /healthcare | /help\n");
- strcat(strca, ""COLOR_White_a"General: /enter | /exit | /car | \n");
- ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
- }
- case 1:
- {
- new strca[3000];
- strcat(strca, ""COLOR_White_a"Chats: /og | /mm | /am | /w | /s | /do | /me\n");
- strcat(strca, ""COLOR_White_a"Chats: /enter | /exit | /car | \n");
- ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
- }
- case 2:
- {
- new strca[3000];
- strcat(strca, ""COLOR_White_a"LAPD: /arrest | /cuff | /tazer | /drag | /detain | /siren | /locker | /mdc\n");
- strcat(strca, ""COLOR_White_a"LAPD: /computer | /r | /d | /trace\n");
- strcat(strca, ""COLOR_White_a"LAFMD: /locker | /r | /d | /cuff | /tazer");
- ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
- }
- case 3:
- {
- new strca[3000];
- strcat(strca, ""COLOR_White_a"Administrator: /avehicle | /adestroy | /atp | /askin | /aengine\n");
- ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
- }
- }
- if(!response)
- {
- ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Employment Agency"COLOR_White_a": Commands", "General\nChats\nFaction\nAdministrator", "Choose","Back");
- }
- }
- case D_LAPDLocker:
- {
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid, D_LAPDClothes, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"LAPD"COLOR_White_a": Locker", "Cadet\nDark Officer\nWhite Officer\nDark Female Officer\nWhite Female Officer\nDetective Male\nDetective Female", "Choose", "Close");
- }
- case 1:
- {
- if(!strcmp("Female", U_Stats[playerid][pGender]))
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as she unlocks the locker, grabbing their Bulletproof Vest and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerArmour(playerid, 100.0);
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as he unlocks the locker, grabbing their Bulletproof Vest and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerArmour(playerid, 100.0);
- }
- }
- case 2:
- {
- ShowPlayerDialog(playerid, D_LAPDFirearms, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"LAPD"COLOR_White_a": Locker", "Beretta 92F\nBenelli M1\nH&K MP5\nM4A1\nColt Model 933 rifle", "Choose", "Close");
- }
- }
- }
- case D_LAPDFirearms:
- {
- switch(listitem)
- {
- case 0:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their Beretta 92F and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- GivePlayerWeapon(playerid, 24, 99999999);
- }
- case 1:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their Benelli M1 and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- GivePlayerWeapon(playerid, 25, 99999999);
- }
- case 2:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their H&K MP5 and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- GivePlayerWeapon(playerid, 29, 99999999);
- }
- case 3:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their M4A1 and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- GivePlayerWeapon(playerid, 31, 99999999);
- }
- case 4:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their Colt Model 933 rifle and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- GivePlayerWeapon(playerid, 3, 99999999);
- }
- }
- }
- case D_LAPDClothes:
- {
- switch(listitem)
- {
- case 0:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 71);
- }
- case 1:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 265);
- }
- case 2:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 266);
- }
- case 3:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 306);
- }
- case 4:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 309);
- }
- case 5:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 292);
- }
- case 6:
- {
- new string[128];
- format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- SetPlayerSkin(playerid, 93);
- }
- }
- }
- }
- return 1;
- }
- stock ProxDetector(Float:radi, playerid, string[],color)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(!IsPlayerConnected(playerid))continue;
- if(IsPlayerInRangeOfPoint(i,radi,x,y,z))SendClientMessage(i,color,string);
- }
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Skin", GetPlayerSkin(playerid));
- INI_WriteInt(File, "Interior", GetPlayerInterior(playerid));
- INI_WriteInt(File, "VW", GetPlayerVirtualWorld(playerid));
- new Float:x, Float:y, Float:z;
- GetPlayerPos(playerid, x, y, z);
- INI_WriteFloat(File, "PositionX", x);
- INI_WriteFloat(File, "PositionY", y);
- INI_WriteFloat(File, "PositionZ", z);
- INI_WriteInt(File, "Money", GetPlayerMoney(playerid));
- INI_WriteInt(File, "Level", GetPlayerScore(playerid));
- INI_WriteInt(File, "Job1", U_Stats[playerid][pJob1]);
- INI_WriteInt(File, "Job2", U_Stats[playerid][pJob2]);
- INI_WriteInt(File, "Flags", U_Stats[playerid][pFlags]);
- INI_WriteInt(File, "Banned", U_Stats[playerid][pBanned]);
- INI_WriteString(File, "BanBy", U_Stats[playerid][pBanBy]);
- INI_WriteString(File, "BanReason", U_Stats[playerid][pBanReason]);
- new plrIP[16];
- GetPlayerIp(playerid, plrIP, sizeof(plrIP));
- INI_WriteString(File, "LastIP", plrIP);
- INI_WriteInt(File, "Faction", U_Stats[playerid][pFaction]);
- INI_WriteInt(File, "Rank", U_Stats[playerid][pRank]);
- INI_WriteInt(File, "HealthCare", U_Stats[playerid][pHealthCare]);
- INI_Close(File);
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- new Float:armour;
- GetPlayerArmour(playerid, armour);
- if(armour > 1.0)
- {
- SetPlayerAttachedObject(playerid,1,19142,1,0.01,0.05,0.00,0.0,0.0,0.0,1.20,1.26,1.00);
- }
- else
- {
- RemovePlayerAttachedObject(playerid, 1);
- }
- return 1;
- }
- forward OnPlayerConnectCamera(playerid);
- public OnPlayerConnectCamera(playerid)
- {
- TogglePlayerSpectating(playerid, 1);
- switch(random(5))
- {
- case 0:
- {
- InterpolateCameraPos(playerid,1006.8538, 282.1343, 85.7583, 1006.8538, 282.1343, 85.7583, 1000, CAMERA_CUT);
- InterpolateCameraLookAt(playerid, 1007.8502, 282.1040, 85.5879, 1007.8502, 282.1040, 85.5879, 1000, CAMERA_CUT);
- }
- case 1:
- {
- InterpolateCameraPos(playerid,646.6002, -594.4451, 15.9723, 646.6002, -594.4451, 15.9723, 1000, CAMERA_CUT);
- InterpolateCameraLookAt(playerid,646.9472, -593.6812, 16.1468, 645.9472, -593.6812, 16.1468, 1000, CAMERA_CUT);
- }
- case 2:
- {
- InterpolateCameraPos(playerid, 651.7802, -494.6155, 30.2279, 651.7802, -494.6155, 30.2279, 1000, CAMERA_CUT);
- InterpolateCameraLookAt(playerid, 652.5730, -493.9993, 29.9173, 652.5730, -493.9993, 29.9173, 1000, CAMERA_CUT);
- }
- case 3:
- {
- InterpolateCameraPos(playerid, 187.5941, -217.7278, 1.9320, 187.5941, -217.7278, 1.9320, 1000, CAMERA_CUT);
- InterpolateCameraLookAt(playerid, 188.3079, -217.0226, 2.0968, 188.3079, -217.0226, 2.0968, 1000, CAMERA_CUT);
- }
- default:
- {
- InterpolateCameraPos(playerid, 94.6793, -215.7012, 3.1615, 94.6793, -215.7012, 3.1615, 1000, CAMERA_CUT);
- InterpolateCameraLookAt(playerid, 94.1885, -216.5767, 3.2614, 94.1885, -216.5767, 3.2614, 1000, CAMERA_CUT);
- }
- }
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(vehicleid == pAdminVeh[i])
- {
- if(U_Stats[playerid][pLevel] < 12)
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] This is an admin vehicle.");
- SetVehicleParamsForPlayer(pAdminVeh[i], playerid, 1, 1);
- }
- }
- }
- if(vehicleid == 4 || vehicleid == 5 || vehicleid == 6 || vehicleid == 7 || vehicleid == 8 || vehicleid == 9)
- {
- if(ispassenger == 0)
- {
- new engine, lights, alarm, doors, bonnet, boot, objective;
- GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
- if(engine == 0)
- {
- if(U_Stats[playerid][pJob1] == 1)
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Chuff Co.");
- }
- }
- }
- }
- else if(GetPlayerVehicleID(playerid) == 22 || GetPlayerVehicleID(playerid) == 23 || GetPlayerVehicleID(playerid) == 24 || GetPlayerVehicleID(playerid) == 25 || GetPlayerVehicleID(playerid) == 26 || GetPlayerVehicleID(playerid) == 27 || GetPlayerVehicleID(playerid) == 28 || GetPlayerVehicleID(playerid) == 29 || GetPlayerVehicleID(playerid) == 30 || GetPlayerVehicleID(playerid) == 31 || GetPlayerVehicleID(playerid) == 32)
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Los Angeles Police Department.");
- }
- }
- else if(GetPlayerVehicleID(playerid) == 33 || GetPlayerVehicleID(playerid) == 34 || GetPlayerVehicleID(playerid) == 35 || GetPlayerVehicleID(playerid) == 36 || GetPlayerVehicleID(playerid) == 37 || GetPlayerVehicleID(playerid) == 38 || GetPlayerVehicleID(playerid) == 39 || GetPlayerVehicleID(playerid) == 40 || GetPlayerVehicleID(playerid) == 41 || GetPlayerVehicleID(playerid) == 42)
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Los Angeles Police Department.");
- }
- }
- else if(GetPlayerVehicleID(playerid) > 10 && GetPlayerVehicleID(playerid) < 22)
- {
- if(GetPlayerVehicleSeat(playerid) == 0)
- {
- if(U_Stats[playerid][pFaction] == 1)
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Los Angeles Fire and Medicial Department.");
- }
- }
- }
- return 1;
- }
- new VehicleNames[][] =
- {
- "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel", "Dumper", "Firetruck", "Trashmaster",
- "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
- "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer",
- "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach",
- "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", "Seasparrow",
- "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair",
- "Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic",
- "Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton",
- "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper", "Rancher",
- "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking", "Blista Compact", "Police Maverick",
- "Boxvillde", "Benson", "Mesa", "RC Goblin", "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher",
- "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt", "Tanker", "Roadtrain",
- "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck",
- "Fortune", "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer", "Remington", "Slamvan",
- "Blade", "Freight", "Streak", "Vortex", "Vincent", "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder",
- "Primo", "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite", "Windsor", "Monster", "Monster",
- "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
- "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper", "Broadway", "Tornado", "AT-400", "DFT-30",
- "Huntley", "Stafford", "BF-400", "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
- "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car", "Police Car", "Police Car",
- "Police Ranger", "Picador", "S.W.A.T", "Alpha", "Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs",
- "Boxville", "Tiller", "Utility Trailer"
- };
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.0, 1081.2261, -1697.9417, 13.5469)) // employment agency - enter
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 384.808624, 173.804992, 1008.382812);
- SetPlayerInterior(playerid, 3);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.0, 1434.4867, -968.4231, 37.3875)) // employment agency - enter
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 322.197998, 302.497985, 999.148437);
- SetPlayerInterior(playerid, 5);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 387.2391, 173.7334, 1008.382812)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1081.2261, -1697.9417, 13.5469);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 322.197998, 302.497985, 999.148437)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1434.4867, -968.4231, 37.3875);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- /*LAFD Enter*/
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1802.9580, -1771.9418, 14.0222)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1976.3857, 1163.5022, -5.2087);
- SetPlayerInterior(playerid, 1);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- /*LAFD Exit*/
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1976.3857, 1163.5022, -5.2087)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1802.9580, -1771.9418, 14.0222);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- /*LAPD Enter*/
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1555.5000, -1675.7068, 16.1953)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 246.783996, 63.900199, 1003.640625);
- SetPlayerInterior(playerid, 6);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- /*LAPD Exit*/
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 246.783996, 63.900199, 1003.640625)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1555.5000, -1675.7068, 16.1953);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- return 1;
- }
- /*LAPD Garage Enter*/
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 246.4677, 88.0083, 1003.6406)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1568.5713, -1689.9702, 6.2188);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- /*LAPD Garage exit*/
- if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1568.5713, -1689.9702, 6.2188)) // employment agency - exit
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 246.4677,88.0083,1003.6406);
- SetPlayerInterior(playerid, 6);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- return 1;
- }
- forward EE(playerid);
- public EE(playerid)
- {
- TogglePlayerControllable(playerid, 1);
- }
- new Float:injx, Float:injy, Float:injz;
- new Injureds[MAX_PLAYERS];
- new Injured2s[MAX_PLAYERS];
- public OnPlayerDeath(playerid, killerid, reason)
- {
- GetPlayerPos(playerid, injx, injy, injz);
- Injureds[playerid] = SetTimerEx("Injured", 1750, false, "i", playerid);
- return 1;
- }
- forward Injured(playerid);
- public Injured(playerid)
- {
- SetPlayerHealth(playerid, 100.0);
- SetPlayerPos(playerid, injx, injy, injz);
- GameTextForPlayer(playerid, "~r~Injured~n~~w~Use /service EMS", 70000, 3);
- SetPlayerDrunkLevel (playerid, 4999);
- Injured2s[playerid] = SetTimerEx("Injured2", 1000, true, "i", playerid);
- return 1;
- }
- forward Injured2(playerid);
- public Injured2(playerid)
- {
- ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
- new Float:health;
- GetPlayerHealth(playerid, health);
- SetPlayerHealth(playerid, health - 3);
- if(health <= 10.0)
- {
- SetPlayerHealth(playerid, 100.0);
- SetPlayerDrunkLevel (playerid, 0);
- ApplyAnimation(playerid,"CRACK","crckidle2",1,0,0, 0,0,0);
- SetPlayerPos(playerid, 1953.7771, 1166.1490, -4.6479);
- SetPlayerFacingAngle(playerid, 272.4659);
- TogglePlayerControllable(playerid, 0);
- GameTextForPlayer(playerid, "Recovering..", 3500, 6);
- SetTimerEx("recovering", 3500, false, "i", playerid);
- KillTimer(Injureds[playerid]);
- KillTimer(Injured2s[playerid]);
- }
- return 1;
- }
- forward recovering(playerid);
- public recovering(playerid)
- {
- GameTextForPlayer(playerid, "Recovered!", 0750, 6);
- TogglePlayerControllable(playerid, 1);
- ClearAnimations(playerid);
- return 1;
- }
- /*- Start of: Normal Commands -*/
- /*--- enter ---*/
- CMD:commands(playerid)
- {
- ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Employment Agency"COLOR_White_a": Commands", "General\nChats\nFaction\nAdministrator", "Choose","Back");
- return 1;
- }
- CMD:og(playerid, params[])
- {
- new text[128];
- if(sscanf(params, "s", text))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You forgot to insert a message.");
- }
- else
- {
- if(og == 1)
- {
- if(GetPlayerScore(playerid) > 13)
- {
- new string[2555];
- format(string, sizeof(string), "(([OOC Chat] Administrator %s: %s ))", GetRPName(playerid), text);
- SendClientMessageToAll(0x55BEE0FF, string);
- }
- else
- {
- new string[2555];
- format(string, sizeof(string), "(([OOC Chat] %s: %s ))", GetRPName(playerid), text);
- SendClientMessageToAll(0x55BEE0FF, string);
- }
- }
- else
- {
- SendClientMessage(playerid, 0x55BEE0FF, "(( The OOC Channel has been disabled by an admin. ))");
- }
- }
- return 1;
- }
- CMD:enter(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 12.5, 1081.2261, -1697.9417, 13.5469))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 384.808624, 173.804992, 1008.382812);
- SetPlayerInterior(playerid, 3);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1434.4867, -968.4231, 37.3875))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 322.197998, 302.497985, 999.148437);
- SetPlayerInterior(playerid, 5);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1802.9580, -1771.9418, 14.0222))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1976.3857, 1163.5022, -5.2087);
- SetPlayerInterior(playerid, 1);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1555.5000, -1675.7068, 16.1953))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 246.783996, 63.900199, 1003.640625);
- SetPlayerInterior(playerid, 6);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 246.4677, 88.0083, 1003.6406))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1568.5713, -1689.9702, 6.2188);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- return 1;
- }
- /*--- exit ---*/
- CMD:exit(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 12.5, 384.808624, 173.804992, 1008.382812))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1081.2261, -1697.9417, 13.5469);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 322.197998, 302.497985, 999.148437))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1434.4867, -968.4231, 37.3875);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1976.3857, 1163.5022, -5.2087))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1802.9580, -1771.9418, 14.0222);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 246.783996, 63.900199, 1003.640625))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 1555.5000, -1675.7068, 16.1953);
- SetPlayerInterior(playerid, 0);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1568.5713, -1689.9702, 6.2188))
- {
- GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
- TogglePlayerControllable(playerid, 0);
- SetPlayerPos(playerid, 246.4677, 88.0083, 1003.6406);
- SetPlayerInterior(playerid, 6);
- SetTimerEx("EE", 1750, false, "i", playerid);
- }
- return 1;
- }
- /*--- ead ---*/
- CMD:ead(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 12.5, 361.9746, 173.7579, 1008.3828))
- {
- ShowPlayerDialog(playerid, D_EmploymentAgencyDash, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Employment Agency"COLOR_White_a":", "Chuff Worker\nTaxi Driver\nMechanic\nPizza Driver\nTrucker", "Choose", "Close");
- }
- return 1;
- }
- /*--- locker ---*/
- CMD:locker(playerid)
- {
- if(IsPlayerInRangeOfPoint(playerid, 12.5, 327.2328,307.1811,999.1484))
- {
- if(U_Stats[playerid][pJob1] == 1)
- {
- ShowPlayerDialog(playerid, D_ChuffLocker, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Chuff Driver"COLOR_White_a": Locker", "Clothes\nVest\nFirearm", "Choose", "Close");
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
- }
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1967.2889, 1154.5425, -5.2087))
- {
- LAFMDLocker(playerid);
- }
- else if(IsPlayerInRangeOfPoint(playerid, 12.5, 255.3864, 77.3311, 1003.6406))
- {
- LAPDLocker(playerid);
- }
- return 1;
- }
- /*--- me ---*/
- CMD:me(playerid, params[])
- {
- new text[128];
- if(sscanf(params, "s", text))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You forgot to insert an action.");
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "* %s %s", GetRPName(playerid), text);
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- return 1;
- }
- /*--- do ---*/
- CMD:do(playerid, params[])
- {
- new text[128];
- if(sscanf(params, "s", text))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You forgot to insert an action.");
- }
- else
- {
- new string[128];
- format(string, sizeof(string), "* %s (( %s ))", text, GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- return 1;
- }
- /*--- car ---*/
- CMD:car(playerid, params[])
- {
- new text[128];
- if(sscanf(params, "s", text))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You forgot engine/lights/windows.");
- }
- else
- {
- new engine, lights, alarm, doors, bonnet, boot, objective;
- if(!strcmp(text, "engine"))
- {
- if(GetPlayerVehicleID(playerid) == 4 || GetPlayerVehicleID(playerid) == 5 || GetPlayerVehicleID(playerid) == 6 || GetPlayerVehicleID(playerid) == 7 || GetPlayerVehicleID(playerid) == 8 || GetPlayerVehicleID(playerid) == 9)
- {
- if(GetPlayerVehicleSeat(playerid) == 0)
- {
- if(U_Stats[playerid][pJob1] == 1)
- {
- GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
- if(engine == 0)
- {
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
- new string[128];
- format(string, sizeof(string), "** %s twists their Chuff Security key into the ignition starting it up.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- else
- {
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
- new string[128];
- format(string, sizeof(string), "** %s twists their Chuff Security key into the ignition shutting it.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
- }
- }
- }
- else if(GetPlayerVehicleID(playerid) > 21 && GetPlayerVehicleID(playerid) < 43)
- {
- if(GetPlayerVehicleSeat(playerid) == 0)
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
- if(engine == 0)
- {
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
- new string[128];
- format(string, sizeof(string), "** %s twists their key into the ignition twisting it, starting the engine.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- else
- {
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
- new string[128];
- format(string, sizeof(string), "** %s twists their key in the ignition shutting the engine off.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
- }
- }
- }
- else if(GetPlayerVehicleID(playerid) > 10 && GetPlayerVehicleID(playerid) < 22)
- {
- if(GetPlayerVehicleSeat(playerid) == 0)
- {
- if(U_Stats[playerid][pFaction] == 1)
- {
- GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
- if(engine == 0)
- {
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
- new string[128];
- format(string, sizeof(string), "** %s twists their key into the ignition twisting it, starting the engine.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- else
- {
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
- new string[128];
- format(string, sizeof(string), "** %s twists their key in the ignition shutting the engine off.", GetRPName(playerid));
- ProxDetector(15, playerid, string, COLOR_Purple);
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
- }
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
- }
- }
- }
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- new string[128];
- format(string, sizeof(string), ""COLOR_Grey_a"%s says: %s.", GetRPName(playerid), text);
- ProxDetector(15, playerid, string, -1);
- return 0;
- }
- //------------------------------------------------------------------------------------------------
- // ==============================================================================================
- // Admin Functions
- // ==============================================================================================
- //------------------------------------------------------------------------------------------------
- /*--- advehicle ---*/
- CMD:avehicle(playerid, params[])
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- new id;
- if(sscanf(params, "i", id))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /avehicle ID");
- }
- else
- {
- new Float:x, Float:y, Float:z, vehID;
- GetPlayerPos(playerid, x, y, z);
- vehID = CreateVehicle(id, x, y, z, 82.2873, -1, -1, -1);
- PutPlayerInVehicle(playerid, vehID, 0);
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
- }
- return 1;
- }
- CMD:adestroy(playerid, params[])
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- new vehicleid = GetPlayerVehicleID(playerid);
- DestroyVehicle(vehicleid);
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
- }
- return 1;
- }
- /*--- aengine ---*/
- CMD:aengine(playerid, params[])
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- if(GetPlayerVehicleSeat(playerid) == 0)
- {
- new engine, lights, alarm, doors, bonnet, boot, objective;
- GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not the driver.");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not in a vehicle.");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
- }
- return 1;
- }
- //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- /* Mute command - /mute target - time - reason // NEED TO BE TRANSLATE - I will do it*/
- /*
- CMD:mute(playerid,params[])
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- new cible, string2[MAX_PLAYER_NAME+200], tps, raison[150], strr[200];
- if(sscanf(params,"iis[149]",cible, tps, raison)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/mute [id_joueur] [temps] [raison]");
- if(pMuted[cible] == 2) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible est déjà mute!");
- if(PlayerInfo[playerid][pAdminlvl] != 5&& PlayerInfo[cible][pAdminlvl] == 5) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas mute le fondateur.");
- if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible n'est pas connecté !");
- if(tps < 0 || tps == 0) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le temps ne pas doit être égale à 0 minute ou être négatif.");
- pMuted[cible] = 2;
- format(strr, sizeof(strr), "[SYSTEM] "blancU"%s "rougeUC"a été mute par un administrateur pour %i min. Raison : "blancU"%s", GetName(cible), tps, raison);
- format(string2, sizeof(string2), "[MUTE] Admin : %s | Cible : %s | Temps : %i min | Raison : %s", GetName(playerid), GetName(cible), tps, raison);
- mutedPT = SetTimerEx("unmutetps", tps*60000, false, "ii", cible, tps);
- adminChat(string2, red1);
- SendClientMessageToAll(red, strr);
- new jour, mois, heure, minute, seconde, anne, str[300];
- new File:pos=fopen("LOG_AdminCmd.txt", io_append);
- gettime(heure, minute, seconde);
- getdate(anne, mois, jour);
- format(str,sizeof(str),"\r\n[ADMIN/MUTE] %s MUTED %s [%02i/%02i/%02i] %02i:%02i:%02i : %s", GetName(playerid), GetName(cible), jour, mois, anne, heure, minute, seconde, raison);
- fwrite(pos,str);
- fclose(pos);
- aAlert("/mute", playerid);
- return 1;
- }
- else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
- }
- //------------------------------------------------------------------------------------------------
- CMD:kick(playerid, params[]) // /kick target reason
- {
- if(PlayerInfo[playerid][pAdminlvl] > 0)
- {
- new raison[50], cible, string[MAX_PLAYER_NAME+500], cName[MAX_PLAYER_NAME], aName[MAX_PLAYER_NAME], str[500];
- if(sscanf(params,"is[50]",cible,raison)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/kick [Player_id] [Raison]");
- if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" La personne choisis n'est pas connectée.");
- if(PlayerGod[cible] == 2 && PlayerGod[playerid] == 1) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas kick le fondateur.");
- if(PlayerInfo[playerid][pAdminlvl] < PlayerInfo[cible][pAdminlvl]) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas kick un administrateur avec un niveau d'aministration plus haut que le votre.");
- GetPlayerName(cible,cName,sizeof(cName));
- GetPlayerName(playerid,aName,sizeof(aName));
- PlayerInfo[cible][pKick]++;
- format(string, sizeof(string), rougeUF"[SYSTEM] "blancU"%s"rougeUC" a été kick par un administrateur. (Raison : "blancU"%s"rougeUC")", cName, raison);
- SendClientMessageToAll(red, string);
- SetTimerEx("kick", 1000, false, "is", cible, raison);
- printf("\n[ADMIN] %s a KICK %s", aName, cName);
- new jour, mois, heure, minute, seconde, anne;
- new File:pos=fopen("LOG_AdminCmd.txt", io_append);
- gettime(heure, minute, seconde);
- getdate(anne, mois, jour);
- format(str,sizeof(str),"\r\n[ADMIN/KICK] %s KICKED %s [%02i/%02i/%02i] %02i:%02i:%02i : %s", aName, cName, jour, mois, anne, heure, minute, seconde, raison);
- fwrite(pos,str);
- fclose(pos);
- aAlert("/kick", playerid);
- return 1;
- }
- else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande.");
- }
- //------------------------------------------------------------------------------------------------
- CMD:goto(playerid,params[]) // goto : tp you on a player
- {
- if(PlayerInfo[playerid][pAdminlvl] > 0)
- {
- new Float:x, Float:y, Float:z, string[MAX_PLAYER_NAME+150], cName[MAX_PLAYER_NAME], cible;
- if(sscanf(params,"i", cible)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/goto [player_id]");
- if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, rougeUF"[SYSTEM]"rougeUC" Ce joueur n'est pas connecté.");
- interiorSpawn(playerid, cible, GetPlayerInterior(cible));
- GetPlayerPos(cible, x, y, z);
- SetPlayerPos(playerid, x+0.5,y,z);
- GetPlayerName(cible, cName, sizeof(cName));
- format(string, sizeof(string), rougeUF"[SYSTEM] "lbleuU"Vous vous êtes téléporté à %s", cName);
- SendClientMessage(playerid, red, string);
- SendClientMessage(cible, red, rougeUF"[SYSTEM]"lbleuU" Un staff s'est téléporté à vous.");
- aAlert("/goto", playerid);
- return 1;
- }
- else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
- }
- //------------------------------------------------------------------------------------------------
- CMD:tp(playerid,params[]) // tp someone to you
- {
- if(PlayerInfo[playerid][pAdminlvl] > 2)
- {
- new Float:x, Float:y, Float:z, string[MAX_PLAYER_NAME+150], cName[MAX_PLAYER_NAME], cible;
- if(sscanf(params,"i", cible)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/tp [player_id]");
- if(PlayerInfo[playerid][pAdminlvl] != 5 && PlayerInfo[cible][pAdminlvl] == 5) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas téléporter le fondateur.");
- if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, rougeUF"[SYSTEM]"rougeUC" Ce joueur n'est pas connecté.");
- interiorSpawn(playerid, cible, GetPlayerInterior(playerid));
- GetPlayerPos(playerid, x, y, z);
- if(IsPlayerInAnyVehicle(cible))
- {
- new veh;
- veh = GetPlayerVehicleID(cible);
- SetVehiclePos(veh, x+3, y, z);
- }
- else
- {
- SetPlayerPos(cible, x+0.5,y,z);
- }
- GetPlayerName(cible, cName, sizeof(cName));
- format(string, sizeof(string), rougeUF"[SYSTEM] "lbleuU"Vous avez téléporté %s à vous.", cName);
- SendClientMessage(playerid, red, string);
- SendClientMessage(cible, red, rougeUF"[SYSTEM]"lbleuU" Vous avez été téléporté vers un staff.");
- aAlert("/tp", playerid);
- return 1;
- }
- else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
- }
- //------------------------------------------------------------------------------------------------
- CMD:unmute(playerid,params[])
- {
- if(PlayerInfo[playerid][pAdminlvl] > 2)
- {
- new cible, strr[200], string2[MAX_PLAYER_NAME+150];
- if(sscanf(params,"i",cible)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/unmute [id_joueur]");
- if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible n'est pas connecté !");
- if(pMuted[cible] == 1) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible n'est pas mute !");
- pMuted[cible] = 1;
- KillTimer(mutedPT);
- format(strr, sizeof(strr), "[SYSTEM] "rougeUC"Un administrateur a demute "blancU"%s"rougeUC".", GetName(cible));
- format(string2, sizeof(string2), "[MUTE] Admin : %s | Cible : %s |» DEMUTE", GetName(playerid), GetName(cible));
- adminChat(string2, red1);
- SendClientMessageToAll(red, strr);
- new jour, mois, heure, minute, seconde, anne, str[300];
- new File:pos=fopen("LOG_AdminCmd.txt", io_append);
- gettime(heure, minute, seconde);
- getdate(anne, mois, jour);
- format(str,sizeof(str),"\r\n[ADMIN/MUTE] %s DEMUTED %s [%02i/%02i/%02i] %02i:%02i:%02i", GetName(playerid), GetName(cible), jour, mois, anne, heure, minute, seconde);
- fwrite(pos,str);
- fclose(pos);
- aAlert("/mute", playerid);
- return 1;
- }
- else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
- }
- */
- //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- public OnPlayerCommandPerformed(playerid, cmdtext[], success)
- {
- new string[180];
- format(string, sizeof(string), "[Error] The command '%s' is unknown. Please use /commands to know whole commands", cmdtext);
- return (!success ? SendClientMessage(playerid, COLOR_RED_A, string) : 1);
- }
- /*--- atp ---*/
- CMD:atp(playerid, params[])
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- new player, to[128];
- if(sscanf(params, "us", player, to))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /atp [playerid] [destiny} | ea, cd, lafmd, lapd");
- }
- else
- {
- if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] The player is offline.");
- else
- {
- if(!strcmp(to, "ea"))
- {
- SetPlayerPos(player, 1081.2261, -1697.9417, 13.5469);
- SetPlayerInterior(player, 0);
- new message[255];
- format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"Admin"COLOR_White_a"] %s teleported %s to Los Angeles Employment Agency.", GetRPName(playerid), GetRPName(player));
- SendClientMessageToAll(-1, message);
- }
- else if(!strcmp(to, "cd"))
- {
- SetPlayerPos(player, 1434.4867, -968.4231, 37.3875);
- SetPlayerInterior(player, 0);
- new message[255];
- format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"Admin"COLOR_White_a"] %s teleported %s to Chuff Bank Backdoor.", GetRPName(playerid), GetRPName(player));
- SendClientMessageToAll(-1, message);
- }
- else if(!strcmp(to, "lafmd"))
- {
- SetPlayerPos(player, 1802.9580, -1771.9418, 14.0222);
- SetPlayerInterior(player, 0);
- new message[255];
- format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"Admin"COLOR_White_a"] %s teleported %s to Los Angeles Fire and Medic Department HQ.", GetRPName(playerid), GetRPName(player));
- SendClientMessageToAll(-1, message);
- }
- else if(!strcmp(to, "lapd"))
- {
- SetPlayerPos(player, 1555.5000, -1675.7068, 16.1953);
- SetPlayerInterior(player, 0);
- new message[255];
- format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"Admin"COLOR_White_a"] %s teleported %s to Los Angeles Police Department HQ.", GetRPName(playerid), GetRPName(player));
- SendClientMessageToAll(-1, message);
- }
- }
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
- }
- return 1;
- }
- /* afaclead */
- CMD:afaclead(playerid, params[])
- {
- if(U_Stats[playerid][pLevel] < 12) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You're not high admin enough.");
- new target, facid;
- if(sscanf(params,"ii", target, facid))
- {
- SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /afaclead [playerid] [faction_id]");
- return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] ID 1 : LSPD | ID : 2 SFPD | ID : 3 Fox5");
- }
- if(facid < 1 || facid > 3) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] Invalid Faction ID");
- if(!IsPlayerConnected(target)) return SendClientMessage(playerid, -1, "{FFFFFF}[{82CAFF}Error{FFFFFF}] The player is offline.");
- if(U_Stats[target][pFaction] < -1 || U_Stats[target][pFaction] > 3){ printf("[Error] ERROR MAKELEADER - FactionID > 3 OR FactionID < 0| Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid); return 1;}
- facid--;
- if(U_Stats[target][pFaction] == -1)
- {
- U_Stats[target][pFaction] = facid;
- U_Stats[target][pRank] = Factions[facid][fMaxRank];
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", Factions[facid][fMaxRank]);
- INI_WriteInt(File, "Faction", U_Stats[target][pFaction]);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new INI:file = INI_Open(FactionPath(facid));
- INI_SetTag(file, "data");
- INI_WriteString(file,"Leader",GetName(playerid));
- INI_Close(file);
- INI_ParseFile(FactionPath(facid), "LoadFaction_data", .bExtra = true, .extra = facid);
- facid++;
- switch(facid)
- {
- case 1:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Police Department.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- case 2:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Fire and Medicial Department.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- case 3:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of FOX5 News.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- default: printf("[Error] ERROR MAKELEADER [1] | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
- }
- return 1;
- }
- else if(Factions[U_Stats[target][pFaction]][fMaxRank] != U_Stats[target][pRank])
- {
- U_Stats[target][pFaction] = facid;
- U_Stats[target][pRank] = Factions[facid][fMaxRank];
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", Factions[facid][fMaxRank]);
- INI_WriteInt(File, "Faction", U_Stats[target][pFaction]);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new INI:file = INI_Open(FactionPath(facid));
- INI_SetTag(file, "data");
- INI_WriteString(file,"Leader",GetName(playerid));
- INI_Close(file);
- INI_ParseFile(FactionPath(facid), "LoadFaction_data", .bExtra = true, .extra = facid);
- facid++;
- switch(facid)
- {
- case 1:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Police Department.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- case 2:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Fire and Medicial Department.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- case 3:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of FOX5 News.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- default: printf("[Error] ERROR MAKELEADER [1] | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
- }
- return 1;
- }
- else if(U_Stats[target][pFaction] != -1 && Factions[U_Stats[target][pFaction]][fMaxRank] == U_Stats[target][pRank])
- {
- new INI:file = INI_Open(FactionPath(U_Stats[target][pFaction]));
- INI_SetTag(file, "data");
- INI_WriteString(file,"Leader","None");
- INI_Close(file);
- INI_ParseFile(FactionPath(U_Stats[target][pFaction]), "LoadFaction_data", .bExtra = true, .extra = U_Stats[target][pFaction]);
- U_Stats[target][pFaction] = facid;
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", Factions[facid][fMaxRank]);
- INI_WriteInt(File, "Faction", facid);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new INI:ffile = INI_Open(FactionPath(facid));
- INI_SetTag(ffile, "data");
- INI_WriteString(ffile,"Leader",GetName(playerid));
- INI_Close(ffile);
- INI_ParseFile(FactionPath(facid), "LoadFaction_data", .bExtra = true, .extra = facid);
- facid++;
- switch(facid)
- {
- case 1:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Police Department.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- case 2:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Fire and Medicial Department.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- case 3:
- {
- new message[255];
- format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of FOX5 News.", GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, message);
- }
- default: printf("[Error] ERROR MAKELEADER [2] | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
- }
- return 1;
- }
- else
- {
- printf("[Error] ERROR MAKELEADER 3 | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
- return 1;
- }
- }
- CMD:stats(playerid, params[])
- {
- printf("[ID] %i", U_Stats[playerid][pID]);
- printf("[Pass] %s", U_Stats[playerid][pPassword]);
- printf("[Mail] %s", U_Stats[playerid][pMail]);
- printf("[Age] %i", U_Stats[playerid][pAge]);
- printf("[Origin] %s", U_Stats[playerid][pOrigin]);
- printf("[Gender] %s", U_Stats[playerid][pGender]);
- printf("[Skin] %i", U_Stats[playerid][pSkin]);
- printf("[Interior] %i", U_Stats[playerid][pInterior]);
- printf("[VW] %i", U_Stats[playerid][pVW]);
- printf("[PositionX] %.4f", U_Stats[playerid][pPositionX]);
- printf("[PositionY] %.4f", U_Stats[playerid][pPositionY]);
- printf("[PositionZ] %.4f", U_Stats[playerid][pPositionZ]);
- printf("[Money] %i", U_Stats[playerid][pMoney]);
- printf("[Job1] %i", U_Stats[playerid][pJob1]);
- printf("[Job2] %i", U_Stats[playerid][pJob2]);
- printf("[Flags] %i", U_Stats[playerid][pFlags]);
- printf("[Banned] %i", U_Stats[playerid][pBanned]);
- printf("[BanBy] %s", U_Stats[playerid][pBanBy]);
- printf("[BanReason] %s", U_Stats[playerid][pBanReason]);
- printf("[RegIP] %s", U_Stats[playerid][pRegIP]);
- printf("[LastIP] %s", U_Stats[playerid][pLastIP]);
- printf("[Faction] %i", U_Stats[playerid][pFaction]);
- printf("[Rank] %s", U_Stats[playerid][pRank]);
- printf("[HealthCare] %i", U_Stats[playerid][pHealthCare]);
- printf("[Health] %.2f", U_Stats[playerid][pHealth]);
- printf("[Armour] %.2f", U_Stats[playerid][pArmour]);
- printf("[Prisonnier] %i", U_Stats[playerid][pPrisonnier]);
- printf("[PrisonTime] %i", U_Stats[playerid][pPrisonTime]);
- return 1;
- }
- CMD:askin(playerid,params[])
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- new idskin, cible;
- if(sscanf(params,"ii", cible, idskin)) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Use"COLOR_White_a"] /askin [player_id] [skin_id]");
- if(idskin<0||idskin>311) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Error"COLOR_White_a"] Invalid Skin ID [0-311]");
- SetPlayerSkin(cible, idskin);
- return 1;
- }
- else return 1;
- }
- CMD:atoggleog(playerid)
- {
- if(U_Stats[playerid][pLevel] > 12)
- {
- if(og == 0)
- {
- og = 1;
- SendClientMessage(playerid, 0x55BEE0FF, "(( The OOC Channel has been enabled by an admin. ))");
- }
- else
- {
- og = 0;
- SendClientMessage(playerid, 0x55BEE0FF, "(( The OOC Channel has been disabled by an admin. ))");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
- }
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- // ==============================================================================================
- // Chuff Functions
- // ==============================================================================================
- //------------------------------------------------------------------------------------------------
- new Float:atms[][3] =
- {
- {1833.24036, -1837.00122, 12.57600},
- {2092.99292, -1359.76697, 22.93730},
- {2228.34229, -1713.18457, 12.43970},
- {1346.10840, -1759.18811, 12.42000}
- };
- CMD:getpackage(playerid)
- {
- if(U_Stats[playerid][pJob1] == 1)
- {
- if(IsPlayerInRangeOfPoint(playerid, 12.5, 321.8759, 309.8267, 999.1484))
- {
- if(GetPlayerSkin(playerid) == 306 || GetPlayerSkin(playerid) == 71)
- {
- new str[128];
- pHoldingPackage[playerid] = 1;
- format(str, sizeof(str), "** %s grabs a bag of money as they carries it.", GetName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Head to your truck and load it using /loadpackage.");
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to wear your uniform!");
- }
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
- }
- return 1;
- }
- CMD:loadpackage(playerid)
- {
- if(U_Stats[playerid][pJob1] == 1)
- {
- new vehicleid;
- vehicleid = GetClosestVehicle(playerid, 25);
- if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 428)
- {
- if(GetPlayerSkin(playerid) == 306 || GetPlayerSkin(playerid) == 71)
- {
- new str[128];
- pHoldingPackage[playerid] = 0;
- pTruckPackage[playerid] = vehicleid;
- format(str, sizeof(str), "** %s throws their package into the Chuff Security Car.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Head to your red marker to fill the atm using /unloadpackage and /loadatm.");
- new rand = random(sizeof(atms));
- SetPlayerCheckpoint(playerid, atms[rand][0], atms[rand][1],atms[rand][2], 3.0);
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to wear your uniform!");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to be inside your truck!");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
- }
- return 1;
- }
- CMD:unloadpackage(playerid)
- {
- if(U_Stats[playerid][pJob1] == 1)
- {
- if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 428)
- {
- if(GetPlayerSkin(playerid) == 306 || GetPlayerSkin(playerid) == 71)
- {
- new str[128];
- pHoldingPackage[playerid] = 1;
- pTruckPackage[playerid] = 0;
- format(str, sizeof(str), "** %s grabs their package from the Chuff Security Car.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Head to your red marker to fill the atm using /loadatm.");
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to wear your uniform!");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to be inside your truck!");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
- }
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- if(pHoldingPackage[playerid] == 1)
- {
- new money = random((8500 - 2250)) + 2250;
- GivePlayerMoney(playerid, money);
- DisablePlayerCheckpoint(playerid);
- pHoldingPackage[playerid] = 0;
- new string[128];
- format(string, sizeof(string), ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] You received $%i for filling the ATM.", money);
- SendClientMessage(playerid, -1, string);
- }
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- // ==============================================================================================
- // Faction Commands
- // ==============================================================================================
- //------------------------------------------------------------------------------------------------
- CMD:m(playerid, params[])
- {
- if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
- if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
- new text[150];
- if(sscanf(params, "s[149]", text)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /m [Message]");
- format(text, sizeof(text), "{ff0000}((%s | %s)) {FFFFFF}%s", GetName(playerid), Factions[U_Stats[playerid][pFaction]][fShortName], text);
- ProxDetector(30, playerid, text, -1);
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- CMD:r(playerid, params[])
- {
- if(U_Stats[playerid][pFaction] == -1 || !duty(playerid) && LawE(playerid)) return 1;
- new text[150];
- if(sscanf(params, "s[149]", text)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /r [Message]");
- format(text, sizeof(text), "{1E90FF}(Radio) %s %s says: %s", rankFac[U_Stats[playerid][pFaction]][U_Stats[playerid][pRank]][0], GetName(playerid), text);
- FacRadio(playerid, text);
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- CMD:d(playerid, params[])
- {
- if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
- if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
- new text[150];
- if(sscanf(params, "s[149]", text)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /d (regional) [Message]");
- format(text, sizeof(text), "{B4BA00}(%s) %s %s : %s", Factions[U_Stats[playerid][pFaction]][fShortName], rankFac[U_Stats[playerid][pFaction]][U_Stats[playerid][pRank]][0], GetName(playerid), text);
- DepRadio(playerid, text);
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- CMD:su(playerid, params[])
- {
- if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
- if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
- new target, reason[111];
- if(sscanf(params, "is[110]", target, reason)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /su(uspect) [target_id] [reason]");
- new str[120];
- format(str, sizeof(str), "[{82CAFF}SUSPECT{FFFFFF}] %s | %s %s make %s suspect | Reason : %s", Factions[U_Stats[playerid][pFaction]][fShortName], U_Stats[playerid][pRank], GetName(playerid), GetName(target), reason);
- IsSuspect[target] = 1;
- DepRadio(playerid, str);
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- CMD:arrest(playerid, params[])
- {
- if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
- if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
- new Float:x, Float:y, Float:z, target, time, fine;
- if(sscanf(params, "iii", target, time, fine)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /arrest [target_id] [time] [fine]");
- if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] Wrong player ID");
- if(IsSuspect[target] != 1) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not suspect!");
- GetPlayerPos(playerid, x, y, z);
- if(!IsPlayerInRangeOfPoint(playerid, 5.0, 1572.7869, -1624.7345, 13.0293)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You're too far away from the arrest point.");
- if(!IsPlayerInRangeOfPoint(target, 5.0, x, y, z)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] The suspect need to be near you!");
- time = time * 60 * 1000;
- SetPlayerPos(target, x, y, z);
- SetTimerEx("FreePrisoniers", time, false, "ii", target, time);
- GivePlayerMoney(target, 0-random(10001));
- new str[150];
- format(str, sizeof(str), "[{82CAFF}%s{FFFFFF} Policier %s has arrested %s", Factions[U_Stats[playerid][pFaction]][fShortName], GetName(playerid), GetName(target));
- SendClientMessageToAll(-1, str);
- //SetPlayerPos(target, x, y, z);
- IsPrisonnier[target] = 1;
- return 1;
- }
- forward FreePrisoniers(suspect, time);
- public FreePrisoniers(suspect, time)
- {
- SetPlayerPos(suspect,1544.2457,-1675.5072,13.5580);
- IsSuspect[suspect] = 0;
- IsPrisonnier[suspect] = 0;
- SendClientMessage(suspect, -1, "[{82CAFF}Prison{FFFFFF}]You are now free.");
- new str[150];
- time = time / 60 / 1000;
- format(str, sizeof(str), "{82CAFF}» %s has been released from the prison after %i min(s)", GetName(suspect), time);
- DepRadio(-1, str);
- return 1;
- }
- //------------------------------------------------------------------------------------------------------------------------------------------------------------
- CMD:uprank(playerid, params[])
- {
- new target;
- if(U_Stats[playerid][pRank] != Factions[playerid][fMaxRank] && U_Stats[playerid][pLevel] < 12) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need to be the leader of the faction");
- if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /uprank [player_id]");
- if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not connected");
- if(U_Stats[target][pFaction] == -1 || U_Stats[target][pFaction] != U_Stats[playerid][pFaction]) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not in your faction or you have not a faction.");
- if(playerid == target && U_Stats[playerid][pLevel] < 12 || U_Stats[playerid][pRank] == Factions[playerid][fMaxRank]) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are already at the max rank.");
- U_Stats[target][pRank]++;
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", U_Stats[target][pRank]);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new str[120];
- format(str, sizeof(str), "[Information] %s has a new rank", GetName(target));
- SendClientMessage(target, -1,str);
- return 1;
- }
- //------------------------------------------------------------------------------------------------------------------------------------------------------------
- CMD:cuff(playerid, params[]) //Uses toggle version, So one cuff=cuffed, two cuff=uncuffed.
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- new target;
- if(sscanf(params, "i", target))
- {
- SendClientMessage(playerid, -1, COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /cuff [playerid]");
- }
- else
- {
- if(!IsPlayerConnected(target))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] That player is offline!");
- }
- else
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(target, x, y, z);
- if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
- {
- if(cuffed[target] == 0)
- {
- new str[128];
- format(str, sizeof(str), "** %s grabs a pair of cuffs and slaps them onto %s's wrists.", GetRPName(playerid), GetRPName(target));
- ProxDetector(15, playerid, str, COLOR_Purple);
- SetPlayerAttachedObject(target, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977,-81.700035, 0.891999, 1.000000, 1.168000);
- SetPlayerSpecialAction(target, SPECIAL_ACTION_CUFFED);
- cuffed[target] = 1;
- }
- else
- {
- new str[128];
- format(str, sizeof(str), "** %s grabs a pair of cuffs keys and unlocks %s's wrists.", GetRPName(playerid), GetRPName(target));
- ProxDetector(15, playerid, str, COLOR_Purple);
- SetPlayerSpecialAction(target,SPECIAL_ACTION_NONE);
- RemovePlayerAttachedObject(target, 0);
- cuffed[target] = 0;
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're too far away.");
- }
- }
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Law Enforcement Officer.");
- }
- return 1;
- }
- new tazer[MAX_PLAYERS] = 0,
- storedDeagle[MAX_PLAYERS] = 0;
- CMD:tazer(playerid, params[])
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- if(tazer[playerid] == 0)
- {
- if(GetPlayerWeapon(playerid) == 24)
- {
- storedDeagle[playerid] = 1;
- tazer[playerid] = 1;
- GivePlayerWeapon(playerid, 23, 999999);
- }
- else
- {
- storedDeagle[playerid] = 0;
- tazer[playerid] = 1;
- GivePlayerWeapon(playerid, 23, 999999);
- }
- new str[128];
- format(str, sizeof(str), "** %s unbuckles their Tazer Holster and grabs their Tazer.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- }
- else
- {
- if(storedDeagle[playerid] == 1)
- {
- storedDeagle[playerid] = 0;
- tazer[playerid] = 0;
- GivePlayerWeapon(playerid, 24, 999999);
- }
- else
- {
- storedDeagle[playerid] = 0;
- tazer[playerid] = 0;
- SetPlayerAmmo(playerid, WEAPON_SILENCED, 0);
- }
- new str[128];
- format(str, sizeof(str), "** %s buckles their Tazer Holster and with the Tazer in.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Law Enforcement Officer.");
- }
- return 1;
- }
- stock DepRadio(playerid, string[])
- {
- if(!LawE(playerid) && playerid != -1) return 1;
- if(IsPrisonnier[playerid] == 1 && playerid != -1) return 1;
- new text[150];
- foreach(new i : Player)
- {
- format(text, sizeof(text), "%s", string);
- SendClientMessage(i, -1, text);
- }
- return 1;
- }
- stock FacRadio(playerid, string[])
- {
- if(IsPrisonnier[playerid] == 1 || U_Stats[playerid][pFaction] == -1) return 1;
- new text[150];
- foreach(new i : Player)
- {
- if(U_Stats[playerid][pFaction] != U_Stats[i][pFaction]) continue;
- format(text, sizeof(text), "%s", string);
- SendClientMessage(i, -1, text);
- }
- return 1;
- }
- CMD:gate(playerid, params[])
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- if(IsPlayerInRangeOfPoint(playerid, 5, 1590.36975098,-1638.18310547,15.23138046))
- {
- MoveObject(gate1,1590.3804931641,-1637.9333496094,9.4813804626465, 2.00);
- SetTimer("LAPDgate", 4000, 0);
- new str[128];
- format(str, sizeof(str), "** %s flicks their remote control as the gate opens.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- }
- if(IsPlayerInRangeOfPoint(playerid, 8, 1544.69677734,-1630.78649902,13.07031250))
- {
- MoveObject(gate2,1544.6962890625,-1630.7861328125,12.0703125, 2.00);
- SetTimer("LAPDgate", 4000, 0);
- new str[128];
- format(str, sizeof(str), "** %s flicks their remote control as the gate opens.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- }
- }
- return 1;
- }
- forward LAPDgate();
- public LAPDgate()
- {
- MoveObject(gate1,1590.36975098,-1638.18310547,15.23138046, 3.00);
- MoveObject(gate2,1544.69677734,-1630.78649902,13.07031250, 3.00);
- return 1;
- }
- CMD:invit(playerid, params[])
- {
- new target;
- if(strcmp(GetName(playerid), Factions[U_Stats[playerid][pFaction]][fLeader])) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need to be the leader of the faction");
- if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /invit [player_id]");
- if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not connected");
- if(U_Stats[target][pFaction] != -1) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is in a faction.");
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", 0);
- INI_WriteInt(File, "Faction", U_Stats[playerid][pFaction]);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new str[200];
- format(str, sizeof(str), "[{82CAFF}Faction{FFFFFF}] %s %s has invited %s in the faction!", rankFac[U_Stats[playerid][pRank]][U_Stats[playerid][pRank]][0], GetName(playerid), GetName(target));
- FacRadio(playerid, str);
- return 1;
- }
- //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- CMD:fire(playerid, params[])
- {
- new target;
- if(U_Stats[playerid][pFaction] == -1) return SendClientMessage(playerid, -1,"[{82CAFF}Error{FFFFFF}] You need to be the leader of the faction");
- if(U_Stats[playerid][pRank] == Factions[U_Stats[playerid][pFaction]][fMaxRank] && U_Stats[playerid][pLevel] < 12) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need to be the leader of the faction");
- if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /fire [player_id]");
- if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not connected");
- if(U_Stats[target][pFaction] == -1 || U_Stats[target][pFaction] != U_Stats[playerid][pFaction]) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not in your faction.");
- if(U_Stats[target][pFaction] < -1 || U_Stats[target][pFaction] > 3){ printf("[Error] ERROR MAKELEADER - FactionID > 3 OR FactionID < 0| Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid); return 1;}
- if(Factions[U_Stats[target][pFaction]][fMaxRank] == U_Stats[target][pRank])
- {
- new INI:file = INI_Open(FactionPath(U_Stats[target][pFaction]));
- INI_SetTag(file, "data");
- INI_WriteString(file,"Leader","None");
- INI_Close(file);
- INI_ParseFile(FactionPath(U_Stats[target][pFaction]), "LoadFaction_data", .bExtra = true, .extra = U_Stats[target][pFaction]);
- new a, b;
- a = U_Stats[playerid][pFaction];
- b = U_Stats[playerid][pRank];
- if(U_Stats[target][pFaction] == 0 || U_Stats[target][pFaction] == 1)
- {
- SetPlayerArmour(playerid, 0.0);
- ResetPlayerWeapons(playerid);
- }
- U_Stats[target][pFaction] = -1;
- U_Stats[target][pRank] = 0;
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", 0);
- INI_WriteInt(File, "Faction", -1);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new str[200];
- format(str, sizeof(str), "[{82CAFF}Information{FFFFFF}] %s %s has fired %s", rankFac[a][b][0], GetName(playerid), GetName(target));
- FacRadio(playerid, str);
- SendClientMessage(playerid, -1, str);
- }
- else
- {
- new a, b;
- a = U_Stats[playerid][pFaction];
- b = U_Stats[playerid][pRank];
- if(U_Stats[target][pFaction] == 0 || U_Stats[target][pFaction] == 1)
- {
- SetPlayerArmour(playerid, 0.0);
- ResetPlayerWeapons(playerid);
- }
- U_Stats[target][pFaction] = -1;
- U_Stats[target][pRank] = 0;
- new INI:File = INI_Open(UserPath(target));
- INI_SetTag(File, "data");
- INI_WriteInt(File, "Rank", 0);
- INI_WriteInt(File, "Faction", -1);
- INI_Close(File);
- INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
- new str[200];
- format(str, sizeof(str), "[{82CAFF}Information{FFFFFF}] %s %s has fired %s", rankFac[a][b][0], GetName(playerid), GetName(target));
- FacRadio(playerid, str);
- SendClientMessage(playerid, -1, str);
- }
- return 1;
- }
- //------------------------------------------------------------------------------------------------
- // ==============================================================================================
- // Los Angeles Fire Department | Commands
- // ==============================================================================================
- //------------------------------------------------------------------------------------------------
- stock LAFMDLocker(playerid)
- {
- if(U_Stats[playerid][pFaction] == 1)
- {
- ShowPlayerDialog(playerid, D_LAFMDLocker, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"LAFMD"COLOR_White_a": Locker", "Clothes: Firefighter\nClothes: Medic\nEquipments", "Choose", "Close");
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a LAFMD Employment.");
- }
- }
- CMD:healthcare(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 12.5, 1973.4854, 1167.9103, -5.2087))
- {
- new text[128];
- if(sscanf(params, "s[127]", text))
- {
- if(U_Stats[playerid][pHealthCare] == 0)
- {
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Hi, It seems like you do not have a health care yet! Do you want to purchase it?",-1);
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Use /healthcare purchase for $2.500");
- }
- else
- {
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Hi, You already have bought healthcare!",-1);
- }
- }
- else
- {
- new string[128];
- format(string, sizeof(string), ""COLOR_Grey_a"%s says: Yes.", GetRPName(playerid));
- ProxDetector(15, playerid, string, -1);
- if(GetPlayerMoney(playerid) > 2499)
- {
- U_Stats[playerid][pHealthCare] = 1;
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Thank you for purchasing the health care!",-1);
- GivePlayerMoney(playerid, -2500);
- }
- else
- {
- ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Please come back once you have 2500 dollars.",-1);
- }
- }
- }
- return 1;
- }
- //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- //------------------------------------------------------------------------------------------------
- // ==============================================================================================
- // Los Angeles Police Department | Commands
- // ==============================================================================================
- //------------------------------------------------------------------------------------------------
- CMD:duty(playerid,params[])
- {
- if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
- //if(!IsPlayerInRangeOfPoint(playerid, range, x, y, z)) return SendClientMessage(playerid, -1, "[{82CAFF}Infomation{FFFFFF}] You must be at the comico'");
- if(IsOnDuty[playerid] == false)
- {
- new str[128];
- IsOnDuty[playerid] = true;
- SendClientMessage(playerid, -1, "[{82CAFF}Infomation{FFFFFF}] You are now on duty");
- format(str, sizeof(str), "* %s take his badge, weapon and radio.", GetName(playerid));
- ProxDetector(15, playerid, str, 0xCC56CCFF);
- SetPlayerArmour(playerid, 100.0);
- GivePlayerWeapon(playerid, WEAPON_DEAGLE, 100);
- GivePlayerWeapon(playerid, WEAPON_NITESTICK, 1);
- GivePlayerWeapon(playerid, WEAPON_SPRAYCAN, 1000);
- return 1;
- }
- else
- {
- new str[128];
- IsOnDuty[playerid] = false;
- SendClientMessage(playerid, -1, "[{82CAFF}Infomation{FFFFFF}] You are no longer on duty");
- format(str, sizeof(str), "* %s put his badge, weapon, radio into his locker.", GetName(playerid));
- ProxDetector(15, playerid, str, 0xCC56CCFF);
- SetPlayerArmour(playerid, 0.0);
- ResetPlayerWeapons(playerid);
- return 1;
- }
- }
- CMD:detain(playerid, params[]) //Uses toggle version, So one cuff=cuffed, two cuff=uncuffed.
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- new target;
- if(sscanf(params, "i", target))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /detain [playerid]");
- }
- else
- {
- if(!IsPlayerConnected(target))
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] That player is offline!");
- }
- else
- {
- new Float:x, Float:y, Float:z;
- GetPlayerPos(target, x, y, z);
- if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
- {
- new veh = GetPlayerVehicleID(playerid);
- PutPlayerInVehicle(target, veh, 3);
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're too far away.");
- }
- }
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Law Enforcement Officer.");
- }
- return 1;
- }
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
- {
- if(issuerid != INVALID_PLAYER_ID && weaponid == 23)
- {
- new str[128];
- format(str, sizeof(str), "** %s fires a tazer and hits %s.", GetRPName(issuerid), GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- TogglePlayerControllable(playerid, 0);
- SetPlayerDrunkLevel(playerid, 5200);
- ApplyAnimation(playerid,"CRACK","crckidle2",1,0,0, 0,0,0);
- GameTextForPlayer(playerid, "~r~TAZED", 10000, 6);
- SetTimerEx("Tazed", 10000, false, "i", playerid);
- }
- return 1;
- }
- forward Tazed(playerid);
- public Tazed(playerid)
- {
- TogglePlayerControllable(playerid, 1);
- SetPlayerDrunkLevel(playerid, 0);
- ClearAnimations(playerid);
- return 1;
- }
- stock LAPDLocker(playerid)
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- ShowPlayerDialog(playerid, D_LAPDLocker, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"LAPD"COLOR_White_a": Locker", "Clothes\nVest\nFirearms", "Choose", "Close");
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a LAPD Employment.");
- }
- }
- CMD:siren(playerid, params[])
- {
- if(U_Stats[playerid][pFaction] == 0)
- {
- if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Error"COLOR_White_a"] You are not inside a car.");
- if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Error"COLOR_White_a"] You must be the driver.");
- new VID = GetPlayerVehicleID(playerid);
- if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 426)
- {
- if(hassiren[VID] == 1)
- {
- hassiren[VID] = 0;
- DestroyObject(siren[VID]);
- new str[128];
- format(str, sizeof(str), "** %s takes down their siren from the roof.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- return 1;
- }
- hassiren[VID] = 1;
- siren[VID] = CreateObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
- AttachObjectToVehicle(siren[VID], VID, -0.43, 0.0, 0.785, 0.0, 0.1, 0.0);
- new str[128];
- format(str, sizeof(str), "** %s puts a siren on the roof.", GetRPName(playerid));
- ProxDetector(15, playerid, str, COLOR_Purple);
- }
- }
- else
- {
- SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a LAPD Employment.");
- }
- return 1;
- }
- stock LawE(playerid)
- {
- return (U_Stats[playerid][pFaction] == 0 || U_Stats[playerid][pFaction] == 1 ? true : false);
- }
- stock IsAdmin(playerid)
- {
- return (IsPlayerConnected(playerid) ? (U_Stats[playerid][pLevel] > 0 ? true : false) : false); // change 0 by your minimum admin lvl
- }
- //------------------------------------------------------------------------------------------------
- //------------------------------------------------------------------------------------------------------------------------------------------------------------
- /*- Start of: Stocks -*/
- stock UserPath(playerid)
- {
- new
- string[128],
- playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid, playername, sizeof(playername));
- format(string, sizeof(string), U_Path, playername);
- return string;
- }
- stock IsARolePlayName(name[])
- {
- new
- szLastCell,
- bool: bUnderScore;
- for(new i; i < strlen(name); i++)
- {
- if(name[i] == '_')
- {
- if(bUnderScore == true)
- {
- return 0;
- }
- bUnderScore = true;
- }
- else if(!szLastCell || szLastCell == '_')
- {
- if(name[i] < 'A' || name[i] > 'Z')
- {
- return 0;
- }
- }
- else
- {
- if(name[i] < 'a' || name[i] > 'z')
- return 0;
- }
- szLastCell = name[i];
- }
- if(bUnderScore == false)
- return 0;
- return 1;
- }
- stock CreateVehicles()
- {
- AddStaticVehicle(420,1792.4155,-1867.6967,13.3874,358.8062,6,6); // Taxi Unity #1
- AddStaticVehicle(420,1797.1969,-1867.6871,13.3912,358.9693,6,6); // Taxi Unity #2
- AddStaticVehicle(420,1802.4940,-1867.6484,13.3940,358.8062,6,6); // Taxi Unity #3
- AddStaticVehicle(420,1807.8152,-1867.7207,13.4007,358.8062,6,6); // Taxi Unity #4
- AddStaticVehicle(428,1542.6244,-1024.6200,24.0320,163.2065,0,1); // Chuff #1
- AddStaticVehicle(428,1546.4946,-1026.1895,24.0301,163.4733,0,1); // Chuff #2
- AddStaticVehicle(428,1551.0212,-1027.5726,24.0321,162.4711,0,1); // Chuff #3
- AddStaticVehicle(428,1555.1923,-1028.6541,24.0309,162.7516,0,1); // Chuff #4
- AddStaticVehicle(428,1559.5815,-1029.7976,24.0310,163.7259,0,1); // Chuff #5
- AddStaticVehicle(428,1563.8594,-1031.3964,24.0355,163.6010,0,1); // Chuff #6
- AddStaticVehicle(407,1748.8777,-1747.8187,13.7787,179.7264,3,3); // Firetruck #1
- AddStaticVehicle(407,1748.7546,-1773.3698,13.7734,179.7226,3,3); // Firetruck #2
- AddStaticVehicle(544,1756.3743,-1750.8590,13.7830,180.3797,3,3); // Firetruck #3
- AddStaticVehicle(544,1756.5380,-1775.6364,13.7663,180.3931,3,3); // Firetruck #4
- AddStaticVehicle(416,1777.2903,-1746.6259,13.6893,88.1457,3,3); // Ambulance #1
- AddStaticVehicle(416,1777.3256,-1755.5341,13.6860,90.4082,3,3); // Ambulance #2
- AddStaticVehicle(416,1777.0990,-1764.0770,13.6837,89.4501,3,3); // Ambulance #3
- AddStaticVehicle(490,1786.8154,-1812.4023,13.5009,271.5747,3,3); // HighCommand #1
- AddStaticVehicle(490,1803.5540,-1811.9410,13.5068,271.5558,3,3); // HighCommand #2
- AddStaticVehicle(563,1757.3132,-1804.0237,14.2566,258.7231,3,3); // Heli #1
- AddStaticVehicle(417,1773.6213,-1805.8187,13.5849,349.9005,3,3); // Heli #2
- AddStaticVehicle(596,1535.8907,-1667.2198,13.1735,179.3318,0,1); // Police Car Front Parking #1
- AddStaticVehicle(596,1536.0482,-1678.1530,13.1733,1.2170,0,1); // Police Car Front Parking #2
- AddStaticVehicle(596,1601.9631,-1683.8263,5.6840,89.4808,0,1); // Police Car Garage #1
- AddStaticVehicle(596,1601.9381,-1688.1425,5.6807,90.1267,0,1); // Police Car Garage #2
- AddStaticVehicle(596,1602.2107,-1692.0289,5.6812,91.1234,0,1); // Police Car Garage #3
- AddStaticVehicle(596,1602.3807,-1696.5081,5.6820,89.9644,0,1); // Police Car Garage #4
- AddStaticVehicle(596,1602.6536,-1700.4277,5.6819,89.5848,0,1); // Police Car Garage #5
- AddStaticVehicle(596,1602.5537,-1704.6118,5.6811,87.0301,0,1); // Police Car Garage #6
- AddStaticVehicle(597,1595.3318,-1710.4631,5.6231,359.5312,0,1); // Police Car Garage #7
- AddStaticVehicle(597,1591.3741,-1710.6715,5.6282,358.8773,0,1); // Police Car Garage #8
- AddStaticVehicle(597,1587.4504,-1710.7787,5.6241,358.7083,0,1); // Police Car Garage #9
- AddStaticVehicle(597,1583.3441,-1711.0342,5.6240,357.2423,0,1); // Police Car Garage #10
- AddStaticVehicle(598,1578.4753,-1711.2062,5.7390,1.9196,0,1); // Police Car Garage #11
- AddStaticVehicle(598,1574.2926,-1711.2712,5.7361,359.7168,0,1); // Police Car Garage #12
- AddStaticVehicle(598,1570.3381,-1711.3073,5.7401,0.8495,0,1); // Police Car Garage #13
- AddStaticVehicle(599,1566.5381,-1711.6024,5.8880,358.4806,0,1); // Police Car Garage #14
- AddStaticVehicle(427,1563.0234,-1710.3127,6.0227,2.2083,0,1); // Police Car Garage #15
- AddStaticVehicle(523,1559.5975,-1713.1230,5.4810,9.2581,0,0); // Police Bike Garage #1
- AddStaticVehicle(523,1557.7421,-1708.3843,5.4810,338.7349,0,0); // Police Bike Garage #2
- AddStaticVehicle(426,1585.2378,-1671.8053,5.5632,269.2565,1,0); // Police CIB #1
- AddStaticVehicle(426,1585.4456,-1667.5935,5.5622,268.3707,1,0); // Police CIB #2
- }
- stock CreateEnters()
- {
- Create3DTextLabel("- Employment Agency -\n Press F to enter", 0xffffffff, 1081.2261, -1697.9417, 14.5469, 40.0, 0, 1); // Los Santos - Job enter | 1081.2261, -1697.9417, 13.5469
- AddStaticPickup(1318, 1, 1081.2261, -1697.9417, 13.5469, 0); // Los Santos - Job enter | 1081.2261, -1697.9417, 13.5469
- Create3DTextLabel("- Employment Agency -\n Press F to exit", 0xffffffff, 384.808624, 173.804992, 1009.382812, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 384.808624, 173.804992, 1008.382812, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Employment Agency Dash -\n Write /ead to get a job.", 0xffffffff, 361.9746, 174.7579, 1008.7828, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1239, 1, 361.9746, 173.7579, 1008.3828, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- LA Bank Backdoor -\n Press F to enter", 0xffffffff, 1434.4867, -968.4231, 38.3875, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 1434.4867, -968.4231, 37.3875, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- LA Bank Backdoor -\n Press F to exit", 0xffffffff, 322.197998, 302.497985, 1000.148437, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 322.197998, 302.497985, 999.148437, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Chuff Locker -\nWrite /locker to use it.", 0xffffffff, 327.2328, 307.1811, 999.1484, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Chuff Packages -\nWrite /getpackage to grab a package.", 0xffffffff, 321.8759, 309.8267, 999.1484, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Los Angeles Fire and Medicial Department -\n Press F to enter", 0xffffffff, 1802.9580, -1771.9418, 15.0222, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 1802.9580, -1771.9418, 14.0222, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Los Angeles Fire and Medicial Department -\n Press F to exit", 0xffffffff, 1976.3857, 1163.5022, -4.2087, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 1976.3857, 1163.5022, -5.2087, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Health Care -\n Write /healthcare to check or purchase($2500).", 0xffffffff, 1973.4854, 1167.9103, -4.7087, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1239, 1, 1973.4854, 1167.9103, -5.2087, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- LAFMD Locker -\n Write /locker to use it.", 0xffffffff, 1967.2889, 1154.5425, -4.7087, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1239, 1, 1967.2889, 1154.5425, -5.2087, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Los Angeles Police Department -\n Press F to enter", 0xffffffff, 1555.5000, -1675.7068, 17.1953, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 1555.5000, -1675.7068, 16.1953, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Los Angeles Police Department -\n Press F to exit", 0xffffffff, 246.783996, 63.900199, 1004.640625, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 246.783996, 63.900199, 1003.640625, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Los Angeles Police Department Garage -\n Press F to enter", 0xffffffff, 246.4677, 88.0083, 1004.6406, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 246.4677, 88.0083, 1003.6406, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Los Angeles Police Department Garage -\n Press F to exit", 0xffffffff, 1568.5713, -1689.9702, 7.2188, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1318, 1, 1568.5713, -1689.9702, 6.2188, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- LAPD Locker -\nWrite /locker to use it.", 0xffffffff, 255.3864, 77.3311, 1003.6406, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- Create3DTextLabel("- Arrest Point -\n Write /arrest to arrest a suspect.", 0xffffffff, 1572.7869, -1624.7345, 13.0293, 40.0, 0, 1); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- AddStaticPickup(1239, 1, 1572.7869, -1624.7345, 13.0293, 0); // Los Santos - Job exit | 1702.0747, -1667.7676, 20.2188
- }
- stock CreateATMS()
- {
- CreateObject(19526, 1833.24036, -1837.00122, 12.57600, 0.00000, 0.00000, -90.00000);
- CreateObject(19526, 2092.99292, -1359.76697, 22.93730, 0.00000, 0.00000, 0.00000);
- CreateObject(19526, 2228.34229, -1713.18457, 12.43970, 0.00000, 0.00000, -91.00000);
- CreateObject(19526, 1346.10840, -1759.18811, 12.42000, 0.00000, 0.00000, -180.00000);
- CreateObject(11008, 1792.03, -1759.35, 19.44, 0.00, 0.00, 0.00);
- CreateObject(640, 1805.90, -1742.66, 13.13, 0.00, 0.00, 270.00);
- CreateObject(640, 1805.75, -1776.46, 13.13, 0.00, 0.00, 269.88);
- CreateObject(640, 1808.66, -1742.67, 13.13, 0.00, 0.00, 270.00);
- CreateObject(640, 1808.73, -1776.46, 13.13, 0.00, 0.00, 269.88);
- CreateObject(1215, 1811.51, -1776.46, 13.06, 0.00, 0.00, 0.00);
- CreateObject(1215, 1811.50, -1742.73, 13.06, 0.00, 0.00, 0.00);
- CreateObject(983, 1805.28, -1742.24, 13.26, 0.00, 0.00, -90.30);
- CreateObject(983, 1808.46, -1742.25, 13.26, 0.00, 0.00, -90.30);
- CreateObject(983, 1808.46, -1776.85, 13.26, 0.00, 0.00, -89.76);
- CreateObject(983, 1805.25, -1776.04, 13.26, 0.00, 0.00, -90.12);
- CreateObject(983, 1805.25, -1743.04, 13.26, 0.00, 0.00, -90.30);
- CreateObject(983, 1808.43, -1743.06, 13.26, 0.00, 0.00, -90.30);
- CreateObject(983, 1808.46, -1742.25, 13.26, 0.00, 0.00, -90.30);
- CreateObject(983, 1808.47, -1776.05, 13.26, 0.00, 0.00, -90.06);
- CreateObject(983, 1805.26, -1776.84, 13.26, 0.00, 0.00, -90.18);
- CreateObject(640, 1808.69, -1750.68, 13.13, 0.00, 0.00, 269.88);
- CreateObject(640, 1805.80, -1751.27, 13.13, 0.00, 0.00, 269.88);
- CreateObject(640, 1805.79, -1750.69, 13.13, 0.00, 0.00, 269.82);
- CreateObject(983, 1805.28, -1751.69, 13.26, 0.00, 0.00, -90.24);
- CreateObject(983, 1808.43, -1750.27, 13.26, 0.00, 0.00, -90.18);
- CreateObject(983, 1805.24, -1750.25, 13.26, 0.00, 0.00, -90.18);
- CreateObject(983, 1808.45, -1751.70, 13.26, 0.00, 0.00, -90.30);
- CreateObject(640, 1808.68, -1751.28, 13.13, 0.00, 0.00, 269.88);
- CreateObject(1215, 1811.52, -1751.33, 13.06, 0.00, 0.00, 0.00);
- CreateObject(1215, 1811.50, -1750.70, 13.06, 0.00, 0.00, 0.00);
- CreateObject(983, 1808.44, -1758.89, 13.26, 0.00, 0.00, -90.18);
- CreateObject(983, 1805.23, -1758.88, 13.26, 0.00, 0.00, -90.18);
- CreateObject(983, 1805.25, -1760.30, 13.26, 0.00, 0.00, -90.24);
- CreateObject(640, 1806.04, -1759.26, 13.13, 0.00, 0.00, 269.82);
- CreateObject(640, 1806.07, -1759.93, 13.13, 0.00, 0.00, 269.88);
- CreateObject(640, 1808.72, -1759.93, 13.13, 0.00, 0.00, 269.88);
- CreateObject(640, 1808.72, -1759.26, 13.13, 0.00, 0.00, 269.88);
- CreateObject(983, 1808.44, -1760.30, 13.26, 0.00, 0.00, -90.30);
- CreateObject(1215, 1811.53, -1759.95, 13.06, 0.00, 0.00, 0.00);
- CreateObject(1215, 1811.54, -1759.30, 13.06, 0.00, 0.00, 0.00);
- CreateObject(640, 1805.89, -1767.93, 13.13, 0.00, 0.00, 269.88);
- CreateObject(983, 1805.31, -1768.28, 13.26, 0.00, 0.00, -90.12);
- CreateObject(983, 1805.29, -1767.49, 13.26, 0.00, 0.00, -90.18);
- CreateObject(983, 1808.50, -1767.50, 13.26, 0.00, 0.00, -90.18);
- CreateObject(640, 1808.78, -1767.91, 13.13, 0.00, 0.00, 269.88);
- CreateObject(983, 1808.51, -1768.29, 13.26, 0.00, 0.00, -89.76);
- CreateObject(1215, 1811.53, -1767.91, 13.06, 0.00, 0.00, 0.00);
- CreateObject(1364, 1805.23, -1769.04, 13.36, 0.00, 0.00, 0.00);
- CreateObject(1364, 1809.61, -1769.02, 13.36, 0.00, 0.00, 0.00);
- CreateObject(1290, 1807.44, -1759.55, 18.47, 0.00, 0.00, 88.03);
- CreateObject(1290, 1807.62, -1751.06, 18.47, 0.00, 0.00, 88.03);
- CreateObject(1364, 1805.23, -1775.32, 13.36, 0.00, 0.00, -179.94);
- CreateObject(1364, 1809.65, -1775.30, 13.36, 0.00, 0.00, -179.94);
- CreateObject(983, 1808.46, -1742.25, 13.26, 0.00, 0.00, -90.30);
- CreateObject(18850, 1793.02, -1755.00, 14.35, 0.00, 0.00, 0.00);
- CreateObject(16096, 1783.37, -1765.01, 28.62, 0.00, 0.00, -180.00);
- CreateObject(1215, 1775.84, -1742.66, 13.06, 0.00, 0.00, 0.00);
- CreateObject(983, 1759.95, -1745.53, 13.25, 0.00, 0.00, -179.94);
- CreateObject(640, 1778.77, -1742.66, 13.25, 0.00, 0.00, 270.31);
- CreateObject(983, 1778.91, -1751.66, 13.25, 0.00, 0.00, -89.52);
- CreateObject(640, 1778.63, -1750.68, 13.25, 0.00, 0.00, 270.37);
- CreateObject(640, 1778.64, -1751.26, 13.25, 0.00, 0.00, 270.37);
- CreateObject(983, 1778.90, -1750.35, 13.25, 0.00, 0.00, -89.52);
- CreateObject(1215, 1775.77, -1750.74, 13.06, 0.00, 0.00, 0.00);
- CreateObject(1215, 1775.78, -1751.29, 13.06, 0.00, 0.00, 0.00);
- CreateObject(983, 1779.28, -1758.90, 13.25, 0.00, 0.00, -89.52);
- CreateObject(1215, 1776.11, -1759.37, 13.06, 0.00, 0.00, 0.00);
- CreateObject(1215, 1776.12, -1759.87, 13.06, 0.00, 0.00, 0.00);
- CreateObject(640, 1778.94, -1759.30, 13.25, 0.00, 0.00, 270.37);
- CreateObject(983, 1779.26, -1760.26, 13.25, 0.00, 0.00, -89.52);
- CreateObject(640, 1778.93, -1759.86, 13.25, 0.00, 0.00, 270.37);
- CreateObject(983, 1781.16, -1815.59, 13.25, 0.00, 0.00, -180.36);
- CreateObject(983, 1779.46, -1776.04, 13.25, 0.00, 0.00, -89.52);
- CreateObject(1215, 1776.36, -1776.47, 13.06, 0.00, 0.00, 0.00);
- CreateObject(983, 1779.22, -1768.29, 13.25, 0.00, 0.00, -89.52);
- CreateObject(640, 1778.91, -1767.93, 13.25, 0.00, 0.00, 270.37);
- CreateObject(1215, 1776.04, -1767.92, 13.06, 0.00, 0.00, 0.00);
- CreateObject(983, 1779.11, -1767.54, 13.25, 0.00, 0.00, -89.52);
- CreateObject(3881, 1808.80, -1781.05, 14.27, 0.00, 0.00, 0.00);
- CreateObject(3361, 1801.69, -1777.95, 14.05, 0.00, 0.00, -180.12);
- CreateObject(2773, 1778.68, -1773.87, 13.04, 0.00, 0.00, -90.00);
- CreateObject(2773, 1778.60, -1770.51, 13.04, 0.00, 0.00, -90.00);
- CreateObject(640, 1760.34, -1750.66, 13.25, 0.00, 0.00, 180.01);
- CreateObject(983, 1778.99, -1743.02, 13.25, 0.00, 0.00, -89.52);
- CreateObject(983, 1760.71, -1745.52, 13.25, 0.00, 0.00, -179.94);
- CreateObject(983, 1760.73, -1751.93, 13.25, 0.00, 0.00, -179.94);
- CreateObject(983, 1760.75, -1758.33, 13.25, 0.00, 0.00, -179.94);
- CreateObject(983, 1760.76, -1764.71, 13.25, 0.00, 0.00, -179.94);
- CreateObject(640, 1760.32, -1745.03, 13.25, 0.00, 0.00, 180.01);
- CreateObject(983, 1759.95, -1751.95, 13.25, 0.00, 0.00, -179.94);
- CreateObject(640, 1760.35, -1756.49, 13.25, 0.00, 0.00, 180.01);
- CreateObject(983, 1759.95, -1758.40, 13.25, 0.00, 0.00, -179.94);
- CreateObject(640, 1760.36, -1760.89, 13.25, 0.00, 0.00, 180.01);
- CreateObject(983, 1759.96, -1764.79, 13.25, 0.00, 0.00, -179.94);
- CreateObject(1215, 1760.32, -1769.98, 13.08, 0.00, 0.00, 0.00);
- CreateObject(16375, 1793.59, -1822.18, 12.60, 0.00, 0.00, -8.88);
- CreateObject(3578, 1752.77, -1747.43, 13.33, 0.00, 0.00, -89.76);
- CreateObject(3578, 1752.78, -1755.31, 13.33, 0.00, 0.00, -89.76);
- CreateObject(3578, 1752.80, -1762.69, 13.33, 0.00, 0.00, -89.76);
- CreateObject(19425, 1750.56, -1779.07, 12.52, 0.00, 0.00, 0.00);
- CreateObject(19425, 1747.26, -1779.09, 12.52, 0.00, 0.00, 0.00);
- CreateObject(19425, 1755.12, -1779.03, 12.52, 0.00, 0.00, 0.00);
- CreateObject(19425, 1758.31, -1779.04, 12.52, 0.00, 0.00, 0.00);
- CreateObject(640, 1779.20, -1776.43, 13.25, 0.00, 0.00, 270.37);
- CreateObject(2773, 1804.43, -1771.10, 13.15, 0.00, 0.00, -90.18);
- CreateObject(2773, 1804.29, -1773.20, 13.15, 0.00, 0.00, -90.18);
- CreateObject(8674, 1811.65, -1809.13, 13.79, 0.00, 0.00, -90.00);
- CreateObject(8674, 1811.64, -1781.97, 13.79, 0.00, 0.00, -90.00);
- CreateObject(8674, 1811.64, -1816.81, 13.79, 0.00, 0.00, -90.00);
- CreateObject(8674, 1745.60, -1747.38, 13.79, 0.00, 0.00, -269.70);
- CreateObject(8674, 1745.63, -1757.66, 13.79, 0.00, 0.00, -269.88);
- CreateObject(8674, 1745.63, -1767.94, 13.79, 0.00, 0.00, -270.12);
- CreateObject(8674, 1745.61, -1778.25, 13.79, 0.00, 0.00, -270.12);
- CreateObject(8674, 1745.61, -1788.55, 13.79, 0.00, 0.00, -270.12);
- CreateObject(8674, 1745.60, -1798.84, 13.79, 0.00, 0.00, -270.12);
- CreateObject(8674, 1745.59, -1803.97, 13.79, 0.00, 0.00, -270.12);
- CreateObject(8674, 1750.57, -1810.54, 13.79, 0.00, 0.00, -375.30);
- CreateObject(7922, 1810.53, -1821.36, 13.95, 0.00, 0.00, -179.64);
- CreateObject(8674, 1760.49, -1813.27, 13.79, 0.00, 0.00, -375.36);
- CreateObject(8674, 1770.42, -1815.96, 13.79, 0.00, 0.00, -374.88);
- CreateObject(8674, 1780.36, -1818.61, 13.79, 0.00, 0.00, -374.88);
- CreateObject(8674, 1790.29, -1821.26, 13.79, 0.00, 0.00, -374.88);
- CreateObject(8674, 1800.42, -1822.49, 13.79, 0.00, 0.00, -358.74);
- CreateObject(8674, 1805.54, -1822.39, 13.79, 0.00, 0.00, -358.74);
- CreateObject(1223, 1775.96, -1767.93, 12.52, 0.00, 0.00, 162.48);
- CreateObject(8841, 1760.42, -1764.23, 15.50, 0.00, 0.00, 270.13);
- CreateObject(640, 1760.36, -1767.00, 13.25, 0.00, 0.00, 180.01);
- CreateObject(640, 1760.35, -1772.88, 13.25, 0.00, 0.00, 180.01);
- CreateObject(983, 1760.77, -1771.10, 13.25, 0.00, 0.00, -179.94);
- CreateObject(983, 1759.96, -1771.18, 13.25, 0.00, 0.00, -179.94);
- CreateObject(1215, 1760.31, -1753.61, 13.04, 0.00, 0.00, 0.00);
- CreateObject(640, 1760.37, -1775.73, 13.25, 0.00, 0.00, 180.01);
- CreateObject(983, 1760.79, -1775.88, 13.25, 0.00, 0.00, -179.94);
- CreateObject(983, 1759.96, -1775.99, 13.25, 0.00, 0.00, -179.94);
- CreateObject(8674, 1750.74, -1742.27, 13.79, 0.00, 0.00, -360.06);
- CreateObject(8674, 1761.03, -1742.27, 13.79, 0.00, 0.00, -360.06);
- CreateObject(8674, 1771.34, -1742.25, 13.79, 0.00, 0.00, -360.06);
- CreateObject(8674, 1776.48, -1742.27, 13.79, 0.00, 0.00, -360.06);
- CreateObject(3578, 1752.83, -1770.07, 13.33, 0.00, 0.00, -89.76);
- CreateObject(3578, 1752.84, -1774.22, 13.33, 0.00, 0.00, -89.76);
- CreateObject(640, 1794.02, -1780.81, 13.25, 0.00, 0.00, 179.71);
- CreateObject(640, 1791.00, -1783.16, 13.25, 0.00, 0.00, 90.49);
- CreateObject(640, 1787.12, -1783.19, 13.25, 0.00, 0.00, 90.49);
- CreateObject(640, 1784.09, -1783.22, 13.25, 0.00, 0.00, 90.49);
- CreateObject(983, 1787.62, -1777.60, 13.25, 0.00, 0.00, -89.52);
- CreateObject(1676, 1789.21, -1777.19, 14.07, 0.00, 0.00, 0.00);
- CreateObject(1676, 1786.04, -1777.24, 14.07, 0.00, 0.00, 0.00);
- CreateObject(983, 1790.79, -1774.40, 13.25, 0.00, 0.00, -179.34);
- CreateObject(983, 1784.40, -1774.44, 13.25, 0.00, 0.00, -179.34);
- CreateObject(1775, 1795.02, -1777.21, 13.66, 0.00, 0.00, 0.00);
- CreateObject(1215, 1790.46, -1777.25, 13.14, 0.00, 0.00, 0.00);
- CreateObject(1215, 1784.81, -1777.28, 13.14, 0.00, 0.00, 0.00);
- CreateObject(638, 1787.66, -1776.22, 13.23, 0.00, 0.00, 0.00);
- CreateObject(2690, 1781.66, -1776.86, 14.17, 0.00, 0.00, 0.00);
- CreateObject(2690, 1792.11, -1776.87, 14.17, 0.00, 0.00, 0.00);
- CreateObject(640, 1794.03, -1779.29, 13.25, 0.00, 0.00, 179.71);
- CreateObject(640, 1781.61, -1805.87, 13.25, 0.00, 0.00, 179.71);
- CreateObject(640, 1781.58, -1811.22, 13.25, 0.00, 0.00, 179.71);
- CreateObject(640, 1781.54, -1816.12, 13.25, 0.00, 0.00, 179.71);
- CreateObject(983, 1779.46, -1776.81, 13.25, 0.00, 0.00, -89.52);
- CreateObject(983, 1781.19, -1809.21, 13.25, 0.00, 0.00, -180.30);
- CreateObject(983, 1781.20, -1806.02, 13.25, 0.00, 0.00, -180.30);
- CreateObject(1215, 1781.64, -1803.01, 13.13, 0.00, 0.00, 0.00);
- CreateObject(983, 1781.93, -1815.77, 13.25, 0.00, 0.00, -180.60);
- CreateObject(983, 1781.98, -1809.38, 13.25, 0.00, 0.00, -180.60);
- CreateObject(983, 1782.02, -1805.98, 13.25, 0.00, 0.00, -180.60);
- CreateObject(16375, 1744.07, -1825.85, 12.60, 0.00, 0.00, -91.32);
- CreateObject(1294, 1769.12, -1736.39, 16.91, 3.14, 0.00, -91.47);
- CreateObject(1294, 1826.20, -1736.81, 16.91, 3.14, 0.00, -1.83);
- CreateObject(1294, 1803.90, -1736.50, 16.91, 3.14, 0.00, -91.47);
- new g_Object[383];
- g_Object[0] = CreateObject(18981, 1939.7412, 1167.5046, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[0], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
- g_Object[1] = CreateObject(18981, 1964.7296, 1167.5046, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[1], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
- g_Object[2] = CreateObject(18981, 1964.7307, 1192.4958, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[2], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
- g_Object[3] = CreateObject(18981, 1964.7319, 1142.5061, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[3], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
- g_Object[4] = CreateObject(968, 1976.7353, 1164.5073, -7.9559, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[4], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[5] = CreateObject(968, 1976.7353, 1168.0898, -7.9559, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[5], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[6] = CreateObject(968, 1976.7353, 1169.8375, -3.2660, 0.0000, 270.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[6], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[7] = CreateObject(968, 1976.7353, 1169.8166, -2.1760, 0.0000, 270.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[7], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[8] = CreateObject(968, 1976.7353, 1155.6866, -2.1259, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[8], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[9] = CreateObject(968, 1976.7353, 1155.7164, -3.2060, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[9], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[10] = CreateObject(968, 1976.7353, 1162.4350, -7.9060, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[10], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[11] = CreateObject(968, 1976.7353, 1158.9437, -7.9060, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[11], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[12] = CreateObject(968, 1976.8454, 1163.4958, -10.1960, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[12], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[13] = CreateObject(19325, 1976.7369, 1159.0970, -4.2726, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[13], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[14] = CreateObject(19325, 1976.7369, 1167.8768, -4.2726, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[14], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[15] = CreateObject(19325, 1976.7469, 1163.3872, -1.0828, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[15], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[16] = CreateObject(2962, 1976.7027, 1163.5102, -3.2734, 0.0000, 0.0000, 270.0000); //fire_break_glass
- SetObjectMaterial(g_Object[16], 0, 10765, "airportgnd_sfse", "white", 0xFF335F3F);
- g_Object[17] = CreateObject(19325, 1976.7668, 1163.3872, -5.3727, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[17], 0, 10765, "airportgnd_sfse", "white", 0xFF46597A);
- g_Object[18] = CreateObject(18762, 1976.2641, 1158.3581, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[18], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[19] = CreateObject(18762, 1976.2641, 1168.7281, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[19], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[20] = CreateObject(18981, 1964.9095, 1167.5046, -1.5384, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[20], 0, 14534, "ab_wooziea", "dt_office_roof", 0xFFFFFFFF);
- g_Object[21] = CreateObject(18981, 1964.9095, 1142.5251, -1.5384, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[21], 0, 14534, "ab_wooziea", "dt_office_roof", 0xFFFFFFFF);
- g_Object[22] = CreateObject(19464, 1975.9908, 1172.1020, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[22], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[23] = CreateObject(19464, 1975.9908, 1155.0305, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[23], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[24] = CreateObject(19464, 1975.9908, 1149.1103, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[24], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[25] = CreateObject(19464, 1972.9609, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[25], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[26] = CreateObject(19464, 1967.0510, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[26], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[27] = CreateObject(19464, 1961.1206, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[27], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[28] = CreateObject(19464, 1955.2003, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[28], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[29] = CreateObject(19464, 1952.3392, 1149.2993, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[29], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[30] = CreateObject(19464, 1952.3392, 1155.1993, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[30], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[31] = CreateObject(19464, 1952.3392, 1161.0886, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[31], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[32] = CreateObject(19464, 1952.3392, 1167.0091, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[32], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[33] = CreateObject(19464, 1952.3392, 1172.8989, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[33], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[34] = CreateObject(19464, 1972.9200, 1175.1489, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[34], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[35] = CreateObject(19464, 1968.5977, 1175.1689, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[35], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[36] = CreateObject(19464, 1957.1118, 1175.1589, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[36], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[37] = CreateObject(19464, 1955.1391, 1175.1489, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[37], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[38] = CreateObject(18762, 1965.7314, 1168.7197, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[38], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[39] = CreateObject(2911, 1968.3540, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
- SetObjectMaterial(g_Object[39], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
- g_Object[40] = CreateObject(19447, 1970.9798, 1168.6091, -6.9439, 0.0000, 0.0000, 90.0000); //wall087
- SetObjectMaterial(g_Object[40], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[41] = CreateObject(2911, 1966.2335, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
- SetObjectMaterial(g_Object[41], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
- g_Object[42] = CreateObject(2911, 1970.4836, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
- SetObjectMaterial(g_Object[42], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
- g_Object[43] = CreateObject(2911, 1972.6234, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
- SetObjectMaterial(g_Object[43], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
- g_Object[44] = CreateObject(2911, 1974.7729, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
- SetObjectMaterial(g_Object[44], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
- g_Object[45] = CreateObject(18880, 1971.1904, 1168.6573, -6.3056, 0.0000, 0.0000, 0.0000); //SpeedCamera1
- SetObjectMaterial(g_Object[45], 2, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[46] = CreateObject(19447, 1970.9798, 1168.6490, -1.8341, 0.0000, 0.0000, 90.0000); //wall087
- SetObjectMaterial(g_Object[46], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[47] = CreateObject(18762, 1965.7314, 1158.4040, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[47], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[48] = CreateObject(968, 1965.6733, 1158.3070, -2.1259, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[48], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[49] = CreateObject(19327, 1968.8082, 1168.5582, -2.7681, 0.0000, 0.0000, 0.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[49], "LAFMD", 0, 90, "Arial", 25, 1, 0xFF840410, 0x0, 1);
- g_Object[50] = CreateObject(19327, 1973.5605, 1168.5582, -2.7681, 0.0000, 0.0000, 0.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[50], "Health Care", 0, 90, "Arial", 25, 1, 0xFF840410, 0x0, 1);
- g_Object[51] = CreateObject(968, 1965.6733, 1168.8680, -2.1860, 0.0000, 270.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[51], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[52] = CreateObject(19465, 1965.7506, 1172.1706, -3.7079, 0.0000, 0.0000, 0.0000); //wall105
- SetObjectMaterial(g_Object[52], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[53] = CreateObject(968, 1965.6733, 1168.8680, -3.3959, 0.0000, 270.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[53], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[54] = CreateObject(968, 1965.6733, 1158.0144, -3.3359, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[54], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[55] = CreateObject(968, 1965.6733, 1158.9941, -8.8458, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[55], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[56] = CreateObject(968, 1965.6733, 1168.0869, -8.8458, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[56], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[57] = CreateObject(19464, 1969.0384, 1158.1396, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[57], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[58] = CreateObject(19325, 1965.6715, 1162.3077, -1.2826, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[58], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[59] = CreateObject(19325, 1965.6715, 1168.9481, -1.2826, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[59], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[60] = CreateObject(19325, 1965.6722, 1160.4095, -6.6999, 90.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[60], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[61] = CreateObject(19325, 1965.6722, 1166.5600, -6.6999, 90.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[61], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[62] = CreateObject(968, 1965.6733, 1164.5146, -8.8458, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[62], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[63] = CreateObject(968, 1965.6733, 1162.4232, -8.9960, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[63], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[64] = CreateObject(19464, 1974.9576, 1158.1396, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[64], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[65] = CreateObject(19325, 1971.0163, 1158.2766, -2.7783, 0.0000, 0.0000, 270.0000); //lsmall_window01
- SetObjectMaterial(g_Object[65], 0, 5708, "hospital_lawn", "allsaints2_law copy", 0xFFFFFFFF);
- g_Object[66] = CreateObject(1726, 1969.3596, 1159.0240, -6.2140, 0.0000, 0.0000, 180.0000); //mrk_seating2
- g_Object[67] = CreateObject(1726, 1974.6114, 1159.0240, -6.2140, 0.0000, 0.0000, 180.0000); //mrk_seating2
- g_Object[68] = CreateObject(2311, 1970.2159, 1158.8503, -6.2505, 0.0000, 0.0000, 0.0000); //CJ_TV_TABLE2
- g_Object[69] = CreateObject(2773, 1971.1706, 1167.2148, -5.7027, 0.0000, 0.0000, 0.0000); //CJ_AIRPRT_BAR
- g_Object[70] = CreateObject(18880, 1968.3481, 1172.1485, -6.3056, 0.0000, 0.0000, 0.0000); //SpeedCamera1
- SetObjectMaterial(g_Object[70], 2, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[71] = CreateObject(19447, 1971.1600, 1166.2585, -7.9541, 0.0000, 0.0000, 90.0000); //wall087
- SetObjectMaterial(g_Object[71], 0, 5168, "lashops6_las2", "yellow2_128", 0xFFFFFFFF);
- g_Object[72] = CreateObject(19447, 1973.0708, 1172.1311, -5.2441, 0.0000, 0.0000, 90.0000); //wall087
- SetObjectMaterial(g_Object[72], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[73] = CreateObject(2164, 1973.5222, 1172.0069, -6.2367, 0.0000, 0.0000, 0.0000); //MED_OFFICE_UNIT_5
- g_Object[74] = CreateObject(2164, 1969.9892, 1172.0069, -6.2367, 0.0000, 0.0000, 0.0000); //MED_OFFICE_UNIT_5
- g_Object[75] = CreateObject(2163, 1971.7500, 1172.0091, -6.2287, 0.0000, 0.0000, 0.0000); //MED_OFFICE_UNIT_2
- g_Object[76] = CreateObject(2010, 1968.9803, 1171.7712, -6.2311, 0.0000, 0.0000, 0.0000); //nu_plant3_ofc
- g_Object[77] = CreateObject(19465, 1960.1040, 1172.1102, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
- SetObjectMaterial(g_Object[77], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[78] = CreateObject(19465, 1960.1040, 1166.1804, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
- SetObjectMaterial(g_Object[78], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[79] = CreateObject(19465, 1960.1040, 1160.2894, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
- SetObjectMaterial(g_Object[79], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[80] = CreateObject(19464, 1957.0638, 1163.2424, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[80], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[81] = CreateObject(19464, 1951.1632, 1163.2424, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[81], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[82] = CreateObject(19464, 1957.2231, 1157.4482, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[82], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[83] = CreateObject(19464, 1951.3236, 1157.4482, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[83], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[84] = CreateObject(19464, 1957.2541, 1169.1278, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[84], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[85] = CreateObject(19464, 1951.3542, 1169.1278, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[85], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[86] = CreateObject(19378, 1948.1954, 1162.1955, -3.8499, 0.0000, 90.0000, 0.0000); //wall026
- SetObjectMaterial(g_Object[86], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[87] = CreateObject(19378, 1948.1954, 1171.7757, -3.8499, 0.0000, 90.0000, 0.0000); //wall026
- SetObjectMaterial(g_Object[87], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[88] = CreateObject(19360, 1951.7020, 1169.2314, -5.1160, 0.0000, 90.0000, 0.0000); //wall008
- SetObjectMaterial(g_Object[88], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[89] = CreateObject(19360, 1951.7020, 1175.1014, -5.1160, 0.0000, 90.0000, 0.0000); //wall008
- SetObjectMaterial(g_Object[89], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[90] = CreateObject(19360, 1951.7020, 1163.3072, -5.1160, 0.0000, 90.0000, 0.0000); //wall008
- SetObjectMaterial(g_Object[90], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[91] = CreateObject(19433, 1951.7131, 1158.1280, -5.1156, 0.0000, 90.0000, 0.0000); //wall073
- SetObjectMaterial(g_Object[91], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[92] = CreateObject(19360, 1951.8337, 1158.9947, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
- SetObjectMaterial(g_Object[92], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[93] = CreateObject(19360, 1951.8337, 1161.6269, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
- SetObjectMaterial(g_Object[93], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[94] = CreateObject(19360, 1951.8337, 1164.9801, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
- SetObjectMaterial(g_Object[94], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[95] = CreateObject(19360, 1951.8337, 1167.5417, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
- SetObjectMaterial(g_Object[95], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[96] = CreateObject(19360, 1951.8337, 1170.9121, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
- SetObjectMaterial(g_Object[96], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[97] = CreateObject(19360, 1951.8337, 1173.4139, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
- SetObjectMaterial(g_Object[97], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[98] = CreateObject(1801, 1955.9825, 1165.7346, -6.2883, 0.0000, 0.0000, 90.0000); //SWANK_BED_4
- g_Object[99] = CreateObject(1801, 1955.9825, 1159.8214, -6.2883, 0.0000, 0.0000, 90.0000); //SWANK_BED_4
- g_Object[100] = CreateObject(1801, 1955.9825, 1171.7419, -6.2883, 0.0000, 0.0000, 90.0000); //SWANK_BED_4
- g_Object[101] = CreateObject(16377, 1953.9802, 1168.3458, -5.2462, 0.0000, 0.0000, -123.9999); //tv_stand_by
- SetObjectMaterial(g_Object[101], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[102] = CreateObject(16377, 1954.0118, 1174.3674, -5.2462, 0.0000, 0.0000, -123.9999); //tv_stand_by
- SetObjectMaterial(g_Object[102], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[103] = CreateObject(16377, 1953.9829, 1162.4685, -5.2462, 0.0000, 0.0000, -123.9999); //tv_stand_by
- SetObjectMaterial(g_Object[103], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[104] = CreateObject(2700, 1959.6894, 1172.0959, -3.1793, 0.0000, 0.0000, 180.0000); //CJ_SEX_TV2
- g_Object[105] = CreateObject(2700, 1959.6894, 1166.1562, -3.1793, 0.0000, 0.0000, 180.0000); //CJ_SEX_TV2
- g_Object[106] = CreateObject(2700, 1959.6894, 1160.2760, -3.1793, 0.0000, 0.0000, 180.0000); //CJ_SEX_TV2
- g_Object[107] = CreateObject(2200, 1958.4752, 1169.3669, -6.2550, 0.0000, 0.0000, 180.0000); //MED_OFFICE5_UNIT_1
- g_Object[108] = CreateObject(2200, 1958.4752, 1163.5052, -6.2550, 0.0000, 0.0000, 180.0000); //MED_OFFICE5_UNIT_1
- g_Object[109] = CreateObject(2200, 1958.4752, 1157.7143, -6.2550, 0.0000, 0.0000, 180.0000); //MED_OFFICE5_UNIT_1
- g_Object[110] = CreateObject(1491, 1960.1689, 1171.3487, -6.2663, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
- g_Object[111] = CreateObject(1491, 1960.1689, 1165.4166, -6.2663, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
- g_Object[112] = CreateObject(1491, 1960.1689, 1159.5246, -6.2663, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
- g_Object[113] = CreateObject(19464, 1965.8143, 1154.9514, -3.7172, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[113], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[114] = CreateObject(19465, 1965.8166, 1149.0246, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
- SetObjectMaterial(g_Object[114], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[115] = CreateObject(19465, 1968.8082, 1150.8656, -3.7207, 0.0000, 0.0000, 90.0000); //wall105
- SetObjectMaterial(g_Object[115], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[116] = CreateObject(19464, 1974.7342, 1150.8708, -7.7371, 0.0000, 180.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[116], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[117] = CreateObject(19464, 1976.0825, 1154.4094, -8.6855, 0.0000, 0.0000, 0.0000); //wall104
- g_Object[118] = CreateObject(19464, 1968.9104, 1150.8873, 0.0544, 0.0000, 180.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[118], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[119] = CreateObject(19464, 1978.1418, 1150.8773, -3.7255, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[119], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[120] = CreateObject(19325, 1973.5284, 1150.8802, -4.1251, 0.0000, 0.0000, 90.0000); //lsmall_window01
- g_Object[121] = CreateObject(19464, 1974.8392, 1150.8873, 0.0544, 0.0000, 180.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[121], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[122] = CreateObject(16663, 1972.2143, 1155.8813, -2.5973, 0.0000, 0.0000, 70.1996); //a51_jetpstuff
- g_Object[123] = CreateObject(1997, 1973.3298, 1154.0831, -6.2167, 0.0000, 0.0000, 180.0000); //hos_trolley
- g_Object[124] = CreateObject(1792, 1975.5992, 1154.0615, -4.3740, 8.4996, 0.0000, -97.6996); //SWANK_TV_1
- SetObjectMaterial(g_Object[124], 0, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[125] = CreateObject(2994, 1972.2961, 1152.5251, -5.6956, 0.0000, 0.0000, 104.7995); //kmb_trolley
- SetObjectMaterial(g_Object[125], 1, 16093, "a51_ext", "ws_whitewall2_bottom", 0xFFFFFFFF);
- g_Object[126] = CreateObject(2994, 1960.6910, 1164.1644, -5.6956, 0.0000, 0.0000, 0.0000); //kmb_trolley
- SetObjectMaterial(g_Object[126], 1, 16093, "a51_ext", "ws_whitewall2_bottom", 0xFFFFFFFF);
- g_Object[127] = CreateObject(1997, 1964.9499, 1155.5771, -6.2167, 0.0000, 0.0000, -171.4998); //hos_trolley
- g_Object[128] = CreateObject(3387, 1966.4294, 1151.4864, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[129] = CreateObject(3387, 1966.4294, 1152.4663, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[130] = CreateObject(3387, 1966.4294, 1153.4560, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[131] = CreateObject(3387, 1966.4294, 1154.4355, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[132] = CreateObject(3387, 1966.4294, 1155.4260, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[133] = CreateObject(3387, 1966.4294, 1156.3459, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[134] = CreateObject(3387, 1966.4294, 1157.3165, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
- g_Object[135] = CreateObject(3388, 1974.7862, 1157.5476, -6.2637, 0.0000, 0.0000, 90.0000); //a51_srack4_
- g_Object[136] = CreateObject(19378, 1967.8154, 1142.3531, -6.9018, 0.0000, 0.0000, 0.0000); //wall026
- SetObjectMaterial(g_Object[136], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[137] = CreateObject(19378, 1972.5659, 1141.9117, -5.2719, 0.0000, 90.0000, 90.0000); //wall026
- SetObjectMaterial(g_Object[137], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[138] = CreateObject(19378, 1975.0964, 1142.3531, -6.9018, 0.0000, 0.0000, 0.0000); //wall026
- SetObjectMaterial(g_Object[138], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[139] = CreateObject(19378, 1971.6745, 1142.3531, -6.9018, 0.0000, 0.0000, 0.0000); //wall026
- SetObjectMaterial(g_Object[139], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[140] = CreateObject(19378, 1972.5659, 1141.9217, -3.9519, 0.0000, 90.0000, 90.0000); //wall026
- SetObjectMaterial(g_Object[140], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[141] = CreateObject(19378, 1972.5659, 1141.9217, -2.5620, 0.0000, 90.0000, 90.0000); //wall026
- SetObjectMaterial(g_Object[141], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[142] = CreateObject(19447, 1976.7552, 1145.9222, -5.2809, 0.0000, 90.0000, 0.0000); //wall087
- SetObjectMaterial(g_Object[142], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[143] = CreateObject(19378, 1979.8470, 1147.0849, -6.9018, 0.0000, 0.0000, 90.0000); //wall026
- SetObjectMaterial(g_Object[143], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[144] = CreateObject(19447, 1976.7552, 1145.9222, -3.9509, 0.0000, 90.0000, 0.0000); //wall087
- SetObjectMaterial(g_Object[144], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[145] = CreateObject(19447, 1976.7552, 1145.9222, -2.5608, 0.0000, 90.0000, 0.0000); //wall087
- SetObjectMaterial(g_Object[145], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[146] = CreateObject(1491, 1965.8403, 1148.2644, -6.2722, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
- g_Object[147] = CreateObject(1523, 1968.0327, 1150.8513, -6.2642, 0.0000, 0.0000, 0.0000); //Gen_doorEXT10
- g_Object[148] = CreateObject(1806, 1973.8619, 1169.8332, -6.1975, 0.0000, 0.0000, 109.3999); //MED_OFFICE_CHAIR
- g_Object[149] = CreateObject(1806, 1968.4676, 1170.2364, -6.1975, 0.0000, 0.0000, -170.4998); //MED_OFFICE_CHAIR
- g_Object[150] = CreateObject(2190, 1969.7517, 1168.4066, -5.1936, 0.0000, 0.0000, -154.9998); //PC_1
- g_Object[151] = CreateObject(2190, 1971.8895, 1168.6040, -5.1936, 0.0000, 0.0000, 145.8999); //PC_1
- g_Object[152] = CreateObject(1348, 1974.9222, 1174.5412, -5.5331, 0.0000, 0.0000, 0.0000); //CJ_O2Tanks
- g_Object[153] = CreateObject(1220, 1975.4012, 1173.4908, -5.8516, 0.0000, 0.0000, 0.0000); //cardboardbox2
- g_Object[154] = CreateObject(1220, 1975.2623, 1172.6534, -5.8498, -1.8997, 0.0000, -17.7000); //cardboardbox2
- g_Object[155] = CreateObject(1220, 1975.2425, 1173.0185, -5.1908, -1.8997, 0.0000, -17.7000); //cardboardbox2
- g_Object[156] = CreateObject(1431, 1974.0057, 1173.1241, -5.6697, 0.0000, 0.0000, 41.0000); //DYN_BOX_PILE
- g_Object[157] = CreateObject(1224, 1973.0378, 1174.2497, -5.6230, 0.0000, 0.0000, 0.0000); //woodenbox
- g_Object[158] = CreateObject(1491, 1965.7434, 1172.9283, -6.2564, 0.0000, 0.0000, 270.0000); //Gen_doorINT01
- g_Object[159] = CreateObject(18762, 1959.8531, 1157.1383, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[159], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[160] = CreateObject(18762, 1959.8531, 1146.8347, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[160], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[161] = CreateObject(968, 1959.7463, 1156.4820, -8.6520, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[161], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[162] = CreateObject(968, 1959.7463, 1157.3520, -2.1821, 0.0000, 270.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[162], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[163] = CreateObject(968, 1959.7458, 1143.3125, -3.3322, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[163], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[164] = CreateObject(968, 1959.7458, 1157.4333, -3.3921, 0.0000, 270.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[164], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[165] = CreateObject(968, 1959.7463, 1146.6405, -2.1222, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[165], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[166] = CreateObject(968, 1959.7463, 1147.4200, -8.6520, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[166], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[167] = CreateObject(968, 1959.7463, 1154.3645, -8.6520, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[167], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[168] = CreateObject(19325, 1959.7418, 1146.5632, -1.3301, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[168], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[169] = CreateObject(19325, 1959.7418, 1153.2030, -1.3301, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[169], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[170] = CreateObject(19325, 1959.7418, 1151.0461, -5.5001, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[170], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[171] = CreateObject(19325, 1959.7418, 1144.4261, -5.5001, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[171], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[172] = CreateObject(19176, 1963.0001, 1146.3293, -4.8923, 0.0000, 0.0000, 0.0000); //LSOffice1Door1
- g_Object[173] = CreateObject(18981, 1947.2353, 1144.8431, -6.7020, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[173], 0, 14652, "ab_trukstpa", "mp_diner_wood", 0xFFFFFFFF);
- g_Object[174] = CreateObject(18762, 1965.7314, 1175.0042, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[174], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[175] = CreateObject(955, 1957.1510, 1146.8236, -5.8035, 0.0000, 0.0000, 180.0000); //CJ_EXT_SPRUNK
- g_Object[176] = CreateObject(1808, 1955.3946, 1146.5361, -6.2147, 0.0000, 0.0000, 180.0000); //CJ_WATERCOOLER2
- g_Object[177] = CreateObject(19174, 1952.4669, 1149.3559, -3.7351, 0.0000, 0.0000, 90.0000); //SAMPPicture3
- g_Object[178] = CreateObject(19172, 1952.4820, 1154.9886, -3.7437, 0.0000, 0.0000, 90.0000); //SAMPPicture1
- g_Object[179] = CreateObject(1726, 1953.8470, 1156.7745, -6.2986, 0.0000, 0.0000, 0.0000); //mrk_seating2
- g_Object[180] = CreateObject(1726, 1953.1462, 1154.0742, -6.2986, 0.0000, 0.0000, 90.0000); //mrk_seating2
- g_Object[181] = CreateObject(1727, 1956.4521, 1154.2231, -6.2961, 0.0000, 0.0000, -134.6000); //mrk_seating2b
- g_Object[182] = CreateObject(1679, 1953.9410, 1149.4510, -5.7494, 0.0000, 0.0000, -97.9999); //chairsntableml
- g_Object[183] = CreateObject(1679, 1958.0356, 1150.1003, -5.7494, 0.0000, 0.0000, -39.7999); //chairsntableml
- g_Object[184] = CreateObject(2010, 1952.9344, 1152.0937, -6.2259, 0.0000, 0.0000, 0.0000); //nu_plant3_ofc
- g_Object[185] = CreateObject(18981, 1964.9095, 1192.4632, -1.5384, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
- SetObjectMaterial(g_Object[185], 0, 14534, "ab_wooziea", "dt_office_roof", 0xFFFFFFFF);
- g_Object[186] = CreateObject(19464, 1975.9908, 1178.1722, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[186], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[187] = CreateObject(19464, 1975.9908, 1184.0821, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[187], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[188] = CreateObject(19464, 1975.9908, 1190.0118, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[188], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[189] = CreateObject(19464, 1975.9908, 1195.9316, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[189], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[190] = CreateObject(19464, 1975.9908, 1201.8608, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[190], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[191] = CreateObject(19464, 1972.9110, 1204.8907, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[191], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[192] = CreateObject(19464, 1966.9918, 1204.8907, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[192], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[193] = CreateObject(19464, 1961.0620, 1204.8907, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[193], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[194] = CreateObject(19464, 1955.2629, 1204.9010, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[194], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[195] = CreateObject(19464, 1952.3819, 1201.9016, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[195], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[196] = CreateObject(19464, 1952.3819, 1195.9718, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[196], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[197] = CreateObject(19464, 1952.3819, 1190.0515, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[197], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[198] = CreateObject(19464, 1952.3819, 1184.1308, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[198], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[199] = CreateObject(19464, 1955.2312, 1181.0605, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[199], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[200] = CreateObject(19464, 1958.0820, 1178.2103, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[200], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[201] = CreateObject(18762, 1959.8295, 1175.0142, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[201], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[202] = CreateObject(18762, 1958.7065, 1179.9891, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[202], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[203] = CreateObject(18762, 1972.2840, 1179.9891, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[203], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[204] = CreateObject(968, 1958.5472, 1179.9919, -2.1307, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[204], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[205] = CreateObject(968, 1958.5472, 1179.9919, -3.3406, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[205], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[206] = CreateObject(968, 1972.6781, 1179.9919, -3.4007, 0.0000, 270.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[206], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[207] = CreateObject(968, 1972.6781, 1179.9919, -2.1807, 0.0000, 270.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[207], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[208] = CreateObject(968, 1971.6291, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[208], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[209] = CreateObject(968, 1959.2745, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[209], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[210] = CreateObject(968, 1965.5174, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[210], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[211] = CreateObject(19325, 1968.8498, 1179.9964, -4.1637, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[211], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[212] = CreateObject(19325, 1962.2099, 1179.9964, -4.1637, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[212], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[213] = CreateObject(968, 1972.8669, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[213], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[214] = CreateObject(968, 1975.7285, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[214], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[215] = CreateObject(968, 1972.1699, 1179.9919, -3.3406, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[215], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[216] = CreateObject(968, 1972.1699, 1179.9919, -2.1205, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[216], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[217] = CreateObject(19325, 1976.1390, 1179.9964, -1.3236, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[217], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[218] = CreateObject(18762, 1957.7325, 1186.9908, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[218], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[219] = CreateObject(18762, 1957.7325, 1193.0035, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[219], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[220] = CreateObject(18762, 1957.7325, 1198.7866, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[220], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[221] = CreateObject(968, 1957.6993, 1179.6031, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[221], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[222] = CreateObject(968, 1957.6993, 1186.5539, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[222], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[223] = CreateObject(968, 1957.6993, 1192.5754, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[223], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[224] = CreateObject(968, 1957.6993, 1198.3476, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[224], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[225] = CreateObject(968, 1957.6993, 1198.3476, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[225], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[226] = CreateObject(968, 1957.6993, 1192.5727, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[226], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[227] = CreateObject(968, 1957.6993, 1186.5799, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[227], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[228] = CreateObject(968, 1957.6993, 1180.1794, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[228], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[229] = CreateObject(968, 1957.6993, 1181.2591, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[229], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[230] = CreateObject(968, 1957.6993, 1186.3404, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[230], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[231] = CreateObject(968, 1957.6993, 1187.5715, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[231], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[232] = CreateObject(968, 1957.6993, 1192.3620, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[232], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[233] = CreateObject(968, 1957.6993, 1193.5832, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[233], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[234] = CreateObject(968, 1957.6993, 1198.1446, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[234], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[235] = CreateObject(968, 1957.6993, 1199.3647, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[235], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[236] = CreateObject(968, 1957.6993, 1204.6357, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[236], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[237] = CreateObject(968, 1957.6993, 1200.9635, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[237], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[238] = CreateObject(968, 1957.6993, 1196.4503, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[238], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[239] = CreateObject(968, 1957.6993, 1189.2187, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[239], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[240] = CreateObject(968, 1957.6993, 1184.6855, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[240], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[241] = CreateObject(19325, 1957.6966, 1201.7900, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[241], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[242] = CreateObject(19325, 1957.6966, 1195.7375, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[242], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[243] = CreateObject(19325, 1957.6966, 1189.1977, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[243], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[244] = CreateObject(19325, 1957.6966, 1182.5777, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[244], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[245] = CreateObject(19325, 1957.7069, 1182.6882, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[245], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[246] = CreateObject(19325, 1957.7069, 1191.2391, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[246], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[247] = CreateObject(19325, 1957.7069, 1194.3719, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[247], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[248] = CreateObject(19325, 1957.7069, 1203.1427, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[248], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[249] = CreateObject(19464, 1954.4404, 1186.9746, -3.7197, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[249], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[250] = CreateObject(19464, 1955.0008, 1193.0102, -3.7197, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[250], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[251] = CreateObject(19464, 1954.8708, 1198.7656, -3.7197, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[251], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[252] = CreateObject(19379, 1948.0074, 1200.0101, -5.3765, 0.0000, 90.0000, 0.0000); //wall027
- SetObjectMaterial(g_Object[252], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[253] = CreateObject(19379, 1948.0074, 1190.4006, -5.3765, 0.0000, 90.0000, 0.0000); //wall027
- SetObjectMaterial(g_Object[253], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[254] = CreateObject(19379, 1948.0074, 1180.7784, -5.3765, 0.0000, 90.0000, 0.0000); //wall027
- SetObjectMaterial(g_Object[254], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[255] = CreateObject(19355, 1951.6429, 1183.9753, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
- SetObjectMaterial(g_Object[255], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[256] = CreateObject(19355, 1951.6429, 1189.9964, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
- SetObjectMaterial(g_Object[256], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[257] = CreateObject(19355, 1951.6429, 1195.8110, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
- SetObjectMaterial(g_Object[257], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[258] = CreateObject(19355, 1951.6429, 1201.7517, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
- SetObjectMaterial(g_Object[258], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[259] = CreateObject(1997, 1955.4842, 1182.4786, -6.2431, 0.0000, 0.0000, 180.0000); //hos_trolley
- g_Object[260] = CreateObject(1997, 1955.4842, 1194.2701, -6.2431, 0.0000, 0.0000, 180.0000); //hos_trolley
- g_Object[261] = CreateObject(1997, 1955.4842, 1203.5832, -6.2431, 0.0000, 0.0000, 0.0000); //hos_trolley
- g_Object[262] = CreateObject(1997, 1955.4842, 1191.8215, -6.2431, 0.0000, 0.0000, 0.0000); //hos_trolley
- g_Object[263] = CreateObject(16377, 1957.0472, 1181.8376, -5.2462, 0.0000, 0.0000, 25.6000); //tv_stand_by
- SetObjectMaterial(g_Object[263], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[264] = CreateObject(16377, 1957.0052, 1193.9610, -5.2462, 0.0000, 0.0000, 25.6000); //tv_stand_by
- SetObjectMaterial(g_Object[264], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[265] = CreateObject(16377, 1957.1435, 1204.1909, -5.2462, 0.0000, 0.0000, 150.8000); //tv_stand_by
- SetObjectMaterial(g_Object[265], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[266] = CreateObject(16377, 1957.0146, 1192.1960, -5.2462, 0.0000, 0.0000, 150.8000); //tv_stand_by
- SetObjectMaterial(g_Object[266], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[267] = CreateObject(19379, 1948.0074, 1200.0101, -3.9865, 0.0000, 90.0000, 0.0000); //wall027
- SetObjectMaterial(g_Object[267], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[268] = CreateObject(19379, 1948.0074, 1190.3900, -3.9865, 0.0000, 90.0000, 0.0000); //wall027
- SetObjectMaterial(g_Object[268], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[269] = CreateObject(19379, 1948.0074, 1180.7801, -3.9865, 0.0000, 90.0000, 0.0000); //wall027
- SetObjectMaterial(g_Object[269], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[270] = CreateObject(19329, 1952.5074, 1203.2768, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
- SetObjectMaterial(g_Object[270], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
- g_Object[271] = CreateObject(19329, 1952.5074, 1194.5028, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
- SetObjectMaterial(g_Object[271], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
- g_Object[272] = CreateObject(19329, 1952.5074, 1191.4299, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
- SetObjectMaterial(g_Object[272], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
- g_Object[273] = CreateObject(19329, 1952.5074, 1182.5659, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
- SetObjectMaterial(g_Object[273], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
- g_Object[274] = CreateObject(1811, 1953.8529, 1186.2435, -5.6276, 0.0000, 0.0000, 125.9999); //MED_DIN_CHAIR_5
- g_Object[275] = CreateObject(1811, 1953.8470, 1198.0930, -5.6276, 0.0000, 0.0000, 125.9999); //MED_DIN_CHAIR_5
- g_Object[276] = CreateObject(1811, 1953.8354, 1199.5211, -5.6276, 0.0000, 0.0000, -141.3999); //MED_DIN_CHAIR_5
- g_Object[277] = CreateObject(1811, 1953.8016, 1187.7370, -5.6276, 0.0000, 0.0000, -141.3999); //MED_DIN_CHAIR_5
- g_Object[278] = CreateObject(18762, 1972.2685, 1186.9925, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[278], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[279] = CreateObject(19327, 1957.7137, 1186.0522, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[279], "1", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
- g_Object[280] = CreateObject(19327, 1957.7137, 1188.0035, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[280], "2", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
- g_Object[281] = CreateObject(19327, 1957.7137, 1197.7672, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[281], "3", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
- g_Object[282] = CreateObject(19327, 1957.7137, 1199.8083, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[282], "4", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
- g_Object[283] = CreateObject(18762, 1963.7136, 1186.9925, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[283], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[284] = CreateObject(18762, 1963.7136, 1201.1507, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[284], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[285] = CreateObject(19464, 1963.7375, 1190.3822, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[285], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[286] = CreateObject(19464, 1963.7375, 1196.3220, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[286], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[287] = CreateObject(19464, 1963.7275, 1197.8535, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[287], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[288] = CreateObject(19464, 1967.0577, 1186.9780, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[288], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[289] = CreateObject(19464, 1969.0290, 1186.9680, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[289], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[290] = CreateObject(968, 1963.7220, 1200.9571, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[290], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[291] = CreateObject(968, 1972.0710, 1186.9934, -3.3206, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[291], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[292] = CreateObject(968, 1972.0710, 1186.9934, -2.1307, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[292], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[293] = CreateObject(968, 1963.7198, 1200.9846, -2.1407, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[293], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[294] = CreateObject(968, 1963.7198, 1201.7352, -7.2607, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[294], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[295] = CreateObject(968, 1963.7198, 1204.6267, -7.2607, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[295], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[296] = CreateObject(968, 1972.8509, 1186.9940, -8.5107, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[296], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[297] = CreateObject(968, 1975.7325, 1186.9940, -8.5107, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[297], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[298] = CreateObject(19325, 1963.7143, 1205.0041, -1.2494, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[298], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[299] = CreateObject(19325, 1976.2158, 1187.0012, -1.2494, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[299], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[300] = CreateObject(1997, 1962.9458, 1196.3818, -6.2431, 0.0000, 0.0000, -5.8997); //hos_trolley
- g_Object[301] = CreateObject(1721, 1970.5167, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
- g_Object[302] = CreateObject(1721, 1969.4958, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
- g_Object[303] = CreateObject(1721, 1968.5051, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
- g_Object[304] = CreateObject(1721, 1967.4941, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
- g_Object[305] = CreateObject(1721, 1966.4936, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
- g_Object[306] = CreateObject(1808, 1964.9907, 1186.6583, -6.2673, 0.0000, 0.0000, 0.0000); //CJ_WATERCOOLER2
- g_Object[307] = CreateObject(19329, 1968.6888, 1180.0001, -4.8628, 0.0000, 90.0000, 0.0000); //7_11_sign04
- SetObjectMaterial(g_Object[307], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
- g_Object[308] = CreateObject(19329, 1962.3768, 1180.0001, -4.8628, 0.0000, 0.0000, 0.0000); //7_11_sign04
- SetObjectMaterial(g_Object[308], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
- g_Object[309] = CreateObject(19329, 1962.3768, 1180.0001, -4.8628, 0.0000, 90.0000, 0.0000); //7_11_sign04
- SetObjectMaterial(g_Object[309], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
- g_Object[310] = CreateObject(19329, 1968.6888, 1180.0001, -4.8628, 0.0000, 0.0000, 0.0000); //7_11_sign04
- SetObjectMaterial(g_Object[310], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
- g_Object[311] = CreateObject(19329, 1962.3431, 1179.9934, -2.7806, 0.0000, 0.0000, 0.0000); //7_11_sign04
- SetObjectMaterialText(g_Object[311], "EMERGENCY", 0, 90, "Arial", 45, 1, 0xFF840410, 0x0, 1);
- g_Object[312] = CreateObject(19329, 1968.6971, 1179.9934, -2.7806, 0.0000, 0.0000, 0.0000); //7_11_sign04
- SetObjectMaterialText(g_Object[312], "EMERGENCY", 0, 90, "Arial", 45, 1, 0xFF840410, 0x0, 1);
- g_Object[313] = CreateObject(18762, 1972.2762, 1201.1168, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[313], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[314] = CreateObject(19464, 1972.3232, 1191.8581, -3.7200, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[314], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[315] = CreateObject(19176, 1960.7696, 1204.6894, -4.8923, 0.0000, 0.0000, 0.0000); //LSOffice1Door1
- g_Object[316] = CreateObject(19464, 1972.3232, 1197.7486, -3.7200, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[316], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[317] = CreateObject(19464, 1972.3133, 1190.3365, -3.7200, 0.0000, 0.0000, 0.0000); //wall104
- SetObjectMaterial(g_Object[317], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[318] = CreateObject(19465, 1969.8028, 1201.0487, -3.7139, 0.0000, 0.0000, 90.0000); //wall105
- SetObjectMaterial(g_Object[318], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[319] = CreateObject(19464, 1966.1881, 1201.0467, -3.7200, 0.0000, 0.0000, 90.0000); //wall104
- SetObjectMaterial(g_Object[319], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
- g_Object[320] = CreateObject(18762, 1967.9361, 1200.4465, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[320], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[321] = CreateObject(18762, 1967.9361, 1187.5415, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[321], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[322] = CreateObject(18762, 1967.9361, 1193.9930, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[322], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[323] = CreateObject(968, 1967.9228, 1187.3431, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[323], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[324] = CreateObject(968, 1967.9228, 1193.5653, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[324], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[325] = CreateObject(968, 1967.9228, 1193.5653, -3.3106, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[325], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[326] = CreateObject(968, 1967.9228, 1187.3729, -3.3106, 0.0000, 90.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[326], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[327] = CreateObject(968, 1967.9228, 1193.3652, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[327], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[328] = CreateObject(968, 1967.9228, 1188.1030, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[328], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[329] = CreateObject(968, 1967.9228, 1194.5649, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[329], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[330] = CreateObject(968, 1967.9228, 1199.8061, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[330], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[331] = CreateObject(968, 1967.9228, 1196.1048, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[331], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[332] = CreateObject(968, 1967.9228, 1191.8227, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
- SetObjectMaterial(g_Object[332], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[333] = CreateObject(19325, 1967.9217, 1190.2933, -1.2933, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[333], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[334] = CreateObject(19325, 1967.9217, 1197.6533, -1.2933, 0.0000, 0.0000, 0.0000); //lsmall_window01
- SetObjectMaterial(g_Object[334], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[335] = CreateObject(19325, 1967.9178, 1189.8028, -6.6406, 90.0000, 0.0000, 0.0000); //lsmall_window01
- g_Object[336] = CreateObject(19325, 1967.9178, 1198.2237, -6.6406, 90.0000, 0.0000, 0.0000); //lsmall_window01
- g_Object[337] = CreateObject(18762, 1964.1247, 1193.9930, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
- SetObjectMaterial(g_Object[337], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
- g_Object[338] = CreateObject(19463, 1965.7657, 1193.9702, -5.6588, 90.0000, 0.0000, 90.0000); //wall103
- SetObjectMaterial(g_Object[338], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
- g_Object[339] = CreateObject(19327, 1967.9281, 1198.4471, -3.2486, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[339], "ISOLEMENT - 1", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
- g_Object[340] = CreateObject(1997, 1965.8652, 1199.2143, -6.2550, 0.0000, 0.0000, 0.0000); //hos_trolley
- g_Object[341] = CreateObject(19327, 1967.9281, 1190.4941, -3.2486, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[341], "ISOLEMENT - 2", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
- g_Object[342] = CreateObject(1997, 1965.8652, 1188.9112, -6.2550, 0.0000, 0.0000, 180.0000); //hos_trolley
- g_Object[343] = CreateObject(16377, 1964.5052, 1188.0096, -5.2462, 0.0000, 0.0000, -30.5998); //tv_stand_by
- SetObjectMaterial(g_Object[343], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[344] = CreateObject(16377, 1964.4670, 1200.2843, -5.2462, 0.0000, 0.0000, -133.4998); //tv_stand_by
- SetObjectMaterial(g_Object[344], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
- g_Object[345] = CreateObject(1523, 1969.0948, 1200.9975, -6.2634, 0.0000, 0.0000, 0.0000); //Gen_doorEXT10
- g_Object[346] = CreateObject(19327, 1969.1888, 1201.1816, -3.9586, 0.0000, 0.0000, 180.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[346], "ISOLEMENT", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
- g_Object[347] = CreateObject(1721, 1971.9493, 1197.7457, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
- g_Object[348] = CreateObject(1721, 1971.9493, 1196.7253, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
- g_Object[349] = CreateObject(1721, 1971.9493, 1195.7357, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
- g_Object[350] = CreateObject(1721, 1971.9493, 1192.2248, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
- g_Object[351] = CreateObject(1721, 1971.9493, 1191.2341, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
- g_Object[352] = CreateObject(1721, 1971.9493, 1190.2231, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
- g_Object[353] = CreateObject(19326, 1960.2342, 1163.2623, -4.1366, 0.0000, 0.0000, 90.0000); //7_11_sign01
- SetObjectMaterial(g_Object[353], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
- g_Object[354] = CreateObject(19327, 1960.2534, 1163.8325, -4.1883, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[354], "SERVICES DES URGENCE >", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
- g_Object[355] = CreateObject(19327, 1960.2534, 1163.8625, -5.1483, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[355], "SAN ANDREAS GENERAL", 0, 90, "Arial", 14, 1, 0xFF840410, 0x0, 0);
- g_Object[356] = CreateObject(19327, 1960.2534, 1163.8325, -4.3682, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[356], "- EXAMENS", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
- g_Object[357] = CreateObject(2994, 1958.2645, 1190.2783, -5.6956, 0.0000, 0.0000, -7.8001); //kmb_trolley
- SetObjectMaterial(g_Object[357], 1, 16093, "a51_ext", "ws_whitewall2_bottom", 0xFFFFFFFF);
- g_Object[358] = CreateObject(19327, 1960.2534, 1163.8325, -4.6782, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[358], "< SALLE DE REPOS", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
- g_Object[359] = CreateObject(19327, 1960.2534, 1163.8325, -4.8482, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[359], "< SALLE D'OPERATION", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
- g_Object[360] = CreateObject(19327, 1960.2534, 1163.8325, -4.5183, 0.0000, 0.0000, 90.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[360], "- ISOLEMENT", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
- g_Object[361] = CreateObject(19327, 1973.6544, 1180.0075, -3.2313, 0.0000, 0.0000, 180.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[361], "SORTIE", 0, 90, "Arial", 35, 1, 0xFF840410, 0x0, 0);
- g_Object[362] = CreateObject(19327, 1974.6784, 1186.9913, -3.2113, 0.0000, 0.0000, 0.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[362], "ISOLEMENT", 0, 90, "Arial", 35, 1, 0xFF840410, 0x0, 0);
- g_Object[363] = CreateObject(19327, 1963.7106, 1202.8303, -3.2361, 0.0000, 0.0000, 270.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[363], "ISOLEMENT", 0, 90, "Arial", 35, 1, 0xFF840410, 0x0, 0);
- g_Object[364] = CreateObject(1893, 1962.3753, 1151.2105, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
- g_Object[365] = CreateObject(19327, 1965.6879, 1148.1087, -3.9896, 0.0000, 0.0000, 270.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[365], "OP. 1", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
- g_Object[366] = CreateObject(1893, 1962.3753, 1156.9412, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
- g_Object[367] = CreateObject(1893, 1962.3753, 1164.2362, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
- g_Object[368] = CreateObject(1893, 1962.3753, 1172.1809, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
- g_Object[369] = CreateObject(2961, 1960.3759, 1157.1112, -4.8301, 0.0000, 0.0000, 90.0000); //fire_break
- g_Object[370] = CreateObject(2961, 1976.2275, 1168.2138, -4.8301, 0.0000, 0.0000, 180.0000); //fire_break
- g_Object[371] = CreateObject(2961, 1972.2849, 1186.4765, -4.8301, 0.0000, 0.0000, 180.0000); //fire_break
- g_Object[372] = CreateObject(2961, 1963.1925, 1201.1282, -4.8301, 0.0000, 0.0000, 90.0000); //fire_break
- g_Object[373] = CreateObject(968, 1959.4624, 1175.1024, -3.3359, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[373], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[374] = CreateObject(968, 1959.4624, 1175.1024, -2.1159, 0.0000, 90.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[374], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[375] = CreateObject(968, 1960.4031, 1175.1024, -7.5559, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[375], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[376] = CreateObject(968, 1965.1044, 1175.1024, -7.5559, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[376], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[377] = CreateObject(19325, 1962.4271, 1175.1042, -1.3380, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[377], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[378] = CreateObject(968, 1963.8143, 1175.1024, -10.3459, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[378], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[379] = CreateObject(19327, 1962.8159, 1175.0998, -3.2832, 0.0000, 0.0000, 0.0000); //7_11_sign02
- SetObjectMaterialText(g_Object[379], "SERVICE DES URGENCES", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
- g_Object[380] = CreateObject(968, 1961.6037, 1175.1024, -10.3459, 0.0000, 0.0000, 0.0000); //barrierturn
- SetObjectMaterial(g_Object[380], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
- g_Object[381] = CreateObject(19325, 1958.3068, 1175.1042, -5.4680, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[381], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- g_Object[382] = CreateObject(19325, 1967.2072, 1175.1042, -5.4680, 0.0000, 0.0000, 90.0000); //lsmall_window01
- SetObjectMaterial(g_Object[382], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
- CreateObject(1649, 1554.17, -1652.33, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1652.33, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1652.33, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1652.33, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1656.88, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1656.88, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1656.88, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1656.88, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1665.40, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1669.80, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1669.80, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1669.80, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1669.80, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1665.40, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1665.40, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1665.40, 24.03, 0.00, 0.00, -90.00);
- CreateObject(3440, 1554.22, -1654.59, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1654.59, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1654.59, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1659.00, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1659.00, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1659.00, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1650.33, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1650.33, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1650.33, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1663.26, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1663.26, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1663.26, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1667.66, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1671.92, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1671.92, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1671.92, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1667.66, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1667.66, 24.22, 0.00, 0.00, 0.00);
- CreateObject(1649, 1554.17, -1685.80, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1681.44, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1694.32, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1698.86, 14.23, 0.00, 0.00, -90.00);
- CreateObject(3440, 1554.22, -1679.30, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1683.85, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1687.96, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1692.08, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1696.63, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1700.89, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1683.85, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1683.85, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1683.85, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1687.96, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1687.96, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1679.30, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1679.30, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1692.08, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1692.08, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1696.63, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1696.63, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1700.89, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1554.22, -1700.89, 24.22, 0.00, 0.00, 0.00);
- CreateObject(1649, 1554.17, -1681.44, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1681.44, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1681.44, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1685.80, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1685.80, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1685.80, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1694.32, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1694.32, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1694.32, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1698.86, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1698.86, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1554.17, -1698.86, 24.03, 0.00, 0.00, -90.00);
- CreateObject(3440, 1554.30, -1665.37, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1656.85, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1652.01, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1669.63, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1681.56, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1686.11, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1694.20, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1554.30, -1698.60, 26.19, 90.00, 0.00, 0.00);
- CreateObject(1649, 1551.89, -1701.06, 14.23, 0.00, 0.00, -180.00);
- CreateObject(1649, 1545.29, -1701.07, 14.23, 0.00, 0.00, -180.00);
- CreateObject(1649, 1551.89, -1701.06, 17.50, 0.00, 0.00, -180.00);
- CreateObject(1649, 1551.89, -1701.06, 20.76, 0.00, 0.00, -180.00);
- CreateObject(1649, 1551.89, -1701.06, 24.03, 0.00, 0.00, -180.00);
- CreateObject(1649, 1545.29, -1701.07, 17.50, 0.00, 0.00, -180.00);
- CreateObject(1649, 1545.29, -1701.07, 20.76, 0.00, 0.00, -180.00);
- CreateObject(1649, 1545.29, -1701.07, 24.03, 0.00, 0.00, -180.00);
- CreateObject(3440, 1549.71, -1701.03, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1547.52, -1701.00, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1701.13, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1701.13, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1547.52, -1701.00, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1547.52, -1701.00, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1549.71, -1701.03, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1549.71, -1701.03, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1551.95, -1701.10, 26.19, 90.00, 0.00, 90.00);
- CreateObject(3440, 1545.56, -1701.10, 26.19, 90.00, 0.00, 90.00);
- CreateObject(3440, 1548.68, -1701.10, 26.19, 90.00, 0.00, 90.00);
- CreateObject(1649, 1551.90, -1650.14, 14.23, 0.00, 0.00, 0.00);
- CreateObject(1649, 1545.34, -1650.14, 14.09, 0.00, 0.00, 0.00);
- CreateObject(1649, 1551.90, -1650.14, 17.50, 0.00, 0.00, 0.00);
- CreateObject(1649, 1551.90, -1650.14, 20.76, 0.00, 0.00, 0.00);
- CreateObject(1649, 1551.90, -1650.14, 24.03, 0.00, 0.00, 0.00);
- CreateObject(3440, 1549.66, -1650.15, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1547.53, -1650.15, 14.85, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1650.15, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1650.15, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1549.66, -1650.15, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1549.66, -1650.15, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1547.53, -1650.15, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1547.53, -1650.15, 24.22, 0.00, 0.00, 0.00);
- CreateObject(3440, 1551.83, -1650.15, 26.19, 90.00, 0.00, 90.00);
- CreateObject(3440, 1548.71, -1650.15, 26.19, 90.00, 0.00, 90.00);
- CreateObject(3440, 1545.58, -1650.15, 26.19, 90.00, 0.00, 90.00);
- CreateObject(19425, 1526.94, -1716.97, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1532.20, -1716.97, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1532.20, -1689.18, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1526.95, -1689.18, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1526.95, -1657.37, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1532.35, -1657.37, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1532.35, -1612.78, 12.37, 0.00, 0.00, 0.00);
- CreateObject(19425, 1526.81, -1612.78, 12.37, 0.00, 0.00, 0.00);
- CreateObject(970, 1537.55, -1665.94, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1537.55, -1670.05, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1537.55, -1679.57, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1537.55, -1675.45, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1661.79, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1657.68, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1653.56, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1649.44, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1645.32, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1641.20, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1683.66, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1687.78, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1691.90, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1696.02, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1700.13, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1704.25, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1708.37, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1712.49, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1714.62, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1718.74, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1615.79, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1611.67, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1607.55, 13.01, 0.00, 0.00, 90.00);
- CreateObject(970, 1534.64, -1604.43, 13.01, 0.00, 0.00, 90.00);
- CreateObject(9833, 1545.86, -1661.69, 14.74, 0.00, 0.00, 0.00);
- CreateObject(9833, 1545.71, -1690.13, 14.74, 0.00, 0.00, 0.00);
- CreateObject(1280, 1541.49, -1693.62, 12.92, 0.00, 0.00, 180.00);
- CreateObject(1280, 1541.49, -1689.93, 12.92, 0.00, 0.00, 180.00);
- CreateObject(1280, 1541.49, -1686.23, 12.92, 0.00, 0.00, 180.00);
- CreateObject(1280, 1541.49, -1665.08, 12.92, 0.00, 0.00, 180.00);
- CreateObject(1280, 1541.49, -1661.24, 12.92, 0.00, 0.00, 180.00);
- CreateObject(1280, 1541.49, -1657.41, 12.92, 0.00, 0.00, 180.00);
- CreateObject(1649, 1545.34, -1650.14, 17.35, 0.00, 0.00, 0.00);
- CreateObject(1649, 1545.34, -1650.14, 20.62, 0.00, 0.00, 0.00);
- CreateObject(1649, 1545.34, -1650.14, 23.89, 0.00, 0.00, 0.00);
- CreateObject(1649, 1543.12, -1647.92, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1643.97, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1640.05, 14.23, 0.00, 0.00, -90.00);
- CreateObject(3440, 1543.13, -1650.15, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1645.90, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1642.06, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1637.80, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1637.80, 19.46, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1637.80, 24.14, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1645.90, 19.46, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1645.90, 24.14, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1642.06, 19.46, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.13, -1642.06, 24.14, 0.00, 0.00, 0.00);
- CreateObject(1649, 1543.12, -1640.05, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1640.05, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1640.05, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1643.97, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1643.97, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1643.97, 24.03, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1647.92, 17.50, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1647.92, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1647.92, 24.03, 0.00, 0.00, -90.00);
- CreateObject(3440, 1543.26, -1647.97, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1543.26, -1644.00, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1543.26, -1640.02, 26.19, 90.00, 0.00, 0.00);
- CreateObject(1649, 1543.12, -1703.30, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1711.61, 14.23, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1707.51, 14.23, 0.00, 0.00, -90.00);
- CreateObject(3440, 1543.20, -1701.13, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1705.62, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1709.70, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1713.78, 14.77, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1705.62, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1705.62, 24.29, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1709.70, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1709.70, 24.29, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1713.78, 19.53, 0.00, 0.00, 0.00);
- CreateObject(3440, 1543.20, -1713.78, 24.29, 0.00, 0.00, 0.00);
- CreateObject(1649, 1543.12, -1707.51, 17.49, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1707.51, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1707.51, 24.02, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1703.30, 17.49, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1703.30, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1703.30, 24.02, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1711.61, 17.49, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1711.61, 20.76, 0.00, 0.00, -90.00);
- CreateObject(1649, 1543.12, -1711.61, 24.02, 0.00, 0.00, -90.00);
- CreateObject(3440, 1543.23, -1703.41, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1543.23, -1707.63, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3440, 1543.23, -1711.44, 26.19, 90.00, 0.00, 0.00);
- CreateObject(3749, 1544.26, -1627.62, 18.36, 0.00, 0.00, -90.00);
- CreateObject(1411, 1542.37, -1617.49, 17.02, 0.00, 0.00, 0.00);
- CreateObject(1411, 1539.99, -1615.07, 17.02, 0.00, 0.00, -90.00);
- CreateObject(1411, 1540.00, -1609.82, 17.02, 0.00, 0.00, -90.00);
- CreateObject(1411, 1539.95, -1605.06, 17.02, 0.00, 0.00, -90.00);
- CreateObject(1411, 1542.34, -1602.69, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1547.61, -1602.68, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1552.88, -1602.69, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1558.14, -1602.70, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1563.42, -1602.69, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1568.70, -1602.69, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1573.96, -1602.69, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1579.25, -1602.68, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1584.53, -1602.68, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1589.81, -1602.67, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1595.08, -1602.66, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1600.36, -1602.67, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1605.37, -1602.66, 17.02, 0.00, 0.00, 180.00);
- CreateObject(1411, 1607.74, -1605.04, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1607.75, -1610.32, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1607.74, -1615.61, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1607.73, -1620.87, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1607.74, -1626.14, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1607.74, -1631.40, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1607.76, -1635.31, 17.02, 0.00, 0.00, 90.00);
- CreateObject(1411, 1605.40, -1637.69, 17.02, 0.00, 0.00, 0.00);
- CreateObject(1411, 1544.49, -1621.21, 13.97, 0.00, 0.00, 90.00);
- CreateObject(1411, 1544.58, -1635.38, 13.97, 0.00, 0.00, 90.00);
- CreateObject(1295, 1969.34, -2159.45, 12.54, 0.00, 0.00, 0.00);
- CreateObject(1295, 1969.34, -2159.45, 12.54, 0.00, 0.00, 0.00);
- CreateObject(8168, 1572.24, -1620.27, 14.08, 0.00, 0.00, 16.00);
- CreateObject(983, 1565.39, -1622.71, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1565.40, -1617.74, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1556.81, -1617.74, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1550.40, -1622.76, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1544.73, -1620.70, 13.24, 0.00, 0.00, 50.00);
- CreateObject(983, 1556.81, -1622.75, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1550.40, -1617.76, 13.24, 0.00, 0.00, 90.00);
- CreateObject(1231, 1568.47, -1620.32, 13.85, 0.00, 0.00, 90.00);
- CreateObject(1231, 1561.10, -1620.32, 13.85, 0.00, 0.00, 90.00);
- CreateObject(1231, 1554.05, -1620.23, 13.85, 0.00, 0.00, 90.00);
- CreateObject(1231, 1546.75, -1620.25, 13.85, 0.00, 0.00, 90.00);
- CreateObject(1231, 1577.43, -1620.32, 13.85, 0.00, 0.00, 90.00);
- CreateObject(1231, 1560.08, -1636.87, 13.85, 0.00, 0.00, 0.00);
- CreateObject(1231, 1570.72, -1636.88, 13.85, 0.00, 0.00, 0.00);
- CreateObject(1231, 1549.30, -1636.83, 13.85, 0.00, 0.00, 0.00);
- CreateObject(983, 1572.29, -1632.99, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1565.89, -1632.99, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1559.49, -1633.00, 13.24, 0.00, 0.00, 90.00);
- CreateObject(983, 1553.11, -1633.00, 13.24, 0.00, 0.00, 90.00);
- CreateObject(18452, 1551.32, -1609.70, 15.18, 0.00, 0.00, 0.00);
- CreateObject(1676, 1551.33, -1612.53, 13.87, 0.00, 0.00, 0.00);
- CreateObject(1676, 1551.41, -1606.93, 13.87, 0.00, 0.00, 0.00);
- CreateObject(10183, 1578.58, -1606.40, 12.40, 0.00, 0.00, 45.50);
- CreateObject(3928, 1564.20, -1657.86, 27.42, 0.00, 0.00, 0.00);
- CreateObject(3928, 1564.16, -1648.40, 27.42, 0.00, 0.00, 0.00);
- CreateObject(3928, 1564.19, -1695.80, 27.42, 0.00, 0.00, 0.00);
- CreateObject(3928, 1564.24, -1705.09, 27.42, 0.00, 0.00, 0.00);
- gate1 = CreateObject(980,1590.36975098,-1638.18310547,15.23138046,0.00000000,0.00000000,0.00000000);
- gate2 = CreateObject(968,1544.69677734,-1630.78649902,13.07031250,0.00000000,90.00000000,90.00000000);
- }
- stock FactionPath(factionID)
- {
- new str[128];
- format(str, sizeof(str), "Factions/%i.ini", factionID);
- return str;
- }
- stock CreateFactions()
- {
- for(new i=0; i<MAX_FACTION; i++)
- {
- if(!fexist(FactionPath(i)))
- {
- printf("[Launch] Creating ... Faction ID: %i", i);
- switch(i)
- {
- case 0:
- {
- Factions[i][fID] = 1;
- Factions[i][fMaxRank] = 7;
- new INI:File = INI_Open(FactionPath(i));
- INI_SetTag(File, "data");
- INI_WriteInt(File,"ID",Factions[i][fID]);
- INI_WriteString(File,"CompleteName","Los Angeles Police Department");
- INI_WriteString(File,"ShortName","L.A.P.D");
- INI_WriteString(File,"Leader","None");
- INI_WriteInt(File,"MaxRank",Factions[i][fMaxRank]);
- INI_Close(File);
- }
- case 1:
- {
- Factions[i][fID] = 2;
- Factions[i][fMaxRank] = 6;
- new INI:File = INI_Open(FactionPath(i));
- INI_SetTag(File, "data");
- INI_WriteInt(File,"ID",Factions[i][fID]);
- INI_WriteString(File,"CompleteName","Los Angeles Fire Department");
- INI_WriteString(File,"ShortName","L.A.F.D");
- INI_WriteString(File,"Leader","None");
- INI_WriteInt(File,"MaxRank",Factions[i][fMaxRank]);
- INI_Close(File);
- }
- case 2:
- {
- Factions[i][fID] = 3;
- Factions[i][fMaxRank] = 3;
- new INI:File = INI_Open(FactionPath(i));
- INI_SetTag(File, "data");
- INI_WriteInt(File,"ID",Factions[i][fID]);
- INI_WriteString(File,"CompleteName","Fox5");
- INI_WriteString(File,"ShortName","Fox5");
- INI_WriteString(File,"Leader","None");
- INI_WriteInt(File,"MaxRank",Factions[i][fMaxRank]);
- INI_Close(File);
- }
- default: printf("[Launch] Error ... Faction couldn't be created | Faction ID : %i", i);
- }
- INI_ParseFile(FactionPath(i), "LoadFaction_data", .bExtra = true, .extra = i);
- printf("[Launch] Creating done | Faction %s [ID: %i]", Factions[i][fCompleteName], i);
- }
- else
- {
- INI_ParseFile(FactionPath(i), "LoadFaction_data", .bExtra = true, .extra = i);
- printf("[Launch] Successfully loaded | Faction %s [ID: %i]", Factions[i][fCompleteName], i);
- }
- }
- return 1;
- }
- stock GetName(playerid)
- {
- new gName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, gName, sizeof(gName));
- return gName;
- }
- stock GetRPName(playerid)
- {
- new gName[MAX_PLAYER_NAME];
- GetPlayerName(playerid, gName, sizeof(gName));
- strreplace(gName, '_', ' ');
- return gName;
- }
- stock GetClosestVehicle(playerid, Float:range)
- {
- new Float:p_X;
- new Float:p_Y;
- new Float:p_Z;
- new Float:Distance;
- new Float:PretendentDistance = range +1;
- new Pretendent;
- GetPlayerPos(playerid, p_X, p_Y, p_Z);
- for(new vehicleid=1; vehicleid < MAX_VEHICLES; vehicleid++)
- {
- Distance = GetVehicleDistanceFromPoint(vehicleid, p_X, p_Y, p_Z);
- if(Distance <= range && Distance <= PretendentDistance)
- {
- Pretendent = vehicleid;
- PretendentDistance = Distance;
- }
- }
- return Pretendent;
- }
- stock strreplace(string[], find, replace)
- {
- for(new i=0; string[i]; i++)
- {
- if(string[i] == find)
- {
- string[i] = replace;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement