Advertisement
Dayrion

GM-18/05

May 18th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 224.71 KB | None | 0 0
  1. /*- Start of: Include -*/
  2. #include <a_samp>
  3. #include <YSI\y_ini>
  4. #include <zcmd>
  5. #include <foreach>
  6. #include <sscanf2>
  7.  
  8. /*- Start of: Defines -*/
  9. #define     D_Username                  1
  10. #define     D_Login                     10
  11. #define     D_Register                  20
  12.  
  13. #define     D_R_Mail                    21
  14. #define     D_RC_Age                    22
  15. #define     D_RC_Origin                 23
  16. #define     D_RC_Gender                 24
  17. #define     D_R_Rules                   25
  18.  
  19. #define     D_EmploymentAgencyDash      30
  20.  
  21. #define     D_ChuffLocker               40
  22. #define     D_LAFMDLocker               41
  23. #define     D_LAPDLocker                42
  24. #define     D_LAPDClothes               43
  25. #define     D_LAPDFirearms              44
  26.  
  27. #define     D_Commands                  50
  28.  
  29.  
  30. #define     COLOR_LightBlue             0x82CAFFFF
  31. #define     COLOR_LightBlue_a           "{82CAFF}"
  32. #define     COLOR_White                 0xFFFFFFFF
  33. #define     COLOR_White_a               "{FFFFFF}"
  34. #define     COLOR_Purple                0xCC56CCFF
  35. #define     COLOR_Purple_a              "{CC56CC}"
  36. #define     COLOR_Grey                  0xD1D1D1FF
  37. #define     COLOR_Grey_a                "{D1D1D1}"
  38. #define     COLOR_RED                   "{FF0000}"
  39. #define     COLOR_RED_A                 0xFF0000FF
  40.  
  41. #define U_Path "/Accounts/%s.ini"
  42.  
  43. #if !defined isnull
  44.     #define isnull(%1) ((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
  45. #endif
  46.  
  47. /*- Start of: Vars -*/
  48. enum pStats
  49. {
  50.     pID,
  51.     pPassword[128],
  52.     pMail[128],
  53.     pAge,
  54.     pOrigin[128],
  55.     pGender[128],
  56.     pSkin,
  57.     pInterior,
  58.     pVW,
  59.     Float:pPositionX,
  60.     Float:pPositionY,
  61.     Float:pPositionZ,
  62.     pMoney,
  63.     pLevel,
  64.     pJob1,
  65.     pJob2,
  66.     pFlags,
  67.     pBanned,
  68.     pBanBy[128],
  69.     pBanReason[128],
  70.     pRegIP[128],
  71.     pLastIP[128],
  72.     pFaction,
  73.     pRank,
  74.     pHealthCare,
  75.     Float:pHealth,
  76.     Float:pArmour,
  77.     pPrisonnier,
  78.     pPrisonTime
  79.  
  80. }
  81.  
  82. enum fStats
  83. {
  84.     fID,
  85.     fCompleteName[50],
  86.     fShortName[10],
  87.     fLeader[MAX_PLAYER_NAME],
  88.     fMaxRank,
  89. }
  90.  
  91. new rankFac[3][8][25] =
  92. {
  93.     {
  94.         "Cadet",
  95.         "Officier 1",
  96.         "Officier 2",
  97.         "Officier 3",
  98.         "Sergeant",
  99.         "Captain",
  100.         "Assistant Chief",
  101.         "Chief"
  102.     },
  103.     {
  104.         "Cadet",
  105.         "EMS",
  106.         "Firefighter",
  107.         "EMS/Firefighter",
  108.         "Captain",
  109.         "Assistant Chief",
  110.         "Chief",
  111.         ""
  112.     },
  113.     {
  114.         "New Reporter",
  115.         "Heli Reporter",
  116.         "Interview Reporter",
  117.         "Owner",
  118.         "",
  119.         "",
  120.         "",
  121.         ""
  122.     }
  123. };
  124. #define MAX_FACTION 3
  125. new Factions[MAX_FACTION][fStats];
  126. new U_Stats[MAX_PLAYERS][pStats];
  127. new pAdminVeh[MAX_PLAYERS],
  128.     pHoldingPackage[MAX_PLAYERS],
  129.     pTruckPackage[MAX_PLAYERS],
  130.     og;
  131. new gate1,
  132.     gate2;
  133. new hassiren[MAX_VEHICLES];
  134. new siren[MAX_VEHICLES];
  135. new cuffed[MAX_PLAYERS] = 0;
  136. new IsSuspect[MAX_PLAYERS];
  137. new IsPrisonnier[MAX_PLAYERS];
  138. new bool:IsOnDuty[MAX_PLAYERS] = false;
  139. stock duty(playerid)
  140. {
  141.     return (IsOnDuty[playerid] ? true : false);
  142. }
  143.  
  144. /*- Start of: Random -*/
  145. main()
  146. {
  147.     print("\n[Launch] NCRP V0.10.0 has been loded.");
  148. }
  149.  
  150. /*- Start of: Public -*/
  151. public OnVehicleDeath(vehicleid, killerid)
  152. {
  153.         DestroyObject(siren[vehicleid]);
  154.         return 1;
  155. }
  156.  
  157. public OnGameModeInit()
  158. {
  159.     og = 1;
  160.     CreateVehicles();
  161.     CreateEnters();
  162.     CreateFactions();
  163.     CreateATMS();
  164.     ManualVehicleEngineAndLights();
  165.     EnableStuntBonusForAll(0);
  166.     DisableInteriorEnterExits();
  167.     SetGameModeText("NCRP V0.10.0");
  168.     return 1;
  169. }
  170.  
  171. public OnGameModeExit()
  172. {
  173.     return 1;
  174. }
  175.  
  176. forward LoadUser_data(playerid,name[],value[]);
  177. public LoadUser_data(playerid,name[],value[])
  178. {
  179.     INI_Int("ID", U_Stats[playerid][pID]);
  180.     INI_String("Password", U_Stats[playerid][pPassword], 128);
  181.     INI_String("Mail", U_Stats[playerid][pMail], 128);
  182.     INI_Int("Age", U_Stats[playerid][pAge]);
  183.     INI_String("Origin", U_Stats[playerid][pOrigin], 128);
  184.     INI_String("Gender", U_Stats[playerid][pGender], 128);
  185.     INI_Int("Skin", U_Stats[playerid][pSkin]);
  186.     INI_Int("Interior", U_Stats[playerid][pInterior]);
  187.     INI_Int("VW", U_Stats[playerid][pVW]);
  188.     INI_Float("PositionX", U_Stats[playerid][pPositionX]);
  189.     INI_Float("PositionY", U_Stats[playerid][pPositionY]);
  190.     INI_Float("PositionZ", U_Stats[playerid][pPositionZ]);
  191.     INI_Int("Money", U_Stats[playerid][pMoney]);
  192.     INI_Int("Level", U_Stats[playerid][pLevel]);
  193.     INI_Int("Job1", U_Stats[playerid][pJob1]);
  194.     INI_Int("Job2", U_Stats[playerid][pJob2]);
  195.     INI_Int("Flags", U_Stats[playerid][pFlags]);
  196.     INI_Int("Banned", U_Stats[playerid][pBanned]);
  197.     INI_String("BanBy", U_Stats[playerid][pBanBy], 128);
  198.     INI_String("BanReason", U_Stats[playerid][pBanReason], 128);
  199.     INI_String("RegIP", U_Stats[playerid][pRegIP], 128);
  200.     INI_String("LastIP", U_Stats[playerid][pLastIP], 128);
  201.     INI_Int("Faction", U_Stats[playerid][pFaction]);
  202.     INI_Int("Rank", U_Stats[playerid][pRank]);
  203.     INI_Int("HealthCare", U_Stats[playerid][pHealthCare]);
  204.     INI_Float("Health", U_Stats[playerid][pHealth]);
  205.     INI_Float("Armour", U_Stats[playerid][pArmour]);
  206.     INI_Int("Prisonnier", U_Stats[playerid][pPrisonnier]);
  207.     INI_Int("PrisonTime", U_Stats[playerid][pPrisonTime]);
  208.     return 1;
  209. }
  210.  
  211. forward LoadFaction_data(factionid, name[], value[]);
  212. public LoadFaction_data(factionid, name[], value[]) // faction load data
  213. {
  214.     INI_Int("ID",Factions[factionid][fID]);
  215.     INI_String("CompleteName",Factions[factionid][fCompleteName], 50);
  216.     INI_String("ShortName",Factions[factionid][fShortName], 10);
  217.     INI_String("Leader",Factions[factionid][fLeader], MAX_PLAYER_NAME);
  218.     INI_Int("MaxRank",Factions[factionid][fMaxRank]);
  219.     return 1;
  220. }
  221.  
  222. public OnPlayerConnect(playerid)
  223. {
  224.     RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
  225.     RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
  226.     RemoveBuildingForPlayer(playerid, 4025, 1777.8359, -1773.9063, 12.5234, 0.25);
  227.     RemoveBuildingForPlayer(playerid, 4215, 1777.5547, -1775.0391, 36.7500, 0.25);
  228.     RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9063, 12.5234, 0.25);
  229.     RemoveBuildingForPlayer(playerid, 1283, 1822.5703, -1763.2578, 15.5859, 0.25);
  230.     RemoveBuildingForPlayer(playerid, 1283, 1832.8359, -1751.5078, 15.5859, 0.25);
  231.     RemoveBuildingForPlayer(playerid, 1283, 1820.8359, -1741.1484, 15.5781, 0.25);
  232.     pHoldingPackage[playerid] = 0;
  233.     pTruckPackage[playerid] = 0;
  234.     pAdminVeh[playerid] = 0;
  235.     SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
  236.     SetTimerEx("OnPlayerConnectCamera", 100, false, "d", playerid);
  237.     for(new i; i!=20; i++)
  238.     {
  239.         SendClientMessage(playerid, -1, "");
  240.     }
  241.     new name[MAX_PLAYER_NAME];
  242.     GetPlayerName(playerid, name, sizeof(name));
  243.     if(IsARolePlayName(GetName(playerid)) == 1)
  244.     {
  245.         if(fexist(UserPath(playerid)))
  246.         {
  247.             INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  248.             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","");
  249.         }
  250.         else
  251.         {
  252.             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.",">>","");
  253.         }
  254.     }
  255.     else
  256.     {
  257.         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", ">>", "");
  258.     }
  259.     return 1;
  260. }
  261.  
  262. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  263. {
  264.     switch(dialogid)
  265.     {
  266.         case D_Username:
  267.         {
  268.             if(!response)
  269.             {
  270.                 Kick(playerid);
  271.             }
  272.             else
  273.             {
  274.                 if(!strlen(inputtext))
  275.                 {
  276.                     Kick(playerid);
  277.                 }
  278.                 else
  279.                 {
  280.                     SetPlayerName(playerid, inputtext);
  281.                     if(IsARolePlayName(GetName(playerid)) == 1)
  282.                     {
  283.                         if(fexist(UserPath(playerid)))
  284.                         {
  285.                             INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  286.                             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","");
  287.                         }
  288.                         else
  289.                         {
  290.                             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.",">>","");
  291.                         }
  292.                     }
  293.                     else
  294.                     {
  295.                         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", ">>", "");
  296.                     }
  297.                 }
  298.             }
  299.         }
  300.  
  301.         case D_Login:
  302.         {
  303.             if(!response)
  304.             {
  305.                 Kick ( playerid );
  306.             }
  307.             else
  308.             {
  309.                 if(!strlen(inputtext))
  310.                 {
  311.                     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","");
  312.                 }
  313.                 else
  314.                 {
  315.                     if(!strcmp(inputtext, U_Stats[playerid][pPassword]))
  316.                     {
  317.                         INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  318.                         if(U_Stats[playerid][pBanned] == 1)
  319.                         {
  320.                             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..","","");
  321.                             SetTimerEx("SKick", 0750, false, "i", playerid);
  322.                         }
  323.                         else
  324.                         {
  325.                             SpawnPlayer(playerid);
  326.                             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 );
  327.                             TogglePlayerSpectating(playerid, 0);
  328.                             INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
  329.                             SpawnPlayer(playerid);
  330.                             SetPlayerSkin(playerid, U_Stats[playerid][pSkin]);
  331.                             SetPlayerInterior(playerid, U_Stats[playerid][pInterior]);
  332.                             SetPlayerVirtualWorld(playerid, U_Stats[playerid][pVW]);
  333.                             SetPlayerPos(playerid, U_Stats[playerid][pPositionX], U_Stats[playerid][pPositionY], U_Stats[playerid][pPositionZ]);
  334.                             GivePlayerMoney(playerid, U_Stats[playerid][pMoney]);
  335.                             SetPlayerScore(playerid, U_Stats[playerid][pLevel]);
  336.                             SpawnPlayer(playerid);
  337.                             if(U_Stats[playerid][pPrisonnier] == 1){
  338.                             SetPlayerPos(playerid, 0, 0, 0);
  339.                             SetTimerEx("FreePrisoniers", U_Stats[playerid][pPrisonTime], false, "ii", playerid, U_Stats[playerid][pPrisonTime]);
  340.                             } // PRISON POS
  341.                             SendClientMessage(playerid, -1, "{FFFFFF}[{82CAFF}NCRP{FFFFFF}] Welcome back to NCRP!");
  342.  
  343.                         }
  344.                     }
  345.                     else
  346.                     {
  347.                         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","");
  348.                     }
  349.                 }
  350.                 return 1;
  351.             }
  352.         }
  353.  
  354.         case D_Register:
  355.         {
  356.             if(!response)
  357.             {
  358.                 Kick ( playerid );
  359.             }
  360.             else
  361.             {
  362.                 if(!strlen(inputtext))
  363.                 {
  364.                     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.",">>","");
  365.                 }
  366.                 else
  367.                 {
  368.                     new INI:File = INI_Open(UserPath(playerid));
  369.                     INI_SetTag(File, "data");
  370.                     INI_WriteString(File, "Password", inputtext);
  371.                     INI_Close(File);
  372.                     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.",">>","");
  373.                 }
  374.                 return 1;
  375.             }
  376.         }
  377.  
  378.         case D_R_Mail:
  379.         {
  380.             if(!response)
  381.             {
  382.                 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.",">>","");
  383.             }
  384.             else
  385.             {
  386.                 if(!strlen(inputtext))
  387.                 {
  388.                     new INI:File = INI_Open(UserPath(playerid));
  389.                     INI_SetTag(File, "data");
  390.                     INI_WriteString(File, "Mail", "empty");
  391.                     INI_Close(File);
  392.                     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.",">>","");
  393.                 }
  394.                 else
  395.                 {
  396.                     new INI:File = INI_Open(UserPath(playerid));
  397.                     INI_SetTag(File, "data");
  398.                     INI_WriteString(File, "Mail", inputtext);
  399.                     INI_Close(File);
  400.                     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.",">>","");
  401.                 }
  402.                 return 1;
  403.             }
  404.         }
  405.  
  406.         case D_RC_Age:
  407.         {
  408.             if(!response)
  409.             {
  410.                     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.",">>","");
  411.             }
  412.             else
  413.             {
  414.                 if(!strlen(inputtext))
  415.                 {
  416.                     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.",">>","");
  417.                 }
  418.                 else
  419.                 {
  420.                     if(strval(inputtext) > 16 && strval(inputtext) < 61)
  421.                     {
  422.                         new INI:File = INI_Open(UserPath(playerid));
  423.                         INI_SetTag(File, "data");
  424.                         INI_WriteInt(File, "Age", strval(inputtext));
  425.                         INI_Close(File);
  426.                         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!",">>","");
  427.                     }
  428.                     else
  429.                     {
  430.                         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!",">>","");
  431.                     }
  432.                 }
  433.                 return 1;
  434.             }
  435.         }
  436.  
  437.         case D_RC_Origin:
  438.         {
  439.             if(!response)
  440.             {
  441.                 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!",">>","");
  442.             }
  443.             else
  444.             {
  445.                 if(!strlen(inputtext))
  446.                 {
  447.                     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!",">>","");
  448.                 }
  449.                 else
  450.                 {
  451.                     new INI:File = INI_Open(UserPath(playerid));
  452.                     INI_SetTag(File, "data");
  453.                     INI_WriteString(File, "Origin", inputtext);
  454.                     INI_Close(File);
  455.                     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");
  456.                 }
  457.                 return 1;
  458.             }
  459.         }
  460.         case D_RC_Gender:
  461.         {
  462.             if(!response)
  463.             {
  464.                 new INI:File = INI_Open(UserPath(playerid));
  465.                 INI_SetTag(File, "data");
  466.                 INI_WriteString(File, "Gender", "Female");
  467.                 INI_Close(File);
  468.                 new strca[3000];
  469.                 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");
  470.                 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");
  471.                 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");
  472.                 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");
  473.                 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");
  474.                 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");
  475.                 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");
  476.                 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");
  477.                 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");
  478.                 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");
  479.                 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");
  480.                 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");
  481.                 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");
  482.                 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");
  483.                 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)");
  484.                 ShowPlayerDialog(playerid, D_R_Rules, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Rules",strca,"Accept rules","");
  485.             }
  486.             else
  487.             {
  488.                 new INI:File = INI_Open(UserPath(playerid));
  489.                 INI_SetTag(File, "data");
  490.                 INI_WriteString(File, "Gender", "Male");
  491.                 INI_Close(File);
  492.                 new strca[3000];
  493.                 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");
  494.                 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");
  495.                 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");
  496.                 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");
  497.                 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");
  498.                 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");
  499.                 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");
  500.                 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");
  501.                 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");
  502.                 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");
  503.                 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");
  504.                 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");
  505.                 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");
  506.                 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");
  507.                 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)");
  508.                 ShowPlayerDialog(playerid, D_R_Rules, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Rules",strca,"Accept rules","");
  509.                 return 1;
  510.             }
  511.         }
  512.         case D_R_Rules:
  513.         {
  514.             if(response)
  515.             {
  516.                 TogglePlayerSpectating(playerid, 0);
  517.                 if(strcmp(U_Stats[playerid][pGender], "Female")){
  518.                 U_Stats[playerid][pSkin] = 17;}
  519.                 else {
  520.                 U_Stats[playerid][pSkin] = 93;}
  521.                 SetSpawnInfo(playerid, 0, 17, 1743.1300, -1861.9683, 13.5769, 359.2573, 0, 0, 0, 0, 0, 0);
  522.                 SpawnPlayer(playerid);
  523.                 GivePlayerMoney(playerid, 25000);
  524.                 SetPlayerScore(playerid, 1);
  525.                 new INI:File = INI_Open(UserPath(playerid));
  526.                 INI_SetTag(File, "data");
  527.                 INI_WriteInt(File, "Skin", 17);
  528.                 INI_WriteInt(File, "Interior", 0);
  529.                 INI_WriteInt(File, "VW", 0);
  530.                 INI_WriteFloat(File, "PositionX", 1743.1300);
  531.                 INI_WriteFloat(File, "PositionY", -1861.9683);
  532.                 INI_WriteFloat(File, "PositionZ", 13.5769);
  533.                 INI_WriteInt(File, "Money", 25000);
  534.                 INI_WriteInt(File, "Level", 1);
  535.                 INI_WriteInt(File, "Job1", 0);
  536.                 INI_WriteInt(File, "Job2", 0);
  537.                 INI_WriteInt(File, "Flags", 0);
  538.                 INI_WriteInt(File, "Banned", 0);
  539.                 INI_WriteString(File, "BanBy", "0");
  540.                 INI_WriteString(File, "BanReason", "0");
  541.                 new plrIP[16];
  542.                 GetPlayerIp(playerid, plrIP, sizeof(plrIP));
  543.                 INI_WriteString(File, "RegIP", plrIP);
  544.                 INI_WriteString(File, "LastIP", plrIP);
  545.                 INI_WriteInt(File, "Faction", -1);
  546.                 INI_WriteInt(File, "Rank", 0);
  547.                 INI_WriteFloat(File, "Health", 100.0);
  548.                 INI_WriteFloat(File, "Armour", 0.0);
  549.                 INI_WriteInt(File, "HealthCare", 0);
  550.                 INI_WriteInt(File, "Prisonnier", 0);
  551.                 INI_WriteInt(File, "PrisonTime", 0);
  552.                 INI_Close(File);
  553.                 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)!");
  554.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"NCRP"COLOR_White_a"] You may use /o(oc)c(hat) to chat globaly.");
  555.                 new message[255];
  556.                 format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"NCRP"COLOR_White_a"] Welcome our newest user %s to NCRP!", GetRPName(playerid));
  557.                 SendClientMessageToAll(-1, message);
  558.                 return 1;
  559.             }
  560.         }
  561.         case D_EmploymentAgencyDash:
  562.         {
  563.             switch(listitem)
  564.             {
  565.                 case 0:
  566.                 {
  567.                     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);
  568.                     ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Man says: You will transport a package from the bank to stores.",-1);
  569.                     ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Man says: Go behind the bank and enter the back door to get your stuff.",-1);
  570.                     U_Stats[playerid][pJob1] = 1;
  571.                 }
  572.             }
  573.         }
  574.  
  575.         case D_ChuffLocker:
  576.         {
  577.             switch(listitem)
  578.             {
  579.                 case 0:
  580.                 {
  581.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  582.                     {
  583.                         new string[128];
  584.                         format(string, sizeof(string), "** %s grabs their Chuff Security Key as she unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  585.                         ProxDetector(15, playerid, string, COLOR_Purple);
  586.                         SetPlayerSkin(playerid, 306);
  587.                     }
  588.                     else
  589.                     {
  590.                         new string[128];
  591.                         format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  592.                         ProxDetector(15, playerid, string, COLOR_Purple);
  593.                         SetPlayerSkin(playerid, 71);
  594.                     }
  595.                 }
  596.  
  597.                 case 1:
  598.                 {
  599.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  600.                     {
  601.                         new string[128];
  602.                         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));
  603.                         ProxDetector(15, playerid, string, COLOR_Purple);
  604.                         SetPlayerArmour(playerid, 100.0);
  605.                     }
  606.                     else
  607.                     {
  608.                         new string[128];
  609.                         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));
  610.                         ProxDetector(15, playerid, string, COLOR_Purple);
  611.                         SetPlayerArmour(playerid, 100.0);
  612.                     }
  613.                 }
  614.  
  615.                 case 2:
  616.                 {
  617.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  618.                     {
  619.                         new string[128];
  620.                         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));
  621.                         ProxDetector(15, playerid, string, COLOR_Purple);
  622.                     }
  623.                     else
  624.                     {
  625.                         new string[128];
  626.                         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));
  627.                         ProxDetector(15, playerid, string, COLOR_Purple);
  628.                     }
  629.                     GivePlayerWeapon(playerid, 22, 48);
  630.                 }
  631.             }
  632.         }
  633.         case D_LAFMDLocker:
  634.         {
  635.             switch(listitem)
  636.             {
  637.                 case 0:
  638.                 {
  639.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  640.                     {
  641.                         new string[128];
  642.                         format(string, sizeof(string), "** %s grabs their LAFMD Key as she unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  643.                         ProxDetector(15, playerid, string, COLOR_Purple);
  644.                         SetPlayerSkin(playerid, 308);
  645.                     }
  646.                     else
  647.                     {
  648.                         new string[128];
  649.                         format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  650.                         ProxDetector(15, playerid, string, COLOR_Purple);
  651.                         SetPlayerSkin(playerid, 277);
  652.                     }
  653.                 }
  654.  
  655.                 case 1:
  656.                 {
  657.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  658.                     {
  659.                         new string[128];
  660.                         format(string, sizeof(string), "** %s grabs their LAFMD Key as she unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  661.                         ProxDetector(15, playerid, string, COLOR_Purple);
  662.                         SetPlayerSkin(playerid, 308);
  663.                     }
  664.                     else
  665.                     {
  666.                         new string[128];
  667.                         format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  668.                         ProxDetector(15, playerid, string, COLOR_Purple);
  669.                         SetPlayerSkin(playerid, 275);
  670.                     }
  671.                 }
  672.  
  673.                 case 2:
  674.                 {
  675.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  676.                     {
  677.                         new string[128];
  678.                         format(string, sizeof(string), "** %s grabs their Chuff Security Key as she unlocks the locker, grabbing their equipments and shuts the locker.", GetRPName(playerid));
  679.                         ProxDetector(15, playerid, string, COLOR_Purple);
  680.                     }
  681.                     else
  682.                     {
  683.                         new string[128];
  684.                         format(string, sizeof(string), "** %s grabs their Chuff Security Key as he unlocks the locker, grabbing their equipments and shuts the locker.", GetRPName(playerid));
  685.                         ProxDetector(15, playerid, string, COLOR_Purple);
  686.                     }
  687.                     GivePlayerWeapon(playerid, 9, 48);
  688.                     GivePlayerWeapon(playerid, 42, 400000);
  689.                     GivePlayerWeapon(playerid, 46, 400000);
  690.                 }
  691.             }
  692.         }
  693.         case D_Commands:
  694.         {
  695.             switch(listitem)
  696.             {
  697.                 case 0:
  698.                 {
  699.                     new strca[3000];
  700.                     strcat(strca, ""COLOR_White_a"General: /stats | /time | /admins | /gps | /ead | /healthcare | /help\n");
  701.                     strcat(strca, ""COLOR_White_a"General: /enter | /exit | /car | \n");
  702.                     ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
  703.                 }
  704.                 case 1:
  705.                 {
  706.                     new strca[3000];
  707.                     strcat(strca, ""COLOR_White_a"Chats: /og | /mm | /am | /w | /s | /do | /me\n");
  708.                     strcat(strca, ""COLOR_White_a"Chats: /enter | /exit | /car | \n");
  709.                     ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
  710.                 }
  711.                 case 2:
  712.                 {
  713.                     new strca[3000];
  714.                     strcat(strca, ""COLOR_White_a"LAPD: /arrest | /cuff | /tazer | /drag | /detain | /siren | /locker | /mdc\n");
  715.                     strcat(strca, ""COLOR_White_a"LAPD: /computer | /r | /d | /trace\n");
  716.                     strcat(strca, ""COLOR_White_a"LAFMD: /locker | /r | /d | /cuff | /tazer");
  717.                     ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
  718.                 }
  719.                 case 3:
  720.                 {
  721.                     new strca[3000];
  722.                     strcat(strca, ""COLOR_White_a"Administrator: /avehicle | /adestroy | /atp | /askin | /aengine\n");
  723.                     ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_MSGBOX,""COLOR_LightBlue_a"New City Roleplay"COLOR_White_a": Commands",strca,"Choose","Back");
  724.                 }
  725.             }
  726.             if(!response)
  727.             {
  728.                 ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Employment Agency"COLOR_White_a": Commands", "General\nChats\nFaction\nAdministrator", "Choose","Back");
  729.             }
  730.         }
  731.         case D_LAPDLocker:
  732.         {
  733.             switch(listitem)
  734.             {
  735.                 case 0:
  736.                 {
  737.                     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");
  738.                 }
  739.  
  740.                 case 1:
  741.                 {
  742.                     if(!strcmp("Female", U_Stats[playerid][pGender]))
  743.                     {
  744.                         new string[128];
  745.                         format(string, sizeof(string), "** %s grabs their LAPD Key as she unlocks the locker, grabbing their Bulletproof Vest and shuts the locker.", GetRPName(playerid));
  746.                         ProxDetector(15, playerid, string, COLOR_Purple);
  747.                         SetPlayerArmour(playerid, 100.0);
  748.                     }
  749.                     else
  750.                     {
  751.                         new string[128];
  752.                         format(string, sizeof(string), "** %s grabs their LAPD Key as he unlocks the locker, grabbing their Bulletproof Vest and shuts the locker.", GetRPName(playerid));
  753.                         ProxDetector(15, playerid, string, COLOR_Purple);
  754.                         SetPlayerArmour(playerid, 100.0);
  755.                     }
  756.                 }
  757.  
  758.                 case 2:
  759.                 {
  760.                     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");
  761.                 }
  762.             }
  763.         }
  764.         case D_LAPDFirearms:
  765.         {
  766.             switch(listitem)
  767.             {
  768.                 case 0:
  769.                 {
  770.                     new string[128];
  771.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their Beretta 92F and shuts the locker.", GetRPName(playerid));
  772.                     ProxDetector(15, playerid, string, COLOR_Purple);
  773.                     GivePlayerWeapon(playerid, 24, 99999999);
  774.                 }
  775.  
  776.                 case 1:
  777.                 {
  778.                     new string[128];
  779.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their Benelli M1 and shuts the locker.", GetRPName(playerid));
  780.                     ProxDetector(15, playerid, string, COLOR_Purple);
  781.                     GivePlayerWeapon(playerid, 25, 99999999);
  782.                 }
  783.  
  784.                 case 2:
  785.                 {
  786.                     new string[128];
  787.                     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));
  788.                     ProxDetector(15, playerid, string, COLOR_Purple);
  789.                     GivePlayerWeapon(playerid, 29, 99999999);
  790.                 }
  791.  
  792.                 case 3:
  793.                 {
  794.                     new string[128];
  795.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their M4A1 and shuts the locker.", GetRPName(playerid));
  796.                     ProxDetector(15, playerid, string, COLOR_Purple);
  797.                     GivePlayerWeapon(playerid, 31, 99999999);
  798.                 }
  799.  
  800.                 case 4:
  801.                 {
  802.                     new string[128];
  803.                     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));
  804.                     ProxDetector(15, playerid, string, COLOR_Purple);
  805.                     GivePlayerWeapon(playerid, 3, 99999999);
  806.                 }
  807.             }
  808.         }
  809.         case D_LAPDClothes:
  810.         {
  811.             switch(listitem)
  812.             {
  813.                 case 0:
  814.                 {
  815.                     new string[128];
  816.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  817.                     ProxDetector(15, playerid, string, COLOR_Purple);
  818.                     SetPlayerSkin(playerid, 71);
  819.                 }
  820.  
  821.                 case 1:
  822.                 {
  823.                     new string[128];
  824.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  825.                     ProxDetector(15, playerid, string, COLOR_Purple);
  826.                     SetPlayerSkin(playerid, 265);
  827.                 }
  828.  
  829.                 case 2:
  830.                 {
  831.                     new string[128];
  832.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  833.                     ProxDetector(15, playerid, string, COLOR_Purple);
  834.                     SetPlayerSkin(playerid, 266);
  835.                 }
  836.  
  837.                 case 3:
  838.                 {
  839.                     new string[128];
  840.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  841.                     ProxDetector(15, playerid, string, COLOR_Purple);
  842.                     SetPlayerSkin(playerid, 306);
  843.                 }
  844.  
  845.                 case 4:
  846.                 {
  847.                     new string[128];
  848.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  849.                     ProxDetector(15, playerid, string, COLOR_Purple);
  850.                     SetPlayerSkin(playerid, 309);
  851.                 }
  852.                 case 5:
  853.                 {
  854.                     new string[128];
  855.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  856.                     ProxDetector(15, playerid, string, COLOR_Purple);
  857.                     SetPlayerSkin(playerid, 292);
  858.                 }
  859.                 case 6:
  860.                 {
  861.                     new string[128];
  862.                     format(string, sizeof(string), "** %s grabs their LAPD Key as they unlocks the locker, grabbing their uniform and shuts the locker.", GetRPName(playerid));
  863.                     ProxDetector(15, playerid, string, COLOR_Purple);
  864.                     SetPlayerSkin(playerid, 93);
  865.                 }
  866.             }
  867.         }
  868.     }
  869.     return 1;
  870. }
  871.  
  872. stock ProxDetector(Float:radi, playerid, string[],color)
  873. {
  874.     new Float:x,Float:y,Float:z;
  875.     GetPlayerPos(playerid,x,y,z);
  876.     for(new i = 0; i < MAX_PLAYERS; i++)
  877.     {
  878.         if(!IsPlayerConnected(playerid))continue;
  879.         if(IsPlayerInRangeOfPoint(i,radi,x,y,z))SendClientMessage(i,color,string);
  880.     }
  881. }
  882.  
  883. public OnPlayerDisconnect(playerid, reason)
  884. {
  885.     new INI:File = INI_Open(UserPath(playerid));
  886.     INI_SetTag(File, "data");
  887.     INI_WriteInt(File, "Skin", GetPlayerSkin(playerid));
  888.     INI_WriteInt(File, "Interior", GetPlayerInterior(playerid));
  889.     INI_WriteInt(File, "VW", GetPlayerVirtualWorld(playerid));
  890.     new Float:x, Float:y, Float:z;
  891.     GetPlayerPos(playerid, x, y, z);
  892.     INI_WriteFloat(File, "PositionX", x);
  893.     INI_WriteFloat(File, "PositionY", y);
  894.     INI_WriteFloat(File, "PositionZ", z);
  895.     INI_WriteInt(File, "Money", GetPlayerMoney(playerid));
  896.     INI_WriteInt(File, "Level", GetPlayerScore(playerid));
  897.     INI_WriteInt(File, "Job1", U_Stats[playerid][pJob1]);
  898.     INI_WriteInt(File, "Job2", U_Stats[playerid][pJob2]);
  899.     INI_WriteInt(File, "Flags", U_Stats[playerid][pFlags]);
  900.     INI_WriteInt(File, "Banned", U_Stats[playerid][pBanned]);
  901.     INI_WriteString(File, "BanBy", U_Stats[playerid][pBanBy]);
  902.     INI_WriteString(File, "BanReason", U_Stats[playerid][pBanReason]);
  903.     new plrIP[16];
  904.     GetPlayerIp(playerid, plrIP, sizeof(plrIP));
  905.     INI_WriteString(File, "LastIP", plrIP);
  906.     INI_WriteInt(File, "Faction", U_Stats[playerid][pFaction]);
  907.     INI_WriteInt(File, "Rank", U_Stats[playerid][pRank]);
  908.     INI_WriteInt(File, "HealthCare", U_Stats[playerid][pHealthCare]);
  909.     INI_Close(File);
  910.     return 1;
  911. }
  912.  
  913. public OnPlayerUpdate(playerid)
  914. {
  915.     new Float:armour;
  916.     GetPlayerArmour(playerid, armour);
  917.     if(armour > 1.0)
  918.     {
  919.         SetPlayerAttachedObject(playerid,1,19142,1,0.01,0.05,0.00,0.0,0.0,0.0,1.20,1.26,1.00);
  920.     }
  921.     else
  922.     {
  923.         RemovePlayerAttachedObject(playerid, 1);
  924.     }
  925.     return 1;
  926. }
  927.  
  928. forward OnPlayerConnectCamera(playerid);
  929. public OnPlayerConnectCamera(playerid)
  930. {
  931.     TogglePlayerSpectating(playerid, 1);
  932.     switch(random(5))
  933.     {
  934.         case 0:
  935.         {
  936.             InterpolateCameraPos(playerid,1006.8538, 282.1343, 85.7583, 1006.8538, 282.1343, 85.7583, 1000, CAMERA_CUT);
  937.             InterpolateCameraLookAt(playerid, 1007.8502, 282.1040, 85.5879, 1007.8502, 282.1040, 85.5879, 1000, CAMERA_CUT);
  938.         }
  939.         case 1:
  940.         {
  941.             InterpolateCameraPos(playerid,646.6002, -594.4451, 15.9723, 646.6002, -594.4451, 15.9723, 1000, CAMERA_CUT);
  942.             InterpolateCameraLookAt(playerid,646.9472, -593.6812, 16.1468, 645.9472, -593.6812, 16.1468, 1000, CAMERA_CUT);
  943.         }
  944.         case 2:
  945.         {
  946.             InterpolateCameraPos(playerid, 651.7802, -494.6155, 30.2279, 651.7802, -494.6155, 30.2279, 1000, CAMERA_CUT);
  947.             InterpolateCameraLookAt(playerid, 652.5730, -493.9993, 29.9173, 652.5730, -493.9993, 29.9173, 1000, CAMERA_CUT);
  948.         }
  949.         case 3:
  950.         {
  951.             InterpolateCameraPos(playerid, 187.5941, -217.7278, 1.9320, 187.5941, -217.7278, 1.9320, 1000, CAMERA_CUT);
  952.             InterpolateCameraLookAt(playerid, 188.3079, -217.0226, 2.0968, 188.3079, -217.0226, 2.0968, 1000, CAMERA_CUT);
  953.         }
  954.         default:
  955.         {
  956.             InterpolateCameraPos(playerid, 94.6793, -215.7012, 3.1615, 94.6793, -215.7012, 3.1615, 1000, CAMERA_CUT);
  957.             InterpolateCameraLookAt(playerid, 94.1885, -216.5767, 3.2614, 94.1885, -216.5767, 3.2614, 1000, CAMERA_CUT);
  958.         }
  959.     }
  960.     return 1;
  961. }
  962.  
  963. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  964. {
  965.     for(new i = 0; i < MAX_PLAYERS; i++)
  966.     {
  967.         if(vehicleid == pAdminVeh[i])
  968.         {
  969.             if(U_Stats[playerid][pLevel] < 12)
  970.             {
  971.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] This is an admin vehicle.");
  972.                 SetVehicleParamsForPlayer(pAdminVeh[i], playerid, 1, 1);
  973.             }
  974.         }
  975.     }
  976.     if(vehicleid == 4 || vehicleid == 5 || vehicleid == 6 || vehicleid == 7 || vehicleid == 8 || vehicleid == 9)
  977.     {
  978.         if(ispassenger == 0)
  979.         {
  980.             new engine, lights, alarm, doors, bonnet, boot, objective;
  981.             GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
  982.             if(engine == 0)
  983.             {
  984.                 if(U_Stats[playerid][pJob1] == 1)
  985.                 {
  986.                     SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Chuff Co.");
  987.                 }
  988.             }
  989.         }
  990.     }
  991.     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)
  992.     {
  993.         if(U_Stats[playerid][pFaction] == 0)
  994.         {
  995.             SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Los Angeles Police Department.");
  996.         }
  997.     }
  998.     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)
  999.     {
  1000.         if(U_Stats[playerid][pFaction] == 0)
  1001.         {
  1002.             SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Los Angeles Police Department.");
  1003.         }
  1004.     }
  1005.     else if(GetPlayerVehicleID(playerid) > 10 && GetPlayerVehicleID(playerid) < 22)
  1006.     {
  1007.         if(GetPlayerVehicleSeat(playerid) == 0)
  1008.         {
  1009.             if(U_Stats[playerid][pFaction] == 1)
  1010.             {
  1011.                 SendClientMessage(playerid, -1, ""COLOR_White_a"You have the keys for this vehicle by Los Angeles Fire and Medicial Department.");
  1012.             }
  1013.         }
  1014.     }
  1015.     return 1;
  1016. }
  1017.  
  1018. new VehicleNames[][] =
  1019. {
  1020.     "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel", "Dumper", "Firetruck", "Trashmaster",
  1021.     "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam",
  1022.     "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection", "Hunter", "Premier", "Enforcer",
  1023.     "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach",
  1024.     "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", "Seasparrow",
  1025.     "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy", "Solair",
  1026.     "Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic",
  1027.     "Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton",
  1028.     "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick", "News Chopper", "Rancher",
  1029.     "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking", "Blista Compact", "Police Maverick",
  1030.     "Boxvillde", "Benson", "Mesa", "RC Goblin", "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher",
  1031.     "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster", "Stunt", "Tanker", "Roadtrain",
  1032.     "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck",
  1033.     "Fortune", "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer", "Remington", "Slamvan",
  1034.     "Blade", "Freight", "Streak", "Vortex", "Vincent", "Bullet", "Clover", "Sadler", "Firetruck", "Hustler", "Intruder",
  1035.     "Primo", "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite", "Windsor", "Monster", "Monster",
  1036.     "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito",
  1037.     "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune", "Sweeper", "Broadway", "Tornado", "AT-400", "DFT-30",
  1038.     "Huntley", "Stafford", "BF-400", "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club",
  1039.     "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car", "Police Car", "Police Car",
  1040.     "Police Ranger", "Picador", "S.W.A.T", "Alpha", "Phoenix", "Glendale", "Sadler", "Luggage", "Luggage", "Stairs",
  1041.     "Boxville", "Tiller", "Utility Trailer"
  1042. };
  1043.  
  1044.  
  1045. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  1046. {
  1047.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.0, 1081.2261, -1697.9417, 13.5469)) // employment agency - enter
  1048.     {
  1049.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1050.         TogglePlayerControllable(playerid, 0);
  1051.         SetPlayerPos(playerid, 384.808624, 173.804992, 1008.382812);
  1052.         SetPlayerInterior(playerid, 3);
  1053.         SetTimerEx("EE", 1750, false, "i", playerid);
  1054.         return 1;
  1055.     }
  1056.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.0, 1434.4867, -968.4231, 37.3875)) // employment agency - enter
  1057.     {
  1058.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1059.         TogglePlayerControllable(playerid, 0);
  1060.         SetPlayerPos(playerid, 322.197998, 302.497985, 999.148437);
  1061.         SetPlayerInterior(playerid, 5);
  1062.         SetTimerEx("EE", 1750, false, "i", playerid);
  1063.         return 1;
  1064.     }
  1065.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 387.2391, 173.7334, 1008.382812)) // employment agency - exit
  1066.     {
  1067.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1068.         TogglePlayerControllable(playerid, 0);
  1069.         SetPlayerPos(playerid, 1081.2261, -1697.9417, 13.5469);
  1070.         SetPlayerInterior(playerid, 0);
  1071.         SetTimerEx("EE", 1750, false, "i", playerid);
  1072.         return 1;
  1073.     }
  1074.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 322.197998, 302.497985, 999.148437)) // employment agency - exit
  1075.     {
  1076.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1077.         TogglePlayerControllable(playerid, 0);
  1078.         SetPlayerPos(playerid, 1434.4867, -968.4231, 37.3875);
  1079.         SetPlayerInterior(playerid, 0);
  1080.         SetTimerEx("EE", 1750, false, "i", playerid);
  1081.         return 1;
  1082.     }
  1083.  
  1084.     /*LAFD Enter*/
  1085.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1802.9580, -1771.9418, 14.0222)) // employment agency - exit
  1086.     {
  1087.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1088.         TogglePlayerControllable(playerid, 0);
  1089.         SetPlayerPos(playerid, 1976.3857, 1163.5022, -5.2087);
  1090.         SetPlayerInterior(playerid, 1);
  1091.         SetTimerEx("EE", 1750, false, "i", playerid);
  1092.         return 1;
  1093.     }
  1094.     /*LAFD Exit*/
  1095.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1976.3857, 1163.5022, -5.2087)) // employment agency - exit
  1096.     {
  1097.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1098.         TogglePlayerControllable(playerid, 0);
  1099.         SetPlayerPos(playerid, 1802.9580, -1771.9418, 14.0222);
  1100.         SetPlayerInterior(playerid, 0);
  1101.         SetTimerEx("EE", 1750, false, "i", playerid);
  1102.         return 1;
  1103.     }
  1104.  
  1105.     /*LAPD Enter*/
  1106.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1555.5000, -1675.7068, 16.1953)) // employment agency - exit
  1107.     {
  1108.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1109.         TogglePlayerControllable(playerid, 0);
  1110.         SetPlayerPos(playerid, 246.783996, 63.900199, 1003.640625);
  1111.         SetPlayerInterior(playerid, 6);
  1112.         SetTimerEx("EE", 1750, false, "i", playerid);
  1113.         return 1;
  1114.     }
  1115.     /*LAPD Exit*/
  1116.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 246.783996, 63.900199, 1003.640625)) // employment agency - exit
  1117.     {
  1118.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1119.         TogglePlayerControllable(playerid, 0);
  1120.         SetPlayerPos(playerid, 1555.5000, -1675.7068, 16.1953);
  1121.         SetPlayerInterior(playerid, 0);
  1122.         SetTimerEx("EE", 1750, false, "i", playerid);
  1123.         return 1;
  1124.     }
  1125.     /*LAPD Garage Enter*/
  1126.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 246.4677, 88.0083, 1003.6406)) // employment agency - exit
  1127.     {
  1128.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1129.         TogglePlayerControllable(playerid, 0);
  1130.         SetPlayerPos(playerid, 1568.5713, -1689.9702, 6.2188);
  1131.         SetPlayerInterior(playerid, 0);
  1132.         SetTimerEx("EE", 1750, false, "i", playerid);
  1133.     }
  1134.  
  1135.     /*LAPD Garage exit*/
  1136.     if((newkeys == KEY_SECONDARY_ATTACK) && (oldkeys == 0) && IsPlayerInRangeOfPoint(playerid, 2.25, 1568.5713, -1689.9702, 6.2188)) // employment agency - exit
  1137.     {
  1138.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1139.         TogglePlayerControllable(playerid, 0);
  1140.         SetPlayerPos(playerid, 246.4677,88.0083,1003.6406);
  1141.         SetPlayerInterior(playerid, 6);
  1142.         SetTimerEx("EE", 1750, false, "i", playerid);
  1143.     }
  1144.     return 1;
  1145. }
  1146.  
  1147. forward EE(playerid);
  1148. public EE(playerid)
  1149. {
  1150.     TogglePlayerControllable(playerid, 1);
  1151. }
  1152. new Float:injx, Float:injy, Float:injz;
  1153. new Injureds[MAX_PLAYERS];
  1154. new Injured2s[MAX_PLAYERS];
  1155. public OnPlayerDeath(playerid, killerid, reason)
  1156. {
  1157.     GetPlayerPos(playerid, injx, injy, injz);
  1158.     Injureds[playerid] = SetTimerEx("Injured", 1750, false, "i", playerid);
  1159.     return 1;
  1160. }
  1161.  
  1162. forward Injured(playerid);
  1163. public Injured(playerid)
  1164. {
  1165.     SetPlayerHealth(playerid, 100.0);
  1166.     SetPlayerPos(playerid, injx, injy, injz);
  1167.     GameTextForPlayer(playerid, "~r~Injured~n~~w~Use /service EMS", 70000, 3);
  1168.     SetPlayerDrunkLevel (playerid, 4999);
  1169.     Injured2s[playerid] = SetTimerEx("Injured2", 1000, true, "i", playerid);
  1170.     return 1;
  1171. }
  1172.  
  1173. forward Injured2(playerid);
  1174. public Injured2(playerid)
  1175. {
  1176.     ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
  1177.     new Float:health;
  1178.     GetPlayerHealth(playerid, health);
  1179.     SetPlayerHealth(playerid, health - 3);
  1180.     if(health <= 10.0)
  1181.     {
  1182.         SetPlayerHealth(playerid, 100.0);
  1183.         SetPlayerDrunkLevel (playerid, 0);
  1184.         ApplyAnimation(playerid,"CRACK","crckidle2",1,0,0, 0,0,0);
  1185.         SetPlayerPos(playerid, 1953.7771, 1166.1490, -4.6479);
  1186.         SetPlayerFacingAngle(playerid, 272.4659);
  1187.         TogglePlayerControllable(playerid, 0);
  1188.         GameTextForPlayer(playerid, "Recovering..", 3500, 6);
  1189.         SetTimerEx("recovering", 3500, false, "i", playerid);
  1190.         KillTimer(Injureds[playerid]);
  1191.         KillTimer(Injured2s[playerid]);
  1192.     }
  1193.     return 1;
  1194. }
  1195.  
  1196. forward recovering(playerid);
  1197. public recovering(playerid)
  1198. {
  1199.     GameTextForPlayer(playerid, "Recovered!", 0750, 6);
  1200.     TogglePlayerControllable(playerid, 1);
  1201.     ClearAnimations(playerid);
  1202.     return 1;
  1203. }
  1204.  
  1205. /*- Start of: Normal Commands -*/
  1206. /*--- enter ---*/
  1207.  
  1208. CMD:commands(playerid)
  1209. {
  1210.     ShowPlayerDialog(playerid, D_Commands, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Employment Agency"COLOR_White_a": Commands", "General\nChats\nFaction\nAdministrator", "Choose","Back");
  1211.     return 1;
  1212. }
  1213.  
  1214. CMD:og(playerid, params[])
  1215. {
  1216.     new text[128];
  1217.     if(sscanf(params, "s", text))
  1218.     {
  1219.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You forgot to insert a message.");
  1220.     }
  1221.     else
  1222.     {
  1223.         if(og == 1)
  1224.         {
  1225.             if(GetPlayerScore(playerid) > 13)
  1226.             {
  1227.                 new string[2555];
  1228.                 format(string, sizeof(string), "(([OOC Chat] Administrator %s: %s ))", GetRPName(playerid), text);
  1229.                 SendClientMessageToAll(0x55BEE0FF, string);
  1230.             }
  1231.             else
  1232.             {
  1233.                 new string[2555];
  1234.                 format(string, sizeof(string), "(([OOC Chat] %s: %s ))", GetRPName(playerid), text);
  1235.                 SendClientMessageToAll(0x55BEE0FF, string);
  1236.             }
  1237.         }
  1238.         else
  1239.         {
  1240.             SendClientMessage(playerid, 0x55BEE0FF, "(( The OOC Channel has been disabled by an admin. ))");
  1241.         }
  1242.     }
  1243.     return 1;
  1244. }
  1245.  
  1246. CMD:enter(playerid)
  1247. {
  1248.     if(IsPlayerInRangeOfPoint(playerid, 12.5, 1081.2261, -1697.9417, 13.5469))
  1249.     {
  1250.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1251.         TogglePlayerControllable(playerid, 0);
  1252.         SetPlayerPos(playerid, 384.808624, 173.804992, 1008.382812);
  1253.         SetPlayerInterior(playerid, 3);
  1254.         SetTimerEx("EE", 1750, false, "i", playerid);
  1255.     }
  1256.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1434.4867, -968.4231, 37.3875))
  1257.     {
  1258.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1259.         TogglePlayerControllable(playerid, 0);
  1260.         SetPlayerPos(playerid, 322.197998, 302.497985, 999.148437);
  1261.         SetPlayerInterior(playerid, 5);
  1262.         SetTimerEx("EE", 1750, false, "i", playerid);
  1263.     }
  1264.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1802.9580, -1771.9418, 14.0222))
  1265.     {
  1266.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1267.         TogglePlayerControllable(playerid, 0);
  1268.         SetPlayerPos(playerid, 1976.3857, 1163.5022, -5.2087);
  1269.         SetPlayerInterior(playerid, 1);
  1270.         SetTimerEx("EE", 1750, false, "i", playerid);
  1271.     }
  1272.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1555.5000, -1675.7068, 16.1953))
  1273.     {
  1274.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1275.         TogglePlayerControllable(playerid, 0);
  1276.         SetPlayerPos(playerid, 246.783996, 63.900199, 1003.640625);
  1277.         SetPlayerInterior(playerid, 6);
  1278.         SetTimerEx("EE", 1750, false, "i", playerid);
  1279.     }
  1280.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 246.4677, 88.0083, 1003.6406))
  1281.     {
  1282.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1283.         TogglePlayerControllable(playerid, 0);
  1284.         SetPlayerPos(playerid, 1568.5713, -1689.9702, 6.2188);
  1285.         SetPlayerInterior(playerid, 0);
  1286.         SetTimerEx("EE", 1750, false, "i", playerid);
  1287.     }
  1288.     return 1;
  1289. }
  1290. /*--- exit ---*/
  1291. CMD:exit(playerid)
  1292. {
  1293.     if(IsPlayerInRangeOfPoint(playerid, 12.5, 384.808624, 173.804992, 1008.382812))
  1294.     {
  1295.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1296.         TogglePlayerControllable(playerid, 0);
  1297.         SetPlayerPos(playerid, 1081.2261, -1697.9417, 13.5469);
  1298.         SetPlayerInterior(playerid, 0);
  1299.         SetTimerEx("EE", 1750, false, "i", playerid);
  1300.     }
  1301.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 322.197998, 302.497985, 999.148437))
  1302.     {
  1303.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1304.         TogglePlayerControllable(playerid, 0);
  1305.         SetPlayerPos(playerid, 1434.4867, -968.4231, 37.3875);
  1306.         SetPlayerInterior(playerid, 0);
  1307.         SetTimerEx("EE", 1750, false, "i", playerid);
  1308.     }
  1309.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1976.3857, 1163.5022, -5.2087))
  1310.     {
  1311.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1312.         TogglePlayerControllable(playerid, 0);
  1313.         SetPlayerPos(playerid, 1802.9580, -1771.9418, 14.0222);
  1314.         SetPlayerInterior(playerid, 0);
  1315.         SetTimerEx("EE", 1750, false, "i", playerid);
  1316.     }
  1317.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 246.783996, 63.900199, 1003.640625))
  1318.     {
  1319.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1320.         TogglePlayerControllable(playerid, 0);
  1321.         SetPlayerPos(playerid, 1555.5000, -1675.7068, 16.1953);
  1322.         SetPlayerInterior(playerid, 0);
  1323.         SetTimerEx("EE", 1750, false, "i", playerid);
  1324.     }
  1325.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1568.5713, -1689.9702, 6.2188))
  1326.     {
  1327.         GameTextForPlayer(playerid, "Loading objects..", 1750, 6);
  1328.         TogglePlayerControllable(playerid, 0);
  1329.         SetPlayerPos(playerid, 246.4677, 88.0083, 1003.6406);
  1330.         SetPlayerInterior(playerid, 6);
  1331.         SetTimerEx("EE", 1750, false, "i", playerid);
  1332.     }
  1333.     return 1;
  1334. }
  1335. /*--- ead ---*/
  1336. CMD:ead(playerid)
  1337. {
  1338.     if(IsPlayerInRangeOfPoint(playerid, 12.5, 361.9746, 173.7579, 1008.3828))
  1339.     {
  1340.         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");
  1341.     }
  1342.     return 1;
  1343. }
  1344. /*--- locker ---*/
  1345. CMD:locker(playerid)
  1346. {
  1347.     if(IsPlayerInRangeOfPoint(playerid, 12.5, 327.2328,307.1811,999.1484))
  1348.     {
  1349.         if(U_Stats[playerid][pJob1] == 1)
  1350.         {
  1351.             ShowPlayerDialog(playerid, D_ChuffLocker, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"Chuff Driver"COLOR_White_a": Locker", "Clothes\nVest\nFirearm", "Choose", "Close");
  1352.         }
  1353.         else
  1354.         {
  1355.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
  1356.         }
  1357.     }
  1358.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 1967.2889, 1154.5425, -5.2087))
  1359.     {
  1360.         LAFMDLocker(playerid);
  1361.     }
  1362.     else if(IsPlayerInRangeOfPoint(playerid, 12.5, 255.3864, 77.3311, 1003.6406))
  1363.     {
  1364.         LAPDLocker(playerid);
  1365.     }
  1366.     return 1;
  1367. }
  1368. /*--- me ---*/
  1369. CMD:me(playerid, params[])
  1370. {
  1371.     new text[128];
  1372.     if(sscanf(params, "s", text))
  1373.     {
  1374.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You forgot to insert an action.");
  1375.     }
  1376.     else
  1377.     {
  1378.         new string[128];
  1379.         format(string, sizeof(string), "* %s %s", GetRPName(playerid), text);
  1380.         ProxDetector(15, playerid, string, COLOR_Purple);
  1381.     }
  1382.     return 1;
  1383. }
  1384. /*--- do ---*/
  1385. CMD:do(playerid, params[])
  1386. {
  1387.     new text[128];
  1388.     if(sscanf(params, "s", text))
  1389.     {
  1390.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You forgot to insert an action.");
  1391.     }
  1392.     else
  1393.     {
  1394.         new string[128];
  1395.         format(string, sizeof(string), "* %s (( %s ))", text, GetRPName(playerid));
  1396.         ProxDetector(15, playerid, string, COLOR_Purple);
  1397.     }
  1398.     return 1;
  1399. }
  1400. /*--- car ---*/
  1401. CMD:car(playerid, params[])
  1402. {
  1403.     new text[128];
  1404.     if(sscanf(params, "s", text))
  1405.     {
  1406.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You forgot engine/lights/windows.");
  1407.     }
  1408.     else
  1409.     {
  1410.         new engine, lights, alarm, doors, bonnet, boot, objective;
  1411.         if(!strcmp(text, "engine"))
  1412.         {
  1413.             if(GetPlayerVehicleID(playerid) == 4 || GetPlayerVehicleID(playerid) == 5 || GetPlayerVehicleID(playerid) == 6 || GetPlayerVehicleID(playerid) == 7 || GetPlayerVehicleID(playerid) == 8 || GetPlayerVehicleID(playerid) == 9)
  1414.             {
  1415.                 if(GetPlayerVehicleSeat(playerid) == 0)
  1416.                 {
  1417.                     if(U_Stats[playerid][pJob1] == 1)
  1418.                     {
  1419.                         GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
  1420.                         if(engine == 0)
  1421.                         {
  1422.                             SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
  1423.                             new string[128];
  1424.                             format(string, sizeof(string), "** %s twists their Chuff Security key into the ignition starting it up.", GetRPName(playerid));
  1425.                             ProxDetector(15, playerid, string, COLOR_Purple);
  1426.                         }
  1427.                         else
  1428.                         {
  1429.                             SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
  1430.                             new string[128];
  1431.                             format(string, sizeof(string), "** %s twists their Chuff Security key into the ignition shutting it.", GetRPName(playerid));
  1432.                             ProxDetector(15, playerid, string, COLOR_Purple);
  1433.                         }
  1434.                     }
  1435.                     else
  1436.                     {
  1437.                         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
  1438.                     }
  1439.                 }
  1440.             }
  1441.             else if(GetPlayerVehicleID(playerid) > 21 && GetPlayerVehicleID(playerid) < 43)
  1442.             {
  1443.                 if(GetPlayerVehicleSeat(playerid) == 0)
  1444.                 {
  1445.                     if(U_Stats[playerid][pFaction] == 0)
  1446.                     {
  1447.                         GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
  1448.                         if(engine == 0)
  1449.                         {
  1450.                             SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
  1451.                             new string[128];
  1452.                             format(string, sizeof(string), "** %s twists their key into the ignition twisting it, starting the engine.", GetRPName(playerid));
  1453.                             ProxDetector(15, playerid, string, COLOR_Purple);
  1454.                         }
  1455.                         else
  1456.                         {
  1457.                             SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
  1458.                             new string[128];
  1459.                             format(string, sizeof(string), "** %s twists their key in the ignition shutting the engine off.", GetRPName(playerid));
  1460.                             ProxDetector(15, playerid, string, COLOR_Purple);
  1461.                         }
  1462.                     }
  1463.                     else
  1464.                     {
  1465.                         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
  1466.                     }
  1467.                 }
  1468.             }
  1469.             else if(GetPlayerVehicleID(playerid) > 10 && GetPlayerVehicleID(playerid) < 22)
  1470.             {
  1471.                 if(GetPlayerVehicleSeat(playerid) == 0)
  1472.                 {
  1473.                     if(U_Stats[playerid][pFaction] == 1)
  1474.                     {
  1475.                         GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
  1476.                         if(engine == 0)
  1477.                         {
  1478.                             SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
  1479.                             new string[128];
  1480.                             format(string, sizeof(string), "** %s twists their key into the ignition twisting it, starting the engine.", GetRPName(playerid));
  1481.                             ProxDetector(15, playerid, string, COLOR_Purple);
  1482.                         }
  1483.                         else
  1484.                         {
  1485.                             SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
  1486.                             new string[128];
  1487.                             format(string, sizeof(string), "** %s twists their key in the ignition shutting the engine off.", GetRPName(playerid));
  1488.                             ProxDetector(15, playerid, string, COLOR_Purple);
  1489.                         }
  1490.                     }
  1491.                     else
  1492.                     {
  1493.                         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
  1494.                     }
  1495.                 }
  1496.             }
  1497.             else
  1498.             {
  1499.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error]"COLOR_White_a" You don't have keys for this vehicle.");
  1500.             }
  1501.         }
  1502.     }
  1503.     return 1;
  1504. }
  1505.  
  1506. public OnPlayerText(playerid, text[])
  1507. {
  1508.     new string[128];
  1509.     format(string, sizeof(string), ""COLOR_Grey_a"%s says: %s.", GetRPName(playerid), text);
  1510.     ProxDetector(15, playerid, string, -1);
  1511.     return 0;
  1512. }
  1513.  
  1514. //------------------------------------------------------------------------------------------------
  1515. // ==============================================================================================
  1516. //                                     Admin Functions
  1517. // ==============================================================================================
  1518. //------------------------------------------------------------------------------------------------
  1519. /*--- advehicle ---*/
  1520. CMD:avehicle(playerid, params[])
  1521. {
  1522.     if(U_Stats[playerid][pLevel] > 12)
  1523.     {
  1524.         new id;
  1525.         if(sscanf(params, "i", id))
  1526.         {
  1527.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /avehicle ID");
  1528.         }
  1529.         else
  1530.         {
  1531.             new Float:x, Float:y, Float:z, vehID;
  1532.             GetPlayerPos(playerid, x, y, z);
  1533.             vehID = CreateVehicle(id, x, y, z, 82.2873, -1, -1, -1);
  1534.             PutPlayerInVehicle(playerid, vehID, 0);
  1535.         }
  1536.     }
  1537.     else
  1538.     {
  1539.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
  1540.     }
  1541.     return 1;
  1542. }
  1543.  
  1544. CMD:adestroy(playerid, params[])
  1545. {
  1546.     if(U_Stats[playerid][pLevel] > 12)
  1547.     {
  1548.         new vehicleid = GetPlayerVehicleID(playerid);
  1549.         DestroyVehicle(vehicleid);
  1550.     }
  1551.     else
  1552.     {
  1553.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
  1554.     }
  1555.     return 1;
  1556. }
  1557. /*--- aengine ---*/
  1558. CMD:aengine(playerid, params[])
  1559. {
  1560.     if(U_Stats[playerid][pLevel] > 12)
  1561.     {
  1562.         if(IsPlayerInAnyVehicle(playerid))
  1563.         {
  1564.             if(GetPlayerVehicleSeat(playerid) == 0)
  1565.             {
  1566.                 new engine, lights, alarm, doors, bonnet, boot, objective;
  1567.                 GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
  1568.                 SetVehicleParamsEx(GetPlayerVehicleID(playerid), VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
  1569.             }
  1570.             else
  1571.             {
  1572.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not the driver.");
  1573.             }
  1574.         }
  1575.         else
  1576.         {
  1577.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not in a vehicle.");
  1578.         }
  1579.     }
  1580.     else
  1581.     {
  1582.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
  1583.     }
  1584.     return 1;
  1585. }
  1586.  
  1587. //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1588.  
  1589. /* Mute command - /mute target - time - reason  // NEED TO BE TRANSLATE - I will do it*/
  1590. /*
  1591. CMD:mute(playerid,params[])
  1592. {
  1593.     if(U_Stats[playerid][pLevel] > 12)
  1594.     {
  1595.         new cible, string2[MAX_PLAYER_NAME+200], tps, raison[150], strr[200];
  1596.         if(sscanf(params,"iis[149]",cible, tps, raison)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/mute [id_joueur] [temps] [raison]");
  1597.         if(pMuted[cible] == 2) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible est déjà mute!");
  1598.         if(PlayerInfo[playerid][pAdminlvl] != 5&& PlayerInfo[cible][pAdminlvl] == 5) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas mute le fondateur.");
  1599.         if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible n'est pas connecté !");
  1600.         if(tps < 0 || tps == 0) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le temps ne pas doit être égale à 0 minute ou être négatif.");
  1601.         pMuted[cible] = 2;
  1602.         format(strr, sizeof(strr), "[SYSTEM] "blancU"%s "rougeUC"a été mute par un administrateur pour %i min. Raison : "blancU"%s", GetName(cible), tps, raison);
  1603.         format(string2, sizeof(string2), "[MUTE] Admin : %s | Cible : %s | Temps : %i min | Raison : %s", GetName(playerid), GetName(cible), tps, raison);
  1604.         mutedPT = SetTimerEx("unmutetps", tps*60000, false, "ii", cible, tps);
  1605.         adminChat(string2, red1);
  1606.         SendClientMessageToAll(red, strr);
  1607.         new jour, mois, heure, minute, seconde, anne, str[300];
  1608.         new File:pos=fopen("LOG_AdminCmd.txt", io_append);
  1609.         gettime(heure, minute, seconde);
  1610.         getdate(anne, mois, jour);
  1611.         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);
  1612.         fwrite(pos,str);
  1613.         fclose(pos);
  1614.         aAlert("/mute", playerid);
  1615.         return 1;
  1616.     }
  1617.     else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
  1618. }
  1619.  
  1620. //------------------------------------------------------------------------------------------------
  1621.  
  1622. CMD:kick(playerid, params[]) // /kick target reason
  1623. {
  1624.     if(PlayerInfo[playerid][pAdminlvl] > 0)
  1625.     {
  1626.         new raison[50], cible, string[MAX_PLAYER_NAME+500], cName[MAX_PLAYER_NAME], aName[MAX_PLAYER_NAME], str[500];
  1627.         if(sscanf(params,"is[50]",cible,raison)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/kick [Player_id] [Raison]");
  1628.         if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" La personne choisis n'est pas connectée.");
  1629.         if(PlayerGod[cible] == 2 && PlayerGod[playerid] == 1) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas kick le fondateur.");
  1630.         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.");
  1631.         GetPlayerName(cible,cName,sizeof(cName));
  1632.         GetPlayerName(playerid,aName,sizeof(aName));
  1633.         PlayerInfo[cible][pKick]++;
  1634.         format(string, sizeof(string), rougeUF"[SYSTEM] "blancU"%s"rougeUC" a été kick par un administrateur. (Raison : "blancU"%s"rougeUC")", cName, raison);
  1635.         SendClientMessageToAll(red, string);
  1636.         SetTimerEx("kick", 1000, false, "is", cible, raison);
  1637.         printf("\n[ADMIN] %s a KICK %s", aName, cName);
  1638.         new jour, mois, heure, minute, seconde, anne;
  1639.         new File:pos=fopen("LOG_AdminCmd.txt", io_append);
  1640.         gettime(heure, minute, seconde);
  1641.         getdate(anne, mois, jour);
  1642.         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);
  1643.         fwrite(pos,str);
  1644.         fclose(pos);
  1645.         aAlert("/kick", playerid);
  1646.         return 1;
  1647.     }
  1648.     else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande.");
  1649. }
  1650.  
  1651. //------------------------------------------------------------------------------------------------
  1652.  
  1653. CMD:goto(playerid,params[]) // goto : tp you on a player
  1654. {
  1655.     if(PlayerInfo[playerid][pAdminlvl] > 0)
  1656.     {
  1657.         new Float:x, Float:y, Float:z, string[MAX_PLAYER_NAME+150], cName[MAX_PLAYER_NAME], cible;
  1658.         if(sscanf(params,"i", cible)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/goto [player_id]");
  1659.         if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, rougeUF"[SYSTEM]"rougeUC" Ce joueur n'est pas connecté.");
  1660.         interiorSpawn(playerid, cible, GetPlayerInterior(cible));
  1661.         GetPlayerPos(cible, x, y, z);
  1662.         SetPlayerPos(playerid, x+0.5,y,z);
  1663.         GetPlayerName(cible, cName, sizeof(cName));
  1664.         format(string, sizeof(string), rougeUF"[SYSTEM] "lbleuU"Vous vous êtes téléporté à %s", cName);
  1665.         SendClientMessage(playerid, red, string);
  1666.         SendClientMessage(cible, red, rougeUF"[SYSTEM]"lbleuU" Un staff s'est téléporté à vous.");
  1667.         aAlert("/goto", playerid);
  1668.         return 1;
  1669.     }
  1670.     else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
  1671. }
  1672.  
  1673. //------------------------------------------------------------------------------------------------
  1674.  
  1675. CMD:tp(playerid,params[]) // tp someone to you
  1676. {
  1677.     if(PlayerInfo[playerid][pAdminlvl] > 2)
  1678.     {
  1679.         new Float:x, Float:y, Float:z, string[MAX_PLAYER_NAME+150], cName[MAX_PLAYER_NAME], cible;
  1680.         if(sscanf(params,"i", cible)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/tp [player_id]");
  1681.         if(PlayerInfo[playerid][pAdminlvl] != 5 && PlayerInfo[cible][pAdminlvl] == 5) return SendClientMessage(playerid, red, "[ERROR]"rougeUC" Vous ne pouvez pas téléporter le fondateur.");
  1682.         if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, rougeUF"[SYSTEM]"rougeUC" Ce joueur n'est pas connecté.");
  1683.         interiorSpawn(playerid, cible, GetPlayerInterior(playerid));
  1684.         GetPlayerPos(playerid, x, y, z);
  1685.  
  1686.         if(IsPlayerInAnyVehicle(cible))
  1687.         {
  1688.             new veh;
  1689.             veh = GetPlayerVehicleID(cible);
  1690.             SetVehiclePos(veh, x+3, y, z);
  1691.         }
  1692.         else
  1693.         {
  1694.             SetPlayerPos(cible, x+0.5,y,z);
  1695.         }
  1696.  
  1697.         GetPlayerName(cible, cName, sizeof(cName));
  1698.         format(string, sizeof(string), rougeUF"[SYSTEM] "lbleuU"Vous avez téléporté %s à vous.", cName);
  1699.         SendClientMessage(playerid, red, string);
  1700.         SendClientMessage(cible, red, rougeUF"[SYSTEM]"lbleuU" Vous avez été téléporté vers un staff.");
  1701.         aAlert("/tp", playerid);
  1702.         return 1;
  1703.     }
  1704.     else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
  1705. }
  1706.  
  1707. //------------------------------------------------------------------------------------------------
  1708.  
  1709. CMD:unmute(playerid,params[])
  1710. {
  1711.     if(PlayerInfo[playerid][pAdminlvl] > 2)
  1712.     {
  1713.         new cible, strr[200], string2[MAX_PLAYER_NAME+150];
  1714.         if(sscanf(params,"i",cible)) return SendClientMessage(playerid, X11_LIGHT_BLUE_1, "/unmute [id_joueur]");
  1715.         if(!IsPlayerConnected(cible)) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible n'est pas connecté !");
  1716.         if(pMuted[cible] == 1) return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Le joueur cible n'est pas mute !");
  1717.         pMuted[cible] = 1;
  1718.         KillTimer(mutedPT);
  1719.         format(strr, sizeof(strr), "[SYSTEM] "rougeUC"Un administrateur a demute "blancU"%s"rougeUC".", GetName(cible));
  1720.         format(string2, sizeof(string2), "[MUTE] Admin : %s | Cible : %s |» DEMUTE", GetName(playerid), GetName(cible));
  1721.         adminChat(string2, red1);
  1722.         SendClientMessageToAll(red, strr);
  1723.         new jour, mois, heure, minute, seconde, anne, str[300];
  1724.         new File:pos=fopen("LOG_AdminCmd.txt", io_append);
  1725.         gettime(heure, minute, seconde);
  1726.         getdate(anne, mois, jour);
  1727.         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);
  1728.         fwrite(pos,str);
  1729.         fclose(pos);
  1730.         aAlert("/mute", playerid);
  1731.         return 1;
  1732.     }
  1733.     else return SendClientMessage(playerid, red, "[SYSTEM]"rougeUC" Vous n'êtes pas autorisé à utiliser cette commande");
  1734. }
  1735.  
  1736. */
  1737. //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  1738.  
  1739. public OnPlayerCommandPerformed(playerid, cmdtext[], success)
  1740. {
  1741.     new string[180];
  1742.     format(string, sizeof(string), "[Error] The command '%s' is unknown. Please use /commands to know whole commands", cmdtext);
  1743.     return (!success ? SendClientMessage(playerid, COLOR_RED_A, string) : 1);
  1744. }
  1745.  
  1746. /*--- atp ---*/
  1747. CMD:atp(playerid, params[])
  1748. {
  1749.     if(U_Stats[playerid][pLevel] > 12)
  1750.     {
  1751.         new player, to[128];
  1752.         if(sscanf(params, "us", player, to))
  1753.         {
  1754.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /atp [playerid] [destiny} | ea, cd, lafmd, lapd");
  1755.         }
  1756.         else
  1757.         {
  1758.             if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] The player is offline.");
  1759.             else
  1760.             {
  1761.                 if(!strcmp(to, "ea"))
  1762.                 {
  1763.                     SetPlayerPos(player, 1081.2261, -1697.9417, 13.5469);
  1764.                     SetPlayerInterior(player, 0);
  1765.                     new message[255];
  1766.                     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));
  1767.                     SendClientMessageToAll(-1, message);
  1768.                 }
  1769.                 else if(!strcmp(to, "cd"))
  1770.                 {
  1771.                     SetPlayerPos(player, 1434.4867, -968.4231, 37.3875);
  1772.                     SetPlayerInterior(player, 0);
  1773.                     new message[255];
  1774.                     format(message, 255, ""COLOR_White_a"["COLOR_LightBlue_a"Admin"COLOR_White_a"] %s teleported %s to Chuff Bank Backdoor.", GetRPName(playerid), GetRPName(player));
  1775.                     SendClientMessageToAll(-1, message);
  1776.                 }
  1777.                 else if(!strcmp(to, "lafmd"))
  1778.                 {
  1779.                     SetPlayerPos(player, 1802.9580, -1771.9418, 14.0222);
  1780.                     SetPlayerInterior(player, 0);
  1781.                     new message[255];
  1782.                     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));
  1783.                     SendClientMessageToAll(-1, message);
  1784.                 }
  1785.                 else if(!strcmp(to, "lapd"))
  1786.                 {
  1787.                     SetPlayerPos(player, 1555.5000, -1675.7068, 16.1953);
  1788.                     SetPlayerInterior(player, 0);
  1789.                     new message[255];
  1790.                     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));
  1791.                     SendClientMessageToAll(-1, message);
  1792.                 }
  1793.             }
  1794.         }
  1795.     }
  1796.     else
  1797.     {
  1798.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
  1799.     }
  1800.     return 1;
  1801. }
  1802.  
  1803. /* afaclead */
  1804. CMD:afaclead(playerid, params[])
  1805. {
  1806.     if(U_Stats[playerid][pLevel] < 12) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You're not high admin enough.");
  1807.     new target, facid;
  1808.     if(sscanf(params,"ii", target, facid))
  1809.     {
  1810.         SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /afaclead [playerid] [faction_id]");
  1811.         return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] ID 1 : LSPD | ID : 2 SFPD | ID : 3 Fox5");
  1812.     }
  1813.     if(facid < 1 || facid > 3) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] Invalid Faction ID");
  1814.     if(!IsPlayerConnected(target)) return SendClientMessage(playerid, -1, "{FFFFFF}[{82CAFF}Error{FFFFFF}] The player is offline.");
  1815.     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;}
  1816.     facid--;
  1817.     if(U_Stats[target][pFaction] == -1)
  1818.     {
  1819.         U_Stats[target][pFaction] = facid;
  1820.         U_Stats[target][pRank] = Factions[facid][fMaxRank];
  1821.         new INI:File = INI_Open(UserPath(target));
  1822.         INI_SetTag(File, "data");
  1823.         INI_WriteInt(File, "Rank", Factions[facid][fMaxRank]);
  1824.         INI_WriteInt(File, "Faction", U_Stats[target][pFaction]);
  1825.         INI_Close(File);
  1826.         INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  1827.  
  1828.         new INI:file = INI_Open(FactionPath(facid));
  1829.         INI_SetTag(file, "data");
  1830.         INI_WriteString(file,"Leader",GetName(playerid));
  1831.         INI_Close(file);
  1832.         INI_ParseFile(FactionPath(facid), "LoadFaction_data", .bExtra = true, .extra = facid);
  1833.  
  1834.         facid++;
  1835.         switch(facid)
  1836.         {
  1837.             case 1:
  1838.             {
  1839.                 new message[255];
  1840.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Police Department.", GetName(playerid), GetName(target));
  1841.                 SendClientMessageToAll(-1, message);
  1842.             }
  1843.             case 2:
  1844.             {
  1845.                 new message[255];
  1846.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Fire and Medicial Department.", GetName(playerid), GetName(target));
  1847.                 SendClientMessageToAll(-1, message);
  1848.             }
  1849.             case 3:
  1850.             {
  1851.                 new message[255];
  1852.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of FOX5 News.", GetName(playerid), GetName(target));
  1853.                 SendClientMessageToAll(-1, message);
  1854.             }
  1855.             default: printf("[Error] ERROR MAKELEADER [1] | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
  1856.         }
  1857.         return 1;
  1858.     }
  1859.     else if(Factions[U_Stats[target][pFaction]][fMaxRank] != U_Stats[target][pRank])
  1860.     {
  1861.         U_Stats[target][pFaction] = facid;
  1862.         U_Stats[target][pRank] = Factions[facid][fMaxRank];
  1863.         new INI:File = INI_Open(UserPath(target));
  1864.         INI_SetTag(File, "data");
  1865.         INI_WriteInt(File, "Rank", Factions[facid][fMaxRank]);
  1866.         INI_WriteInt(File, "Faction", U_Stats[target][pFaction]);
  1867.         INI_Close(File);
  1868.         INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  1869.  
  1870.         new INI:file = INI_Open(FactionPath(facid));
  1871.         INI_SetTag(file, "data");
  1872.         INI_WriteString(file,"Leader",GetName(playerid));
  1873.         INI_Close(file);
  1874.         INI_ParseFile(FactionPath(facid), "LoadFaction_data", .bExtra = true, .extra = facid);
  1875.  
  1876.         facid++;
  1877.         switch(facid)
  1878.         {
  1879.             case 1:
  1880.             {
  1881.                 new message[255];
  1882.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Police Department.", GetName(playerid), GetName(target));
  1883.                 SendClientMessageToAll(-1, message);
  1884.             }
  1885.             case 2:
  1886.             {
  1887.                 new message[255];
  1888.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Fire and Medicial Department.", GetName(playerid), GetName(target));
  1889.                 SendClientMessageToAll(-1, message);
  1890.             }
  1891.             case 3:
  1892.             {
  1893.                 new message[255];
  1894.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of FOX5 News.", GetName(playerid), GetName(target));
  1895.                 SendClientMessageToAll(-1, message);
  1896.             }
  1897.             default: printf("[Error] ERROR MAKELEADER [1] | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
  1898.         }
  1899.         return 1;
  1900.     }
  1901.     else if(U_Stats[target][pFaction] != -1 && Factions[U_Stats[target][pFaction]][fMaxRank] == U_Stats[target][pRank])
  1902.     {
  1903.         new INI:file = INI_Open(FactionPath(U_Stats[target][pFaction]));
  1904.         INI_SetTag(file, "data");
  1905.         INI_WriteString(file,"Leader","None");
  1906.         INI_Close(file);
  1907.         INI_ParseFile(FactionPath(U_Stats[target][pFaction]), "LoadFaction_data", .bExtra = true, .extra = U_Stats[target][pFaction]);
  1908.  
  1909.         U_Stats[target][pFaction] = facid;
  1910.         new INI:File = INI_Open(UserPath(target));
  1911.         INI_SetTag(File, "data");
  1912.         INI_WriteInt(File, "Rank", Factions[facid][fMaxRank]);
  1913.         INI_WriteInt(File, "Faction", facid);
  1914.         INI_Close(File);
  1915.         INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  1916.  
  1917.         new INI:ffile = INI_Open(FactionPath(facid));
  1918.         INI_SetTag(ffile, "data");
  1919.         INI_WriteString(ffile,"Leader",GetName(playerid));
  1920.         INI_Close(ffile);
  1921.         INI_ParseFile(FactionPath(facid), "LoadFaction_data", .bExtra = true, .extra = facid);
  1922.  
  1923.         facid++;
  1924.         switch(facid)
  1925.         {
  1926.             case 1:
  1927.             {
  1928.                 new message[255];
  1929.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Police Department.", GetName(playerid), GetName(target));
  1930.                 SendClientMessageToAll(-1, message);
  1931.             }
  1932.             case 2:
  1933.             {
  1934.                 new message[255];
  1935.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of Los Angeles Fire and Medicial Department.", GetName(playerid), GetName(target));
  1936.                 SendClientMessageToAll(-1, message);
  1937.             }
  1938.             case 3:
  1939.             {
  1940.                 new message[255];
  1941.                 format(message, 255, "{FFFFFF}[{82CAFF}Admin{FFFFFF}] %s made %s leader of FOX5 News.", GetName(playerid), GetName(target));
  1942.                 SendClientMessageToAll(-1, message);
  1943.             }
  1944.             default: printf("[Error] ERROR MAKELEADER [2] | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
  1945.         }
  1946.         return 1;
  1947.     }
  1948.     else
  1949.     {
  1950.         printf("[Error] ERROR MAKELEADER 3 | Player %s (ID:%i) | Admin %s (ID:%i)", GetName(target), target, GetName(playerid), playerid);
  1951.         return 1;
  1952.     }
  1953. }
  1954.  
  1955. CMD:stats(playerid, params[])
  1956. {
  1957.     printf("[ID] %i", U_Stats[playerid][pID]);
  1958.     printf("[Pass] %s", U_Stats[playerid][pPassword]);
  1959.     printf("[Mail] %s", U_Stats[playerid][pMail]);
  1960.     printf("[Age] %i", U_Stats[playerid][pAge]);
  1961.     printf("[Origin] %s", U_Stats[playerid][pOrigin]);
  1962.     printf("[Gender] %s", U_Stats[playerid][pGender]);
  1963.     printf("[Skin] %i", U_Stats[playerid][pSkin]);
  1964.     printf("[Interior] %i", U_Stats[playerid][pInterior]);
  1965.     printf("[VW] %i", U_Stats[playerid][pVW]);
  1966.     printf("[PositionX] %.4f", U_Stats[playerid][pPositionX]);
  1967.     printf("[PositionY] %.4f", U_Stats[playerid][pPositionY]);
  1968.     printf("[PositionZ] %.4f", U_Stats[playerid][pPositionZ]);
  1969.     printf("[Money] %i", U_Stats[playerid][pMoney]);
  1970.     printf("[Job1] %i", U_Stats[playerid][pJob1]);
  1971.     printf("[Job2] %i", U_Stats[playerid][pJob2]);
  1972.     printf("[Flags] %i", U_Stats[playerid][pFlags]);
  1973.     printf("[Banned] %i", U_Stats[playerid][pBanned]);
  1974.     printf("[BanBy] %s", U_Stats[playerid][pBanBy]);
  1975.     printf("[BanReason] %s", U_Stats[playerid][pBanReason]);
  1976.     printf("[RegIP] %s", U_Stats[playerid][pRegIP]);
  1977.     printf("[LastIP] %s", U_Stats[playerid][pLastIP]);
  1978.     printf("[Faction] %i", U_Stats[playerid][pFaction]);
  1979.     printf("[Rank] %s", U_Stats[playerid][pRank]);
  1980.     printf("[HealthCare] %i", U_Stats[playerid][pHealthCare]);
  1981.     printf("[Health] %.2f", U_Stats[playerid][pHealth]);
  1982.     printf("[Armour] %.2f", U_Stats[playerid][pArmour]);
  1983.     printf("[Prisonnier] %i", U_Stats[playerid][pPrisonnier]);
  1984.     printf("[PrisonTime] %i", U_Stats[playerid][pPrisonTime]);
  1985.     return 1;
  1986. }
  1987.  
  1988. CMD:askin(playerid,params[])
  1989. {
  1990.     if(U_Stats[playerid][pLevel] > 12)
  1991.     {
  1992.         new idskin, cible;
  1993.         if(sscanf(params,"ii", cible, idskin)) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Use"COLOR_White_a"] /askin [player_id] [skin_id]");
  1994.         if(idskin<0||idskin>311) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Error"COLOR_White_a"] Invalid Skin ID [0-311]");
  1995.         SetPlayerSkin(cible, idskin);
  1996.         return 1;
  1997.     }
  1998.     else return 1;
  1999. }
  2000.  
  2001. CMD:atoggleog(playerid)
  2002. {
  2003.     if(U_Stats[playerid][pLevel] > 12)
  2004.     {
  2005.         if(og == 0)
  2006.         {
  2007.             og = 1;
  2008.             SendClientMessage(playerid, 0x55BEE0FF, "(( The OOC Channel has been enabled by an admin. ))");
  2009.         }
  2010.         else
  2011.         {
  2012.             og = 0;
  2013.             SendClientMessage(playerid, 0x55BEE0FF, "(( The OOC Channel has been disabled by an admin. ))");
  2014.         }
  2015.     }
  2016.     else
  2017.     {
  2018.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not high admin enough.");
  2019.     }
  2020.     return 1;
  2021. }
  2022. //------------------------------------------------------------------------------------------------
  2023. // ==============================================================================================
  2024. //                                     Chuff Functions
  2025. // ==============================================================================================
  2026. //------------------------------------------------------------------------------------------------
  2027. new Float:atms[][3] =
  2028. {
  2029.     {1833.24036, -1837.00122, 12.57600},
  2030.     {2092.99292, -1359.76697, 22.93730},
  2031.     {2228.34229, -1713.18457, 12.43970},
  2032.     {1346.10840, -1759.18811, 12.42000}
  2033. };
  2034.  
  2035. CMD:getpackage(playerid)
  2036. {
  2037.     if(U_Stats[playerid][pJob1] == 1)
  2038.     {
  2039.         if(IsPlayerInRangeOfPoint(playerid, 12.5, 321.8759, 309.8267, 999.1484))
  2040.         {
  2041.             if(GetPlayerSkin(playerid) == 306 || GetPlayerSkin(playerid) == 71)
  2042.             {
  2043.                 new str[128];
  2044.                 pHoldingPackage[playerid] = 1;
  2045.                 format(str, sizeof(str), "** %s grabs a bag of money as they carries it.", GetName(playerid));
  2046.                 ProxDetector(15, playerid, str, COLOR_Purple);
  2047.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Head to your truck and load it using /loadpackage.");
  2048.             }
  2049.             else
  2050.             {
  2051.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to wear your uniform!");
  2052.             }
  2053.         }
  2054.     }
  2055.     else
  2056.     {
  2057.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
  2058.     }
  2059.     return 1;
  2060. }
  2061.  
  2062. CMD:loadpackage(playerid)
  2063. {
  2064.     if(U_Stats[playerid][pJob1] == 1)
  2065.     {
  2066.         new vehicleid;
  2067.         vehicleid = GetClosestVehicle(playerid, 25);
  2068.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 428)
  2069.         {
  2070.             if(GetPlayerSkin(playerid) == 306 || GetPlayerSkin(playerid) == 71)
  2071.             {
  2072.                 new str[128];
  2073.                 pHoldingPackage[playerid] = 0;
  2074.                 pTruckPackage[playerid] = vehicleid;
  2075.                 format(str, sizeof(str), "** %s throws their package into the Chuff Security Car.", GetRPName(playerid));
  2076.                 ProxDetector(15, playerid, str, COLOR_Purple);
  2077.                 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.");
  2078.                 new rand = random(sizeof(atms));
  2079.                 SetPlayerCheckpoint(playerid, atms[rand][0], atms[rand][1],atms[rand][2], 3.0);
  2080.             }
  2081.             else
  2082.             {
  2083.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to wear your uniform!");
  2084.             }
  2085.         }
  2086.         else
  2087.         {
  2088.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to be inside your truck!");
  2089.         }
  2090.     }
  2091.     else
  2092.     {
  2093.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
  2094.     }
  2095.     return 1;
  2096. }
  2097.  
  2098. CMD:unloadpackage(playerid)
  2099. {
  2100.     if(U_Stats[playerid][pJob1] == 1)
  2101.     {
  2102.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 428)
  2103.         {
  2104.             if(GetPlayerSkin(playerid) == 306 || GetPlayerSkin(playerid) == 71)
  2105.             {
  2106.                 new str[128];
  2107.                 pHoldingPackage[playerid] = 1;
  2108.                 pTruckPackage[playerid] = 0;
  2109.                 format(str, sizeof(str), "** %s grabs their package from the Chuff Security Car.", GetRPName(playerid));
  2110.                 ProxDetector(15, playerid, str, COLOR_Purple);
  2111.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Head to your red marker to fill the atm using /loadatm.");
  2112.             }
  2113.             else
  2114.             {
  2115.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to wear your uniform!");
  2116.             }
  2117.         }
  2118.         else
  2119.         {
  2120.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You need to be inside your truck!");
  2121.         }
  2122.     }
  2123.     else
  2124.     {
  2125.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Chuff Employment.");
  2126.     }
  2127.     return 1;
  2128. }
  2129.  
  2130. public OnPlayerEnterCheckpoint(playerid)
  2131. {
  2132.     if(pHoldingPackage[playerid] == 1)
  2133.     {
  2134.         new money = random((8500 - 2250)) + 2250;
  2135.         GivePlayerMoney(playerid, money);
  2136.         DisablePlayerCheckpoint(playerid);
  2137.         pHoldingPackage[playerid] = 0;
  2138.         new string[128];
  2139.         format(string, sizeof(string), ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] You received $%i for filling the ATM.", money);
  2140.         SendClientMessage(playerid, -1, string);
  2141.     }
  2142.     return 1;
  2143. }
  2144.  
  2145. //------------------------------------------------------------------------------------------------
  2146. // ==============================================================================================
  2147. //                                         Faction Commands
  2148. // ==============================================================================================
  2149. //------------------------------------------------------------------------------------------------
  2150. CMD:m(playerid, params[])
  2151. {
  2152.     if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
  2153.     if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
  2154.     new text[150];
  2155.     if(sscanf(params, "s[149]", text)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /m [Message]");
  2156.     format(text, sizeof(text), "{ff0000}((%s | %s)) {FFFFFF}%s", GetName(playerid), Factions[U_Stats[playerid][pFaction]][fShortName], text);
  2157.     ProxDetector(30, playerid, text, -1);
  2158.     return 1;
  2159. }
  2160.  
  2161.  
  2162. //------------------------------------------------------------------------------------------------
  2163.  
  2164. CMD:r(playerid, params[])
  2165. {
  2166.     if(U_Stats[playerid][pFaction] == -1 || !duty(playerid) && LawE(playerid)) return 1;
  2167.     new text[150];
  2168.     if(sscanf(params, "s[149]", text)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /r [Message]");
  2169.     format(text, sizeof(text), "{1E90FF}(Radio) %s %s says: %s", rankFac[U_Stats[playerid][pFaction]][U_Stats[playerid][pRank]][0], GetName(playerid), text);
  2170.     FacRadio(playerid, text);
  2171.     return 1;
  2172. }
  2173.  
  2174. //------------------------------------------------------------------------------------------------
  2175.  
  2176. CMD:d(playerid, params[])
  2177. {
  2178.     if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
  2179.     if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
  2180.     new text[150];
  2181.     if(sscanf(params, "s[149]", text)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /d (regional) [Message]");
  2182.     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);
  2183.     DepRadio(playerid, text);
  2184.     return 1;
  2185. }
  2186.  
  2187. //------------------------------------------------------------------------------------------------
  2188.  
  2189. CMD:su(playerid, params[])
  2190. {
  2191.     if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
  2192.     if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
  2193.     new target, reason[111];
  2194.     if(sscanf(params, "is[110]", target, reason)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /su(uspect) [target_id] [reason]");
  2195.     new str[120];
  2196.     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);
  2197.     IsSuspect[target] = 1;
  2198.     DepRadio(playerid, str);
  2199.     return 1;
  2200. }
  2201.  
  2202. //------------------------------------------------------------------------------------------------
  2203.  
  2204. CMD:arrest(playerid, params[])
  2205. {
  2206.     if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
  2207.     if(!duty(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You need be on duty");
  2208.     new Float:x, Float:y, Float:z, target, time, fine;
  2209.     if(sscanf(params, "iii", target, time, fine)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /arrest [target_id] [time] [fine]");
  2210.     if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] Wrong player ID");
  2211.     if(IsSuspect[target] != 1) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not suspect!");
  2212.     GetPlayerPos(playerid, x, y, z);
  2213.     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.");
  2214.     if(!IsPlayerInRangeOfPoint(target, 5.0, x, y, z)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] The suspect need to be near you!");
  2215.     time = time * 60 * 1000;
  2216.     SetPlayerPos(target, x, y, z);
  2217.     SetTimerEx("FreePrisoniers", time, false, "ii", target, time);
  2218.     GivePlayerMoney(target, 0-random(10001));
  2219.     new str[150];
  2220.     format(str, sizeof(str), "[{82CAFF}%s{FFFFFF} Policier %s has arrested %s", Factions[U_Stats[playerid][pFaction]][fShortName], GetName(playerid), GetName(target));
  2221.     SendClientMessageToAll(-1, str);
  2222.     //SetPlayerPos(target, x, y, z);
  2223.     IsPrisonnier[target] = 1;
  2224.     return 1;
  2225. }
  2226.  
  2227.  
  2228. forward FreePrisoniers(suspect, time);
  2229. public FreePrisoniers(suspect, time)
  2230. {
  2231.     SetPlayerPos(suspect,1544.2457,-1675.5072,13.5580);
  2232.     IsSuspect[suspect] = 0;
  2233.     IsPrisonnier[suspect] = 0;
  2234.     SendClientMessage(suspect, -1, "[{82CAFF}Prison{FFFFFF}]You are now free.");
  2235.     new str[150];
  2236.     time = time / 60 / 1000;
  2237.     format(str, sizeof(str), "{82CAFF}» %s has been released from the prison after %i min(s)", GetName(suspect), time);
  2238.     DepRadio(-1, str);
  2239.     return 1;
  2240. }
  2241.  
  2242. //------------------------------------------------------------------------------------------------------------------------------------------------------------
  2243.  
  2244. CMD:uprank(playerid, params[])
  2245. {
  2246.     new target;
  2247.     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");
  2248.     if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /uprank [player_id]");
  2249.     if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not connected");
  2250.     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.");
  2251.     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.");
  2252.     U_Stats[target][pRank]++;
  2253.     new INI:File = INI_Open(UserPath(target));
  2254.     INI_SetTag(File, "data");
  2255.     INI_WriteInt(File, "Rank", U_Stats[target][pRank]);
  2256.     INI_Close(File);
  2257.     INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  2258.     new str[120];
  2259.     format(str, sizeof(str), "[Information] %s has a new rank", GetName(target));
  2260.     SendClientMessage(target, -1,str);
  2261.     return 1;
  2262. }
  2263.  
  2264. //------------------------------------------------------------------------------------------------------------------------------------------------------------
  2265.  
  2266. CMD:cuff(playerid, params[]) //Uses toggle version, So one cuff=cuffed, two cuff=uncuffed.
  2267. {
  2268.     if(U_Stats[playerid][pFaction] == 0)
  2269.     {
  2270.         new target;
  2271.         if(sscanf(params, "i", target))
  2272.         {
  2273.             SendClientMessage(playerid, -1, COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /cuff [playerid]");
  2274.         }
  2275.         else
  2276.         {
  2277.             if(!IsPlayerConnected(target))
  2278.             {
  2279.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] That player is offline!");
  2280.             }
  2281.             else
  2282.             {
  2283.                 new Float:x, Float:y, Float:z;
  2284.                 GetPlayerPos(target, x, y, z);
  2285.                 if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
  2286.                 {
  2287.                     if(cuffed[target] == 0)
  2288.                     {
  2289.                         new str[128];
  2290.                         format(str, sizeof(str), "** %s grabs a pair of cuffs and slaps them onto %s's wrists.", GetRPName(playerid), GetRPName(target));
  2291.                         ProxDetector(15, playerid, str, COLOR_Purple);
  2292.                         SetPlayerAttachedObject(target, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977,-81.700035, 0.891999, 1.000000, 1.168000);
  2293.                         SetPlayerSpecialAction(target, SPECIAL_ACTION_CUFFED);
  2294.                         cuffed[target] = 1;
  2295.                     }
  2296.                     else
  2297.                     {
  2298.                         new str[128];
  2299.                         format(str, sizeof(str), "** %s grabs a pair of cuffs keys and unlocks %s's wrists.", GetRPName(playerid), GetRPName(target));
  2300.                         ProxDetector(15, playerid, str, COLOR_Purple);
  2301.                         SetPlayerSpecialAction(target,SPECIAL_ACTION_NONE);
  2302.                         RemovePlayerAttachedObject(target, 0);
  2303.                         cuffed[target] = 0;
  2304.                     }
  2305.                 }
  2306.                 else
  2307.                 {
  2308.                     SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're too far away.");
  2309.                 }
  2310.             }
  2311.         }
  2312.     }
  2313.     else
  2314.     {
  2315.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Law Enforcement Officer.");
  2316.     }
  2317.     return 1;
  2318. }
  2319.  
  2320. new tazer[MAX_PLAYERS] = 0,
  2321.     storedDeagle[MAX_PLAYERS] = 0;
  2322. CMD:tazer(playerid, params[])
  2323. {
  2324.     if(U_Stats[playerid][pFaction] == 0)
  2325.     {
  2326.         if(tazer[playerid] == 0)
  2327.         {
  2328.             if(GetPlayerWeapon(playerid) == 24)
  2329.             {
  2330.                 storedDeagle[playerid] = 1;
  2331.                 tazer[playerid] = 1;
  2332.                 GivePlayerWeapon(playerid, 23, 999999);
  2333.             }
  2334.             else
  2335.             {
  2336.                 storedDeagle[playerid] = 0;
  2337.                 tazer[playerid] = 1;
  2338.                 GivePlayerWeapon(playerid, 23, 999999);
  2339.             }
  2340.             new str[128];
  2341.             format(str, sizeof(str), "** %s unbuckles their Tazer Holster and grabs their Tazer.", GetRPName(playerid));
  2342.             ProxDetector(15, playerid, str, COLOR_Purple);
  2343.         }
  2344.         else
  2345.         {
  2346.             if(storedDeagle[playerid] == 1)
  2347.             {
  2348.                 storedDeagle[playerid] = 0;
  2349.                 tazer[playerid] = 0;
  2350.                 GivePlayerWeapon(playerid, 24, 999999);
  2351.             }
  2352.             else
  2353.             {
  2354.                 storedDeagle[playerid] = 0;
  2355.                 tazer[playerid] = 0;
  2356.                 SetPlayerAmmo(playerid, WEAPON_SILENCED, 0);
  2357.             }
  2358.             new str[128];
  2359.             format(str, sizeof(str), "** %s buckles their Tazer Holster and with the Tazer in.", GetRPName(playerid));
  2360.             ProxDetector(15, playerid, str, COLOR_Purple);
  2361.         }
  2362.     }
  2363.     else
  2364.     {
  2365.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Law Enforcement Officer.");
  2366.     }
  2367.     return 1;
  2368. }
  2369. stock DepRadio(playerid, string[])
  2370. {
  2371.     if(!LawE(playerid) && playerid != -1) return 1;
  2372.     if(IsPrisonnier[playerid] == 1 && playerid != -1) return 1;
  2373.     new text[150];
  2374.     foreach(new i : Player)
  2375.     {
  2376.         format(text, sizeof(text), "%s", string);
  2377.         SendClientMessage(i, -1, text);
  2378.     }
  2379.     return 1;
  2380. }
  2381.  
  2382. stock FacRadio(playerid, string[])
  2383. {
  2384.     if(IsPrisonnier[playerid] == 1 || U_Stats[playerid][pFaction] == -1) return 1;
  2385.     new text[150];
  2386.     foreach(new i : Player)
  2387.     {
  2388.         if(U_Stats[playerid][pFaction] != U_Stats[i][pFaction]) continue;
  2389.         format(text, sizeof(text), "%s", string);
  2390.         SendClientMessage(i, -1, text);
  2391.     }
  2392.     return 1;
  2393. }
  2394.  
  2395.  
  2396. CMD:gate(playerid, params[])
  2397. {
  2398.     if(U_Stats[playerid][pFaction] == 0)
  2399.     {
  2400.         if(IsPlayerInRangeOfPoint(playerid, 5, 1590.36975098,-1638.18310547,15.23138046))
  2401.         {
  2402.             MoveObject(gate1,1590.3804931641,-1637.9333496094,9.4813804626465, 2.00);
  2403.             SetTimer("LAPDgate", 4000, 0);
  2404.             new str[128];
  2405.             format(str, sizeof(str), "** %s flicks their remote control as the gate opens.", GetRPName(playerid));
  2406.             ProxDetector(15, playerid, str, COLOR_Purple);
  2407.         }
  2408.  
  2409.         if(IsPlayerInRangeOfPoint(playerid, 8, 1544.69677734,-1630.78649902,13.07031250))
  2410.         {
  2411.             MoveObject(gate2,1544.6962890625,-1630.7861328125,12.0703125, 2.00);
  2412.             SetTimer("LAPDgate", 4000, 0);
  2413.             new str[128];
  2414.             format(str, sizeof(str), "** %s flicks their remote control as the gate opens.", GetRPName(playerid));
  2415.             ProxDetector(15, playerid, str, COLOR_Purple);
  2416.         }
  2417.     }
  2418.     return 1;
  2419. }
  2420.  
  2421. forward LAPDgate();
  2422. public LAPDgate()
  2423. {
  2424.     MoveObject(gate1,1590.36975098,-1638.18310547,15.23138046, 3.00);
  2425.     MoveObject(gate2,1544.69677734,-1630.78649902,13.07031250, 3.00);
  2426.     return 1;
  2427. }
  2428.  
  2429.  
  2430. CMD:invit(playerid, params[])
  2431. {
  2432.     new target;
  2433.     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");
  2434.     if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /invit [player_id]");
  2435.     if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not connected");
  2436.     if(U_Stats[target][pFaction] != -1) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is in a faction.");
  2437.  
  2438.     new INI:File = INI_Open(UserPath(target));
  2439.     INI_SetTag(File, "data");
  2440.     INI_WriteInt(File, "Rank", 0);
  2441.     INI_WriteInt(File, "Faction", U_Stats[playerid][pFaction]);
  2442.     INI_Close(File);
  2443.     INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  2444.  
  2445.     new str[200];
  2446.     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));
  2447.     FacRadio(playerid, str);
  2448.  
  2449.     return 1;
  2450. }
  2451.  
  2452.  
  2453. //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2454.  
  2455. CMD:fire(playerid, params[])
  2456. {
  2457.     new target;
  2458.     if(U_Stats[playerid][pFaction] == -1) return SendClientMessage(playerid, -1,"[{82CAFF}Error{FFFFFF}] You need to be the leader of the faction");
  2459.     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");
  2460.     if(sscanf(params, "u", target)) return SendClientMessage(playerid, -1, "[{82CAFF}Use{FFFFFF}] /fire [player_id]");
  2461.     if(target == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] This player is not connected");
  2462.     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.");
  2463.     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;}
  2464.     if(Factions[U_Stats[target][pFaction]][fMaxRank] == U_Stats[target][pRank])
  2465.     {
  2466.         new INI:file = INI_Open(FactionPath(U_Stats[target][pFaction]));
  2467.         INI_SetTag(file, "data");
  2468.         INI_WriteString(file,"Leader","None");
  2469.         INI_Close(file);
  2470.         INI_ParseFile(FactionPath(U_Stats[target][pFaction]), "LoadFaction_data", .bExtra = true, .extra = U_Stats[target][pFaction]);
  2471.         new a, b;
  2472.         a = U_Stats[playerid][pFaction];
  2473.         b = U_Stats[playerid][pRank];
  2474.  
  2475.         if(U_Stats[target][pFaction] == 0 || U_Stats[target][pFaction] == 1)
  2476.         {
  2477.             SetPlayerArmour(playerid, 0.0);
  2478.             ResetPlayerWeapons(playerid);
  2479.         }
  2480.         U_Stats[target][pFaction] = -1;
  2481.         U_Stats[target][pRank] = 0;
  2482.         new INI:File = INI_Open(UserPath(target));
  2483.         INI_SetTag(File, "data");
  2484.         INI_WriteInt(File, "Rank", 0);
  2485.         INI_WriteInt(File, "Faction", -1);
  2486.         INI_Close(File);
  2487.         INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  2488.         new str[200];
  2489.         format(str, sizeof(str), "[{82CAFF}Information{FFFFFF}] %s %s has fired %s", rankFac[a][b][0], GetName(playerid), GetName(target));
  2490.         FacRadio(playerid, str);
  2491.         SendClientMessage(playerid, -1, str);
  2492.  
  2493.     }
  2494.     else
  2495.     {
  2496.         new a, b;
  2497.         a = U_Stats[playerid][pFaction];
  2498.         b = U_Stats[playerid][pRank];
  2499.         if(U_Stats[target][pFaction] == 0 || U_Stats[target][pFaction] == 1)
  2500.         {
  2501.             SetPlayerArmour(playerid, 0.0);
  2502.             ResetPlayerWeapons(playerid);
  2503.         }
  2504.         U_Stats[target][pFaction] = -1;
  2505.         U_Stats[target][pRank] = 0;
  2506.         new INI:File = INI_Open(UserPath(target));
  2507.         INI_SetTag(File, "data");
  2508.         INI_WriteInt(File, "Rank", 0);
  2509.         INI_WriteInt(File, "Faction", -1);
  2510.         INI_Close(File);
  2511.         INI_ParseFile(UserPath(target), "LoadUser_%s", .bExtra = true, .extra = target);
  2512.         new str[200];
  2513.         format(str, sizeof(str), "[{82CAFF}Information{FFFFFF}] %s %s has fired %s", rankFac[a][b][0], GetName(playerid), GetName(target));
  2514.         FacRadio(playerid, str);
  2515.         SendClientMessage(playerid, -1, str);
  2516.     }
  2517.  
  2518.     return 1;
  2519. }
  2520.  
  2521.  
  2522. //------------------------------------------------------------------------------------------------
  2523. // ==============================================================================================
  2524. //                            Los Angeles Fire Department | Commands
  2525. // ==============================================================================================
  2526. //------------------------------------------------------------------------------------------------
  2527. stock LAFMDLocker(playerid)
  2528. {
  2529.     if(U_Stats[playerid][pFaction] == 1)
  2530.     {
  2531.         ShowPlayerDialog(playerid, D_LAFMDLocker, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"LAFMD"COLOR_White_a": Locker", "Clothes: Firefighter\nClothes: Medic\nEquipments", "Choose", "Close");
  2532.     }
  2533.     else
  2534.     {
  2535.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a LAFMD Employment.");
  2536.     }
  2537. }
  2538.  
  2539. CMD:healthcare(playerid, params[])
  2540. {
  2541.     if(IsPlayerInRangeOfPoint(playerid, 12.5, 1973.4854, 1167.9103, -5.2087))
  2542.     {
  2543.         new text[128];
  2544.         if(sscanf(params, "s[127]", text))
  2545.         {
  2546.             if(U_Stats[playerid][pHealthCare] == 0)
  2547.             {
  2548.                 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);
  2549.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Info"COLOR_White_a"] Use /healthcare purchase for $2.500");
  2550.             }
  2551.             else
  2552.             {
  2553.                 ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Hi, You already have bought healthcare!",-1);
  2554.             }
  2555.         }
  2556.         else
  2557.         {
  2558.             new string[128];
  2559.             format(string, sizeof(string), ""COLOR_Grey_a"%s says: Yes.", GetRPName(playerid));
  2560.             ProxDetector(15, playerid, string, -1);
  2561.             if(GetPlayerMoney(playerid) > 2499)
  2562.             {
  2563.                 U_Stats[playerid][pHealthCare] = 1;
  2564.                 ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Thank you for purchasing the health care!",-1);
  2565.                 GivePlayerMoney(playerid, -2500);
  2566.             }
  2567.             else
  2568.             {
  2569.                 ProxDetector(15, playerid, ""COLOR_Grey_a"Dash Female says: Please come back once you have 2500 dollars.",-1);
  2570.             }
  2571.         }
  2572.     }
  2573.     return 1;
  2574. }
  2575. //------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2576.  
  2577.  
  2578.  
  2579. //------------------------------------------------------------------------------------------------
  2580. // ==============================================================================================
  2581. //                            Los Angeles Police Department | Commands
  2582. // ==============================================================================================
  2583. //------------------------------------------------------------------------------------------------
  2584. CMD:duty(playerid,params[])
  2585. {
  2586.     if(!LawE(playerid)) return SendClientMessage(playerid, -1, "[{82CAFF}Error{FFFFFF}] You are not allowed to use this command");
  2587.     //if(!IsPlayerInRangeOfPoint(playerid, range, x, y, z)) return SendClientMessage(playerid, -1, "[{82CAFF}Infomation{FFFFFF}] You must be at the comico'");
  2588.     if(IsOnDuty[playerid] == false)
  2589.     {
  2590.         new str[128];
  2591.         IsOnDuty[playerid] = true;
  2592.         SendClientMessage(playerid, -1, "[{82CAFF}Infomation{FFFFFF}] You are now on duty");
  2593.         format(str, sizeof(str), "* %s take his badge, weapon and radio.", GetName(playerid));
  2594.         ProxDetector(15, playerid, str, 0xCC56CCFF);
  2595.         SetPlayerArmour(playerid, 100.0);
  2596.         GivePlayerWeapon(playerid, WEAPON_DEAGLE, 100);
  2597.         GivePlayerWeapon(playerid, WEAPON_NITESTICK, 1);
  2598.         GivePlayerWeapon(playerid, WEAPON_SPRAYCAN, 1000);
  2599.         return 1;
  2600.     }
  2601.     else
  2602.     {
  2603.         new str[128];
  2604.         IsOnDuty[playerid] = false;
  2605.         SendClientMessage(playerid, -1, "[{82CAFF}Infomation{FFFFFF}] You are no longer on duty");
  2606.         format(str, sizeof(str), "* %s put his badge, weapon, radio into his locker.", GetName(playerid));
  2607.         ProxDetector(15, playerid, str, 0xCC56CCFF);
  2608.         SetPlayerArmour(playerid, 0.0);
  2609.         ResetPlayerWeapons(playerid);
  2610.         return 1;
  2611.     }
  2612. }
  2613.  
  2614. CMD:detain(playerid, params[]) //Uses toggle version, So one cuff=cuffed, two cuff=uncuffed.
  2615. {
  2616.     if(U_Stats[playerid][pFaction] == 0)
  2617.     {
  2618.         new target;
  2619.         if(sscanf(params, "i", target))
  2620.         {
  2621.             SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error Usage"COLOR_White_a"] /detain [playerid]");
  2622.         }
  2623.         else
  2624.         {
  2625.             if(!IsPlayerConnected(target))
  2626.             {
  2627.                 SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] That player is offline!");
  2628.             }
  2629.             else
  2630.             {
  2631.                 new Float:x, Float:y, Float:z;
  2632.                 GetPlayerPos(target, x, y, z);
  2633.                 if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z))
  2634.                 {
  2635.                     new veh = GetPlayerVehicleID(playerid);
  2636.                     PutPlayerInVehicle(target, veh, 3);
  2637.                 }
  2638.                 else
  2639.                 {
  2640.                     SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're too far away.");
  2641.                 }
  2642.             }
  2643.         }
  2644.     }
  2645.     else
  2646.     {
  2647.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a Law Enforcement Officer.");
  2648.     }
  2649.     return 1;
  2650. }
  2651.  
  2652.  
  2653. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
  2654. {
  2655.     if(issuerid != INVALID_PLAYER_ID && weaponid == 23)
  2656.     {
  2657.         new str[128];
  2658.         format(str, sizeof(str), "** %s fires a tazer and hits %s.", GetRPName(issuerid), GetRPName(playerid));
  2659.         ProxDetector(15, playerid, str, COLOR_Purple);
  2660.         TogglePlayerControllable(playerid, 0);
  2661.         SetPlayerDrunkLevel(playerid, 5200);
  2662.         ApplyAnimation(playerid,"CRACK","crckidle2",1,0,0, 0,0,0);
  2663.         GameTextForPlayer(playerid, "~r~TAZED", 10000, 6);
  2664.         SetTimerEx("Tazed", 10000, false, "i", playerid);
  2665.     }
  2666.     return 1;
  2667. }
  2668.  
  2669. forward Tazed(playerid);
  2670. public Tazed(playerid)
  2671. {
  2672.     TogglePlayerControllable(playerid, 1);
  2673.     SetPlayerDrunkLevel(playerid, 0);
  2674.     ClearAnimations(playerid);
  2675.     return 1;
  2676. }
  2677.  
  2678. stock LAPDLocker(playerid)
  2679. {
  2680.     if(U_Stats[playerid][pFaction] == 0)
  2681.     {
  2682.         ShowPlayerDialog(playerid, D_LAPDLocker, DIALOG_STYLE_LIST, ""COLOR_LightBlue_a"LAPD"COLOR_White_a": Locker", "Clothes\nVest\nFirearms", "Choose", "Close");
  2683.     }
  2684.     else
  2685.     {
  2686.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a LAPD Employment.");
  2687.     }
  2688. }
  2689.  
  2690.  
  2691. CMD:siren(playerid, params[])
  2692. {
  2693.     if(U_Stats[playerid][pFaction] == 0)
  2694.     {
  2695.         if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Error"COLOR_White_a"] You are not inside a car.");
  2696.         if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, -1, "["COLOR_LightBlue_a"Error"COLOR_White_a"] You must be the driver.");
  2697.         new VID = GetPlayerVehicleID(playerid);
  2698.         if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 426)
  2699.         {
  2700.             if(hassiren[VID] == 1)
  2701.             {
  2702.                 hassiren[VID] = 0;
  2703.                 DestroyObject(siren[VID]);
  2704.                 new str[128];
  2705.                 format(str, sizeof(str), "** %s takes down their siren from the roof.", GetRPName(playerid));
  2706.                 ProxDetector(15, playerid, str, COLOR_Purple);
  2707.                 return 1;
  2708.             }
  2709.             hassiren[VID] = 1;
  2710.             siren[VID] = CreateObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
  2711.             AttachObjectToVehicle(siren[VID], VID, -0.43, 0.0, 0.785, 0.0, 0.1, 0.0);
  2712.             new str[128];
  2713.             format(str, sizeof(str), "** %s puts a siren on the roof.", GetRPName(playerid));
  2714.             ProxDetector(15, playerid, str, COLOR_Purple);
  2715.         }
  2716.     }
  2717.     else
  2718.     {
  2719.         SendClientMessage(playerid, -1, ""COLOR_White_a"["COLOR_LightBlue_a"Error"COLOR_White_a"] You're not a LAPD Employment.");
  2720.     }
  2721.     return 1;
  2722. }
  2723.  
  2724.  
  2725. stock LawE(playerid)
  2726. {
  2727.     return (U_Stats[playerid][pFaction] == 0 || U_Stats[playerid][pFaction] == 1 ? true : false);
  2728. }
  2729.  
  2730. stock IsAdmin(playerid)
  2731. {
  2732.     return (IsPlayerConnected(playerid) ? (U_Stats[playerid][pLevel] > 0 ? true : false) : false); // change 0 by your minimum admin lvl
  2733. }
  2734.  
  2735. //------------------------------------------------------------------------------------------------
  2736.  
  2737.  
  2738. //------------------------------------------------------------------------------------------------------------------------------------------------------------
  2739. /*- Start of: Stocks -*/
  2740. stock UserPath(playerid)
  2741. {
  2742.     new
  2743.         string[128],
  2744.         playername[MAX_PLAYER_NAME];
  2745.     GetPlayerName(playerid, playername, sizeof(playername));
  2746.     format(string, sizeof(string), U_Path, playername);
  2747.     return string;
  2748. }
  2749.  
  2750. stock IsARolePlayName(name[])
  2751. {
  2752.     new
  2753.         szLastCell,
  2754.         bool:   bUnderScore;
  2755.     for(new i; i < strlen(name); i++)
  2756.     {
  2757.         if(name[i] == '_')
  2758.         {
  2759.             if(bUnderScore == true)
  2760.             {
  2761.                 return 0;
  2762.             }
  2763.             bUnderScore = true;
  2764.         }
  2765.         else if(!szLastCell || szLastCell == '_')
  2766.         {
  2767.             if(name[i] < 'A' || name[i] > 'Z')
  2768.             {
  2769.                 return 0;
  2770.             }
  2771.         }
  2772.         else
  2773.         {
  2774.             if(name[i] < 'a' || name[i] > 'z')
  2775.             return 0;
  2776.         }
  2777.         szLastCell = name[i];
  2778.     }
  2779.     if(bUnderScore == false)
  2780.         return 0;
  2781.     return 1;
  2782. }
  2783.  
  2784. stock CreateVehicles()
  2785. {
  2786.     AddStaticVehicle(420,1792.4155,-1867.6967,13.3874,358.8062,6,6); // Taxi Unity #1
  2787.     AddStaticVehicle(420,1797.1969,-1867.6871,13.3912,358.9693,6,6); // Taxi Unity #2
  2788.     AddStaticVehicle(420,1802.4940,-1867.6484,13.3940,358.8062,6,6); // Taxi Unity #3
  2789.     AddStaticVehicle(420,1807.8152,-1867.7207,13.4007,358.8062,6,6); // Taxi Unity #4
  2790.     AddStaticVehicle(428,1542.6244,-1024.6200,24.0320,163.2065,0,1); // Chuff #1
  2791.     AddStaticVehicle(428,1546.4946,-1026.1895,24.0301,163.4733,0,1); // Chuff #2
  2792.     AddStaticVehicle(428,1551.0212,-1027.5726,24.0321,162.4711,0,1); // Chuff #3
  2793.     AddStaticVehicle(428,1555.1923,-1028.6541,24.0309,162.7516,0,1); // Chuff #4
  2794.     AddStaticVehicle(428,1559.5815,-1029.7976,24.0310,163.7259,0,1); // Chuff #5
  2795.     AddStaticVehicle(428,1563.8594,-1031.3964,24.0355,163.6010,0,1); // Chuff #6
  2796.     AddStaticVehicle(407,1748.8777,-1747.8187,13.7787,179.7264,3,3); // Firetruck #1
  2797.     AddStaticVehicle(407,1748.7546,-1773.3698,13.7734,179.7226,3,3); // Firetruck #2
  2798.     AddStaticVehicle(544,1756.3743,-1750.8590,13.7830,180.3797,3,3); // Firetruck #3
  2799.     AddStaticVehicle(544,1756.5380,-1775.6364,13.7663,180.3931,3,3); // Firetruck #4
  2800.     AddStaticVehicle(416,1777.2903,-1746.6259,13.6893,88.1457,3,3); // Ambulance #1
  2801.     AddStaticVehicle(416,1777.3256,-1755.5341,13.6860,90.4082,3,3); // Ambulance #2
  2802.     AddStaticVehicle(416,1777.0990,-1764.0770,13.6837,89.4501,3,3); // Ambulance #3
  2803.     AddStaticVehicle(490,1786.8154,-1812.4023,13.5009,271.5747,3,3); // HighCommand #1
  2804.     AddStaticVehicle(490,1803.5540,-1811.9410,13.5068,271.5558,3,3); // HighCommand #2
  2805.     AddStaticVehicle(563,1757.3132,-1804.0237,14.2566,258.7231,3,3); // Heli #1
  2806.     AddStaticVehicle(417,1773.6213,-1805.8187,13.5849,349.9005,3,3); // Heli #2
  2807.     AddStaticVehicle(596,1535.8907,-1667.2198,13.1735,179.3318,0,1); // Police Car Front Parking #1
  2808.     AddStaticVehicle(596,1536.0482,-1678.1530,13.1733,1.2170,0,1); // Police Car Front Parking #2
  2809.     AddStaticVehicle(596,1601.9631,-1683.8263,5.6840,89.4808,0,1); // Police Car Garage #1
  2810.     AddStaticVehicle(596,1601.9381,-1688.1425,5.6807,90.1267,0,1); // Police Car Garage #2
  2811.     AddStaticVehicle(596,1602.2107,-1692.0289,5.6812,91.1234,0,1); // Police Car Garage #3
  2812.     AddStaticVehicle(596,1602.3807,-1696.5081,5.6820,89.9644,0,1); // Police Car Garage #4
  2813.     AddStaticVehicle(596,1602.6536,-1700.4277,5.6819,89.5848,0,1); // Police Car Garage #5
  2814.     AddStaticVehicle(596,1602.5537,-1704.6118,5.6811,87.0301,0,1); // Police Car Garage #6
  2815.     AddStaticVehicle(597,1595.3318,-1710.4631,5.6231,359.5312,0,1); // Police Car Garage #7
  2816.     AddStaticVehicle(597,1591.3741,-1710.6715,5.6282,358.8773,0,1); // Police Car Garage #8
  2817.     AddStaticVehicle(597,1587.4504,-1710.7787,5.6241,358.7083,0,1); // Police Car Garage #9
  2818.     AddStaticVehicle(597,1583.3441,-1711.0342,5.6240,357.2423,0,1); // Police Car Garage #10
  2819.     AddStaticVehicle(598,1578.4753,-1711.2062,5.7390,1.9196,0,1); // Police Car Garage #11
  2820.     AddStaticVehicle(598,1574.2926,-1711.2712,5.7361,359.7168,0,1); // Police Car Garage #12
  2821.     AddStaticVehicle(598,1570.3381,-1711.3073,5.7401,0.8495,0,1); // Police Car Garage #13
  2822.     AddStaticVehicle(599,1566.5381,-1711.6024,5.8880,358.4806,0,1); // Police Car Garage #14
  2823.     AddStaticVehicle(427,1563.0234,-1710.3127,6.0227,2.2083,0,1); // Police Car Garage #15
  2824.     AddStaticVehicle(523,1559.5975,-1713.1230,5.4810,9.2581,0,0); // Police Bike Garage #1
  2825.     AddStaticVehicle(523,1557.7421,-1708.3843,5.4810,338.7349,0,0); // Police Bike Garage #2
  2826.     AddStaticVehicle(426,1585.2378,-1671.8053,5.5632,269.2565,1,0); // Police CIB #1
  2827.     AddStaticVehicle(426,1585.4456,-1667.5935,5.5622,268.3707,1,0); // Police CIB #2
  2828. }
  2829.  
  2830. stock CreateEnters()
  2831. {
  2832.     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
  2833.     AddStaticPickup(1318, 1, 1081.2261, -1697.9417, 13.5469, 0); // Los Santos - Job enter | 1081.2261, -1697.9417, 13.5469
  2834.  
  2835.     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
  2836.     AddStaticPickup(1318, 1, 384.808624, 173.804992, 1008.382812, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2837.  
  2838.     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
  2839.     AddStaticPickup(1239, 1, 361.9746, 173.7579, 1008.3828, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2840.  
  2841.     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
  2842.     AddStaticPickup(1318, 1, 1434.4867, -968.4231, 37.3875, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2843.  
  2844.     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
  2845.     AddStaticPickup(1318, 1, 322.197998, 302.497985, 999.148437, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2846.  
  2847.     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
  2848.     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
  2849.  
  2850.     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
  2851.     AddStaticPickup(1318, 1, 1802.9580, -1771.9418, 14.0222, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2852.  
  2853.     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
  2854.     AddStaticPickup(1318, 1, 1976.3857, 1163.5022, -5.2087, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2855.  
  2856.     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
  2857.     AddStaticPickup(1239, 1, 1973.4854, 1167.9103, -5.2087, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2858.  
  2859.     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
  2860.     AddStaticPickup(1239, 1, 1967.2889, 1154.5425, -5.2087, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2861.  
  2862.     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
  2863.     AddStaticPickup(1318, 1, 1555.5000, -1675.7068, 16.1953, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2864.  
  2865.     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
  2866.     AddStaticPickup(1318, 1, 246.783996, 63.900199, 1003.640625, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2867.  
  2868.     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
  2869.     AddStaticPickup(1318, 1, 246.4677, 88.0083, 1003.6406, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2870.  
  2871.     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
  2872.     AddStaticPickup(1318, 1, 1568.5713, -1689.9702, 6.2188, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2873.  
  2874.     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
  2875.  
  2876.     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
  2877.     AddStaticPickup(1239, 1, 1572.7869, -1624.7345, 13.0293, 0); // Los Santos - Job exit  | 1702.0747, -1667.7676, 20.2188
  2878. }
  2879.  
  2880. stock CreateATMS()
  2881. {
  2882.     CreateObject(19526, 1833.24036, -1837.00122, 12.57600,   0.00000, 0.00000, -90.00000);
  2883.     CreateObject(19526, 2092.99292, -1359.76697, 22.93730,   0.00000, 0.00000, 0.00000);
  2884.     CreateObject(19526, 2228.34229, -1713.18457, 12.43970,   0.00000, 0.00000, -91.00000);
  2885.     CreateObject(19526, 1346.10840, -1759.18811, 12.42000,   0.00000, 0.00000, -180.00000);
  2886.     CreateObject(11008, 1792.03, -1759.35, 19.44,   0.00, 0.00, 0.00);
  2887.     CreateObject(640, 1805.90, -1742.66, 13.13,   0.00, 0.00, 270.00);
  2888.     CreateObject(640, 1805.75, -1776.46, 13.13,   0.00, 0.00, 269.88);
  2889.     CreateObject(640, 1808.66, -1742.67, 13.13,   0.00, 0.00, 270.00);
  2890.     CreateObject(640, 1808.73, -1776.46, 13.13,   0.00, 0.00, 269.88);
  2891.     CreateObject(1215, 1811.51, -1776.46, 13.06,   0.00, 0.00, 0.00);
  2892.     CreateObject(1215, 1811.50, -1742.73, 13.06,   0.00, 0.00, 0.00);
  2893.     CreateObject(983, 1805.28, -1742.24, 13.26,   0.00, 0.00, -90.30);
  2894.     CreateObject(983, 1808.46, -1742.25, 13.26,   0.00, 0.00, -90.30);
  2895.     CreateObject(983, 1808.46, -1776.85, 13.26,   0.00, 0.00, -89.76);
  2896.     CreateObject(983, 1805.25, -1776.04, 13.26,   0.00, 0.00, -90.12);
  2897.     CreateObject(983, 1805.25, -1743.04, 13.26,   0.00, 0.00, -90.30);
  2898.     CreateObject(983, 1808.43, -1743.06, 13.26,   0.00, 0.00, -90.30);
  2899.     CreateObject(983, 1808.46, -1742.25, 13.26,   0.00, 0.00, -90.30);
  2900.     CreateObject(983, 1808.47, -1776.05, 13.26,   0.00, 0.00, -90.06);
  2901.     CreateObject(983, 1805.26, -1776.84, 13.26,   0.00, 0.00, -90.18);
  2902.     CreateObject(640, 1808.69, -1750.68, 13.13,   0.00, 0.00, 269.88);
  2903.     CreateObject(640, 1805.80, -1751.27, 13.13,   0.00, 0.00, 269.88);
  2904.     CreateObject(640, 1805.79, -1750.69, 13.13,   0.00, 0.00, 269.82);
  2905.     CreateObject(983, 1805.28, -1751.69, 13.26,   0.00, 0.00, -90.24);
  2906.     CreateObject(983, 1808.43, -1750.27, 13.26,   0.00, 0.00, -90.18);
  2907.     CreateObject(983, 1805.24, -1750.25, 13.26,   0.00, 0.00, -90.18);
  2908.     CreateObject(983, 1808.45, -1751.70, 13.26,   0.00, 0.00, -90.30);
  2909.     CreateObject(640, 1808.68, -1751.28, 13.13,   0.00, 0.00, 269.88);
  2910.     CreateObject(1215, 1811.52, -1751.33, 13.06,   0.00, 0.00, 0.00);
  2911.     CreateObject(1215, 1811.50, -1750.70, 13.06,   0.00, 0.00, 0.00);
  2912.     CreateObject(983, 1808.44, -1758.89, 13.26,   0.00, 0.00, -90.18);
  2913.     CreateObject(983, 1805.23, -1758.88, 13.26,   0.00, 0.00, -90.18);
  2914.     CreateObject(983, 1805.25, -1760.30, 13.26,   0.00, 0.00, -90.24);
  2915.     CreateObject(640, 1806.04, -1759.26, 13.13,   0.00, 0.00, 269.82);
  2916.     CreateObject(640, 1806.07, -1759.93, 13.13,   0.00, 0.00, 269.88);
  2917.     CreateObject(640, 1808.72, -1759.93, 13.13,   0.00, 0.00, 269.88);
  2918.     CreateObject(640, 1808.72, -1759.26, 13.13,   0.00, 0.00, 269.88);
  2919.     CreateObject(983, 1808.44, -1760.30, 13.26,   0.00, 0.00, -90.30);
  2920.     CreateObject(1215, 1811.53, -1759.95, 13.06,   0.00, 0.00, 0.00);
  2921.     CreateObject(1215, 1811.54, -1759.30, 13.06,   0.00, 0.00, 0.00);
  2922.     CreateObject(640, 1805.89, -1767.93, 13.13,   0.00, 0.00, 269.88);
  2923.     CreateObject(983, 1805.31, -1768.28, 13.26,   0.00, 0.00, -90.12);
  2924.     CreateObject(983, 1805.29, -1767.49, 13.26,   0.00, 0.00, -90.18);
  2925.     CreateObject(983, 1808.50, -1767.50, 13.26,   0.00, 0.00, -90.18);
  2926.     CreateObject(640, 1808.78, -1767.91, 13.13,   0.00, 0.00, 269.88);
  2927.     CreateObject(983, 1808.51, -1768.29, 13.26,   0.00, 0.00, -89.76);
  2928.     CreateObject(1215, 1811.53, -1767.91, 13.06,   0.00, 0.00, 0.00);
  2929.     CreateObject(1364, 1805.23, -1769.04, 13.36,   0.00, 0.00, 0.00);
  2930.     CreateObject(1364, 1809.61, -1769.02, 13.36,   0.00, 0.00, 0.00);
  2931.     CreateObject(1290, 1807.44, -1759.55, 18.47,   0.00, 0.00, 88.03);
  2932.     CreateObject(1290, 1807.62, -1751.06, 18.47,   0.00, 0.00, 88.03);
  2933.     CreateObject(1364, 1805.23, -1775.32, 13.36,   0.00, 0.00, -179.94);
  2934.     CreateObject(1364, 1809.65, -1775.30, 13.36,   0.00, 0.00, -179.94);
  2935.     CreateObject(983, 1808.46, -1742.25, 13.26,   0.00, 0.00, -90.30);
  2936.     CreateObject(18850, 1793.02, -1755.00, 14.35,   0.00, 0.00, 0.00);
  2937.     CreateObject(16096, 1783.37, -1765.01, 28.62,   0.00, 0.00, -180.00);
  2938.     CreateObject(1215, 1775.84, -1742.66, 13.06,   0.00, 0.00, 0.00);
  2939.     CreateObject(983, 1759.95, -1745.53, 13.25,   0.00, 0.00, -179.94);
  2940.     CreateObject(640, 1778.77, -1742.66, 13.25,   0.00, 0.00, 270.31);
  2941.     CreateObject(983, 1778.91, -1751.66, 13.25,   0.00, 0.00, -89.52);
  2942.     CreateObject(640, 1778.63, -1750.68, 13.25,   0.00, 0.00, 270.37);
  2943.     CreateObject(640, 1778.64, -1751.26, 13.25,   0.00, 0.00, 270.37);
  2944.     CreateObject(983, 1778.90, -1750.35, 13.25,   0.00, 0.00, -89.52);
  2945.     CreateObject(1215, 1775.77, -1750.74, 13.06,   0.00, 0.00, 0.00);
  2946.     CreateObject(1215, 1775.78, -1751.29, 13.06,   0.00, 0.00, 0.00);
  2947.     CreateObject(983, 1779.28, -1758.90, 13.25,   0.00, 0.00, -89.52);
  2948.     CreateObject(1215, 1776.11, -1759.37, 13.06,   0.00, 0.00, 0.00);
  2949.     CreateObject(1215, 1776.12, -1759.87, 13.06,   0.00, 0.00, 0.00);
  2950.     CreateObject(640, 1778.94, -1759.30, 13.25,   0.00, 0.00, 270.37);
  2951.     CreateObject(983, 1779.26, -1760.26, 13.25,   0.00, 0.00, -89.52);
  2952.     CreateObject(640, 1778.93, -1759.86, 13.25,   0.00, 0.00, 270.37);
  2953.     CreateObject(983, 1781.16, -1815.59, 13.25,   0.00, 0.00, -180.36);
  2954.     CreateObject(983, 1779.46, -1776.04, 13.25,   0.00, 0.00, -89.52);
  2955.     CreateObject(1215, 1776.36, -1776.47, 13.06,   0.00, 0.00, 0.00);
  2956.     CreateObject(983, 1779.22, -1768.29, 13.25,   0.00, 0.00, -89.52);
  2957.     CreateObject(640, 1778.91, -1767.93, 13.25,   0.00, 0.00, 270.37);
  2958.     CreateObject(1215, 1776.04, -1767.92, 13.06,   0.00, 0.00, 0.00);
  2959.     CreateObject(983, 1779.11, -1767.54, 13.25,   0.00, 0.00, -89.52);
  2960.     CreateObject(3881, 1808.80, -1781.05, 14.27,   0.00, 0.00, 0.00);
  2961.     CreateObject(3361, 1801.69, -1777.95, 14.05,   0.00, 0.00, -180.12);
  2962.     CreateObject(2773, 1778.68, -1773.87, 13.04,   0.00, 0.00, -90.00);
  2963.     CreateObject(2773, 1778.60, -1770.51, 13.04,   0.00, 0.00, -90.00);
  2964.     CreateObject(640, 1760.34, -1750.66, 13.25,   0.00, 0.00, 180.01);
  2965.     CreateObject(983, 1778.99, -1743.02, 13.25,   0.00, 0.00, -89.52);
  2966.     CreateObject(983, 1760.71, -1745.52, 13.25,   0.00, 0.00, -179.94);
  2967.     CreateObject(983, 1760.73, -1751.93, 13.25,   0.00, 0.00, -179.94);
  2968.     CreateObject(983, 1760.75, -1758.33, 13.25,   0.00, 0.00, -179.94);
  2969.     CreateObject(983, 1760.76, -1764.71, 13.25,   0.00, 0.00, -179.94);
  2970.     CreateObject(640, 1760.32, -1745.03, 13.25,   0.00, 0.00, 180.01);
  2971.     CreateObject(983, 1759.95, -1751.95, 13.25,   0.00, 0.00, -179.94);
  2972.     CreateObject(640, 1760.35, -1756.49, 13.25,   0.00, 0.00, 180.01);
  2973.     CreateObject(983, 1759.95, -1758.40, 13.25,   0.00, 0.00, -179.94);
  2974.     CreateObject(640, 1760.36, -1760.89, 13.25,   0.00, 0.00, 180.01);
  2975.     CreateObject(983, 1759.96, -1764.79, 13.25,   0.00, 0.00, -179.94);
  2976.     CreateObject(1215, 1760.32, -1769.98, 13.08,   0.00, 0.00, 0.00);
  2977.     CreateObject(16375, 1793.59, -1822.18, 12.60,   0.00, 0.00, -8.88);
  2978.     CreateObject(3578, 1752.77, -1747.43, 13.33,   0.00, 0.00, -89.76);
  2979.     CreateObject(3578, 1752.78, -1755.31, 13.33,   0.00, 0.00, -89.76);
  2980.     CreateObject(3578, 1752.80, -1762.69, 13.33,   0.00, 0.00, -89.76);
  2981.     CreateObject(19425, 1750.56, -1779.07, 12.52,   0.00, 0.00, 0.00);
  2982.     CreateObject(19425, 1747.26, -1779.09, 12.52,   0.00, 0.00, 0.00);
  2983.     CreateObject(19425, 1755.12, -1779.03, 12.52,   0.00, 0.00, 0.00);
  2984.     CreateObject(19425, 1758.31, -1779.04, 12.52,   0.00, 0.00, 0.00);
  2985.     CreateObject(640, 1779.20, -1776.43, 13.25,   0.00, 0.00, 270.37);
  2986.     CreateObject(2773, 1804.43, -1771.10, 13.15,   0.00, 0.00, -90.18);
  2987.     CreateObject(2773, 1804.29, -1773.20, 13.15,   0.00, 0.00, -90.18);
  2988.     CreateObject(8674, 1811.65, -1809.13, 13.79,   0.00, 0.00, -90.00);
  2989.     CreateObject(8674, 1811.64, -1781.97, 13.79,   0.00, 0.00, -90.00);
  2990.     CreateObject(8674, 1811.64, -1816.81, 13.79,   0.00, 0.00, -90.00);
  2991.     CreateObject(8674, 1745.60, -1747.38, 13.79,   0.00, 0.00, -269.70);
  2992.     CreateObject(8674, 1745.63, -1757.66, 13.79,   0.00, 0.00, -269.88);
  2993.     CreateObject(8674, 1745.63, -1767.94, 13.79,   0.00, 0.00, -270.12);
  2994.     CreateObject(8674, 1745.61, -1778.25, 13.79,   0.00, 0.00, -270.12);
  2995.     CreateObject(8674, 1745.61, -1788.55, 13.79,   0.00, 0.00, -270.12);
  2996.     CreateObject(8674, 1745.60, -1798.84, 13.79,   0.00, 0.00, -270.12);
  2997.     CreateObject(8674, 1745.59, -1803.97, 13.79,   0.00, 0.00, -270.12);
  2998.     CreateObject(8674, 1750.57, -1810.54, 13.79,   0.00, 0.00, -375.30);
  2999.     CreateObject(7922, 1810.53, -1821.36, 13.95,   0.00, 0.00, -179.64);
  3000.     CreateObject(8674, 1760.49, -1813.27, 13.79,   0.00, 0.00, -375.36);
  3001.     CreateObject(8674, 1770.42, -1815.96, 13.79,   0.00, 0.00, -374.88);
  3002.     CreateObject(8674, 1780.36, -1818.61, 13.79,   0.00, 0.00, -374.88);
  3003.     CreateObject(8674, 1790.29, -1821.26, 13.79,   0.00, 0.00, -374.88);
  3004.     CreateObject(8674, 1800.42, -1822.49, 13.79,   0.00, 0.00, -358.74);
  3005.     CreateObject(8674, 1805.54, -1822.39, 13.79,   0.00, 0.00, -358.74);
  3006.     CreateObject(1223, 1775.96, -1767.93, 12.52,   0.00, 0.00, 162.48);
  3007.     CreateObject(8841, 1760.42, -1764.23, 15.50,   0.00, 0.00, 270.13);
  3008.     CreateObject(640, 1760.36, -1767.00, 13.25,   0.00, 0.00, 180.01);
  3009.     CreateObject(640, 1760.35, -1772.88, 13.25,   0.00, 0.00, 180.01);
  3010.     CreateObject(983, 1760.77, -1771.10, 13.25,   0.00, 0.00, -179.94);
  3011.     CreateObject(983, 1759.96, -1771.18, 13.25,   0.00, 0.00, -179.94);
  3012.     CreateObject(1215, 1760.31, -1753.61, 13.04,   0.00, 0.00, 0.00);
  3013.     CreateObject(640, 1760.37, -1775.73, 13.25,   0.00, 0.00, 180.01);
  3014.     CreateObject(983, 1760.79, -1775.88, 13.25,   0.00, 0.00, -179.94);
  3015.     CreateObject(983, 1759.96, -1775.99, 13.25,   0.00, 0.00, -179.94);
  3016.     CreateObject(8674, 1750.74, -1742.27, 13.79,   0.00, 0.00, -360.06);
  3017.     CreateObject(8674, 1761.03, -1742.27, 13.79,   0.00, 0.00, -360.06);
  3018.     CreateObject(8674, 1771.34, -1742.25, 13.79,   0.00, 0.00, -360.06);
  3019.     CreateObject(8674, 1776.48, -1742.27, 13.79,   0.00, 0.00, -360.06);
  3020.     CreateObject(3578, 1752.83, -1770.07, 13.33,   0.00, 0.00, -89.76);
  3021.     CreateObject(3578, 1752.84, -1774.22, 13.33,   0.00, 0.00, -89.76);
  3022.     CreateObject(640, 1794.02, -1780.81, 13.25,   0.00, 0.00, 179.71);
  3023.     CreateObject(640, 1791.00, -1783.16, 13.25,   0.00, 0.00, 90.49);
  3024.     CreateObject(640, 1787.12, -1783.19, 13.25,   0.00, 0.00, 90.49);
  3025.     CreateObject(640, 1784.09, -1783.22, 13.25,   0.00, 0.00, 90.49);
  3026.     CreateObject(983, 1787.62, -1777.60, 13.25,   0.00, 0.00, -89.52);
  3027.     CreateObject(1676, 1789.21, -1777.19, 14.07,   0.00, 0.00, 0.00);
  3028.     CreateObject(1676, 1786.04, -1777.24, 14.07,   0.00, 0.00, 0.00);
  3029.     CreateObject(983, 1790.79, -1774.40, 13.25,   0.00, 0.00, -179.34);
  3030.     CreateObject(983, 1784.40, -1774.44, 13.25,   0.00, 0.00, -179.34);
  3031.     CreateObject(1775, 1795.02, -1777.21, 13.66,   0.00, 0.00, 0.00);
  3032.     CreateObject(1215, 1790.46, -1777.25, 13.14,   0.00, 0.00, 0.00);
  3033.     CreateObject(1215, 1784.81, -1777.28, 13.14,   0.00, 0.00, 0.00);
  3034.     CreateObject(638, 1787.66, -1776.22, 13.23,   0.00, 0.00, 0.00);
  3035.     CreateObject(2690, 1781.66, -1776.86, 14.17,   0.00, 0.00, 0.00);
  3036.     CreateObject(2690, 1792.11, -1776.87, 14.17,   0.00, 0.00, 0.00);
  3037.     CreateObject(640, 1794.03, -1779.29, 13.25,   0.00, 0.00, 179.71);
  3038.     CreateObject(640, 1781.61, -1805.87, 13.25,   0.00, 0.00, 179.71);
  3039.     CreateObject(640, 1781.58, -1811.22, 13.25,   0.00, 0.00, 179.71);
  3040.     CreateObject(640, 1781.54, -1816.12, 13.25,   0.00, 0.00, 179.71);
  3041.     CreateObject(983, 1779.46, -1776.81, 13.25,   0.00, 0.00, -89.52);
  3042.     CreateObject(983, 1781.19, -1809.21, 13.25,   0.00, 0.00, -180.30);
  3043.     CreateObject(983, 1781.20, -1806.02, 13.25,   0.00, 0.00, -180.30);
  3044.     CreateObject(1215, 1781.64, -1803.01, 13.13,   0.00, 0.00, 0.00);
  3045.     CreateObject(983, 1781.93, -1815.77, 13.25,   0.00, 0.00, -180.60);
  3046.     CreateObject(983, 1781.98, -1809.38, 13.25,   0.00, 0.00, -180.60);
  3047.     CreateObject(983, 1782.02, -1805.98, 13.25,   0.00, 0.00, -180.60);
  3048.     CreateObject(16375, 1744.07, -1825.85, 12.60,   0.00, 0.00, -91.32);
  3049.     CreateObject(1294, 1769.12, -1736.39, 16.91,   3.14, 0.00, -91.47);
  3050.     CreateObject(1294, 1826.20, -1736.81, 16.91,   3.14, 0.00, -1.83);
  3051.     CreateObject(1294, 1803.90, -1736.50, 16.91,   3.14, 0.00, -91.47);
  3052.     new g_Object[383];
  3053.     g_Object[0] = CreateObject(18981, 1939.7412, 1167.5046, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3054.     SetObjectMaterial(g_Object[0], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
  3055.     g_Object[1] = CreateObject(18981, 1964.7296, 1167.5046, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3056.     SetObjectMaterial(g_Object[1], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
  3057.     g_Object[2] = CreateObject(18981, 1964.7307, 1192.4958, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3058.     SetObjectMaterial(g_Object[2], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
  3059.     g_Object[3] = CreateObject(18981, 1964.7319, 1142.5061, -6.7087, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3060.     SetObjectMaterial(g_Object[3], 0, 11301, "carshow_sfse", "ws_officy_ceiling", 0xFFFFFFFF);
  3061.     g_Object[4] = CreateObject(968, 1976.7353, 1164.5073, -7.9559, 0.0000, 0.0000, 90.0000); //barrierturn
  3062.     SetObjectMaterial(g_Object[4], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3063.     g_Object[5] = CreateObject(968, 1976.7353, 1168.0898, -7.9559, 0.0000, 0.0000, 90.0000); //barrierturn
  3064.     SetObjectMaterial(g_Object[5], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3065.     g_Object[6] = CreateObject(968, 1976.7353, 1169.8375, -3.2660, 0.0000, 270.0000, 90.0000); //barrierturn
  3066.     SetObjectMaterial(g_Object[6], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3067.     g_Object[7] = CreateObject(968, 1976.7353, 1169.8166, -2.1760, 0.0000, 270.0000, 90.0000); //barrierturn
  3068.     SetObjectMaterial(g_Object[7], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3069.     g_Object[8] = CreateObject(968, 1976.7353, 1155.6866, -2.1259, 0.0000, 90.0000, 90.0000); //barrierturn
  3070.     SetObjectMaterial(g_Object[8], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3071.     g_Object[9] = CreateObject(968, 1976.7353, 1155.7164, -3.2060, 0.0000, 90.0000, 90.0000); //barrierturn
  3072.     SetObjectMaterial(g_Object[9], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3073.     g_Object[10] = CreateObject(968, 1976.7353, 1162.4350, -7.9060, 0.0000, 0.0000, 90.0000); //barrierturn
  3074.     SetObjectMaterial(g_Object[10], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3075.     g_Object[11] = CreateObject(968, 1976.7353, 1158.9437, -7.9060, 0.0000, 0.0000, 90.0000); //barrierturn
  3076.     SetObjectMaterial(g_Object[11], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3077.     g_Object[12] = CreateObject(968, 1976.8454, 1163.4958, -10.1960, 0.0000, 0.0000, 0.0000); //barrierturn
  3078.     SetObjectMaterial(g_Object[12], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3079.     g_Object[13] = CreateObject(19325, 1976.7369, 1159.0970, -4.2726, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3080.     SetObjectMaterial(g_Object[13], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3081.     g_Object[14] = CreateObject(19325, 1976.7369, 1167.8768, -4.2726, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3082.     SetObjectMaterial(g_Object[14], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3083.     g_Object[15] = CreateObject(19325, 1976.7469, 1163.3872, -1.0828, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3084.     SetObjectMaterial(g_Object[15], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3085.     g_Object[16] = CreateObject(2962, 1976.7027, 1163.5102, -3.2734, 0.0000, 0.0000, 270.0000); //fire_break_glass
  3086.     SetObjectMaterial(g_Object[16], 0, 10765, "airportgnd_sfse", "white", 0xFF335F3F);
  3087.     g_Object[17] = CreateObject(19325, 1976.7668, 1163.3872, -5.3727, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3088.     SetObjectMaterial(g_Object[17], 0, 10765, "airportgnd_sfse", "white", 0xFF46597A);
  3089.     g_Object[18] = CreateObject(18762, 1976.2641, 1158.3581, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3090.     SetObjectMaterial(g_Object[18], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3091.     g_Object[19] = CreateObject(18762, 1976.2641, 1168.7281, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3092.     SetObjectMaterial(g_Object[19], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3093.     g_Object[20] = CreateObject(18981, 1964.9095, 1167.5046, -1.5384, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3094.     SetObjectMaterial(g_Object[20], 0, 14534, "ab_wooziea", "dt_office_roof", 0xFFFFFFFF);
  3095.     g_Object[21] = CreateObject(18981, 1964.9095, 1142.5251, -1.5384, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3096.     SetObjectMaterial(g_Object[21], 0, 14534, "ab_wooziea", "dt_office_roof", 0xFFFFFFFF);
  3097.     g_Object[22] = CreateObject(19464, 1975.9908, 1172.1020, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3098.     SetObjectMaterial(g_Object[22], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3099.     g_Object[23] = CreateObject(19464, 1975.9908, 1155.0305, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3100.     SetObjectMaterial(g_Object[23], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3101.     g_Object[24] = CreateObject(19464, 1975.9908, 1149.1103, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3102.     SetObjectMaterial(g_Object[24], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3103.     g_Object[25] = CreateObject(19464, 1972.9609, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3104.     SetObjectMaterial(g_Object[25], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3105.     g_Object[26] = CreateObject(19464, 1967.0510, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3106.     SetObjectMaterial(g_Object[26], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3107.     g_Object[27] = CreateObject(19464, 1961.1206, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3108.     SetObjectMaterial(g_Object[27], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3109.     g_Object[28] = CreateObject(19464, 1955.2003, 1146.2292, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3110.     SetObjectMaterial(g_Object[28], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3111.     g_Object[29] = CreateObject(19464, 1952.3392, 1149.2993, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3112.     SetObjectMaterial(g_Object[29], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3113.     g_Object[30] = CreateObject(19464, 1952.3392, 1155.1993, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3114.     SetObjectMaterial(g_Object[30], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3115.     g_Object[31] = CreateObject(19464, 1952.3392, 1161.0886, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3116.     SetObjectMaterial(g_Object[31], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3117.     g_Object[32] = CreateObject(19464, 1952.3392, 1167.0091, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3118.     SetObjectMaterial(g_Object[32], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3119.     g_Object[33] = CreateObject(19464, 1952.3392, 1172.8989, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3120.     SetObjectMaterial(g_Object[33], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3121.     g_Object[34] = CreateObject(19464, 1972.9200, 1175.1489, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3122.     SetObjectMaterial(g_Object[34], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3123.     g_Object[35] = CreateObject(19464, 1968.5977, 1175.1689, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3124.     SetObjectMaterial(g_Object[35], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3125.     g_Object[36] = CreateObject(19464, 1957.1118, 1175.1589, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3126.     SetObjectMaterial(g_Object[36], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3127.     g_Object[37] = CreateObject(19464, 1955.1391, 1175.1489, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3128.     SetObjectMaterial(g_Object[37], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3129.     g_Object[38] = CreateObject(18762, 1965.7314, 1168.7197, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3130.     SetObjectMaterial(g_Object[38], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3131.     g_Object[39] = CreateObject(2911, 1968.3540, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
  3132.     SetObjectMaterial(g_Object[39], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
  3133.     g_Object[40] = CreateObject(19447, 1970.9798, 1168.6091, -6.9439, 0.0000, 0.0000, 90.0000); //wall087
  3134.     SetObjectMaterial(g_Object[40], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3135.     g_Object[41] = CreateObject(2911, 1966.2335, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
  3136.     SetObjectMaterial(g_Object[41], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
  3137.     g_Object[42] = CreateObject(2911, 1970.4836, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
  3138.     SetObjectMaterial(g_Object[42], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
  3139.     g_Object[43] = CreateObject(2911, 1972.6234, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
  3140.     SetObjectMaterial(g_Object[43], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
  3141.     g_Object[44] = CreateObject(2911, 1974.7729, 1168.2181, -5.2097, 90.0000, 90.0000, 0.0000); //kmb_petroldoor
  3142.     SetObjectMaterial(g_Object[44], 0, 14650, "ab_trukstpc", "mp_CJ_WOOD5", 0xFFFFFFFF);
  3143.     g_Object[45] = CreateObject(18880, 1971.1904, 1168.6573, -6.3056, 0.0000, 0.0000, 0.0000); //SpeedCamera1
  3144.     SetObjectMaterial(g_Object[45], 2, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3145.     g_Object[46] = CreateObject(19447, 1970.9798, 1168.6490, -1.8341, 0.0000, 0.0000, 90.0000); //wall087
  3146.     SetObjectMaterial(g_Object[46], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3147.     g_Object[47] = CreateObject(18762, 1965.7314, 1158.4040, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3148.     SetObjectMaterial(g_Object[47], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3149.     g_Object[48] = CreateObject(968, 1965.6733, 1158.3070, -2.1259, 0.0000, 90.0000, 90.0000); //barrierturn
  3150.     SetObjectMaterial(g_Object[48], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3151.     g_Object[49] = CreateObject(19327, 1968.8082, 1168.5582, -2.7681, 0.0000, 0.0000, 0.0000); //7_11_sign02
  3152.     SetObjectMaterialText(g_Object[49], "LAFMD", 0, 90, "Arial", 25, 1, 0xFF840410, 0x0, 1);
  3153.     g_Object[50] = CreateObject(19327, 1973.5605, 1168.5582, -2.7681, 0.0000, 0.0000, 0.0000); //7_11_sign02
  3154.     SetObjectMaterialText(g_Object[50], "Health Care", 0, 90, "Arial", 25, 1, 0xFF840410, 0x0, 1);
  3155.     g_Object[51] = CreateObject(968, 1965.6733, 1168.8680, -2.1860, 0.0000, 270.0000, 90.0000); //barrierturn
  3156.     SetObjectMaterial(g_Object[51], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3157.     g_Object[52] = CreateObject(19465, 1965.7506, 1172.1706, -3.7079, 0.0000, 0.0000, 0.0000); //wall105
  3158.     SetObjectMaterial(g_Object[52], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3159.     g_Object[53] = CreateObject(968, 1965.6733, 1168.8680, -3.3959, 0.0000, 270.0000, 90.0000); //barrierturn
  3160.     SetObjectMaterial(g_Object[53], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3161.     g_Object[54] = CreateObject(968, 1965.6733, 1158.0144, -3.3359, 0.0000, 90.0000, 90.0000); //barrierturn
  3162.     SetObjectMaterial(g_Object[54], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3163.     g_Object[55] = CreateObject(968, 1965.6733, 1158.9941, -8.8458, 0.0000, 0.0000, 90.0000); //barrierturn
  3164.     SetObjectMaterial(g_Object[55], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3165.     g_Object[56] = CreateObject(968, 1965.6733, 1168.0869, -8.8458, 0.0000, 0.0000, 90.0000); //barrierturn
  3166.     SetObjectMaterial(g_Object[56], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3167.     g_Object[57] = CreateObject(19464, 1969.0384, 1158.1396, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3168.     SetObjectMaterial(g_Object[57], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3169.     g_Object[58] = CreateObject(19325, 1965.6715, 1162.3077, -1.2826, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3170.     SetObjectMaterial(g_Object[58], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3171.     g_Object[59] = CreateObject(19325, 1965.6715, 1168.9481, -1.2826, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3172.     SetObjectMaterial(g_Object[59], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3173.     g_Object[60] = CreateObject(19325, 1965.6722, 1160.4095, -6.6999, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3174.     SetObjectMaterial(g_Object[60], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3175.     g_Object[61] = CreateObject(19325, 1965.6722, 1166.5600, -6.6999, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3176.     SetObjectMaterial(g_Object[61], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3177.     g_Object[62] = CreateObject(968, 1965.6733, 1164.5146, -8.8458, 0.0000, 0.0000, 90.0000); //barrierturn
  3178.     SetObjectMaterial(g_Object[62], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3179.     g_Object[63] = CreateObject(968, 1965.6733, 1162.4232, -8.9960, 0.0000, 0.0000, 90.0000); //barrierturn
  3180.     SetObjectMaterial(g_Object[63], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3181.     g_Object[64] = CreateObject(19464, 1974.9576, 1158.1396, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3182.     SetObjectMaterial(g_Object[64], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3183.     g_Object[65] = CreateObject(19325, 1971.0163, 1158.2766, -2.7783, 0.0000, 0.0000, 270.0000); //lsmall_window01
  3184.     SetObjectMaterial(g_Object[65], 0, 5708, "hospital_lawn", "allsaints2_law copy", 0xFFFFFFFF);
  3185.     g_Object[66] = CreateObject(1726, 1969.3596, 1159.0240, -6.2140, 0.0000, 0.0000, 180.0000); //mrk_seating2
  3186.     g_Object[67] = CreateObject(1726, 1974.6114, 1159.0240, -6.2140, 0.0000, 0.0000, 180.0000); //mrk_seating2
  3187.     g_Object[68] = CreateObject(2311, 1970.2159, 1158.8503, -6.2505, 0.0000, 0.0000, 0.0000); //CJ_TV_TABLE2
  3188.     g_Object[69] = CreateObject(2773, 1971.1706, 1167.2148, -5.7027, 0.0000, 0.0000, 0.0000); //CJ_AIRPRT_BAR
  3189.     g_Object[70] = CreateObject(18880, 1968.3481, 1172.1485, -6.3056, 0.0000, 0.0000, 0.0000); //SpeedCamera1
  3190.     SetObjectMaterial(g_Object[70], 2, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3191.     g_Object[71] = CreateObject(19447, 1971.1600, 1166.2585, -7.9541, 0.0000, 0.0000, 90.0000); //wall087
  3192.     SetObjectMaterial(g_Object[71], 0, 5168, "lashops6_las2", "yellow2_128", 0xFFFFFFFF);
  3193.     g_Object[72] = CreateObject(19447, 1973.0708, 1172.1311, -5.2441, 0.0000, 0.0000, 90.0000); //wall087
  3194.     SetObjectMaterial(g_Object[72], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3195.     g_Object[73] = CreateObject(2164, 1973.5222, 1172.0069, -6.2367, 0.0000, 0.0000, 0.0000); //MED_OFFICE_UNIT_5
  3196.     g_Object[74] = CreateObject(2164, 1969.9892, 1172.0069, -6.2367, 0.0000, 0.0000, 0.0000); //MED_OFFICE_UNIT_5
  3197.     g_Object[75] = CreateObject(2163, 1971.7500, 1172.0091, -6.2287, 0.0000, 0.0000, 0.0000); //MED_OFFICE_UNIT_2
  3198.     g_Object[76] = CreateObject(2010, 1968.9803, 1171.7712, -6.2311, 0.0000, 0.0000, 0.0000); //nu_plant3_ofc
  3199.     g_Object[77] = CreateObject(19465, 1960.1040, 1172.1102, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
  3200.     SetObjectMaterial(g_Object[77], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3201.     g_Object[78] = CreateObject(19465, 1960.1040, 1166.1804, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
  3202.     SetObjectMaterial(g_Object[78], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3203.     g_Object[79] = CreateObject(19465, 1960.1040, 1160.2894, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
  3204.     SetObjectMaterial(g_Object[79], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3205.     g_Object[80] = CreateObject(19464, 1957.0638, 1163.2424, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
  3206.     SetObjectMaterial(g_Object[80], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3207.     g_Object[81] = CreateObject(19464, 1951.1632, 1163.2424, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
  3208.     SetObjectMaterial(g_Object[81], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3209.     g_Object[82] = CreateObject(19464, 1957.2231, 1157.4482, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
  3210.     SetObjectMaterial(g_Object[82], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3211.     g_Object[83] = CreateObject(19464, 1951.3236, 1157.4482, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
  3212.     SetObjectMaterial(g_Object[83], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3213.     g_Object[84] = CreateObject(19464, 1957.2541, 1169.1278, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
  3214.     SetObjectMaterial(g_Object[84], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3215.     g_Object[85] = CreateObject(19464, 1951.3542, 1169.1278, -3.7202, 0.0000, 0.0000, 90.0000); //wall104
  3216.     SetObjectMaterial(g_Object[85], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3217.     g_Object[86] = CreateObject(19378, 1948.1954, 1162.1955, -3.8499, 0.0000, 90.0000, 0.0000); //wall026
  3218.     SetObjectMaterial(g_Object[86], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3219.     g_Object[87] = CreateObject(19378, 1948.1954, 1171.7757, -3.8499, 0.0000, 90.0000, 0.0000); //wall026
  3220.     SetObjectMaterial(g_Object[87], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3221.     g_Object[88] = CreateObject(19360, 1951.7020, 1169.2314, -5.1160, 0.0000, 90.0000, 0.0000); //wall008
  3222.     SetObjectMaterial(g_Object[88], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3223.     g_Object[89] = CreateObject(19360, 1951.7020, 1175.1014, -5.1160, 0.0000, 90.0000, 0.0000); //wall008
  3224.     SetObjectMaterial(g_Object[89], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3225.     g_Object[90] = CreateObject(19360, 1951.7020, 1163.3072, -5.1160, 0.0000, 90.0000, 0.0000); //wall008
  3226.     SetObjectMaterial(g_Object[90], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3227.     g_Object[91] = CreateObject(19433, 1951.7131, 1158.1280, -5.1156, 0.0000, 90.0000, 0.0000); //wall073
  3228.     SetObjectMaterial(g_Object[91], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3229.     g_Object[92] = CreateObject(19360, 1951.8337, 1158.9947, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
  3230.     SetObjectMaterial(g_Object[92], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3231.     g_Object[93] = CreateObject(19360, 1951.8337, 1161.6269, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
  3232.     SetObjectMaterial(g_Object[93], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3233.     g_Object[94] = CreateObject(19360, 1951.8337, 1164.9801, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
  3234.     SetObjectMaterial(g_Object[94], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3235.     g_Object[95] = CreateObject(19360, 1951.8337, 1167.5417, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
  3236.     SetObjectMaterial(g_Object[95], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3237.     g_Object[96] = CreateObject(19360, 1951.8337, 1170.9121, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
  3238.     SetObjectMaterial(g_Object[96], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3239.     g_Object[97] = CreateObject(19360, 1951.8337, 1173.4139, -5.5156, 0.0000, 0.0000, 90.0000); //wall008
  3240.     SetObjectMaterial(g_Object[97], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3241.     g_Object[98] = CreateObject(1801, 1955.9825, 1165.7346, -6.2883, 0.0000, 0.0000, 90.0000); //SWANK_BED_4
  3242.     g_Object[99] = CreateObject(1801, 1955.9825, 1159.8214, -6.2883, 0.0000, 0.0000, 90.0000); //SWANK_BED_4
  3243.     g_Object[100] = CreateObject(1801, 1955.9825, 1171.7419, -6.2883, 0.0000, 0.0000, 90.0000); //SWANK_BED_4
  3244.     g_Object[101] = CreateObject(16377, 1953.9802, 1168.3458, -5.2462, 0.0000, 0.0000, -123.9999); //tv_stand_by
  3245.     SetObjectMaterial(g_Object[101], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3246.     g_Object[102] = CreateObject(16377, 1954.0118, 1174.3674, -5.2462, 0.0000, 0.0000, -123.9999); //tv_stand_by
  3247.     SetObjectMaterial(g_Object[102], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3248.     g_Object[103] = CreateObject(16377, 1953.9829, 1162.4685, -5.2462, 0.0000, 0.0000, -123.9999); //tv_stand_by
  3249.     SetObjectMaterial(g_Object[103], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3250.     g_Object[104] = CreateObject(2700, 1959.6894, 1172.0959, -3.1793, 0.0000, 0.0000, 180.0000); //CJ_SEX_TV2
  3251.     g_Object[105] = CreateObject(2700, 1959.6894, 1166.1562, -3.1793, 0.0000, 0.0000, 180.0000); //CJ_SEX_TV2
  3252.     g_Object[106] = CreateObject(2700, 1959.6894, 1160.2760, -3.1793, 0.0000, 0.0000, 180.0000); //CJ_SEX_TV2
  3253.     g_Object[107] = CreateObject(2200, 1958.4752, 1169.3669, -6.2550, 0.0000, 0.0000, 180.0000); //MED_OFFICE5_UNIT_1
  3254.     g_Object[108] = CreateObject(2200, 1958.4752, 1163.5052, -6.2550, 0.0000, 0.0000, 180.0000); //MED_OFFICE5_UNIT_1
  3255.     g_Object[109] = CreateObject(2200, 1958.4752, 1157.7143, -6.2550, 0.0000, 0.0000, 180.0000); //MED_OFFICE5_UNIT_1
  3256.     g_Object[110] = CreateObject(1491, 1960.1689, 1171.3487, -6.2663, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
  3257.     g_Object[111] = CreateObject(1491, 1960.1689, 1165.4166, -6.2663, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
  3258.     g_Object[112] = CreateObject(1491, 1960.1689, 1159.5246, -6.2663, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
  3259.     g_Object[113] = CreateObject(19464, 1965.8143, 1154.9514, -3.7172, 0.0000, 0.0000, 0.0000); //wall104
  3260.     SetObjectMaterial(g_Object[113], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3261.     g_Object[114] = CreateObject(19465, 1965.8166, 1149.0246, -3.7207, 0.0000, 0.0000, 0.0000); //wall105
  3262.     SetObjectMaterial(g_Object[114], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3263.     g_Object[115] = CreateObject(19465, 1968.8082, 1150.8656, -3.7207, 0.0000, 0.0000, 90.0000); //wall105
  3264.     SetObjectMaterial(g_Object[115], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3265.     g_Object[116] = CreateObject(19464, 1974.7342, 1150.8708, -7.7371, 0.0000, 180.0000, 90.0000); //wall104
  3266.     SetObjectMaterial(g_Object[116], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3267.     g_Object[117] = CreateObject(19464, 1976.0825, 1154.4094, -8.6855, 0.0000, 0.0000, 0.0000); //wall104
  3268.     g_Object[118] = CreateObject(19464, 1968.9104, 1150.8873, 0.0544, 0.0000, 180.0000, 90.0000); //wall104
  3269.     SetObjectMaterial(g_Object[118], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3270.     g_Object[119] = CreateObject(19464, 1978.1418, 1150.8773, -3.7255, 0.0000, 0.0000, 90.0000); //wall104
  3271.     SetObjectMaterial(g_Object[119], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3272.     g_Object[120] = CreateObject(19325, 1973.5284, 1150.8802, -4.1251, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3273.     g_Object[121] = CreateObject(19464, 1974.8392, 1150.8873, 0.0544, 0.0000, 180.0000, 90.0000); //wall104
  3274.     SetObjectMaterial(g_Object[121], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3275.     g_Object[122] = CreateObject(16663, 1972.2143, 1155.8813, -2.5973, 0.0000, 0.0000, 70.1996); //a51_jetpstuff
  3276.     g_Object[123] = CreateObject(1997, 1973.3298, 1154.0831, -6.2167, 0.0000, 0.0000, 180.0000); //hos_trolley
  3277.     g_Object[124] = CreateObject(1792, 1975.5992, 1154.0615, -4.3740, 8.4996, 0.0000, -97.6996); //SWANK_TV_1
  3278.     SetObjectMaterial(g_Object[124], 0, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3279.     g_Object[125] = CreateObject(2994, 1972.2961, 1152.5251, -5.6956, 0.0000, 0.0000, 104.7995); //kmb_trolley
  3280.     SetObjectMaterial(g_Object[125], 1, 16093, "a51_ext", "ws_whitewall2_bottom", 0xFFFFFFFF);
  3281.     g_Object[126] = CreateObject(2994, 1960.6910, 1164.1644, -5.6956, 0.0000, 0.0000, 0.0000); //kmb_trolley
  3282.     SetObjectMaterial(g_Object[126], 1, 16093, "a51_ext", "ws_whitewall2_bottom", 0xFFFFFFFF);
  3283.     g_Object[127] = CreateObject(1997, 1964.9499, 1155.5771, -6.2167, 0.0000, 0.0000, -171.4998); //hos_trolley
  3284.     g_Object[128] = CreateObject(3387, 1966.4294, 1151.4864, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3285.     g_Object[129] = CreateObject(3387, 1966.4294, 1152.4663, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3286.     g_Object[130] = CreateObject(3387, 1966.4294, 1153.4560, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3287.     g_Object[131] = CreateObject(3387, 1966.4294, 1154.4355, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3288.     g_Object[132] = CreateObject(3387, 1966.4294, 1155.4260, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3289.     g_Object[133] = CreateObject(3387, 1966.4294, 1156.3459, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3290.     g_Object[134] = CreateObject(3387, 1966.4294, 1157.3165, -6.2129, 0.0000, 0.0000, 270.0000); //a51_srack3_
  3291.     g_Object[135] = CreateObject(3388, 1974.7862, 1157.5476, -6.2637, 0.0000, 0.0000, 90.0000); //a51_srack4_
  3292.     g_Object[136] = CreateObject(19378, 1967.8154, 1142.3531, -6.9018, 0.0000, 0.0000, 0.0000); //wall026
  3293.     SetObjectMaterial(g_Object[136], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3294.     g_Object[137] = CreateObject(19378, 1972.5659, 1141.9117, -5.2719, 0.0000, 90.0000, 90.0000); //wall026
  3295.     SetObjectMaterial(g_Object[137], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3296.     g_Object[138] = CreateObject(19378, 1975.0964, 1142.3531, -6.9018, 0.0000, 0.0000, 0.0000); //wall026
  3297.     SetObjectMaterial(g_Object[138], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3298.     g_Object[139] = CreateObject(19378, 1971.6745, 1142.3531, -6.9018, 0.0000, 0.0000, 0.0000); //wall026
  3299.     SetObjectMaterial(g_Object[139], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3300.     g_Object[140] = CreateObject(19378, 1972.5659, 1141.9217, -3.9519, 0.0000, 90.0000, 90.0000); //wall026
  3301.     SetObjectMaterial(g_Object[140], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3302.     g_Object[141] = CreateObject(19378, 1972.5659, 1141.9217, -2.5620, 0.0000, 90.0000, 90.0000); //wall026
  3303.     SetObjectMaterial(g_Object[141], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3304.     g_Object[142] = CreateObject(19447, 1976.7552, 1145.9222, -5.2809, 0.0000, 90.0000, 0.0000); //wall087
  3305.     SetObjectMaterial(g_Object[142], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3306.     g_Object[143] = CreateObject(19378, 1979.8470, 1147.0849, -6.9018, 0.0000, 0.0000, 90.0000); //wall026
  3307.     SetObjectMaterial(g_Object[143], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3308.     g_Object[144] = CreateObject(19447, 1976.7552, 1145.9222, -3.9509, 0.0000, 90.0000, 0.0000); //wall087
  3309.     SetObjectMaterial(g_Object[144], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3310.     g_Object[145] = CreateObject(19447, 1976.7552, 1145.9222, -2.5608, 0.0000, 90.0000, 0.0000); //wall087
  3311.     SetObjectMaterial(g_Object[145], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3312.     g_Object[146] = CreateObject(1491, 1965.8403, 1148.2644, -6.2722, 0.0000, 0.0000, 90.0000); //Gen_doorINT01
  3313.     g_Object[147] = CreateObject(1523, 1968.0327, 1150.8513, -6.2642, 0.0000, 0.0000, 0.0000); //Gen_doorEXT10
  3314.     g_Object[148] = CreateObject(1806, 1973.8619, 1169.8332, -6.1975, 0.0000, 0.0000, 109.3999); //MED_OFFICE_CHAIR
  3315.     g_Object[149] = CreateObject(1806, 1968.4676, 1170.2364, -6.1975, 0.0000, 0.0000, -170.4998); //MED_OFFICE_CHAIR
  3316.     g_Object[150] = CreateObject(2190, 1969.7517, 1168.4066, -5.1936, 0.0000, 0.0000, -154.9998); //PC_1
  3317.     g_Object[151] = CreateObject(2190, 1971.8895, 1168.6040, -5.1936, 0.0000, 0.0000, 145.8999); //PC_1
  3318.     g_Object[152] = CreateObject(1348, 1974.9222, 1174.5412, -5.5331, 0.0000, 0.0000, 0.0000); //CJ_O2Tanks
  3319.     g_Object[153] = CreateObject(1220, 1975.4012, 1173.4908, -5.8516, 0.0000, 0.0000, 0.0000); //cardboardbox2
  3320.     g_Object[154] = CreateObject(1220, 1975.2623, 1172.6534, -5.8498, -1.8997, 0.0000, -17.7000); //cardboardbox2
  3321.     g_Object[155] = CreateObject(1220, 1975.2425, 1173.0185, -5.1908, -1.8997, 0.0000, -17.7000); //cardboardbox2
  3322.     g_Object[156] = CreateObject(1431, 1974.0057, 1173.1241, -5.6697, 0.0000, 0.0000, 41.0000); //DYN_BOX_PILE
  3323.     g_Object[157] = CreateObject(1224, 1973.0378, 1174.2497, -5.6230, 0.0000, 0.0000, 0.0000); //woodenbox
  3324.     g_Object[158] = CreateObject(1491, 1965.7434, 1172.9283, -6.2564, 0.0000, 0.0000, 270.0000); //Gen_doorINT01
  3325.     g_Object[159] = CreateObject(18762, 1959.8531, 1157.1383, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3326.     SetObjectMaterial(g_Object[159], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3327.     g_Object[160] = CreateObject(18762, 1959.8531, 1146.8347, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3328.     SetObjectMaterial(g_Object[160], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3329.     g_Object[161] = CreateObject(968, 1959.7463, 1156.4820, -8.6520, 0.0000, 0.0000, 90.0000); //barrierturn
  3330.     SetObjectMaterial(g_Object[161], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3331.     g_Object[162] = CreateObject(968, 1959.7463, 1157.3520, -2.1821, 0.0000, 270.0000, 90.0000); //barrierturn
  3332.     SetObjectMaterial(g_Object[162], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3333.     g_Object[163] = CreateObject(968, 1959.7458, 1143.3125, -3.3322, 0.0000, 90.0000, 90.0000); //barrierturn
  3334.     SetObjectMaterial(g_Object[163], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3335.     g_Object[164] = CreateObject(968, 1959.7458, 1157.4333, -3.3921, 0.0000, 270.0000, 90.0000); //barrierturn
  3336.     SetObjectMaterial(g_Object[164], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3337.     g_Object[165] = CreateObject(968, 1959.7463, 1146.6405, -2.1222, 0.0000, 90.0000, 90.0000); //barrierturn
  3338.     SetObjectMaterial(g_Object[165], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3339.     g_Object[166] = CreateObject(968, 1959.7463, 1147.4200, -8.6520, 0.0000, 0.0000, 90.0000); //barrierturn
  3340.     SetObjectMaterial(g_Object[166], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3341.     g_Object[167] = CreateObject(968, 1959.7463, 1154.3645, -8.6520, 0.0000, 0.0000, 90.0000); //barrierturn
  3342.     SetObjectMaterial(g_Object[167], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3343.     g_Object[168] = CreateObject(19325, 1959.7418, 1146.5632, -1.3301, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3344.     SetObjectMaterial(g_Object[168], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3345.     g_Object[169] = CreateObject(19325, 1959.7418, 1153.2030, -1.3301, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3346.     SetObjectMaterial(g_Object[169], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3347.     g_Object[170] = CreateObject(19325, 1959.7418, 1151.0461, -5.5001, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3348.     SetObjectMaterial(g_Object[170], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3349.     g_Object[171] = CreateObject(19325, 1959.7418, 1144.4261, -5.5001, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3350.     SetObjectMaterial(g_Object[171], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3351.     g_Object[172] = CreateObject(19176, 1963.0001, 1146.3293, -4.8923, 0.0000, 0.0000, 0.0000); //LSOffice1Door1
  3352.     g_Object[173] = CreateObject(18981, 1947.2353, 1144.8431, -6.7020, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3353.     SetObjectMaterial(g_Object[173], 0, 14652, "ab_trukstpa", "mp_diner_wood", 0xFFFFFFFF);
  3354.     g_Object[174] = CreateObject(18762, 1965.7314, 1175.0042, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3355.     SetObjectMaterial(g_Object[174], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3356.     g_Object[175] = CreateObject(955, 1957.1510, 1146.8236, -5.8035, 0.0000, 0.0000, 180.0000); //CJ_EXT_SPRUNK
  3357.     g_Object[176] = CreateObject(1808, 1955.3946, 1146.5361, -6.2147, 0.0000, 0.0000, 180.0000); //CJ_WATERCOOLER2
  3358.     g_Object[177] = CreateObject(19174, 1952.4669, 1149.3559, -3.7351, 0.0000, 0.0000, 90.0000); //SAMPPicture3
  3359.     g_Object[178] = CreateObject(19172, 1952.4820, 1154.9886, -3.7437, 0.0000, 0.0000, 90.0000); //SAMPPicture1
  3360.     g_Object[179] = CreateObject(1726, 1953.8470, 1156.7745, -6.2986, 0.0000, 0.0000, 0.0000); //mrk_seating2
  3361.     g_Object[180] = CreateObject(1726, 1953.1462, 1154.0742, -6.2986, 0.0000, 0.0000, 90.0000); //mrk_seating2
  3362.     g_Object[181] = CreateObject(1727, 1956.4521, 1154.2231, -6.2961, 0.0000, 0.0000, -134.6000); //mrk_seating2b
  3363.     g_Object[182] = CreateObject(1679, 1953.9410, 1149.4510, -5.7494, 0.0000, 0.0000, -97.9999); //chairsntableml
  3364.     g_Object[183] = CreateObject(1679, 1958.0356, 1150.1003, -5.7494, 0.0000, 0.0000, -39.7999); //chairsntableml
  3365.     g_Object[184] = CreateObject(2010, 1952.9344, 1152.0937, -6.2259, 0.0000, 0.0000, 0.0000); //nu_plant3_ofc
  3366.     g_Object[185] = CreateObject(18981, 1964.9095, 1192.4632, -1.5384, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
  3367.     SetObjectMaterial(g_Object[185], 0, 14534, "ab_wooziea", "dt_office_roof", 0xFFFFFFFF);
  3368.     g_Object[186] = CreateObject(19464, 1975.9908, 1178.1722, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3369.     SetObjectMaterial(g_Object[186], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3370.     g_Object[187] = CreateObject(19464, 1975.9908, 1184.0821, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3371.     SetObjectMaterial(g_Object[187], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3372.     g_Object[188] = CreateObject(19464, 1975.9908, 1190.0118, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3373.     SetObjectMaterial(g_Object[188], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3374.     g_Object[189] = CreateObject(19464, 1975.9908, 1195.9316, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3375.     SetObjectMaterial(g_Object[189], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3376.     g_Object[190] = CreateObject(19464, 1975.9908, 1201.8608, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3377.     SetObjectMaterial(g_Object[190], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3378.     g_Object[191] = CreateObject(19464, 1972.9110, 1204.8907, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3379.     SetObjectMaterial(g_Object[191], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3380.     g_Object[192] = CreateObject(19464, 1966.9918, 1204.8907, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3381.     SetObjectMaterial(g_Object[192], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3382.     g_Object[193] = CreateObject(19464, 1961.0620, 1204.8907, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3383.     SetObjectMaterial(g_Object[193], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3384.     g_Object[194] = CreateObject(19464, 1955.2629, 1204.9010, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3385.     SetObjectMaterial(g_Object[194], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3386.     g_Object[195] = CreateObject(19464, 1952.3819, 1201.9016, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3387.     SetObjectMaterial(g_Object[195], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3388.     g_Object[196] = CreateObject(19464, 1952.3819, 1195.9718, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3389.     SetObjectMaterial(g_Object[196], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3390.     g_Object[197] = CreateObject(19464, 1952.3819, 1190.0515, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3391.     SetObjectMaterial(g_Object[197], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3392.     g_Object[198] = CreateObject(19464, 1952.3819, 1184.1308, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3393.     SetObjectMaterial(g_Object[198], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3394.     g_Object[199] = CreateObject(19464, 1955.2312, 1181.0605, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3395.     SetObjectMaterial(g_Object[199], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3396.     g_Object[200] = CreateObject(19464, 1958.0820, 1178.2103, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3397.     SetObjectMaterial(g_Object[200], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3398.     g_Object[201] = CreateObject(18762, 1959.8295, 1175.0142, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3399.     SetObjectMaterial(g_Object[201], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3400.     g_Object[202] = CreateObject(18762, 1958.7065, 1179.9891, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3401.     SetObjectMaterial(g_Object[202], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3402.     g_Object[203] = CreateObject(18762, 1972.2840, 1179.9891, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3403.     SetObjectMaterial(g_Object[203], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3404.     g_Object[204] = CreateObject(968, 1958.5472, 1179.9919, -2.1307, 0.0000, 90.0000, 0.0000); //barrierturn
  3405.     SetObjectMaterial(g_Object[204], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3406.     g_Object[205] = CreateObject(968, 1958.5472, 1179.9919, -3.3406, 0.0000, 90.0000, 0.0000); //barrierturn
  3407.     SetObjectMaterial(g_Object[205], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3408.     g_Object[206] = CreateObject(968, 1972.6781, 1179.9919, -3.4007, 0.0000, 270.0000, 0.0000); //barrierturn
  3409.     SetObjectMaterial(g_Object[206], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3410.     g_Object[207] = CreateObject(968, 1972.6781, 1179.9919, -2.1807, 0.0000, 270.0000, 0.0000); //barrierturn
  3411.     SetObjectMaterial(g_Object[207], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3412.     g_Object[208] = CreateObject(968, 1971.6291, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
  3413.     SetObjectMaterial(g_Object[208], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3414.     g_Object[209] = CreateObject(968, 1959.2745, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
  3415.     SetObjectMaterial(g_Object[209], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3416.     g_Object[210] = CreateObject(968, 1965.5174, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
  3417.     SetObjectMaterial(g_Object[210], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3418.     g_Object[211] = CreateObject(19325, 1968.8498, 1179.9964, -4.1637, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3419.     SetObjectMaterial(g_Object[211], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3420.     g_Object[212] = CreateObject(19325, 1962.2099, 1179.9964, -4.1637, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3421.     SetObjectMaterial(g_Object[212], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3422.     g_Object[213] = CreateObject(968, 1972.8669, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
  3423.     SetObjectMaterial(g_Object[213], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3424.     g_Object[214] = CreateObject(968, 1975.7285, 1179.9919, -7.8807, 0.0000, 0.0000, 0.0000); //barrierturn
  3425.     SetObjectMaterial(g_Object[214], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3426.     g_Object[215] = CreateObject(968, 1972.1699, 1179.9919, -3.3406, 0.0000, 90.0000, 0.0000); //barrierturn
  3427.     SetObjectMaterial(g_Object[215], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3428.     g_Object[216] = CreateObject(968, 1972.1699, 1179.9919, -2.1205, 0.0000, 90.0000, 0.0000); //barrierturn
  3429.     SetObjectMaterial(g_Object[216], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3430.     g_Object[217] = CreateObject(19325, 1976.1390, 1179.9964, -1.3236, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3431.     SetObjectMaterial(g_Object[217], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3432.     g_Object[218] = CreateObject(18762, 1957.7325, 1186.9908, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3433.     SetObjectMaterial(g_Object[218], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3434.     g_Object[219] = CreateObject(18762, 1957.7325, 1193.0035, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3435.     SetObjectMaterial(g_Object[219], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3436.     g_Object[220] = CreateObject(18762, 1957.7325, 1198.7866, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3437.     SetObjectMaterial(g_Object[220], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3438.     g_Object[221] = CreateObject(968, 1957.6993, 1179.6031, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
  3439.     SetObjectMaterial(g_Object[221], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3440.     g_Object[222] = CreateObject(968, 1957.6993, 1186.5539, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
  3441.     SetObjectMaterial(g_Object[222], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3442.     g_Object[223] = CreateObject(968, 1957.6993, 1192.5754, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
  3443.     SetObjectMaterial(g_Object[223], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3444.     g_Object[224] = CreateObject(968, 1957.6993, 1198.3476, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
  3445.     SetObjectMaterial(g_Object[224], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3446.     g_Object[225] = CreateObject(968, 1957.6993, 1198.3476, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
  3447.     SetObjectMaterial(g_Object[225], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3448.     g_Object[226] = CreateObject(968, 1957.6993, 1192.5727, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
  3449.     SetObjectMaterial(g_Object[226], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3450.     g_Object[227] = CreateObject(968, 1957.6993, 1186.5799, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
  3451.     SetObjectMaterial(g_Object[227], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3452.     g_Object[228] = CreateObject(968, 1957.6993, 1180.1794, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
  3453.     SetObjectMaterial(g_Object[228], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3454.     g_Object[229] = CreateObject(968, 1957.6993, 1181.2591, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3455.     SetObjectMaterial(g_Object[229], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3456.     g_Object[230] = CreateObject(968, 1957.6993, 1186.3404, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3457.     SetObjectMaterial(g_Object[230], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3458.     g_Object[231] = CreateObject(968, 1957.6993, 1187.5715, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3459.     SetObjectMaterial(g_Object[231], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3460.     g_Object[232] = CreateObject(968, 1957.6993, 1192.3620, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3461.     SetObjectMaterial(g_Object[232], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3462.     g_Object[233] = CreateObject(968, 1957.6993, 1193.5832, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3463.     SetObjectMaterial(g_Object[233], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3464.     g_Object[234] = CreateObject(968, 1957.6993, 1198.1446, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3465.     SetObjectMaterial(g_Object[234], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3466.     g_Object[235] = CreateObject(968, 1957.6993, 1199.3647, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3467.     SetObjectMaterial(g_Object[235], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3468.     g_Object[236] = CreateObject(968, 1957.6993, 1204.6357, -9.1506, 0.0000, 0.0000, 90.0000); //barrierturn
  3469.     SetObjectMaterial(g_Object[236], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3470.     g_Object[237] = CreateObject(968, 1957.6993, 1200.9635, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
  3471.     SetObjectMaterial(g_Object[237], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3472.     g_Object[238] = CreateObject(968, 1957.6993, 1196.4503, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
  3473.     SetObjectMaterial(g_Object[238], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3474.     g_Object[239] = CreateObject(968, 1957.6993, 1189.2187, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
  3475.     SetObjectMaterial(g_Object[239], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3476.     g_Object[240] = CreateObject(968, 1957.6993, 1184.6855, -9.0907, 0.0000, 0.0000, 90.0000); //barrierturn
  3477.     SetObjectMaterial(g_Object[240], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3478.     g_Object[241] = CreateObject(19325, 1957.6966, 1201.7900, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3479.     SetObjectMaterial(g_Object[241], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3480.     g_Object[242] = CreateObject(19325, 1957.6966, 1195.7375, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3481.     SetObjectMaterial(g_Object[242], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3482.     g_Object[243] = CreateObject(19325, 1957.6966, 1189.1977, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3483.     SetObjectMaterial(g_Object[243], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3484.     g_Object[244] = CreateObject(19325, 1957.6966, 1182.5777, -1.2344, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3485.     SetObjectMaterial(g_Object[244], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3486.     g_Object[245] = CreateObject(19325, 1957.7069, 1182.6882, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3487.     SetObjectMaterial(g_Object[245], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3488.     g_Object[246] = CreateObject(19325, 1957.7069, 1191.2391, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3489.     SetObjectMaterial(g_Object[246], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3490.     g_Object[247] = CreateObject(19325, 1957.7069, 1194.3719, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3491.     SetObjectMaterial(g_Object[247], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3492.     g_Object[248] = CreateObject(19325, 1957.7069, 1203.1427, -6.7044, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3493.     SetObjectMaterial(g_Object[248], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3494.     g_Object[249] = CreateObject(19464, 1954.4404, 1186.9746, -3.7197, 0.0000, 0.0000, 90.0000); //wall104
  3495.     SetObjectMaterial(g_Object[249], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3496.     g_Object[250] = CreateObject(19464, 1955.0008, 1193.0102, -3.7197, 0.0000, 0.0000, 90.0000); //wall104
  3497.     SetObjectMaterial(g_Object[250], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3498.     g_Object[251] = CreateObject(19464, 1954.8708, 1198.7656, -3.7197, 0.0000, 0.0000, 90.0000); //wall104
  3499.     SetObjectMaterial(g_Object[251], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3500.     g_Object[252] = CreateObject(19379, 1948.0074, 1200.0101, -5.3765, 0.0000, 90.0000, 0.0000); //wall027
  3501.     SetObjectMaterial(g_Object[252], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3502.     g_Object[253] = CreateObject(19379, 1948.0074, 1190.4006, -5.3765, 0.0000, 90.0000, 0.0000); //wall027
  3503.     SetObjectMaterial(g_Object[253], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3504.     g_Object[254] = CreateObject(19379, 1948.0074, 1180.7784, -5.3765, 0.0000, 90.0000, 0.0000); //wall027
  3505.     SetObjectMaterial(g_Object[254], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3506.     g_Object[255] = CreateObject(19355, 1951.6429, 1183.9753, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
  3507.     SetObjectMaterial(g_Object[255], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3508.     g_Object[256] = CreateObject(19355, 1951.6429, 1189.9964, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
  3509.     SetObjectMaterial(g_Object[256], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3510.     g_Object[257] = CreateObject(19355, 1951.6429, 1195.8110, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
  3511.     SetObjectMaterial(g_Object[257], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3512.     g_Object[258] = CreateObject(19355, 1951.6429, 1201.7517, -7.0633, 0.0000, 0.0000, 90.0000); //wall003
  3513.     SetObjectMaterial(g_Object[258], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3514.     g_Object[259] = CreateObject(1997, 1955.4842, 1182.4786, -6.2431, 0.0000, 0.0000, 180.0000); //hos_trolley
  3515.     g_Object[260] = CreateObject(1997, 1955.4842, 1194.2701, -6.2431, 0.0000, 0.0000, 180.0000); //hos_trolley
  3516.     g_Object[261] = CreateObject(1997, 1955.4842, 1203.5832, -6.2431, 0.0000, 0.0000, 0.0000); //hos_trolley
  3517.     g_Object[262] = CreateObject(1997, 1955.4842, 1191.8215, -6.2431, 0.0000, 0.0000, 0.0000); //hos_trolley
  3518.     g_Object[263] = CreateObject(16377, 1957.0472, 1181.8376, -5.2462, 0.0000, 0.0000, 25.6000); //tv_stand_by
  3519.     SetObjectMaterial(g_Object[263], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3520.     g_Object[264] = CreateObject(16377, 1957.0052, 1193.9610, -5.2462, 0.0000, 0.0000, 25.6000); //tv_stand_by
  3521.     SetObjectMaterial(g_Object[264], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3522.     g_Object[265] = CreateObject(16377, 1957.1435, 1204.1909, -5.2462, 0.0000, 0.0000, 150.8000); //tv_stand_by
  3523.     SetObjectMaterial(g_Object[265], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3524.     g_Object[266] = CreateObject(16377, 1957.0146, 1192.1960, -5.2462, 0.0000, 0.0000, 150.8000); //tv_stand_by
  3525.     SetObjectMaterial(g_Object[266], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3526.     g_Object[267] = CreateObject(19379, 1948.0074, 1200.0101, -3.9865, 0.0000, 90.0000, 0.0000); //wall027
  3527.     SetObjectMaterial(g_Object[267], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3528.     g_Object[268] = CreateObject(19379, 1948.0074, 1190.3900, -3.9865, 0.0000, 90.0000, 0.0000); //wall027
  3529.     SetObjectMaterial(g_Object[268], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3530.     g_Object[269] = CreateObject(19379, 1948.0074, 1180.7801, -3.9865, 0.0000, 90.0000, 0.0000); //wall027
  3531.     SetObjectMaterial(g_Object[269], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3532.     g_Object[270] = CreateObject(19329, 1952.5074, 1203.2768, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
  3533.     SetObjectMaterial(g_Object[270], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
  3534.     g_Object[271] = CreateObject(19329, 1952.5074, 1194.5028, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
  3535.     SetObjectMaterial(g_Object[271], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
  3536.     g_Object[272] = CreateObject(19329, 1952.5074, 1191.4299, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
  3537.     SetObjectMaterial(g_Object[272], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
  3538.     g_Object[273] = CreateObject(19329, 1952.5074, 1182.5659, -4.6076, 0.0000, 0.0000, 90.0000); //7_11_sign04
  3539.     SetObjectMaterial(g_Object[273], 0, 14853, "gen_pol_vegas", "mp_police_win", 0xFFFFFFFF);
  3540.     g_Object[274] = CreateObject(1811, 1953.8529, 1186.2435, -5.6276, 0.0000, 0.0000, 125.9999); //MED_DIN_CHAIR_5
  3541.     g_Object[275] = CreateObject(1811, 1953.8470, 1198.0930, -5.6276, 0.0000, 0.0000, 125.9999); //MED_DIN_CHAIR_5
  3542.     g_Object[276] = CreateObject(1811, 1953.8354, 1199.5211, -5.6276, 0.0000, 0.0000, -141.3999); //MED_DIN_CHAIR_5
  3543.     g_Object[277] = CreateObject(1811, 1953.8016, 1187.7370, -5.6276, 0.0000, 0.0000, -141.3999); //MED_DIN_CHAIR_5
  3544.     g_Object[278] = CreateObject(18762, 1972.2685, 1186.9925, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3545.     SetObjectMaterial(g_Object[278], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3546.     g_Object[279] = CreateObject(19327, 1957.7137, 1186.0522, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3547.     SetObjectMaterialText(g_Object[279], "1", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
  3548.     g_Object[280] = CreateObject(19327, 1957.7137, 1188.0035, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3549.     SetObjectMaterialText(g_Object[280], "2", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
  3550.     g_Object[281] = CreateObject(19327, 1957.7137, 1197.7672, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3551.     SetObjectMaterialText(g_Object[281], "3", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
  3552.     g_Object[282] = CreateObject(19327, 1957.7137, 1199.8083, -2.7620, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3553.     SetObjectMaterialText(g_Object[282], "4", 0, 90, "Arial", 100, 1, 0xFF840410, 0x0, 1);
  3554.     g_Object[283] = CreateObject(18762, 1963.7136, 1186.9925, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3555.     SetObjectMaterial(g_Object[283], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3556.     g_Object[284] = CreateObject(18762, 1963.7136, 1201.1507, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3557.     SetObjectMaterial(g_Object[284], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3558.     g_Object[285] = CreateObject(19464, 1963.7375, 1190.3822, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3559.     SetObjectMaterial(g_Object[285], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3560.     g_Object[286] = CreateObject(19464, 1963.7375, 1196.3220, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3561.     SetObjectMaterial(g_Object[286], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3562.     g_Object[287] = CreateObject(19464, 1963.7275, 1197.8535, -3.7214, 0.0000, 0.0000, 0.0000); //wall104
  3563.     SetObjectMaterial(g_Object[287], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3564.     g_Object[288] = CreateObject(19464, 1967.0577, 1186.9780, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3565.     SetObjectMaterial(g_Object[288], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3566.     g_Object[289] = CreateObject(19464, 1969.0290, 1186.9680, -3.7214, 0.0000, 0.0000, 90.0000); //wall104
  3567.     SetObjectMaterial(g_Object[289], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3568.     g_Object[290] = CreateObject(968, 1963.7220, 1200.9571, -3.3206, 0.0000, 90.0000, 90.0000); //barrierturn
  3569.     SetObjectMaterial(g_Object[290], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3570.     g_Object[291] = CreateObject(968, 1972.0710, 1186.9934, -3.3206, 0.0000, 90.0000, 0.0000); //barrierturn
  3571.     SetObjectMaterial(g_Object[291], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3572.     g_Object[292] = CreateObject(968, 1972.0710, 1186.9934, -2.1307, 0.0000, 90.0000, 0.0000); //barrierturn
  3573.     SetObjectMaterial(g_Object[292], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3574.     g_Object[293] = CreateObject(968, 1963.7198, 1200.9846, -2.1407, 0.0000, 90.0000, 90.0000); //barrierturn
  3575.     SetObjectMaterial(g_Object[293], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3576.     g_Object[294] = CreateObject(968, 1963.7198, 1201.7352, -7.2607, 0.0000, 0.0000, 90.0000); //barrierturn
  3577.     SetObjectMaterial(g_Object[294], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3578.     g_Object[295] = CreateObject(968, 1963.7198, 1204.6267, -7.2607, 0.0000, 0.0000, 90.0000); //barrierturn
  3579.     SetObjectMaterial(g_Object[295], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3580.     g_Object[296] = CreateObject(968, 1972.8509, 1186.9940, -8.5107, 0.0000, 0.0000, 0.0000); //barrierturn
  3581.     SetObjectMaterial(g_Object[296], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3582.     g_Object[297] = CreateObject(968, 1975.7325, 1186.9940, -8.5107, 0.0000, 0.0000, 0.0000); //barrierturn
  3583.     SetObjectMaterial(g_Object[297], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3584.     g_Object[298] = CreateObject(19325, 1963.7143, 1205.0041, -1.2494, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3585.     SetObjectMaterial(g_Object[298], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3586.     g_Object[299] = CreateObject(19325, 1976.2158, 1187.0012, -1.2494, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3587.     SetObjectMaterial(g_Object[299], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3588.     g_Object[300] = CreateObject(1997, 1962.9458, 1196.3818, -6.2431, 0.0000, 0.0000, -5.8997); //hos_trolley
  3589.     g_Object[301] = CreateObject(1721, 1970.5167, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
  3590.     g_Object[302] = CreateObject(1721, 1969.4958, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
  3591.     g_Object[303] = CreateObject(1721, 1968.5051, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
  3592.     g_Object[304] = CreateObject(1721, 1967.4941, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
  3593.     g_Object[305] = CreateObject(1721, 1966.4936, 1186.6036, -6.1564, 0.0000, 0.0000, 180.0000); //est_chair1
  3594.     g_Object[306] = CreateObject(1808, 1964.9907, 1186.6583, -6.2673, 0.0000, 0.0000, 0.0000); //CJ_WATERCOOLER2
  3595.     g_Object[307] = CreateObject(19329, 1968.6888, 1180.0001, -4.8628, 0.0000, 90.0000, 0.0000); //7_11_sign04
  3596.     SetObjectMaterial(g_Object[307], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
  3597.     g_Object[308] = CreateObject(19329, 1962.3768, 1180.0001, -4.8628, 0.0000, 0.0000, 0.0000); //7_11_sign04
  3598.     SetObjectMaterial(g_Object[308], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
  3599.     g_Object[309] = CreateObject(19329, 1962.3768, 1180.0001, -4.8628, 0.0000, 90.0000, 0.0000); //7_11_sign04
  3600.     SetObjectMaterial(g_Object[309], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
  3601.     g_Object[310] = CreateObject(19329, 1968.6888, 1180.0001, -4.8628, 0.0000, 0.0000, 0.0000); //7_11_sign04
  3602.     SetObjectMaterial(g_Object[310], 0, 10765, "airportgnd_sfse", "white", 0xFF840410);
  3603.     g_Object[311] = CreateObject(19329, 1962.3431, 1179.9934, -2.7806, 0.0000, 0.0000, 0.0000); //7_11_sign04
  3604.     SetObjectMaterialText(g_Object[311], "EMERGENCY", 0, 90, "Arial", 45, 1, 0xFF840410, 0x0, 1);
  3605.     g_Object[312] = CreateObject(19329, 1968.6971, 1179.9934, -2.7806, 0.0000, 0.0000, 0.0000); //7_11_sign04
  3606.     SetObjectMaterialText(g_Object[312], "EMERGENCY", 0, 90, "Arial", 45, 1, 0xFF840410, 0x0, 1);
  3607.     g_Object[313] = CreateObject(18762, 1972.2762, 1201.1168, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3608.     SetObjectMaterial(g_Object[313], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3609.     g_Object[314] = CreateObject(19464, 1972.3232, 1191.8581, -3.7200, 0.0000, 0.0000, 0.0000); //wall104
  3610.     SetObjectMaterial(g_Object[314], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3611.     g_Object[315] = CreateObject(19176, 1960.7696, 1204.6894, -4.8923, 0.0000, 0.0000, 0.0000); //LSOffice1Door1
  3612.     g_Object[316] = CreateObject(19464, 1972.3232, 1197.7486, -3.7200, 0.0000, 0.0000, 0.0000); //wall104
  3613.     SetObjectMaterial(g_Object[316], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3614.     g_Object[317] = CreateObject(19464, 1972.3133, 1190.3365, -3.7200, 0.0000, 0.0000, 0.0000); //wall104
  3615.     SetObjectMaterial(g_Object[317], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3616.     g_Object[318] = CreateObject(19465, 1969.8028, 1201.0487, -3.7139, 0.0000, 0.0000, 90.0000); //wall105
  3617.     SetObjectMaterial(g_Object[318], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3618.     g_Object[319] = CreateObject(19464, 1966.1881, 1201.0467, -3.7200, 0.0000, 0.0000, 90.0000); //wall104
  3619.     SetObjectMaterial(g_Object[319], 0, 14383, "burg_1", "hospital_wall2", 0xFFFFFFFF);
  3620.     g_Object[320] = CreateObject(18762, 1967.9361, 1200.4465, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3621.     SetObjectMaterial(g_Object[320], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3622.     g_Object[321] = CreateObject(18762, 1967.9361, 1187.5415, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3623.     SetObjectMaterial(g_Object[321], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3624.     g_Object[322] = CreateObject(18762, 1967.9361, 1193.9930, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3625.     SetObjectMaterial(g_Object[322], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3626.     g_Object[323] = CreateObject(968, 1967.9228, 1187.3431, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
  3627.     SetObjectMaterial(g_Object[323], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3628.     g_Object[324] = CreateObject(968, 1967.9228, 1193.5653, -2.1205, 0.0000, 90.0000, 90.0000); //barrierturn
  3629.     SetObjectMaterial(g_Object[324], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3630.     g_Object[325] = CreateObject(968, 1967.9228, 1193.5653, -3.3106, 0.0000, 90.0000, 90.0000); //barrierturn
  3631.     SetObjectMaterial(g_Object[325], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3632.     g_Object[326] = CreateObject(968, 1967.9228, 1187.3729, -3.3106, 0.0000, 90.0000, 90.0000); //barrierturn
  3633.     SetObjectMaterial(g_Object[326], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3634.     g_Object[327] = CreateObject(968, 1967.9228, 1193.3652, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
  3635.     SetObjectMaterial(g_Object[327], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3636.     g_Object[328] = CreateObject(968, 1967.9228, 1188.1030, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
  3637.     SetObjectMaterial(g_Object[328], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3638.     g_Object[329] = CreateObject(968, 1967.9228, 1194.5649, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
  3639.     SetObjectMaterial(g_Object[329], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3640.     g_Object[330] = CreateObject(968, 1967.9228, 1199.8061, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
  3641.     SetObjectMaterial(g_Object[330], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3642.     g_Object[331] = CreateObject(968, 1967.9228, 1196.1048, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
  3643.     SetObjectMaterial(g_Object[331], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3644.     g_Object[332] = CreateObject(968, 1967.9228, 1191.8227, -8.4707, 0.0000, 0.0000, 90.0000); //barrierturn
  3645.     SetObjectMaterial(g_Object[332], 1, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3646.     g_Object[333] = CreateObject(19325, 1967.9217, 1190.2933, -1.2933, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3647.     SetObjectMaterial(g_Object[333], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3648.     g_Object[334] = CreateObject(19325, 1967.9217, 1197.6533, -1.2933, 0.0000, 0.0000, 0.0000); //lsmall_window01
  3649.     SetObjectMaterial(g_Object[334], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3650.     g_Object[335] = CreateObject(19325, 1967.9178, 1189.8028, -6.6406, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3651.     g_Object[336] = CreateObject(19325, 1967.9178, 1198.2237, -6.6406, 90.0000, 0.0000, 0.0000); //lsmall_window01
  3652.     g_Object[337] = CreateObject(18762, 1964.1247, 1193.9930, -4.1942, 0.0000, 0.0000, 0.0000); //Concrete1mx1mx5m
  3653.     SetObjectMaterial(g_Object[337], 0, 9593, "hosbibalsfw", "2hospital1sfw", 0xFFFFFFFF);
  3654.     g_Object[338] = CreateObject(19463, 1965.7657, 1193.9702, -5.6588, 90.0000, 0.0000, 90.0000); //wall103
  3655.     SetObjectMaterial(g_Object[338], 0, 14668, "711c", "cj_white_wall2", 0xFFFFFFFF);
  3656.     g_Object[339] = CreateObject(19327, 1967.9281, 1198.4471, -3.2486, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3657.     SetObjectMaterialText(g_Object[339], "ISOLEMENT - 1", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
  3658.     g_Object[340] = CreateObject(1997, 1965.8652, 1199.2143, -6.2550, 0.0000, 0.0000, 0.0000); //hos_trolley
  3659.     g_Object[341] = CreateObject(19327, 1967.9281, 1190.4941, -3.2486, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3660.     SetObjectMaterialText(g_Object[341], "ISOLEMENT - 2", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
  3661.     g_Object[342] = CreateObject(1997, 1965.8652, 1188.9112, -6.2550, 0.0000, 0.0000, 180.0000); //hos_trolley
  3662.     g_Object[343] = CreateObject(16377, 1964.5052, 1188.0096, -5.2462, 0.0000, 0.0000, -30.5998); //tv_stand_by
  3663.     SetObjectMaterial(g_Object[343], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3664.     g_Object[344] = CreateObject(16377, 1964.4670, 1200.2843, -5.2462, 0.0000, 0.0000, -133.4998); //tv_stand_by
  3665.     SetObjectMaterial(g_Object[344], 2, 14392, "dr_gsstudio", "monitors_128", 0xFFFFFFFF);
  3666.     g_Object[345] = CreateObject(1523, 1969.0948, 1200.9975, -6.2634, 0.0000, 0.0000, 0.0000); //Gen_doorEXT10
  3667.     g_Object[346] = CreateObject(19327, 1969.1888, 1201.1816, -3.9586, 0.0000, 0.0000, 180.0000); //7_11_sign02
  3668.     SetObjectMaterialText(g_Object[346], "ISOLEMENT", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
  3669.     g_Object[347] = CreateObject(1721, 1971.9493, 1197.7457, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
  3670.     g_Object[348] = CreateObject(1721, 1971.9493, 1196.7253, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
  3671.     g_Object[349] = CreateObject(1721, 1971.9493, 1195.7357, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
  3672.     g_Object[350] = CreateObject(1721, 1971.9493, 1192.2248, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
  3673.     g_Object[351] = CreateObject(1721, 1971.9493, 1191.2341, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
  3674.     g_Object[352] = CreateObject(1721, 1971.9493, 1190.2231, -6.2199, 0.0000, 0.0000, 90.0000); //est_chair1
  3675.     g_Object[353] = CreateObject(19326, 1960.2342, 1163.2623, -4.1366, 0.0000, 0.0000, 90.0000); //7_11_sign01
  3676.     SetObjectMaterial(g_Object[353], 0, 10765, "airportgnd_sfse", "white", 0xFFFFFFFF);
  3677.     g_Object[354] = CreateObject(19327, 1960.2534, 1163.8325, -4.1883, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3678.     SetObjectMaterialText(g_Object[354], "SERVICES DES URGENCE >", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
  3679.     g_Object[355] = CreateObject(19327, 1960.2534, 1163.8625, -5.1483, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3680.     SetObjectMaterialText(g_Object[355], "SAN ANDREAS GENERAL", 0, 90, "Arial", 14, 1, 0xFF840410, 0x0, 0);
  3681.     g_Object[356] = CreateObject(19327, 1960.2534, 1163.8325, -4.3682, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3682.     SetObjectMaterialText(g_Object[356], "- EXAMENS", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
  3683.     g_Object[357] = CreateObject(2994, 1958.2645, 1190.2783, -5.6956, 0.0000, 0.0000, -7.8001); //kmb_trolley
  3684.     SetObjectMaterial(g_Object[357], 1, 16093, "a51_ext", "ws_whitewall2_bottom", 0xFFFFFFFF);
  3685.     g_Object[358] = CreateObject(19327, 1960.2534, 1163.8325, -4.6782, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3686.     SetObjectMaterialText(g_Object[358], "< SALLE DE REPOS", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
  3687.     g_Object[359] = CreateObject(19327, 1960.2534, 1163.8325, -4.8482, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3688.     SetObjectMaterialText(g_Object[359], "< SALLE D'OPERATION", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
  3689.     g_Object[360] = CreateObject(19327, 1960.2534, 1163.8325, -4.5183, 0.0000, 0.0000, 90.0000); //7_11_sign02
  3690.     SetObjectMaterialText(g_Object[360], "- ISOLEMENT", 0, 90, "Arial", 14, 0, 0xFF840410, 0x0, 0);
  3691.     g_Object[361] = CreateObject(19327, 1973.6544, 1180.0075, -3.2313, 0.0000, 0.0000, 180.0000); //7_11_sign02
  3692.     SetObjectMaterialText(g_Object[361], "SORTIE", 0, 90, "Arial", 35, 1, 0xFF840410, 0x0, 0);
  3693.     g_Object[362] = CreateObject(19327, 1974.6784, 1186.9913, -3.2113, 0.0000, 0.0000, 0.0000); //7_11_sign02
  3694.     SetObjectMaterialText(g_Object[362], "ISOLEMENT", 0, 90, "Arial", 35, 1, 0xFF840410, 0x0, 0);
  3695.     g_Object[363] = CreateObject(19327, 1963.7106, 1202.8303, -3.2361, 0.0000, 0.0000, 270.0000); //7_11_sign02
  3696.     SetObjectMaterialText(g_Object[363], "ISOLEMENT", 0, 90, "Arial", 35, 1, 0xFF840410, 0x0, 0);
  3697.     g_Object[364] = CreateObject(1893, 1962.3753, 1151.2105, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
  3698.     g_Object[365] = CreateObject(19327, 1965.6879, 1148.1087, -3.9896, 0.0000, 0.0000, 270.0000); //7_11_sign02
  3699.     SetObjectMaterialText(g_Object[365], "OP. 1", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
  3700.     g_Object[366] = CreateObject(1893, 1962.3753, 1156.9412, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
  3701.     g_Object[367] = CreateObject(1893, 1962.3753, 1164.2362, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
  3702.     g_Object[368] = CreateObject(1893, 1962.3753, 1172.1809, -1.9256, 0.0000, 0.0000, 0.0000); //shoplight1
  3703.     g_Object[369] = CreateObject(2961, 1960.3759, 1157.1112, -4.8301, 0.0000, 0.0000, 90.0000); //fire_break
  3704.     g_Object[370] = CreateObject(2961, 1976.2275, 1168.2138, -4.8301, 0.0000, 0.0000, 180.0000); //fire_break
  3705.     g_Object[371] = CreateObject(2961, 1972.2849, 1186.4765, -4.8301, 0.0000, 0.0000, 180.0000); //fire_break
  3706.     g_Object[372] = CreateObject(2961, 1963.1925, 1201.1282, -4.8301, 0.0000, 0.0000, 90.0000); //fire_break
  3707.     g_Object[373] = CreateObject(968, 1959.4624, 1175.1024, -3.3359, 0.0000, 90.0000, 0.0000); //barrierturn
  3708.     SetObjectMaterial(g_Object[373], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3709.     g_Object[374] = CreateObject(968, 1959.4624, 1175.1024, -2.1159, 0.0000, 90.0000, 0.0000); //barrierturn
  3710.     SetObjectMaterial(g_Object[374], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3711.     g_Object[375] = CreateObject(968, 1960.4031, 1175.1024, -7.5559, 0.0000, 0.0000, 0.0000); //barrierturn
  3712.     SetObjectMaterial(g_Object[375], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3713.     g_Object[376] = CreateObject(968, 1965.1044, 1175.1024, -7.5559, 0.0000, 0.0000, 0.0000); //barrierturn
  3714.     SetObjectMaterial(g_Object[376], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3715.     g_Object[377] = CreateObject(19325, 1962.4271, 1175.1042, -1.3380, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3716.     SetObjectMaterial(g_Object[377], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3717.     g_Object[378] = CreateObject(968, 1963.8143, 1175.1024, -10.3459, 0.0000, 0.0000, 0.0000); //barrierturn
  3718.     SetObjectMaterial(g_Object[378], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3719.     g_Object[379] = CreateObject(19327, 1962.8159, 1175.0998, -3.2832, 0.0000, 0.0000, 0.0000); //7_11_sign02
  3720.     SetObjectMaterialText(g_Object[379], "SERVICE DES URGENCES", 0, 90, "Arial", 24, 1, 0xFF840410, 0x0, 0);
  3721.     g_Object[380] = CreateObject(968, 1961.6037, 1175.1024, -10.3459, 0.0000, 0.0000, 0.0000); //barrierturn
  3722.     SetObjectMaterial(g_Object[380], 1, 3119, "cs_ry_props", "lightgrey", 0xFFFFFFFF);
  3723.     g_Object[381] = CreateObject(19325, 1958.3068, 1175.1042, -5.4680, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3724.     SetObjectMaterial(g_Object[381], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3725.     g_Object[382] = CreateObject(19325, 1967.2072, 1175.1042, -5.4680, 0.0000, 0.0000, 90.0000); //lsmall_window01
  3726.     SetObjectMaterial(g_Object[382], 0, 10765, "airportgnd_sfse", "white", 0xFF9CA1A3);
  3727.     CreateObject(1649, 1554.17, -1652.33, 14.23,   0.00, 0.00, -90.00);
  3728.     CreateObject(1649, 1554.17, -1652.33, 17.50,   0.00, 0.00, -90.00);
  3729.     CreateObject(1649, 1554.17, -1652.33, 20.76,   0.00, 0.00, -90.00);
  3730.     CreateObject(1649, 1554.17, -1652.33, 24.03,   0.00, 0.00, -90.00);
  3731.     CreateObject(1649, 1554.17, -1656.88, 24.03,   0.00, 0.00, -90.00);
  3732.     CreateObject(1649, 1554.17, -1656.88, 20.76,   0.00, 0.00, -90.00);
  3733.     CreateObject(1649, 1554.17, -1656.88, 17.50,   0.00, 0.00, -90.00);
  3734.     CreateObject(1649, 1554.17, -1656.88, 14.23,   0.00, 0.00, -90.00);
  3735.     CreateObject(1649, 1554.17, -1665.40, 14.23,   0.00, 0.00, -90.00);
  3736.     CreateObject(1649, 1554.17, -1669.80, 14.23,   0.00, 0.00, -90.00);
  3737.     CreateObject(1649, 1554.17, -1669.80, 17.50,   0.00, 0.00, -90.00);
  3738.     CreateObject(1649, 1554.17, -1669.80, 20.76,   0.00, 0.00, -90.00);
  3739.     CreateObject(1649, 1554.17, -1669.80, 24.03,   0.00, 0.00, -90.00);
  3740.     CreateObject(1649, 1554.17, -1665.40, 17.50,   0.00, 0.00, -90.00);
  3741.     CreateObject(1649, 1554.17, -1665.40, 20.76,   0.00, 0.00, -90.00);
  3742.     CreateObject(1649, 1554.17, -1665.40, 24.03,   0.00, 0.00, -90.00);
  3743.     CreateObject(3440, 1554.22, -1654.59, 14.85,   0.00, 0.00, 0.00);
  3744.     CreateObject(3440, 1554.22, -1654.59, 19.53,   0.00, 0.00, 0.00);
  3745.     CreateObject(3440, 1554.22, -1654.59, 24.22,   0.00, 0.00, 0.00);
  3746.     CreateObject(3440, 1554.22, -1659.00, 24.22,   0.00, 0.00, 0.00);
  3747.     CreateObject(3440, 1554.22, -1659.00, 19.53,   0.00, 0.00, 0.00);
  3748.     CreateObject(3440, 1554.22, -1659.00, 14.85,   0.00, 0.00, 0.00);
  3749.     CreateObject(3440, 1554.22, -1650.33, 14.85,   0.00, 0.00, 0.00);
  3750.     CreateObject(3440, 1554.22, -1650.33, 19.53,   0.00, 0.00, 0.00);
  3751.     CreateObject(3440, 1554.22, -1650.33, 24.22,   0.00, 0.00, 0.00);
  3752.     CreateObject(3440, 1554.22, -1663.26, 14.85,   0.00, 0.00, 0.00);
  3753.     CreateObject(3440, 1554.22, -1663.26, 19.53,   0.00, 0.00, 0.00);
  3754.     CreateObject(3440, 1554.22, -1663.26, 24.22,   0.00, 0.00, 0.00);
  3755.     CreateObject(3440, 1554.22, -1667.66, 14.85,   0.00, 0.00, 0.00);
  3756.     CreateObject(3440, 1554.22, -1671.92, 14.85,   0.00, 0.00, 0.00);
  3757.     CreateObject(3440, 1554.22, -1671.92, 19.53,   0.00, 0.00, 0.00);
  3758.     CreateObject(3440, 1554.22, -1671.92, 24.22,   0.00, 0.00, 0.00);
  3759.     CreateObject(3440, 1554.22, -1667.66, 19.53,   0.00, 0.00, 0.00);
  3760.     CreateObject(3440, 1554.22, -1667.66, 24.22,   0.00, 0.00, 0.00);
  3761.     CreateObject(1649, 1554.17, -1685.80, 14.23,   0.00, 0.00, -90.00);
  3762.     CreateObject(1649, 1554.17, -1681.44, 14.23,   0.00, 0.00, -90.00);
  3763.     CreateObject(1649, 1554.17, -1694.32, 14.23,   0.00, 0.00, -90.00);
  3764.     CreateObject(1649, 1554.17, -1698.86, 14.23,   0.00, 0.00, -90.00);
  3765.     CreateObject(3440, 1554.22, -1679.30, 14.85,   0.00, 0.00, 0.00);
  3766.     CreateObject(3440, 1554.22, -1683.85, 14.85,   0.00, 0.00, 0.00);
  3767.     CreateObject(3440, 1554.22, -1687.96, 14.85,   0.00, 0.00, 0.00);
  3768.     CreateObject(3440, 1554.22, -1692.08, 14.85,   0.00, 0.00, 0.00);
  3769.     CreateObject(3440, 1554.22, -1696.63, 14.85,   0.00, 0.00, 0.00);
  3770.     CreateObject(3440, 1554.22, -1700.89, 14.85,   0.00, 0.00, 0.00);
  3771.     CreateObject(3440, 1554.22, -1683.85, 14.85,   0.00, 0.00, 0.00);
  3772.     CreateObject(3440, 1554.22, -1683.85, 19.53,   0.00, 0.00, 0.00);
  3773.     CreateObject(3440, 1554.22, -1683.85, 24.22,   0.00, 0.00, 0.00);
  3774.     CreateObject(3440, 1554.22, -1687.96, 19.53,   0.00, 0.00, 0.00);
  3775.     CreateObject(3440, 1554.22, -1687.96, 24.22,   0.00, 0.00, 0.00);
  3776.     CreateObject(3440, 1554.22, -1679.30, 19.53,   0.00, 0.00, 0.00);
  3777.     CreateObject(3440, 1554.22, -1679.30, 24.22,   0.00, 0.00, 0.00);
  3778.     CreateObject(3440, 1554.22, -1692.08, 19.53,   0.00, 0.00, 0.00);
  3779.     CreateObject(3440, 1554.22, -1692.08, 24.22,   0.00, 0.00, 0.00);
  3780.     CreateObject(3440, 1554.22, -1696.63, 19.53,   0.00, 0.00, 0.00);
  3781.     CreateObject(3440, 1554.22, -1696.63, 24.22,   0.00, 0.00, 0.00);
  3782.     CreateObject(3440, 1554.22, -1700.89, 19.53,   0.00, 0.00, 0.00);
  3783.     CreateObject(3440, 1554.22, -1700.89, 24.22,   0.00, 0.00, 0.00);
  3784.     CreateObject(1649, 1554.17, -1681.44, 17.50,   0.00, 0.00, -90.00);
  3785.     CreateObject(1649, 1554.17, -1681.44, 20.76,   0.00, 0.00, -90.00);
  3786.     CreateObject(1649, 1554.17, -1681.44, 24.03,   0.00, 0.00, -90.00);
  3787.     CreateObject(1649, 1554.17, -1685.80, 17.50,   0.00, 0.00, -90.00);
  3788.     CreateObject(1649, 1554.17, -1685.80, 20.76,   0.00, 0.00, -90.00);
  3789.     CreateObject(1649, 1554.17, -1685.80, 24.03,   0.00, 0.00, -90.00);
  3790.     CreateObject(1649, 1554.17, -1694.32, 17.50,   0.00, 0.00, -90.00);
  3791.     CreateObject(1649, 1554.17, -1694.32, 20.76,   0.00, 0.00, -90.00);
  3792.     CreateObject(1649, 1554.17, -1694.32, 24.03,   0.00, 0.00, -90.00);
  3793.     CreateObject(1649, 1554.17, -1698.86, 17.50,   0.00, 0.00, -90.00);
  3794.     CreateObject(1649, 1554.17, -1698.86, 20.76,   0.00, 0.00, -90.00);
  3795.     CreateObject(1649, 1554.17, -1698.86, 24.03,   0.00, 0.00, -90.00);
  3796.     CreateObject(3440, 1554.30, -1665.37, 26.19,   90.00, 0.00, 0.00);
  3797.     CreateObject(3440, 1554.30, -1656.85, 26.19,   90.00, 0.00, 0.00);
  3798.     CreateObject(3440, 1554.30, -1652.01, 26.19,   90.00, 0.00, 0.00);
  3799.     CreateObject(3440, 1554.30, -1669.63, 26.19,   90.00, 0.00, 0.00);
  3800.     CreateObject(3440, 1554.30, -1681.56, 26.19,   90.00, 0.00, 0.00);
  3801.     CreateObject(3440, 1554.30, -1686.11, 26.19,   90.00, 0.00, 0.00);
  3802.     CreateObject(3440, 1554.30, -1694.20, 26.19,   90.00, 0.00, 0.00);
  3803.     CreateObject(3440, 1554.30, -1698.60, 26.19,   90.00, 0.00, 0.00);
  3804.     CreateObject(1649, 1551.89, -1701.06, 14.23,   0.00, 0.00, -180.00);
  3805.     CreateObject(1649, 1545.29, -1701.07, 14.23,   0.00, 0.00, -180.00);
  3806.     CreateObject(1649, 1551.89, -1701.06, 17.50,   0.00, 0.00, -180.00);
  3807.     CreateObject(1649, 1551.89, -1701.06, 20.76,   0.00, 0.00, -180.00);
  3808.     CreateObject(1649, 1551.89, -1701.06, 24.03,   0.00, 0.00, -180.00);
  3809.     CreateObject(1649, 1545.29, -1701.07, 17.50,   0.00, 0.00, -180.00);
  3810.     CreateObject(1649, 1545.29, -1701.07, 20.76,   0.00, 0.00, -180.00);
  3811.     CreateObject(1649, 1545.29, -1701.07, 24.03,   0.00, 0.00, -180.00);
  3812.     CreateObject(3440, 1549.71, -1701.03, 14.85,   0.00, 0.00, 0.00);
  3813.     CreateObject(3440, 1547.52, -1701.00, 14.85,   0.00, 0.00, 0.00);
  3814.     CreateObject(3440, 1543.20, -1701.13, 19.53,   0.00, 0.00, 0.00);
  3815.     CreateObject(3440, 1543.20, -1701.13, 24.22,   0.00, 0.00, 0.00);
  3816.     CreateObject(3440, 1547.52, -1701.00, 19.53,   0.00, 0.00, 0.00);
  3817.     CreateObject(3440, 1547.52, -1701.00, 24.22,   0.00, 0.00, 0.00);
  3818.     CreateObject(3440, 1549.71, -1701.03, 19.53,   0.00, 0.00, 0.00);
  3819.     CreateObject(3440, 1549.71, -1701.03, 24.22,   0.00, 0.00, 0.00);
  3820.     CreateObject(3440, 1551.95, -1701.10, 26.19,   90.00, 0.00, 90.00);
  3821.     CreateObject(3440, 1545.56, -1701.10, 26.19,   90.00, 0.00, 90.00);
  3822.     CreateObject(3440, 1548.68, -1701.10, 26.19,   90.00, 0.00, 90.00);
  3823.     CreateObject(1649, 1551.90, -1650.14, 14.23,   0.00, 0.00, 0.00);
  3824.     CreateObject(1649, 1545.34, -1650.14, 14.09,   0.00, 0.00, 0.00);
  3825.     CreateObject(1649, 1551.90, -1650.14, 17.50,   0.00, 0.00, 0.00);
  3826.     CreateObject(1649, 1551.90, -1650.14, 20.76,   0.00, 0.00, 0.00);
  3827.     CreateObject(1649, 1551.90, -1650.14, 24.03,   0.00, 0.00, 0.00);
  3828.     CreateObject(3440, 1549.66, -1650.15, 14.85,   0.00, 0.00, 0.00);
  3829.     CreateObject(3440, 1547.53, -1650.15, 14.85,   0.00, 0.00, 0.00);
  3830.     CreateObject(3440, 1543.13, -1650.15, 19.53,   0.00, 0.00, 0.00);
  3831.     CreateObject(3440, 1543.13, -1650.15, 24.22,   0.00, 0.00, 0.00);
  3832.     CreateObject(3440, 1549.66, -1650.15, 19.53,   0.00, 0.00, 0.00);
  3833.     CreateObject(3440, 1549.66, -1650.15, 24.22,   0.00, 0.00, 0.00);
  3834.     CreateObject(3440, 1547.53, -1650.15, 19.53,   0.00, 0.00, 0.00);
  3835.     CreateObject(3440, 1547.53, -1650.15, 24.22,   0.00, 0.00, 0.00);
  3836.     CreateObject(3440, 1551.83, -1650.15, 26.19,   90.00, 0.00, 90.00);
  3837.     CreateObject(3440, 1548.71, -1650.15, 26.19,   90.00, 0.00, 90.00);
  3838.     CreateObject(3440, 1545.58, -1650.15, 26.19,   90.00, 0.00, 90.00);
  3839.     CreateObject(19425, 1526.94, -1716.97, 12.37,   0.00, 0.00, 0.00);
  3840.     CreateObject(19425, 1532.20, -1716.97, 12.37,   0.00, 0.00, 0.00);
  3841.     CreateObject(19425, 1532.20, -1689.18, 12.37,   0.00, 0.00, 0.00);
  3842.     CreateObject(19425, 1526.95, -1689.18, 12.37,   0.00, 0.00, 0.00);
  3843.     CreateObject(19425, 1526.95, -1657.37, 12.37,   0.00, 0.00, 0.00);
  3844.     CreateObject(19425, 1532.35, -1657.37, 12.37,   0.00, 0.00, 0.00);
  3845.     CreateObject(19425, 1532.35, -1612.78, 12.37,   0.00, 0.00, 0.00);
  3846.     CreateObject(19425, 1526.81, -1612.78, 12.37,   0.00, 0.00, 0.00);
  3847.     CreateObject(970, 1537.55, -1665.94, 13.01,   0.00, 0.00, 90.00);
  3848.     CreateObject(970, 1537.55, -1670.05, 13.01,   0.00, 0.00, 90.00);
  3849.     CreateObject(970, 1537.55, -1679.57, 13.01,   0.00, 0.00, 90.00);
  3850.     CreateObject(970, 1537.55, -1675.45, 13.01,   0.00, 0.00, 90.00);
  3851.     CreateObject(970, 1534.64, -1661.79, 13.01,   0.00, 0.00, 90.00);
  3852.     CreateObject(970, 1534.64, -1657.68, 13.01,   0.00, 0.00, 90.00);
  3853.     CreateObject(970, 1534.64, -1653.56, 13.01,   0.00, 0.00, 90.00);
  3854.     CreateObject(970, 1534.64, -1649.44, 13.01,   0.00, 0.00, 90.00);
  3855.     CreateObject(970, 1534.64, -1645.32, 13.01,   0.00, 0.00, 90.00);
  3856.     CreateObject(970, 1534.64, -1641.20, 13.01,   0.00, 0.00, 90.00);
  3857.     CreateObject(970, 1534.64, -1683.66, 13.01,   0.00, 0.00, 90.00);
  3858.     CreateObject(970, 1534.64, -1687.78, 13.01,   0.00, 0.00, 90.00);
  3859.     CreateObject(970, 1534.64, -1691.90, 13.01,   0.00, 0.00, 90.00);
  3860.     CreateObject(970, 1534.64, -1696.02, 13.01,   0.00, 0.00, 90.00);
  3861.     CreateObject(970, 1534.64, -1700.13, 13.01,   0.00, 0.00, 90.00);
  3862.     CreateObject(970, 1534.64, -1704.25, 13.01,   0.00, 0.00, 90.00);
  3863.     CreateObject(970, 1534.64, -1708.37, 13.01,   0.00, 0.00, 90.00);
  3864.     CreateObject(970, 1534.64, -1712.49, 13.01,   0.00, 0.00, 90.00);
  3865.     CreateObject(970, 1534.64, -1714.62, 13.01,   0.00, 0.00, 90.00);
  3866.     CreateObject(970, 1534.64, -1718.74, 13.01,   0.00, 0.00, 90.00);
  3867.     CreateObject(970, 1534.64, -1615.79, 13.01,   0.00, 0.00, 90.00);
  3868.     CreateObject(970, 1534.64, -1611.67, 13.01,   0.00, 0.00, 90.00);
  3869.     CreateObject(970, 1534.64, -1607.55, 13.01,   0.00, 0.00, 90.00);
  3870.     CreateObject(970, 1534.64, -1604.43, 13.01,   0.00, 0.00, 90.00);
  3871.     CreateObject(9833, 1545.86, -1661.69, 14.74,   0.00, 0.00, 0.00);
  3872.     CreateObject(9833, 1545.71, -1690.13, 14.74,   0.00, 0.00, 0.00);
  3873.     CreateObject(1280, 1541.49, -1693.62, 12.92,   0.00, 0.00, 180.00);
  3874.     CreateObject(1280, 1541.49, -1689.93, 12.92,   0.00, 0.00, 180.00);
  3875.     CreateObject(1280, 1541.49, -1686.23, 12.92,   0.00, 0.00, 180.00);
  3876.     CreateObject(1280, 1541.49, -1665.08, 12.92,   0.00, 0.00, 180.00);
  3877.     CreateObject(1280, 1541.49, -1661.24, 12.92,   0.00, 0.00, 180.00);
  3878.     CreateObject(1280, 1541.49, -1657.41, 12.92,   0.00, 0.00, 180.00);
  3879.     CreateObject(1649, 1545.34, -1650.14, 17.35,   0.00, 0.00, 0.00);
  3880.     CreateObject(1649, 1545.34, -1650.14, 20.62,   0.00, 0.00, 0.00);
  3881.     CreateObject(1649, 1545.34, -1650.14, 23.89,   0.00, 0.00, 0.00);
  3882.     CreateObject(1649, 1543.12, -1647.92, 14.23,   0.00, 0.00, -90.00);
  3883.     CreateObject(1649, 1543.12, -1643.97, 14.23,   0.00, 0.00, -90.00);
  3884.     CreateObject(1649, 1543.12, -1640.05, 14.23,   0.00, 0.00, -90.00);
  3885.     CreateObject(3440, 1543.13, -1650.15, 14.77,   0.00, 0.00, 0.00);
  3886.     CreateObject(3440, 1543.13, -1645.90, 14.77,   0.00, 0.00, 0.00);
  3887.     CreateObject(3440, 1543.13, -1642.06, 14.77,   0.00, 0.00, 0.00);
  3888.     CreateObject(3440, 1543.13, -1637.80, 14.77,   0.00, 0.00, 0.00);
  3889.     CreateObject(3440, 1543.13, -1637.80, 19.46,   0.00, 0.00, 0.00);
  3890.     CreateObject(3440, 1543.13, -1637.80, 24.14,   0.00, 0.00, 0.00);
  3891.     CreateObject(3440, 1543.13, -1645.90, 19.46,   0.00, 0.00, 0.00);
  3892.     CreateObject(3440, 1543.13, -1645.90, 24.14,   0.00, 0.00, 0.00);
  3893.     CreateObject(3440, 1543.13, -1642.06, 19.46,   0.00, 0.00, 0.00);
  3894.     CreateObject(3440, 1543.13, -1642.06, 24.14,   0.00, 0.00, 0.00);
  3895.     CreateObject(1649, 1543.12, -1640.05, 17.50,   0.00, 0.00, -90.00);
  3896.     CreateObject(1649, 1543.12, -1640.05, 20.76,   0.00, 0.00, -90.00);
  3897.     CreateObject(1649, 1543.12, -1640.05, 24.03,   0.00, 0.00, -90.00);
  3898.     CreateObject(1649, 1543.12, -1643.97, 17.50,   0.00, 0.00, -90.00);
  3899.     CreateObject(1649, 1543.12, -1643.97, 20.76,   0.00, 0.00, -90.00);
  3900.     CreateObject(1649, 1543.12, -1643.97, 24.03,   0.00, 0.00, -90.00);
  3901.     CreateObject(1649, 1543.12, -1647.92, 17.50,   0.00, 0.00, -90.00);
  3902.     CreateObject(1649, 1543.12, -1647.92, 20.76,   0.00, 0.00, -90.00);
  3903.     CreateObject(1649, 1543.12, -1647.92, 24.03,   0.00, 0.00, -90.00);
  3904.     CreateObject(3440, 1543.26, -1647.97, 26.19,   90.00, 0.00, 0.00);
  3905.     CreateObject(3440, 1543.26, -1644.00, 26.19,   90.00, 0.00, 0.00);
  3906.     CreateObject(3440, 1543.26, -1640.02, 26.19,   90.00, 0.00, 0.00);
  3907.     CreateObject(1649, 1543.12, -1703.30, 14.23,   0.00, 0.00, -90.00);
  3908.     CreateObject(1649, 1543.12, -1711.61, 14.23,   0.00, 0.00, -90.00);
  3909.     CreateObject(1649, 1543.12, -1707.51, 14.23,   0.00, 0.00, -90.00);
  3910.     CreateObject(3440, 1543.20, -1701.13, 14.77,   0.00, 0.00, 0.00);
  3911.     CreateObject(3440, 1543.20, -1705.62, 14.77,   0.00, 0.00, 0.00);
  3912.     CreateObject(3440, 1543.20, -1709.70, 14.77,   0.00, 0.00, 0.00);
  3913.     CreateObject(3440, 1543.20, -1713.78, 14.77,   0.00, 0.00, 0.00);
  3914.     CreateObject(3440, 1543.20, -1705.62, 19.53,   0.00, 0.00, 0.00);
  3915.     CreateObject(3440, 1543.20, -1705.62, 24.29,   0.00, 0.00, 0.00);
  3916.     CreateObject(3440, 1543.20, -1709.70, 19.53,   0.00, 0.00, 0.00);
  3917.     CreateObject(3440, 1543.20, -1709.70, 24.29,   0.00, 0.00, 0.00);
  3918.     CreateObject(3440, 1543.20, -1713.78, 19.53,   0.00, 0.00, 0.00);
  3919.     CreateObject(3440, 1543.20, -1713.78, 24.29,   0.00, 0.00, 0.00);
  3920.     CreateObject(1649, 1543.12, -1707.51, 17.49,   0.00, 0.00, -90.00);
  3921.     CreateObject(1649, 1543.12, -1707.51, 20.76,   0.00, 0.00, -90.00);
  3922.     CreateObject(1649, 1543.12, -1707.51, 24.02,   0.00, 0.00, -90.00);
  3923.     CreateObject(1649, 1543.12, -1703.30, 17.49,   0.00, 0.00, -90.00);
  3924.     CreateObject(1649, 1543.12, -1703.30, 20.76,   0.00, 0.00, -90.00);
  3925.     CreateObject(1649, 1543.12, -1703.30, 24.02,   0.00, 0.00, -90.00);
  3926.     CreateObject(1649, 1543.12, -1711.61, 17.49,   0.00, 0.00, -90.00);
  3927.     CreateObject(1649, 1543.12, -1711.61, 20.76,   0.00, 0.00, -90.00);
  3928.     CreateObject(1649, 1543.12, -1711.61, 24.02,   0.00, 0.00, -90.00);
  3929.     CreateObject(3440, 1543.23, -1703.41, 26.19,   90.00, 0.00, 0.00);
  3930.     CreateObject(3440, 1543.23, -1707.63, 26.19,   90.00, 0.00, 0.00);
  3931.     CreateObject(3440, 1543.23, -1711.44, 26.19,   90.00, 0.00, 0.00);
  3932.     CreateObject(3749, 1544.26, -1627.62, 18.36,   0.00, 0.00, -90.00);
  3933.     CreateObject(1411, 1542.37, -1617.49, 17.02,   0.00, 0.00, 0.00);
  3934.     CreateObject(1411, 1539.99, -1615.07, 17.02,   0.00, 0.00, -90.00);
  3935.     CreateObject(1411, 1540.00, -1609.82, 17.02,   0.00, 0.00, -90.00);
  3936.     CreateObject(1411, 1539.95, -1605.06, 17.02,   0.00, 0.00, -90.00);
  3937.     CreateObject(1411, 1542.34, -1602.69, 17.02,   0.00, 0.00, 180.00);
  3938.     CreateObject(1411, 1547.61, -1602.68, 17.02,   0.00, 0.00, 180.00);
  3939.     CreateObject(1411, 1552.88, -1602.69, 17.02,   0.00, 0.00, 180.00);
  3940.     CreateObject(1411, 1558.14, -1602.70, 17.02,   0.00, 0.00, 180.00);
  3941.     CreateObject(1411, 1563.42, -1602.69, 17.02,   0.00, 0.00, 180.00);
  3942.     CreateObject(1411, 1568.70, -1602.69, 17.02,   0.00, 0.00, 180.00);
  3943.     CreateObject(1411, 1573.96, -1602.69, 17.02,   0.00, 0.00, 180.00);
  3944.     CreateObject(1411, 1579.25, -1602.68, 17.02,   0.00, 0.00, 180.00);
  3945.     CreateObject(1411, 1584.53, -1602.68, 17.02,   0.00, 0.00, 180.00);
  3946.     CreateObject(1411, 1589.81, -1602.67, 17.02,   0.00, 0.00, 180.00);
  3947.     CreateObject(1411, 1595.08, -1602.66, 17.02,   0.00, 0.00, 180.00);
  3948.     CreateObject(1411, 1600.36, -1602.67, 17.02,   0.00, 0.00, 180.00);
  3949.     CreateObject(1411, 1605.37, -1602.66, 17.02,   0.00, 0.00, 180.00);
  3950.     CreateObject(1411, 1607.74, -1605.04, 17.02,   0.00, 0.00, 90.00);
  3951.     CreateObject(1411, 1607.75, -1610.32, 17.02,   0.00, 0.00, 90.00);
  3952.     CreateObject(1411, 1607.74, -1615.61, 17.02,   0.00, 0.00, 90.00);
  3953.     CreateObject(1411, 1607.73, -1620.87, 17.02,   0.00, 0.00, 90.00);
  3954.     CreateObject(1411, 1607.74, -1626.14, 17.02,   0.00, 0.00, 90.00);
  3955.     CreateObject(1411, 1607.74, -1631.40, 17.02,   0.00, 0.00, 90.00);
  3956.     CreateObject(1411, 1607.76, -1635.31, 17.02,   0.00, 0.00, 90.00);
  3957.     CreateObject(1411, 1605.40, -1637.69, 17.02,   0.00, 0.00, 0.00);
  3958.     CreateObject(1411, 1544.49, -1621.21, 13.97,   0.00, 0.00, 90.00);
  3959.     CreateObject(1411, 1544.58, -1635.38, 13.97,   0.00, 0.00, 90.00);
  3960.     CreateObject(1295, 1969.34, -2159.45, 12.54,   0.00, 0.00, 0.00);
  3961.     CreateObject(1295, 1969.34, -2159.45, 12.54,   0.00, 0.00, 0.00);
  3962.     CreateObject(8168, 1572.24, -1620.27, 14.08,   0.00, 0.00, 16.00);
  3963.     CreateObject(983, 1565.39, -1622.71, 13.24,   0.00, 0.00, 90.00);
  3964.     CreateObject(983, 1565.40, -1617.74, 13.24,   0.00, 0.00, 90.00);
  3965.     CreateObject(983, 1556.81, -1617.74, 13.24,   0.00, 0.00, 90.00);
  3966.     CreateObject(983, 1550.40, -1622.76, 13.24,   0.00, 0.00, 90.00);
  3967.     CreateObject(983, 1544.73, -1620.70, 13.24,   0.00, 0.00, 50.00);
  3968.     CreateObject(983, 1556.81, -1622.75, 13.24,   0.00, 0.00, 90.00);
  3969.     CreateObject(983, 1550.40, -1617.76, 13.24,   0.00, 0.00, 90.00);
  3970.     CreateObject(1231, 1568.47, -1620.32, 13.85,   0.00, 0.00, 90.00);
  3971.     CreateObject(1231, 1561.10, -1620.32, 13.85,   0.00, 0.00, 90.00);
  3972.     CreateObject(1231, 1554.05, -1620.23, 13.85,   0.00, 0.00, 90.00);
  3973.     CreateObject(1231, 1546.75, -1620.25, 13.85,   0.00, 0.00, 90.00);
  3974.     CreateObject(1231, 1577.43, -1620.32, 13.85,   0.00, 0.00, 90.00);
  3975.     CreateObject(1231, 1560.08, -1636.87, 13.85,   0.00, 0.00, 0.00);
  3976.     CreateObject(1231, 1570.72, -1636.88, 13.85,   0.00, 0.00, 0.00);
  3977.     CreateObject(1231, 1549.30, -1636.83, 13.85,   0.00, 0.00, 0.00);
  3978.     CreateObject(983, 1572.29, -1632.99, 13.24,   0.00, 0.00, 90.00);
  3979.     CreateObject(983, 1565.89, -1632.99, 13.24,   0.00, 0.00, 90.00);
  3980.     CreateObject(983, 1559.49, -1633.00, 13.24,   0.00, 0.00, 90.00);
  3981.     CreateObject(983, 1553.11, -1633.00, 13.24,   0.00, 0.00, 90.00);
  3982.     CreateObject(18452, 1551.32, -1609.70, 15.18,   0.00, 0.00, 0.00);
  3983.     CreateObject(1676, 1551.33, -1612.53, 13.87,   0.00, 0.00, 0.00);
  3984.     CreateObject(1676, 1551.41, -1606.93, 13.87,   0.00, 0.00, 0.00);
  3985.     CreateObject(10183, 1578.58, -1606.40, 12.40,   0.00, 0.00, 45.50);
  3986.     CreateObject(3928, 1564.20, -1657.86, 27.42,   0.00, 0.00, 0.00);
  3987.     CreateObject(3928, 1564.16, -1648.40, 27.42,   0.00, 0.00, 0.00);
  3988.     CreateObject(3928, 1564.19, -1695.80, 27.42,   0.00, 0.00, 0.00);
  3989.     CreateObject(3928, 1564.24, -1705.09, 27.42,   0.00, 0.00, 0.00);
  3990.     gate1 = CreateObject(980,1590.36975098,-1638.18310547,15.23138046,0.00000000,0.00000000,0.00000000);
  3991.     gate2 = CreateObject(968,1544.69677734,-1630.78649902,13.07031250,0.00000000,90.00000000,90.00000000);
  3992. }
  3993.  
  3994. stock FactionPath(factionID)
  3995. {
  3996.     new str[128];
  3997.     format(str, sizeof(str), "Factions/%i.ini", factionID);
  3998.     return str;
  3999. }
  4000.  
  4001. stock CreateFactions()
  4002. {
  4003.     for(new i=0; i<MAX_FACTION; i++)
  4004.     {
  4005.         if(!fexist(FactionPath(i)))
  4006.         {
  4007.             printf("[Launch] Creating ... Faction ID: %i", i);
  4008.             switch(i)
  4009.             {
  4010.                 case 0:
  4011.                 {
  4012.                     Factions[i][fID] = 1;
  4013.                     Factions[i][fMaxRank] = 7;
  4014.                     new INI:File = INI_Open(FactionPath(i));
  4015.                     INI_SetTag(File, "data");
  4016.                     INI_WriteInt(File,"ID",Factions[i][fID]);
  4017.                     INI_WriteString(File,"CompleteName","Los Angeles Police Department");
  4018.                     INI_WriteString(File,"ShortName","L.A.P.D");
  4019.                     INI_WriteString(File,"Leader","None");
  4020.                     INI_WriteInt(File,"MaxRank",Factions[i][fMaxRank]);
  4021.                     INI_Close(File);
  4022.                 }
  4023.                 case 1:
  4024.                 {
  4025.                     Factions[i][fID] = 2;
  4026.                     Factions[i][fMaxRank] = 6;
  4027.                     new INI:File = INI_Open(FactionPath(i));
  4028.                     INI_SetTag(File, "data");
  4029.                     INI_WriteInt(File,"ID",Factions[i][fID]);
  4030.                     INI_WriteString(File,"CompleteName","Los Angeles Fire Department");
  4031.                     INI_WriteString(File,"ShortName","L.A.F.D");
  4032.                     INI_WriteString(File,"Leader","None");
  4033.                     INI_WriteInt(File,"MaxRank",Factions[i][fMaxRank]);
  4034.                     INI_Close(File);
  4035.                 }
  4036.                 case 2:
  4037.                 {
  4038.                     Factions[i][fID] = 3;
  4039.                     Factions[i][fMaxRank] = 3;
  4040.                     new INI:File = INI_Open(FactionPath(i));
  4041.                     INI_SetTag(File, "data");
  4042.                     INI_WriteInt(File,"ID",Factions[i][fID]);
  4043.                     INI_WriteString(File,"CompleteName","Fox5");
  4044.                     INI_WriteString(File,"ShortName","Fox5");
  4045.                     INI_WriteString(File,"Leader","None");
  4046.                     INI_WriteInt(File,"MaxRank",Factions[i][fMaxRank]);
  4047.                     INI_Close(File);
  4048.  
  4049.                 }
  4050.                 default: printf("[Launch] Error ... Faction couldn't be created | Faction ID : %i", i);
  4051.             }
  4052.             INI_ParseFile(FactionPath(i), "LoadFaction_data", .bExtra = true, .extra = i);
  4053.             printf("[Launch] Creating done | Faction %s [ID: %i]", Factions[i][fCompleteName], i);
  4054.         }
  4055.         else
  4056.         {
  4057.             INI_ParseFile(FactionPath(i), "LoadFaction_data", .bExtra = true, .extra = i);
  4058.             printf("[Launch] Successfully loaded | Faction %s [ID: %i]", Factions[i][fCompleteName], i);
  4059.         }
  4060.     }
  4061.     return 1;
  4062. }
  4063.  
  4064. stock GetName(playerid)
  4065. {
  4066.     new gName[MAX_PLAYER_NAME];
  4067.     GetPlayerName(playerid, gName, sizeof(gName));
  4068.     return gName;
  4069. }
  4070.  
  4071. stock GetRPName(playerid)
  4072. {
  4073.     new gName[MAX_PLAYER_NAME];
  4074.     GetPlayerName(playerid, gName, sizeof(gName));
  4075.     strreplace(gName, '_', ' ');
  4076.     return gName;
  4077. }
  4078.  
  4079. stock GetClosestVehicle(playerid, Float:range)
  4080. {
  4081.     new     Float:p_X;
  4082.     new     Float:p_Y;
  4083.     new     Float:p_Z;
  4084.  
  4085.     new     Float:Distance;
  4086.     new     Float:PretendentDistance = range +1;
  4087.     new     Pretendent;
  4088.  
  4089.     GetPlayerPos(playerid, p_X, p_Y, p_Z);
  4090.  
  4091.     for(new vehicleid=1; vehicleid < MAX_VEHICLES; vehicleid++)
  4092.     {
  4093.         Distance = GetVehicleDistanceFromPoint(vehicleid, p_X, p_Y, p_Z);
  4094.  
  4095.         if(Distance <= range && Distance <= PretendentDistance)
  4096.         {
  4097.             Pretendent = vehicleid;
  4098.             PretendentDistance = Distance;
  4099.         }
  4100.     }
  4101.  
  4102.     return Pretendent;
  4103. }
  4104.  
  4105. stock strreplace(string[], find, replace)
  4106. {
  4107.     for(new i=0; string[i]; i++)
  4108.     {
  4109.         if(string[i] == find)
  4110.         {
  4111.             string[i] = replace;
  4112.         }
  4113.     }
  4114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement