[HELP] My Tester Game mode (RealityC)
#4

Код HTML:
// Include
#include <a_samp>
#include <zcmd>
#include <sscanf>
#include <streamer>
#include <SII>
#include <dini>
#include <dudb>
#include <dutils>

// Pragmas
#pragma unused ret_memcpy
#pragma tabsize 0

// COLORS
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_BLUE 0x0000FFFF

// DIALOG COLORS
#define COL_WHITE "{FFFFFF}"
#define COL_RED "{F81414}"
#define COL_GREEN "{00FF22}"
#define COL_LIGHTBLUE "{00CED1}"
#define COLOR_RED 0xFF0000FF

#define DO_RANGE 300

#define SERVER_USER_FILE "RealityC/users/%s.ini"
#define Save 1

#define DIALOG_LICENSE 3600
#define Save 1

// 24/7 DIALOG
#define DIALOG_247 1
#define DIALOG_2472 2

// Faction Duty
#define DIALOG_COPFBI

#define HACK_AWARD 10000 // The amount a player gets if he succesfully hacks a building
#define MAX_ARREST_FINE 20001 // The amount an officer can fine a player when the player gets arrested [ Maximum ] - 1
#define MINIMUM_ARREST_FINE 1999 // The amount an officer can fine a player when the player gets arrested [ Minimum ] + 1
#define MAX_DEFEND_AMOUNT 10001 // The amount a lawyer can remove a wanted star for [ Maximum ] - 1
#define MIN_DEFEND_AMOUNT 1999 // The amount a lawyer can remove a wanted star for [ Maximum ] + 1
#define MAX_ARREST_JAIL_TIME 21 // The amount an officer can put a player in jail for in minutes [ Maximum ] - 1
#define MIN_ARREST_JAIL_TIME 1 // The amount an officer can put a player in jail for in minutes [ Minimum ] + 1
#define MAX_CONTRACT_AMOUNT 1000001 // The amount a player can contract another player for [ Maximum ] - 1
#define MIN_CONTRACT_AMOUNT 9999 // The amount a player can contract another player for [ Minimum ] + 1

// HOUSES
#define MAX_HOUSES 100

// MYSQL Information
#define SQL_HOST " "
#define SQL_USER "2781_futurerp"
#define SQL_PASS " "
#define SQL_DB "2781_futurerp"

// COP/FBI Stuff
new WantedLevel[MAX_PLAYERS];
new IsCuffed[MAX_PLAYERS];
new IsTazed[MAX_PLAYERS];
new taz;
new time;


forward OnPlayerPayDay(playerid);
forward check(playerid);
forward stopphone(playerid);
forward startphone(playerid);
forward OnPlayerHunger(playerid);
forward OnPlayer30Mins(playerid);

enum gPInfo
{
	LOGGED,
 	REGGED,
 	PASS,
 	LEVEL,
	ADMINLEVEL,
	WIRED,
	JAILED,
	JOB,
	FACTION,
	CAR,
	PHONE,
	PHONEBOOK,
	MASK,
	CONDOM,
	GUNSKILL,
	JOBSKILL,
	CARLIC,
	FLYLIC,
	GUNLIC,
	MONEY,
	DEATH,
	COPRANK,
	FBIRANK,
	FIRERANK
};
new PInfo[MAX_PLAYERS][gPInfo];
new PLogged[MAX_PLAYERS];


enum gCop
{
	COPDUTY,
 	EQUIPMENT,
  	UNDERCOVER,
};
new Cop[MAX_PLAYERS][gCop];

enum gFBI
{
	FBIDUTY,
	EQUIPMENT,
	UNDERCOVER
};
new FBI[MAX_PLAYERS][gFBI];


enum gSuspect
{
	TICKET,
	CUFF,
	DETAIN,
	FRISK,
	LEOFRISK,
	SUSPECT,
	TAZE
};
new Suspect[MAX_PLAYERS][gSuspect];

enum HouseInfo
{
    Owner[24],
    Owned,
    Price,
    Float:XPos,
    Float:YPos,
    Float:ZPos,
    VirtualWorld,
    Text3D:HouseLabel
}
new HInfo[MAX_HOUSES][HouseInfo];

// Enterance Pickups
new Mechanic;
new Sheriff;
new EMS;
new DMV;
new city;
//new BankEnter;
// Interior Pickups
new SheriffDuty;
new FBIDuty;
new MechJob;
new DMVLicense;
//new Bank;

//==Private Vehs
new FCSD;
new FCSD1;
new FCSD2;
new FCSD3;
new FCSD4;
new FCSD5;
new FBI1;
new FBI2;
new FBI3;
new FBI4;
new FBI5;

// Houses
new HouseCount;//To check how many houses have we created.
new HouseEnter[MAX_HOUSES];//This will be where we will store the house entrance checkpoint
new HouseExit[MAX_HOUSES];//This will be where we will store the house exit checkpoint.
new PlayerInHouseID[MAX_PLAYERS];//To check what house id is the player in.

// Engine
new Engine[MAX_VEHICLES];

// Forwards
forward EngineTimer(playerid);
forward ProxDetector(Float:radi, playerid, string[],col1);
forward SendAdminMessage(color, string[]);
forward SendCopsMessage(color, string[]);
forward SendJobMessage(color, string[]);
forward SendAdminMessage(color, string[]);
forward SetPlayerJailed(playerid);
forward OnPlayerAcceptTicket(playerid);
forward OnPlayerAcceptTicket2(playerid);
forward SendRconAdminMessage(playerid, color, string[]);
forward tazertimer(playerid);
forward OnPlayerJailed(playerid);
forward NameValidator(playerid);
forward SendMSG();
forward OnPlayerExplosion(playerid);

new RandomMSG[][] =
{
    "SAN NEWS UPDATE: The weather is looking nice for us tonight, have a good night Fort Carson",
    "SAN NEWS UPDATE: Love Fort Carson? Email us at government@fortcarson.com (www.realityc.smfnew.com/)",
    "OOC: Found a hacker? Then /report to an administrator",
    "OOC: Want to create a job/faction or join one? Register at www.realityc.smfnew.com/ and APPLY!"
};

public NameValidator(playerid)
{
if(IsPlayerConnected(playerid))
{
		new pname[MAX_PLAYER_NAME],underline=0;
		GetPlayerName(playerid, pname, sizeof(pname));
		if(strfind(pname,"[",true) != (-1)) return 0;
		else if(strfind(pname,"]",true) != (-1)) return 0;
		else if(strfind(pname,"$",true) != (-1)) return 0;
		else if(strfind(pname,"(",true) != (-1)) return 0;
		else if(strfind(pname,")",true) != (-1)) return 0;
		else if(strfind(pname,"=",true) != (-1)) return 0;
		else if(strfind(pname,"@",true) != (-1)) return 0;
		else if(strfind(pname,"1",true) != (-1)) return 0;
		else if(strfind(pname,"2",true) != (-1)) return 0;
		else if(strfind(pname,"3",true) != (-1)) return 0;
		else if(strfind(pname,"4",true) != (-1)) return 0;
		else if(strfind(pname,"5",true) != (-1)) return 0;
		else if(strfind(pname,"6",true) != (-1)) return 0;
		else if(strfind(pname,"7",true) != (-1)) return 0;
		else if(strfind(pname,"8",true) != (-1)) return 0;
		else if(strfind(pname,"9",true) != (-1)) return 0;
		new maxname = strlen(pname);
		for(new i=0; i<maxname; i++)
  			{
     			if(pname[i] == '_') underline ++;
			}
				if(underline != 1) return 0;
   				pname[0] = toupper(pname[0]);
  				for(new x=1; x<maxname; x++)
    		{
     			if(pname[x] == '_') pname[x+1] = toupper(pname[x+1]);
      			else if(pname[x] != '_' && pname[x-1] != '_') pname[x] = tolower(pname[x]);
        	}
         		SetPlayerName(playerid, "New_Name");
          		SetPlayerName(playerid, pname);
           		return 1;
       		}
		return 0;
}

main()
{
	print("\n----------------------------------");
	print(" Blank Gamemode by your name here");
	print("----------------------------------\n");
}

public OnGameModeInit()
{
	DisableInteriorEnterExits();
 	SetGameModeText("RealityC RP");
  	UsePlayerPedAnims();
   	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   	SetTimer("OnPlayerPayDay",3600000,true);
   	SetTimer("OnPlayerHunger",300000,true);
   	SetTimer("OnPlayerExplosion",60000,false);
   	SetTimer("OnPlayer30Mins",1800000,true);
   	
   	Create3DTextLabel("To vandelise this property do /vandel",0x008080FF,-218.8223,974.4408,19.4921,20.0,0);
   	Create3DTextLabel("To vandelise this property do /vandel",0x008080FF,-225.6331,1120.5687,19.7422,20.0,0);
   	//===================================================Houses================================================================
   	
    //=========================================================================================================================
	// FBI Exterior
	FBI1 = AddStaticVehicleEx(487,-271.16400146,1542.26501465,75.62437439,98.00000000,-1,-1,900); //Maverick
	FBI2 = AddStaticVehicleEx(490,-324.62380981,1515.84838867,75.67950439,0.00000000,-1,1,900); //FBI Rancher
	FBI3 = AddStaticVehicleEx(490,-330.87139893,1515.99987793,75.67950439,0.00000000,-1,-1,900); //FBI Rancher
	FBI4 = AddStaticVehicleEx(490,-336.64300537,1515.99963379,75.67950439,0.00000000,-1,-1,900); //FBI Rancher
	FBI5 = AddStaticVehicleEx(528,-296.26745605,1540.14404297,75.74749756,332.00000000,-1,-1,900); //FBI Truck
	CreateDynamicObject(987,-321.02114868,1507.31787109,73.98529053,0.00000000,0.00000000,2.00000000); //object(elecfence_bar)(1)
	CreateDynamicObject(987,-333.01943970,1506.96228027,73.98529053,0.00000000,0.00000000,1.99951172); //object(elecfence_bar)(3)
	CreateDynamicObject(987,-345.02020264,1506.50537109,73.98529053,0.00000000,0.00000000,1.99951172); //object(elecfence_bar)(4)
	CreateDynamicObject(987,-344.45803833,1518.33984375,73.98529053,0.00000000,0.00000000,267.99951172); //object(elecfence_bar)(5)
	CreateDynamicObject(987,-343.90206909,1530.08740234,73.98529053,0.00000000,0.00000000,267.99499512); //object(elecfence_bar)(6)
	CreateDynamicObject(987,-343.41696167,1542.09936523,73.98529053,0.00000000,0.00000000,267.99499512); //object(elecfence_bar)(7)
	CreateDynamicObject(987,-287.30459595,1516.21606445,73.98529053,0.00000000,0.00000000,225.99951172); //object(elecfence_bar)(8)
	CreateDynamicObject(987,-278.86941528,1524.40942383,73.98529053,0.00000000,0.00000000,223.99427795); //object(elecfence_bar)(9)
	CreateDynamicObject(987,-270.43484497,1532.60278320,73.98529053,0.00000000,0.00000000,223.98925781); //object(elecfence_bar)(10)
	CreateDynamicObject(987,-261.82855225,1540.97778320,73.98529053,0.00000000,0.00000000,223.98925781); //object(elecfence_bar)(11)
	CreateDynamicObject(987,-260.11090088,1542.79394531,73.98529053,0.00000000,0.00000000,223.98925781); //object(elecfence_bar)(12)
	CreateDynamicObject(987,-260.11035156,1542.79394531,73.98529053,0.00000000,0.00000000,133.98928833); //object(elecfence_bar)(13)
	CreateDynamicObject(987,-268.48095703,1551.40698242,73.98529053,0.00000000,0.00000000,133.98925781); //object(elecfence_bar)(14)
	CreateDynamicObject(987,-276.67919922,1560.20080566,73.98529053,0.00000000,0.00000000,133.98925781); //object(elecfence_bar)(15)
	CreateDynamicObject(987,-284.88711548,1569.34814453,73.98529053,0.00000000,0.00000000,133.98925781); //object(elecfence_bar)(16)
	CreateDynamicObject(987,-292.90390015,1577.97033691,73.98529053,0.00000000,0.00000000,225.98925781); //object(elecfence_bar)(17)
	CreateDynamicObject(11454,-299.41827393,1562.97888184,74.35937500,0.00000000,0.00000000,224.00000000); //object(des_nwmedcen)(1)
	CreateDynamicObject(10831,-329.15570068,1522.09899902,78.98614502,0.00000000,0.00000000,92.00000000); //object(drydock3_sfse)(1)
	CreateDynamicObject(987,-315.95605469,1551.94421387,73.98529053,0.00000000,0.00000000,219.98927307); //object(elecfence_bar)(18)
	CreateDynamicObject(7096,-311.39648438,1536.00390625,79.91964722,0.00000000,0.00000000,272.00000000); //object(vrockstairs)(1)
	CreateDynamicObject(1953,-328.10934448,1523.85498047,83.55979919,0.00000000,0.00000000,0.00000000); //object(turn_plater_r)(1)
	CreateDynamicObject(3928,-271.95349121,1542.41052246,74.35937500,0.00000000,0.00000000,44.00000000); //object(helipad)(1)
	CreateDynamicObject(3749,-302.54455566,1509.48962402,80.22114563,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax)(1)

	// Hospital Interior
	CreateDynamicObject(18030,-2636.16000000,660.00000000,52.60000000,0.00000000,0.00000000,0.00000000); // hospital
	CreateDynamicObject(3851,-2643.20000000,649.60000000,52.24000000,0.00000000,0.00000000,0.00000000); // hospital glass wall 1
	CreateDynamicObject(3851,-2649.16000000,655.55000000,52.24000000,0.00000000,0.00000000,90.00000000); // hospital glass wall 2
	CreateDynamicObject(16500,-2653.02000000,655.55000000,52.23000000,90.00000000,0.00000000,270.00000000); // hospital wall dinning room 1
	CreateDynamicObject(16500,-2658.52000000,655.55000000,52.23000000,90.00000000,0.00000000,270.00000000); // hospital wall dinning room 2
	CreateDynamicObject(3851,-2659.31000000,655.55000000,54.74000000,0.00000000,0.00000000,90.00000000); // hospital dinning room door window
	CreateDynamicObject(1523,-2656.55000000,655.51600000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital dinning room door
	CreateDynamicObject(1808,-2652.30000000,655.86000000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital water cooler
	CreateDynamicObject(1649,-2619.61000000,655.52000000,52.00000000,0.00000000,0.00000000,270.00000000); // hospital window
	CreateDynamicObject(1500,-2641.98000000,646.12000000,50.22600000,0.00000000,0.00000000,0.00000000); // hospital main door
	CreateDynamicObject(2949,-2621.93000000,657.50000000,50.33000000,0.00000000,0.00000000,90.00000000); // hospital locked door
	CreateDynamicObject(1523,-2621.98000000,653.51000000,50.44200000,0.00000000,0.00000000,0.00000000); // hospital toilet door
	CreateDynamicObject(2528,-2623.02000000,653.00000000,50.45200000,0.00000000,0.00000000,90.00000000); // hospital toilet
	CreateDynamicObject(2517,-2622.02400000,651.06000000,50.44600000,0.00000000,0.00000000,90.00000000); // hospital shower
	CreateDynamicObject(2523,-2620.12600000,651.67000000,50.44800000,0.00000000,0.00000000,270.00000000); // hospital sink
	CreateDynamicObject(16500,-2659.04000000,664.89000000,52.23000000,0.00000000,0.00000000,90.00000000); // hospital wall 1
	CreateDynamicObject(16500,-2652.53000000,664.89000000,52.23000000,0.00000000,0.00000000,90.00000000); // hospital wall 2
	CreateDynamicObject(16500,-2646.03000000,664.89000000,52.23000000,0.00000000,0.00000000,90.00000000); // hospital wall 3
	CreateDynamicObject(16500,-2636.39000000,664.89000000,52.23000000,0.00000000,0.00000000,90.00000000); // hospital wall 4
	CreateDynamicObject(16500,-2629.90000000,664.89000000,52.23000000,0.00000000,0.00000000,90.00000000); // hospital wall 5
	CreateDynamicObject(16500,-2623.40000000,664.89000000,52.23000000,0.00000000,0.00000000,90.00000000); // hospital wall 6
	CreateDynamicObject(16500,-2637.42000000,655.55000000,52.23000000,90.00000000,0.00000000,270.00000000); // hospital surgery wall 1
	CreateDynamicObject(16500,-2633.42000000,655.55000000,52.23000000,90.00000000,0.00000000,270.00000000); // hospital surgery wall 2
	CreateDynamicObject(16500,-2631.48000000,653.20000000,50.24600000,90.00000000,0.00000000,180.00000000); // hospital surgery wall 3
	CreateDynamicObject(16500,-2631.48000000,647.68800000,52.48000000,90.00000000,0.00000000,180.00000000); // hospital surgery wall 4
	CreateDynamicObject(16500,-2631.48000000,652.19000000,56.23800000,0.00000000,0.00000000,180.00000000); // hospital surgery wall 5
	CreateDynamicObject(16500,-2639.23200000,652.70000000,52.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery wall 6
	CreateDynamicObject(16500,-2639.23200000,652.70000000,56.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery wall 7
	CreateDynamicObject(16500,-2639.23200000,647.70000000,52.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery wall 8
	CreateDynamicObject(16500,-2639.23200000,647.70000000,56.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery wall 9
	CreateDynamicObject(3851,-2631.48000000,649.74000000,54.74000000,0.00000000,0.00000000,0.00000000); // hospital surgery window
	CreateDynamicObject(16500,-2650.92000000,667.74200000,52.23000000,0.00000000,0.00000000,0.00000000); // hospital wall 1a
	CreateDynamicObject(16500,-2650.92000000,672.74200000,52.23000000,0.00000000,0.00000000,0.00000000); // hospital wall 1b
	CreateDynamicObject(16500,-2643.17600000,667.74200000,52.23000000,0.00000000,0.00000000,180.00000000); // hospital wall 2a
	CreateDynamicObject(16500,-2643.17600000,672.74200000,52.23000000,0.00000000,0.00000000,180.00000000); // hospital wall 2b
	CreateDynamicObject(16500,-2639.23200000,667.74200000,52.23000000,0.00000000,0.00000000,0.00000000); // hospital wall 3a
	CreateDynamicObject(16500,-2639.23200000,672.74200000,52.23000000,0.00000000,0.00000000,0.00000000); // hospital wall 3b
	CreateDynamicObject(16500,-2631.48000000,667.74200000,52.23000000,0.00000000,0.00000000,180.00000000); // hospital wall 4a
	CreateDynamicObject(16500,-2631.48000000,672.74200000,52.23000000,0.00000000,0.00000000,180.00000000); // hospital wall 4b
	CreateDynamicObject(3851,-2650.92000000,671.34000000,56.23000000,0.00000000,0.00000000,0.00000000); // hospital wall window 1
	CreateDynamicObject(3851,-2643.18000000,671.34000000,56.23000000,0.00000000,0.00000000,0.00000000); // hospital wall window 2
	CreateDynamicObject(3851,-2639.22000000,671.34000000,56.23000000,0.00000000,0.00000000,0.00000000); // hospital wall window 3
	CreateDynamicObject(3851,-2631.48000000,671.34000000,56.23000000,0.00000000,0.00000000,0.00000000); // hospital wall window 4
	CreateDynamicObject(1812,-2656.80000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 1
	CreateDynamicObject(1812,-2652.60000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 2
	CreateDynamicObject(1812,-2649.23000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 3
	CreateDynamicObject(1812,-2644.60000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 4
	CreateDynamicObject(1812,-2637.86000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 5
	CreateDynamicObject(1812,-2632.80000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 6
	CreateDynamicObject(1812,-2629.84000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 7
	CreateDynamicObject(1812,-2625.62000000,671.46000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital bed 8
	CreateDynamicObject(2134,-2655.46000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table1
	CreateDynamicObject(2134,-2653.96000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 2
	CreateDynamicObject(2134,-2647.90000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 3
	CreateDynamicObject(2134,-2645.93000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 4
	CreateDynamicObject(2134,-2636.50000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 5
	CreateDynamicObject(2134,-2634.17000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 6
	CreateDynamicObject(2134,-2628.50000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 7
	CreateDynamicObject(2134,-2626.97000000,673.45000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital bed table 8
	CreateDynamicObject(1726,-2634.34000000,656.20000000,50.22000000,0.00000000,0.00000000,180.00000000); // hospital couch 1
	CreateDynamicObject(1726,-2624.90000000,662.20000000,50.22000000,0.00000000,0.00000000,270.00000000); // hospital couch 2
	CreateDynamicObject(1726,-2657.50000000,660.10000000,50.22000000,0.00000000,0.00000000,90.00000000); // hospital couch 3
	CreateDynamicObject(1703,-2654.00000000,654.92000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital dinning couch 1
	CreateDynamicObject(1703,-2657.50000000,648.82000000,50.23000000,0.00000000,0.00000000,90.00000000); // hospital dinning couch 2
	CreateDynamicObject(1704,-2654.88000000,647.76000000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital dinning chair
	CreateDynamicObject(2596,-2650.89400000,647.16000000,53.00000000,0.00000000,0.00000000,180.00000000); // hospital dinning tv
	CreateDynamicObject(1727,-2653.82000000,664.20000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital chair 1
	CreateDynamicObject(1727,-2629.59000000,664.20000000,50.22000000,0.00000000,0.00000000,0.00000000); // hospital chair 2
	CreateDynamicObject(3851,-2656.50000000,664.89500000,54.74000000,0.00000000,0.00000000,90.00000000); // hospital door windows 1
	CreateDynamicObject(3851,-2648.57000000,664.89500000,54.74000000,0.00000000,0.00000000,90.00000000); // hospital door windows 2
	CreateDynamicObject(3851,-2633.84000000,664.89500000,54.74000000,0.00000000,0.00000000,90.00000000); // hospital door windows 3
	CreateDynamicObject(3851,-2625.92000000,664.89500000,54.74000000,0.00000000,0.00000000,90.00000000); // hospital door windows 4
	CreateDynamicObject(1523,-2655.01000000,664.92400000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital door 1
	CreateDynamicObject(1523,-2648.51000000,664.92400000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital door 2
	CreateDynamicObject(1523,-2632.36000000,664.92400000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital door 3
	CreateDynamicObject(1523,-2625.87000000,664.92400000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital door 3
	CreateDynamicObject(1523,-2631.51000000,651.22600000,50.23000000,0.00000000,0.00000000,270.00000000); // hospital surgery door
	CreateDynamicObject(1997,-2635.36000000,652.50000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery bed
	CreateDynamicObject(3383,-2635.35000000,647.90000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery table
	CreateDynamicObject(3396,-2638.53000000,653.30000000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital surgery computer
	CreateDynamicObject(1671,-2637.40000000,653.90000000,50.70000000,0.00000000,0.00000000,300.00000000); // hospital surgery chair
	CreateDynamicObject(3394,-2632.17000000,653.13000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital surgery table 2
	CreateDynamicObject(3388,-2635.36000000,654.94000000,50.23000000,0.00000000,0.00000000,90.00000000); // hospital surgery machine
	CreateDynamicObject(2146,-2629.40000000,647.80000000,50.72000000,0.00000000,0.00000000,270.00000000); // hospital roller table 1
	CreateDynamicObject(2146,-2630.80000000,653.20000000,50.72000000,0.00000000,0.00000000,0.00000000); // hospital roller table 2
	CreateDynamicObject(2146,-2625.50000000,648.20000000,50.72000000,0.00000000,0.00000000,135.00000000); // hospital roller table 3
	CreateDynamicObject(1369,-2625.00000000,652.80000000,50.84000000,0.00000000,0.00000000,270.00000000); // hospital wheel chair
	CreateDynamicObject(2266,-2635.36000000,656.14000000,52.74000000,0.00000000,0.00000000,180.00000000); // hospital picture 1
	CreateDynamicObject(2258,-2624.36200000,661.16000000,53.20000000,0.00000000,0.00000000,270.00000000); // hospital picture 2
	CreateDynamicObject(2276,-2657.55000000,661.15000000,52.80000000,0.00000000,0.00000000,90.00000000); // hospital picture 3
	CreateDynamicObject(2263,-2641.21000000,673.46000000,52.64000000,0.00000000,0.00000000,0.00000000); // hospital picture 4
	CreateDynamicObject(2011,-2645.43000000,664.20000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital palm 1
	CreateDynamicObject(2011,-2637.00000000,664.20000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital palm 2
	CreateDynamicObject(2684,-2639.24000000,664.50000000,52.00000000,0.00000000,0.00000000,0.00000000); // hospital paper
	CreateDynamicObject(2009,-2640.10000000,666.00000000,50.23000000,0.00000000,0.00000000,180.00000000); // hospital cpu
	CreateDynamicObject(1671,-2641.07000000,666.30000000,50.70000000,0.00000000,0.00000000,0.00000000); // hospital cabinet chair
	CreateDynamicObject(2608,-2642.85000000,666.32000000,51.68000000,0.00000000,0.00000000,90.00000000); // hospital docs
	CreateDynamicObject(2024,-2655.86000000,650.35000000,50.23000000,0.00000000,0.00000000,270.00000000); // hospital dinning table
	CreateDynamicObject(2826,-2655.60000000,649.80000000,50.76400000,0.00000000,0.00000000,0.00000000); // hospital magazines
	CreateDynamicObject(2251,-2657.70000000,647.40000000,51.08000000,0.00000000,0.00000000,180.00000000); // hospital dinning room flower
	CreateDynamicObject(2010,-2657.50000000,664.20000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital flower 1
	CreateDynamicObject(2010,-2625.04000000,664.20000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital flower 2
	CreateDynamicObject(2670,-2620.90000000,652.80000000,50.54000000,0.00000000,0.00000000,0.00000000); // hospital toilet trash
	CreateDynamicObject(16500,-2643.19000000,652.70000000,56.23000000,0.00000000,0.00000000,180.00000000); // hospital dinning wall 1b
	CreateDynamicObject(16500,-2643.19000000,647.70000000,56.23000000,0.00000000,0.00000000,180.00000000); // hospital dinning wall 2b
	CreateDynamicObject(1432,-2645.20000000,649.20000000,50.34000000,0.00000000,0.00000000,180.00000000); // hospital dinning table 1
	CreateDynamicObject(1432,-2649.00000000,649.20000000,50.34000000,0.00000000,0.00000000,180.00000000); // hospital dinning table 2
	CreateDynamicObject(1432,-2645.20000000,653.50000000,50.34000000,0.00000000,0.00000000,0.00000000); // hospital dinning table 3
	CreateDynamicObject(1432,-2649.00000000,653.50000000,50.34000000,0.00000000,0.00000000,0.00000000); // hospital dinning table 4
	CreateDynamicObject(2267,-2658.02000000,649.85000000,53.20000000,0.00000000,0.00000000,90.00000000); // hospital dinning picture
	CreateDynamicObject(2834,-2641.71000000,646.90000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital carpet
	CreateDynamicObject(2007,-2641.21000000,673.42000000,50.23000000,0.00000000,0.00000000,0.00000000); // hospital wardrobe
	CreateDynamicObject(2887,-2635.36000000,652.08000000,55.60000000,264.00000000,0.00000000,0.00000000); // hospital surgery lamp

	// Objects
	CreateDynamicObject(997,-230.52232361,970.91229248,18.39153290,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(1215,-230.30549622,971.00488281,18.85333252,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-230.10562134,971.00506592,18.39153290,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-226.72000122,971.00482178,18.85333252,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-226.53060913,971.00488281,18.39153290,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-223.14999390,971.00488281,18.85333252,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-222.95529175,971.00488281,18.39153290,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-219.57504272,971.00488281,18.85333252,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-219.38021851,971.00488281,18.39153290,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-215.99977112,971.00518799,18.85333252,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-215.80529785,971.00463867,18.39153290,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-212.39929199,971.00463867,18.85333252,0.00000000,3.00000000,0.00000000); //
	CreateDynamicObject(997,-212.22988892,971.00463867,18.34153366,0.00000000,5.25000000,0.00000000); //
	CreateDynamicObject(1215,-208.80142212,971.00463867,18.52833748,0.00000000,5.25000000,0.00000000); //
	CreateDynamicObject(997,-208.63238525,971.00463867,17.99153900,0.00000000,5.24597168,0.00000000); //
	CreateDynamicObject(1215,-205.20092773,971.00463867,18.17834282,0.00000000,5.24597168,0.00000000); //
	CreateDynamicObject(997,-230.49241638,980.13165283,18.54153061,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(1215,-230.49241638,983.58270264,19.02832985,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-230.49241638,983.85583496,18.54153061,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(997,-230.49241638,987.55572510,18.54153061,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(1215,-230.49241638,987.30688477,19.02832985,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-230.49241638,991.00683594,19.02832985,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-230.49241638,991.25561523,18.54153061,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(1215,-230.49241638,994.73059082,19.02832985,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-230.49241638,995.00457764,18.54153061,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(1215,-230.49241638,998.42956543,19.02832985,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(997,-230.49241638,998.68029785,18.54153061,0.00000000,0.00000000,90.00000000); //
	CreateDynamicObject(14468,-225.35441589,1007.96948242,20.03533745,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(14468,-227.75360107,1007.97009277,20.03533745,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(14468,-229.84123230,1006.26031494,20.03533745,0.00000000,0.00000000,88.00000000); //
	CreateDynamicObject(14468,-227.80455017,1008.00097656,20.03533745,0.00000000,0.00000000,177.99499512); //
	CreateDynamicObject(14468,-230.04869080,1004.09802246,20.03533745,0.00000000,0.00000000,267.98950195); //
	CreateDynamicObject(14468,-230.01901245,1006.42248535,20.03533745,0.00000000,0.00000000,267.98400879); //
	CreateDynamicObject(3515,-226.09362793,1004.51385498,18.87023544,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-228.41375732,1003.57873535,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-228.42825317,1006.07885742,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-226.52847290,1006.12750244,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-224.87890625,1006.17016602,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-224.81375122,1003.67053223,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-225.81311035,1003.64379883,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-227.43698120,1003.60064697,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-224.97001648,1004.91558838,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(870,-224.68380737,1006.76605225,19.39193153,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(14468,-206.35108948,991.66357422,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-206.41314697,994.16247559,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-206.46313477,996.16162109,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-206.45477295,998.46093750,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-206.44525146,1000.96093750,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-206.43548584,1003.46093750,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-206.42572021,1005.96093750,19.80649567,0.00000000,0.00000000,270.00000000); //
	CreateDynamicObject(14468,-207.49481201,1007.39001465,19.80649567,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(14468,-209.49414062,1007.40380859,19.80649567,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(14468,-212.24414062,1007.42279053,19.80649567,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(14468,-212.24414062,1007.42187500,19.80649567,0.00000000,0.00000000,180.00000000); //
	CreateDynamicObject(869,-212.08506775,1005.83489990,19.67544556,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(869,-212.11007690,1004.08447266,19.67544556,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(869,-209.23480225,1004.04241943,19.67544556,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(869,-209.21295166,1005.54199219,19.67544556,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1568,-215.27540588,975.29034424,18.48299980,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1568,-215.27381897,983.15447998,18.49771309,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(2921,-215.42218018,982.08764648,21.64323616,0.00000000,0.00000000,180.00000000); //
	CreateDynamicObject(651,-206.26707458,984.32965088,18.82550430,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-223.41857910,1002.21978760,19.69602776,0.00000000,0.00000000,0.00000000); //
	CreateDynamicObject(1215,-214.11418152,1002.23645020,19.77549744,0.00000000,0.00000000,0.00000000); //

	//RealityC Spawn
	AddStaticVehicleEx(562,-286.82714844,1217.22180176,19.47573662,176.00000000,-1,-1,900); //Elegy
	AddStaticVehicleEx(562,-282.32183838,1217.09594727,19.47573662,175.99548340,-1,-1,900); //Elegy
	AddStaticVehicleEx(562,-278.29345703,1217.26074219,19.47573662,175.99548340,-1,-1,900); //Elegy
	AddStaticVehicleEx(562,-274.13229370,1217.21398926,19.47573662,175.99548340,-1,-1,900); //Elegy
	CreateDynamicObject(10832,-144.00708008,1112.13928223,20.54976273,0.00000000,0.00000000,272.00000000); //object(gatehouse2_sfse)(1)
	CreateDynamicObject(5136,-285.20281982,1225.03027344,19.71201515,0.00000000,0.00000000,172.00000000); //object(snpedshprk1_las2)(1)
	CreateDynamicObject(3361,-294.71173096,1202.68347168,20.76605988,0.00000000,0.00000000,260.00000000); //object(cxref_woodstair)(1)

	//RealityC Mechanic
	AddStaticVehicleEx(525,-137.93904114,1129.13159180,19.73998833,88.00000000,-1,-1,1500); //Tow Truck
	AddStaticVehicleEx(525,-137.99240112,1124.38085938,19.73998833,87.99499512,-1,-1,1500); //Tow Truck
	AddStaticVehicleEx(525,-137.87319946,1133.63439941,19.73998833,87.99499512,-1,-1,1500); //Tow Truck
	CreateDynamicObject(10832,-144.00708008,1112.13928223,20.54976273,0.00000000,0.00000000,272.00000000); //object(gatehouse2_sfse)(1)

	//RealityC EMS
	AddStaticVehicleEx(407,-296.14990234,1028.03344727,19.96375084,267.99499512,-1,-1,900); //Firetruck
	AddStaticVehicleEx(407,-296.71795654,1037.04821777,19.96375084,267.99499512,-1,-1,900); //Firetruck
	AddStaticVehicleEx(416,-295.36746216,1049.73449707,19.88562202,267.99499512,-1,-1,900); //Ambulance
	AddStaticVehicleEx(416,-295.58346558,1044.98901367,19.88562202,267.99499512,-1,-1,900); //Ambulance
	AddStaticVehicleEx(407,-296.25936890,1020.27960205,19.96375084,267.99499512,-1,-1,900); //Firetruck
	AddStaticVehicleEx(490,-335.66473389,1056.70166016,20.05929565,86.00000000,1,3,900); //FBI Rancher
	CreateDynamicObject(10832,-144.00708008,1112.13928223,20.54976273,0.00000000,0.00000000,272.00000000); //object(gatehouse2_sfse)(1)
	CreateDynamicObject(5136,-285.20281982,1225.03027344,19.71201515,0.00000000,0.00000000,172.00000000); //object(snpedshprk1_las2)(1)
	CreateDynamicObject(3361,-294.71173096,1202.68347168,20.76605988,0.00000000,0.00000000,260.00000000); //object(cxref_woodstair)(1)
	CreateDynamicObject(11008,-312.43643188,1024.34301758,24.86499977,0.00000000,0.00000000,0.00000000); //object(firehouse_sfs)(1)

	//RealityC DMV
	AddStaticVehicleEx(405,-100.77054596,1154.07910156,19.74218750,90.00000000,-1,-1,900); //Sentinel
	AddStaticVehicleEx(405,-100.61211395,1146.72497559,19.74218750,90.00000000,-1,-1,900); //Sentinel
	AddStaticVehicleEx(405,-100.31561279,1143.64697266,19.74218750,90.00000000,-1,-1,900); //Sentinel
	AddStaticVehicleEx(405,-100.34126282,1140.11157227,19.74218750,90.00000000,-1,-1,900); //Sentinel
	CreateDynamicObject(16399,-84.81685638,1138.44506836,18.49997139,0.00000000,0.00000000,272.00000000); //object(desn2_peckfac2)(1)

	//RealityC - Server Cars
	AddStaticVehicleEx(562,-136.54849243,1218.84106445,19.47573662,0.00000000,-1,-1,900); //Elegy
	AddStaticVehicleEx(562,-151.35415649,1218.70776367,19.47573662,0.00000000,-1,-1,900); //Elegy
	AddStaticVehicleEx(587,-177.33471680,1225.52038574,19.55218697,272.00000000,1,1,900); //Euros
	AddStaticVehicleEx(587,-177.31787109,1222.51953125,19.55218697,271.99951172,1,1,900); //Euros
	AddStaticVehicleEx(587,-177.30126953,1219.51953125,19.55218697,271.99951172,1,1,900); //Euros
	AddStaticVehicleEx(587,-177.28332520,1216.26953125,19.55218697,271.99951172,1,1,900); //Euros
	AddStaticVehicleEx(587,-171.86779785,1232.04907227,19.55218697,185.99951172,1,1,900); //Euros
	AddStaticVehicleEx(555,-148.13687134,1175.91479492,19.53036308,0.00000000,-1,-1,900); //Windsor
	AddStaticVehicleEx(555,-143.82350159,1176.05456543,19.53036308,0.00000000,-1,-1,900); //Windsor
	AddStaticVehicleEx(555,-138.02513123,1175.98181152,19.53036308,0.00000000,-1,-1,900); //Windsor
	AddStaticVehicleEx(555,-152.41362000,1176.01977539,19.53036308,0.00000000,-1,-1,900); //Windsor
	AddStaticVehicleEx(555,-156.72630310,1175.87902832,19.53036308,0.00000000,-1,-1,900); //Windsor

	//RealityC Sheriff
	FCSD = AddStaticVehicleEx(598,-211.38708496,999.20855713,19.44312286,92.00000000,-1,-1,900); //Police Car (LVPD)
 	FCSD1 = AddStaticVehicleEx(598,-211.51458740,995.45172119,19.44312286,91.99951172,-1,-1,900); //Police Car (LVPD)
  	FCSD2 = AddStaticVehicleEx(598,-211.62527466,991.19512939,19.44312286,91.99951172,-1,-1,900); //Police Car (LVPD)
   	FCSD3 = AddStaticVehicleEx(598,-211.07685852,987.82977295,19.44312286,91.99951172,-1,-1,900); //Police Car (LVPD)
   	FCSD4 = AddStaticVehicleEx(599,-225.77322388,991.98236084,19.92541313,272.00000000,-1,-1,900); //Police Ranger
    FCSD5 = AddStaticVehicleEx(599,-226.25411987,997.01397705,19.92541313,271.99951172,-1,-1,900); //Police Ranger
    //==============================================================================================
    // Enterance Pickups
    Mechanic = CreatePickup(1318, 1, -145.1174,1116.1191,19.7500, -1);
    Sheriff = CreatePickup(1318, 1, -217.7564,979.0526,19.5034, -1);
    EMS = CreatePickup(1318, 1, -299.96633911133, 1011.7711181641, 19.59375, -1);
    DMV = CreatePickup(1318, 1, -97.4949,1149.7720,19.7422, -1);
    city = CreatePickup(1318, 1, -207.3870,1119.3350,20.4297, -1);
                            // Interior Pickups
    SheriffDuty = CreatePickup(1247, 1, 254.7737,76.4674,1003.6406, -1);
    FBIDuty = CreatePickup(1247, 1, -316.0088,1510.4666,75.5625, -1);
    MechJob = CreatePickup(1318, 1, 358.2392,168.5199,1008.3828, -1);
    DMVLicense = CreatePickup(1318, 1, -2033.0248,-116.9591,1035.1719, -1);
    // Arrest Pickup
	CreatePickup(1247, 1, 269.6075,82.7591,1001.0391, -1);
	//==============================================================================================
	SetTimer("GateCheck", 7000, true);
	return 1;
}
Reply


Messages In This Thread
[HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 06:48
Re: [HELP] My Tester Game mode (RealityC) - by milanosie - 20.02.2012, 07:02
Re: [HELP] My Tester Game mode (RealityC) - by doreto - 20.02.2012, 11:06
Re: [HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 12:27
Re: [HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 12:31
Re: [HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 12:34
Re: [HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 12:37
Re: [HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 12:39
Re: [HELP] My Tester Game mode (RealityC) - by Eiy Mard - 20.02.2012, 12:41

Forum Jump:


Users browsing this thread: 4 Guest(s)