#if defined Server_Info
								RRRRRRRRRRRRRRRRR                    lllllll                                         lllllll
								R::::::::::::::::R                   l:::::l                                         l:::::l
								R::::::RRRRRR:::::R                  l:::::l                                         l:::::l
								RR:::::R     R:::::R                 l:::::l                                         l:::::l
								  R::::R     R:::::R   ooooooooooo    l::::l     eeeeeeeeeeee    ppppp   ppppppppp    l::::l   aaaaaaaaaaaaayyyyyyy           yyyyyyy
								  R::::R     R:::::R oo:::::::::::oo  l::::l   ee::::::::::::ee  p::::ppp:::::::::p   l::::l   a::::::::::::ay:::::y         y:::::y
								  R::::RRRRRR:::::R o:::::::::::::::o l::::l  e::::::eeeee:::::eep:::::::::::::::::p  l::::l   aaaaaaaaa:::::ay:::::y       y:::::y
								  R:::::::::::::RR  o:::::ooooo:::::o l::::l e::::::e     e:::::epp::::::ppppp::::::p l::::l            a::::a y:::::y     y:::::y
								  R::::RRRRRR:::::R o::::o     o::::o l::::l e:::::::eeeee::::::e p:::::p     p:::::p l::::l     aaaaaaa:::::a  y:::::y   y:::::y
								  R::::R     R:::::Ro::::o     o::::o l::::l e:::::::::::::::::e  p:::::p     p:::::p l::::l   aa::::::::::::a   y:::::y y:::::y
								  R::::R     R:::::Ro::::o     o::::o l::::l e::::::eeeeeeeeeee   p:::::p     p:::::p l::::l  a::::aaaa::::::a    y:::::y:::::y
								  R::::R     R:::::Ro::::o     o::::o l::::l e:::::::e            p:::::p    p::::::p l::::l a::::a    a:::::a     y:::::::::y
								RR:::::R     R:::::Ro:::::ooooo:::::ol::::::le::::::::e           p:::::ppppp:::::::pl::::::la::::a    a:::::a      y:::::::y
								R::::::R     R:::::Ro:::::::::::::::ol::::::l e::::::::eeeeeeee   p::::::::::::::::p l::::::la:::::aaaa::::::a       y:::::y
								R::::::R     R:::::R oo:::::::::::oo l::::::l  ee:::::::::::::e   p::::::::::::::pp  l::::::l a::::::::::aa:::a     y:::::y
								RRRRRRRR     RRRRRRR   ooooooooooo   llllllll    eeeeeeeeeeeeee   p::::::pppppppp    llllllll  aaaaaaaaaa  aaaa    y:::::y
								                                                                  p:::::p                                         y:::::y
								                                                                  p:::::p                                        y:::::y
								                                                                 p:::::::p                                      y:::::y
								                                                                 p:::::::p                                     y:::::y
								                                                                 p:::::::p                                    yyyyyyy
								                                                                 ppppppppp
								                                                                 
								                                    © 2013 - 2014 American Roleplay VERSION 3.7
																	 ____        _ _     _   ___   ___  __ ____
																	|  _ \      (_) |   | | |__ \ / _ \/_ |___ \
																	| |_) |_   _ _| | __| |    ) | | | || | __) |
																	|  _ <| | | | | |/ _` |   / /| | | || ||__ <
																	| |_) | |_| | | | (_| |  / /_| |_| || |___) |
																	|____/ \__,_|_|_|\__,_| |____|\___/ |_|____/
																                                Developed by
																											Roy Nash
																	THIS CODE IS PROTECTED BY COPYRIGHT LAWS, DISTRIBUTION OR USAGE OF ANY
																	OF THE CODE WITHOUT THE WRITTEN PERMISSION OF ITS AUTHOR (Roy Nash) IS
																	IS AGAINST THE LAW AND A VIOLATION OF COPYRIGHT LAWS.

																	Information:
																	Everything inside this file is owned by Roy Nash ( skype: rnroynash )
																	it can be used by third parties with the agreement of the author.
																	If anything inside this file ain't entitled to the creator ( Roy Nash )
																	it will be said clearly next to the content.

																	If you got this script you agree with the following terms of usage:

																	1. Should the author, (Garfield Ram) at any time request the file or removal
																	of the file you have to do it as soon as possible.

																	2. Credits must stay, you are welcome to add your name to the stuff you've done.

																	3. Do not release the Gamemode to your friends or who ever...

																	Author(s): Garfield_Ram,zgaming,Tom and Alex

																	Workers on the script - Tom,Garfield_Ram
																	Thanks and Credits for Garfield_Ram to release this gamemode (Garfield)
																	Not everything is made by Garfield_Ram - Tom is the base of the script

																	// Gamemdoe got diffrent name for some random reasons, I dotn know because he never told me
																	
#endif
#define SERVER_GM_TEXT "A:RP v3.7"
#define SERVER_GM_LAST_UPDATE "Unknown" // Format: Month / Day / Year
#define SERVER_GM_UPDATER "Garfield Ram"
#define SERVER_BEGIN "23759" // Since first time
#define SERVER_EDITED "50102"// Edited of the gm
#define SERVER_SECURITY "176.227.201.34" // 66.85.141.76
#define SERVER_WEBSITE "real-liferp.url.ph"
#define SERVER_TS3 "62.210.136.128:10403"
#define SERVER_HOSTNAME "Real Life Roleplay"


#if defined Server_ToDoList
-> VIP Garage / Cars
-> VIP Interior change
#endif

// Includes
#include <a_samp>
#include <a_players>
#include <dini>
#include <dudb>
#include <dutils>
#pragma unused ret_memcpy
#include <foreach>
#include <sscanf2>
#include <zcmd>
#include <streamer>
#include <OPSP>
#include <progress>
#include <gvc>
#include <mxINI> // Radio Plugin
#include <mSelection>
#include <YSI\y_ini>
//#include <irc>

#define SpeedCheck(%0,%1,%2,%3,%4) floatround(floatsqroot(%4?(%0*%0+%1*%1+%2*%2):(%0*%0+%1*%1) ) *%3*1.6)
#define Holding(%0) \
	((newkeys & (%0)) == (%0))
native WP_Hash(_buffer[], len, const str[]);


#define MAX_CONNECTIONS_FROM_IP 25
// Marker Colors
#define TRANSPARENT_WHITE 0xFFFFFF00
#define TRANSPARENT_GREY 0xAFAFAF00
#define TRANSPARENT_BLUE 0x2641FE00
#define TRANSPARENT_ORANGE 0xFF990000
#define TRANSPARENT_PURPLE 0xC2A2DA00
#define TRANSPARENT_VIP 0xC93CCE00
#define TRANSPARENT_BROWN 0x7A420000
#define TRANSPARENT_GREEN 0x00FF0000
#define TRANSPARENT_FBI 0xFFFFFF00//0x8D8DFF00
#define TRANSPARENT_LSPD 0x2641FE00
#define TRANSPARENT_MEDIC 0xFF828200
#define TRANSPARENT_HSF 0x0088C200
#define TRANSPARENT_CORLEONE 0xF2FF0000
#define TRANSPARENT_SWAT 0x04008200
#define TRANSPARENT_SATF 0x57575700

// POLICE
#define MARKER_LIGHTBLUE 0x33CCFFFF

// Custum Colors
#define COLOR_PM 0xFF00FF00
#define COLOR_ME 0xC2A2DAFF
#define COLOR_ERROR 0xFF0000FF
#define CGE "{2A8A07}"
#define COE "{F07B0F}"
#define CWE "{FFFFFF}"
#define COLOR_ADV 0x00FF00DD
#define COLOR_GREENYELLOW 0xADFF2FFF
#define COLOR_COE 0xF07B0FFF
// LSPD 596dfe {2641FE}[LEO]{596dfe}

// Colors
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_PM1 0xA65FC7FF
#define COLOR_PM2 0xD35FC7FF
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_OOC 0xE0FFFFFF
#define COLOR_GREY 0xAFAFAFFF
#define COLOR_LIGHTGREEN 0xADFF2FFF
#define COLOR_LIGHTRED 0xFF6347FF
#define COLOR_DARKRED 0xAA3333FF
#define COLOR_RED 0xFF0606FF
#define COLOR_LIGHTBLUE 0x33CCFFFF
#define COLOR_GREEN 0x33AA33FF
#define COLOR_YELLOW 0xFFFF00FF
#define COLOR_PURPLE 0xC2A2DAFF
#define COLOR_ORANGE 0xFF9900FF
#define COLOR_REPORT 0xFFFF91FF
#define COLOR_RADIO 0x8D8DFFFF
#define COLOR_DEPTRADIO 0xFFD700FF
#define COLOR_BLUE 0x2641FEFF
#define COLOR_MEDIC 0xFF8282FF
#define COLOR_NEWBIE 0x7DAEFFFF
#define COLOR_LIME 0x00FF00FF
#define COLOR_NEWS 0x049C7100
#define COLOR_CYAN 0x01FCFFFF
#define COLOR_VIP 0xC93CCEFF
#define COLOR_GOLD 0xFFD700FF

// Custom Defines
#define DIALOGID255 1337 // Dialog Interiors
#define DIALOGGPS 1324
#define DIALOGGPSJOB 1325
#define	MAX_GARAGES 51 // Ignore 1
#define	MAX_BARRICADES 50
#define MAX_FLARES 20
#define	MAX_CONES 30
//-----------[Faction]-----------//
#define MAX_FACTIONS 30
// 0 = civilian
// 1 = SAPD(LSPD)
// 2 = Government
// 3 = Hitman Agency
// 4 = SA News
// 5 = Leone
// 6 = F.B.I
// 7 = LSEMS
// 8 = HSF
// 9 = Corleone
// 10 = The Ancelotti Family
// 11 = Special Weapons And Tactics
// 12 = San Andreas Task Force
// 13 = East Side Fellas
//-----------[Faction]-----------//
#define MAX_FAMILIES 16 // 1 to 16, ignore 0
#define MAX_BIZ 201 // Ignore 0
#define MAX_HOUSES 501 // Ignore 0
#define MAX_DOORS 200
#define MAX_MAPICONS 100
#define MAX_MUSIC 3
#define MAX_ADS 50
#define MAX_CUSTOM_VEHICLES 100
#define MAX_POINTS 6
#define MAX_DVEHICLES 800
#define MAX_SPIKESTRIPS 200
#define MAX_GATES 201 // Ignore 0
#define MAX_MONEYBAGS  (150)

// IRC
/*#define BOT_1_NICKNAME "ModernLifeRP[1]"
#define BOT_1_REALNAME "ModernLifeRP[1]"
#define BOT_1_USERNAME "ModernLifeRP[1]"

#define IRC_SERVER "37.59.174.136"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#Help"

#define MAX_BOTS (1)

#define PLUGIN_VERSION "1.4.3"

#define COLOR_IRC 0xBFFAFEAA

new botIDs[MAX_BOTS], groupID;

//IRC
enum
{
	E_IRC_CONNECT_ATTEMPTS,
	E_IRC_CONNECT_DELAY,
	E_IRC_CONNECT_TIMEOUT,
	E_IRC_RECEIVE_TIMEOUT
}
*/
new IRCStatus;

// LSEMS Gates
new fdgate1;
new fdgate2;
new LSEMSBarrierStatus;

// Anti Cheat Systems
#define     DIALOG_MENU_MAIN        6453
new bool: pMuted[MAX_PLAYERS] = false;
new pLineCount[MAX_PLAYERS];
new pVehicleMods[MAX_PLAYERS];
new pVehicles[MAX_PLAYERS];

// Colors
#define COLOR_NICEGREEN      0x6EF83CFF
#define COLOR_NICERED        0xFF0606FF
#define COL_NICEGREEN      "{6EF83C}"
#define COL_NICERED        "{FF0606}"
#define COL_WHITE          "{FFFFFF}"

// Settings | True = On | False = Off |
new bool:   USE_ANTI_SPAM   		= true;
new bool:   USE_ANTI_CRASH  		= true;
new bool:   USE_ANTI_VEHICLE_HACK   = true;
new bool:   USE_ANTI_FAKE_KILL      = false;
new bool:   USE_ANTI_SPEEDHACK      = true;
new bool:   USE_ANTI_JETPACK        = true;
new bool:   USE_ANTI_HIGHPING       = false;
new bool:   USE_ANTI_WEAPONHACK     = true;
#define         MAX_MESSAGES        5
#define         MAX_VEHICLE_MODS    5
#define         MAX_ENTER_VEHICLES  3

// High Ping
#define MAX_PING 650
new PingTimer[MAX_PLAYERS];

// Rules Textdraws
new Text:tdrules0;
new Text:tdrules1;
new Text:tdrules2;
new Text:tdrules3;
new Text:tdrules4;
new Text:tdrules5;
new Text:tdrules6;
new Text:tdrules7;
new Text:tdrules8;
new Text:tdrules9;
new Text:tdrules10;
new Text:tdrules11;
new Text:tdrules12;
new Text:tdrules13;
new Text:tdrules14;
new Text:tdrules15;
new Text:tdrules16;
new Text:tdrules17;
new Text:tdrules18;
new Text:tdrules19;

// Los Santos EMS
new FireObject, FireObject1, FireObject2, SmokeObject, SmokeObject1, SmokeObject2, FireHealth, FireTimer, Text3D:FireText;

// Business Robbery
new g_bizRobber[MAX_BIZ];
new g_robbizBag[MAX_PLAYERS];
new g_apprehendedCash[MAX_PLAYERS];
new g_bIsRobbiz[MAX_PLAYERS];
new g_remainingBizTicks[MAX_BIZ];
new g_remainingRobTicks[MAX_PLAYERS];

// Anti Invalid Mod Protection
// Credits to JernejL: http://forum.sa-mp.com/showthread.php?t=317303
stock const
        // This is a packed array with [modelid - 400]{componentid - 1000}.
        g_LegalMods[][] = {
                {0x08090A0D, 0x12131415, 0x1819494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x00000000, 0x00000000, 0x00000000, 0}, // 400
                {0x01030405, 0x06070809, 0x0A0D1113, 0x1419494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F9091, 0x00000000, 0}, // 401
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 402
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 403
                {0x00020708, 0x090A0D10, 0x11131415, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x60616200, 0x00000000, 0x00000000, 0}, // 404
                {0x00010809, 0x0A0E1213, 0x14151719, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0}, // 405
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 406
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 407
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 408
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 409
                {0x01030708, 0x090A0D11, 0x13141517, 0x1819494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x00000000, 0x00000000, 0}, // 410
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 411
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 412
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 413
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 414
                {0x01030708, 0x090A1112, 0x13171949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0x00000000, 0}, // 415
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 416
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 417
                {0x02060809, 0x0A101415, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x60616200, 0x00000000, 0x00000000, 0x00000000, 0}, // 418
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 419
                {0x01030405, 0x08090A13, 0x1519494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x00000000, 0x00000000, 0x00000000, 0}, // 420
                {0x0008090A, 0x0E101213, 0x14151719, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0}, // 421
                {0x0708090A, 0x0D111314, 0x1519494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x00000000, 0x00000000, 0x00000000, 0}, // 422
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 423
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 424
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 425
                {0x01030405, 0x0608090A, 0x13151949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0x00000000, 0}, // 426
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 427
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 428
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 429
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 430
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 431
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 432
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 433
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 434
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 435
                {0x01030607, 0x08090A0D, 0x11131415, 0x1619494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x00000000, 0x00000000, 0}, // 436
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 437
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 438
                {0x01030708, 0x090A0D11, 0x1719494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F9091, 0x00000000, 0x00000000, 0}, // 439
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 440
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 441
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 442
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 443
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 444
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 445
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 446
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 447
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 448
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 449
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 450
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 451
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 452
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 453
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 454
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 455
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 456
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 457
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 458
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 459
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 460
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 461
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 462
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 463
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 464
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 465
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 466
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 467
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 468
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 469
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 470
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 471
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 472
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 473
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 474
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 475
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 476
                {0x06070809, 0x0A111213, 0x14151949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0x00000000, 0}, // 477
                {0x04050809, 0x0A0C0D14, 0x15161819, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0}, // 478
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 479
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 480
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 481
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 482
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 483
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 484
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 485
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 486
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 487
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 488
                {0x00020405, 0x0608090A, 0x0D101213, 0x14181949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0}, // 489
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 490
                {0x03070809, 0x0A0E1112, 0x13141517, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x6061628E, 0x8F909100, 0x00000000, 0}, // 491
                {0x00040506, 0x08090A10, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x60616200, 0x00000000, 0x00000000, 0x00000000, 0}, // 492
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 493
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 494
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 495
                {0x01020306, 0x0708090A, 0x0B111314, 0x1719494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F0000, 0x00000000, 0}, // 496
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 497
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 498
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 499
                {0x08090A0D, 0x13141518, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x60616200, 0x00000000, 0x00000000, 0x00000000, 0}, // 500
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 501
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 502
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 503
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 504
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 505
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 506
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 507
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 508
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 509
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 510
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 511
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 512
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 513
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 514
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 515
                {0x00020407, 0x08090A0F, 0x10111213, 0x14151949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0}, // 516
                {0x02030708, 0x090A1011, 0x12131417, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x6061628E, 0x8F909100, 0x00000000, 0}, // 517
                {0x01030506, 0x0708090A, 0x0D111214, 0x1719494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F9091, 0x00000000, 0}, // 518
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 519
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 520
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 521
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 522
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 523
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 524
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 525
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 526
                {0x01070809, 0x0A0E0F11, 0x12141519, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0}, // 527
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 528
                {0x01030607, 0x08090A0B, 0x0C111213, 0x14171949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0}, // 529
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 530
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 531
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 532
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 533
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61626465, 0x6A7A7B7C, 0x7D7E7FB2, 0xB3B4B900, 0x00000000, 0}, // 534
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61626D6E, 0x71727374, 0x75767778, 0x79000000, 0x00000000, 0}, // 535
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61626768, 0x696B6C80, 0xB5B6B7B8, 0x00000000, 0x00000000, 0}, // 536
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 537
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 538
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 539
                {0x01040607, 0x08090A11, 0x12131417, 0x1819494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F9091, 0x00000000, 0}, // 540
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 541
                {0x08090A0E, 0x0F121314, 0x1519494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x90910000, 0x00000000, 0x00000000, 0}, // 542
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 543
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 544
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 545
                {0x01020406, 0x0708090A, 0x11121317, 0x1819494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F9091, 0x00000000, 0}, // 546
                {0x00030809, 0x0A101213, 0x14151949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x628E8F00, 0x00000000, 0x00000000, 0}, // 547
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 548
                {0x01030708, 0x090A0B0C, 0x11121314, 0x1719494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x8E8F9091, 0x00000000, 0}, // 549
                {0x01030405, 0x0608090A, 0x12131417, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x6061628E, 0x8F909100, 0x00000000, 0}, // 550
                {0x02030506, 0x08090A10, 0x12131415, 0x1719494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x00000000, 0x00000000, 0}, // 551
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 552
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 553
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 554
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 555
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 556
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 557
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565758, 0x595A5B5C, 0x5D5E5F60, 0x6162A3A4, 0xA5A6A7A8, 0x00000000, 0}, // 558
                {0x08090A19, 0x41424344, 0x45464748, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61629E9F, 0xA0A1A2AD, 0x00000000, 0}, // 559
                {0x08090A19, 0x1A1B1C1D, 0x1E1F2021, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61628A8B, 0x8C8DA9AA, 0x00000000, 0}, // 560
                {0x08090A19, 0x1A1B1E1F, 0x3738393A, 0x3B3C3D3E, 0x3F40494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x9A9B9C9D, 0}, // 561
                {0x08090A19, 0x22232425, 0x26272829, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61629293, 0x9495ABAC, 0x00000000, 0}, // 562
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 563
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 564
                {0x08090A19, 0x2D2E2F30, 0x31323334, 0x3536494A, 0x4B4C4D4E, 0x4F505152, 0x53545556, 0x57606162, 0x96979899, 0x00000000, 0}, // 565
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 566
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61626681, 0x82838485, 0xBABBBCBD, 0x00000000, 0x00000000, 0}, // 567
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 568
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 569
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 570
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 571
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 572
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 573
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 574
                {0x08090A19, 0x2A2B2C49, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x6263AEAF, 0xB0B10000, 0x00000000, 0x00000000, 0}, // 575
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61628687, 0x8889BEBF, 0xC0C10000, 0x00000000, 0x00000000, 0}, // 576
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 577
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 578
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 579
                {0x01060708, 0x090A1112, 0x14171949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62000000, 0x00000000, 0x00000000, 0}, // 580
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 581
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 582
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 583
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 584
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 585
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 586
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 587
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 588
                {0x00040506, 0x0708090A, 0x0D101112, 0x14181949, 0x4A4B4C4D, 0x4E4F5051, 0x52535455, 0x56576061, 0x62909100, 0x00000000, 0}, // 589
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 590
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 591
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 592
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 593
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 594
                {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 595
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 596
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 597
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 598
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 599
                {0x04050607, 0x08090A0D, 0x11121416, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x60616200, 0x00000000, 0x00000000, 0}, // 600
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 601
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 602
                {0x01060708, 0x090A1112, 0x13141718, 0x19494A4B, 0x4C4D4E4F, 0x50515253, 0x54555657, 0x6061628E, 0x8F909100, 0x00000000, 0}, // 603
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 604
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 605
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 606
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 607
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 608
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 609
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}, // 610
                {0x08090A19, 0x494A4B4C, 0x4D4E4F50, 0x51525354, 0x55565760, 0x61620000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0}  // 611
        }
;
 
// Valid component iterator
stock ValidComponents@YSII_Ag(modelid, start) {
        static cur;
        static modelidx;
 
        if (start == -1) {
                if (modelid < 400 || modelid > 611)
                        return -1;
 
                modelidx = modelid - 400;
                cur = 0;
        }
 
        if (g_LegalMods[modelidx]{cur})
                return 1000 + g_LegalMods[modelidx]{cur++};
 
        return -1;
}
 
// Credits to JernejL: http://forum.sa-mp.com/showthread.php?t=317303
stock IsVehicleComponentLegal(vehicleid, componentid) {
        static const s_LegalMods[][] = {
                {54273792, 0, 16776704, 7, 0, 0},
                {35268602, 0, 16776704, 7, 245760, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {37431173, 0, 16776704, 7, 0, 0},
                {45893379, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {62531466, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {42862474, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {36767556, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {36177722, 0, 16776704, 7, 0, 0},
                {45958913, 0, 16776704, 7, 0, 0},
                {37365632, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {36177786, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {41560010, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {42084234, 0, 16776704, 7, 245760, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {37619648, 0, 16776704, 7, 0, 0},
                {57685808, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {52242293, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {46024584, 0, 16776704, 7, 245760, 0},
                {33621873, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {43651022, 0, 16776704, 7, 49152, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {54011648, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {37717909, 0, 16776704, 7, 0, 0},
                {43976588, 0, 16776704, 7, 245760, 0},
                {43395050, 0, 16776704, 7, 245760, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {37144450, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {43917258, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, -67107785, 0, 35389440},
                {33556224, 0, 16776704, 67002375, 0, 0},
                {33556224, 0, 16776704, 7047, 1, 31457280},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {60688338, 0, 16776704, 7, 245760, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {37537536, 0, 16776704, 7, 196608, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {59639766, 0, 16776704, 7, 245760, 0},
                {37553929, 0, 16776704, 7, 49152, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {43917194, 0, 16776704, 7, 245760, 0},
                {43779962, 0, 16776704, 7, 245760, 0},
                {45942636, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, -512, 7, 0, 504},
                {33556224, 0, 16777214, 7, -1073741824, 8199},
                {-33552640, 3, 16776704, 7, 15360, 1536},
                {-838859008, -8388608, 16776705, 7, 1006632960, 0},
                {33556224, 1020, 16776704, 7, 3932160, 6144},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 8380416, 16776704, 7, 62914560, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 71, 62, 1006632960},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 7168, 16776704, 15, 0, 245760},
                {33556224, 0, 16776704, 7, 960, -1073741824},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {43386818, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {51849201, 0, 16776704, 7, 196608, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {0, 0, 0, 0, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {39200752, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {60688322, 0, 16776704, 7, 245760, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0},
                {33556224, 0, 16776704, 7, 0, 0}
        };
       
        // These is the only case with componentids > 1191 (saves ~1kb in the array)
        if (vehicleid == 576 && (componentid == 1192 || componentid == 1193))
                return true;
       
        if (1000 <= componentid <= 1191 && 400 <= vehicleid <= 611) {
                componentid -= 1000;
                vehicleid -= 400;
               
                return (s_LegalMods[vehicleid][componentid >>> 5] & 1 << (componentid & 31)) || false;
        }
       
        return false;
}
// Packetloss
new PlayerText: FPSPingPacket[MAX_PLAYERS]; // Ping, FPS and Packetloss textdraw on top right corner.
		
// /rob player
#define ROB_TIME 300000
new robtime[MAX_PLAYERS];

// Tutorial
new Text:TutTxt[5];
new Text:TextTut[MAX_PLAYERS];

// Kick Fix
new kick_gTimer[MAX_PLAYERS];

stock FixedKick(playerid) {
    KillTimer(kick_gTimer[playerid]);
    kick_gTimer[playerid] = SetTimerEx("DelayedKick", 500, false, "i", playerid);
    return 1;
}

forward DelayedKick(playerid);
public DelayedKick(playerid) {
    if (!IsPlayerConnected(playerid)) return 1;
    Kick(playerid);
    return 1;
}

// 911 Respond
new CalledCops[MAX_PLAYERS];

// Pizza
new HazPizza[MAX_PLAYERS];
new MsgSent[MAX_PLAYERS];

// Money
enum mbInfo
{
	mCreated,
    Float:mbX,
    Float:mbY,
    Float:mbZ,
    mPickup,
    mAmount,
    mMoneybag
};
new MoneyInfo[MAX_MONEYBAGS][mbInfo];

// Radar
#define MAX_SPEEDCAMS 25
new Text:radarTD[MAX_PLAYERS];
forward AddSpeedCam(playerid, maxspeed);
forward LoadSpeedCams();
forward RemoveRadarTD(playerid);
forward SpeedCamsTimer();
forward SpeedCamCheck(playerid);

enum _speedcams{
        Float:scx,
        Float:scy,
        Float:scz,
        Float:scfa,
        scmaxspeed,
        scobjid
}
new SpeedCams[MAX_SPEEDCAMS][_speedcams];
new SpeedCamPlayer[MAX_PLAYERS];

// Speedbump
#define MAX_SPEEDBUMPS 50

enum speedbump{
        Float:sbx,
        Float:sby,
        Float:sbz,
        Float:sbfa,
        sbobjid
}
new SpeedBumps[MAX_SPEEDBUMPS][speedbump];


// Relation / Marry
new relationoffer[MAX_PLAYERS];

// Sellcartoplayer
new VehicleOffer[MAX_PLAYERS];
//new VehicleId[MAX_PLAYERS];
new VehiclePrice[MAX_PLAYERS];

// Pollice Traffic System
new obj[MAX_VEHICLES] = { INVALID_OBJECT_ID, ... };
#define VObject4 IsValidDynamicObject
#define CObject4 CreateDynamicObject
#define AObject4 AttachDynamicObjectToVehicle
#define DObject4 DestroyDynamicObject

// Serverlock
new bool:ServerLocked;

// Poll System
new PollVoted[MAX_PLAYERS];
new PollY;
new PollOn;
new PollN;

// Banned/Kicked Textdraw
new Text:BannedNotice;
new Text:KickedNotice;

// 0.3x Toys
new toylist = mS_INVALID_LISTID;

// 0.3x clothes
new lsemsskinlist = mS_INVALID_LISTID;
new skinlist = mS_INVALID_LISTID;
new copskinlist = mS_INVALID_LISTID;
new hsfskinlist = mS_INVALID_LISTID;

// Player record


//trunks
new topened[MAX_PLAYERS];

//walkstyle defines
#define 					WALK_DEFAULT    					(0)
#define 					WALK_NORMAL     					(1)
#define 					WALK_PED       						(2)
#define 					WALK_GANGSTA   						(3)
#define 					WALK_GANGSTA2  						(4)
#define 					WALK_OLD       						(5)
#define 					WALK_FAT_OLD   						(6)
#define 					WALK_FAT      						(7)
#define 					WALK_LADY     						(8)
#define 					WALK_LADY2    						(9)
#define 					WALK_WHORE    						(10)
#define 					WALK_WHORE2   						(11)
#define 					WALK_DRUNK     						(12)
#define 					WALK_BLIND     						(13)

new walktime[MAX_PLAYERS];

// Vehicle Health Bar
new PlayerText3D:CarLabel[MAX_PLAYERS];
new bool:LabelActive[MAX_PLAYERS];

new Float:OldHealth[MAX_PLAYERS];
new Float:OldDamage[MAX_PLAYERS];
new Float:CDamage[MAX_PLAYERS];

new timercar[MAX_PLAYERS];

// Speedhack for Admin
new SpeedHack[MAX_PLAYERS];

// Report
new PlayerNeedsHelp[MAX_PLAYERS];

// Zones
#define MAX_ZONE_NAME 28

new Text:Zones[MAX_PLAYERS];

forward Zones_Update();

enum SAZONE_MAIN { //Betamaster
		SAZONE_NAME[28],
		Float:SAZONE_AREA[6]
};

static const gSAZones[][SAZONE_MAIN] = {  // Majority of names and area coordinates adopted from Mabako's 'Zones Script' v0.2
	//	NAME                            AREA (Xmin,Ymin,Zmin,Xmax,Ymax,Zmax)
	{"The Big Ear",	                {-410.00,1403.30,-3.00,-137.90,1681.20,200.00}},
	{"Aldea Malvada",               {-1372.10,2498.50,0.00,-1277.50,2615.30,200.00}},
	{"Angel Pine",                  {-2324.90,-2584.20,-6.10,-1964.20,-2212.10,200.00}},
	{"Arco del Oeste",              {-901.10,2221.80,0.00,-592.00,2571.90,200.00}},
	{"Avispa Country Club",         {-2646.40,-355.40,0.00,-2270.00,-222.50,200.00}},
	{"Avispa Country Club",         {-2831.80,-430.20,-6.10,-2646.40,-222.50,200.00}},
	{"Avispa Country Club",         {-2361.50,-417.10,0.00,-2270.00,-355.40,200.00}},
	{"Avispa Country Club",         {-2667.80,-302.10,-28.80,-2646.40,-262.30,71.10}},
	{"Avispa Country Club",         {-2470.00,-355.40,0.00,-2270.00,-318.40,46.10}},
	{"Avispa Country Club",         {-2550.00,-355.40,0.00,-2470.00,-318.40,39.70}},
	{"Back o Beyond",               {-1166.90,-2641.10,0.00,-321.70,-1856.00,200.00}},
	{"Battery Point",               {-2741.00,1268.40,-4.50,-2533.00,1490.40,200.00}},
	{"Bayside",                     {-2741.00,2175.10,0.00,-2353.10,2722.70,200.00}},
	{"Bayside Marina",              {-2353.10,2275.70,0.00,-2153.10,2475.70,200.00}},
	{"Beacon Hill",                 {-399.60,-1075.50,-1.40,-319.00,-977.50,198.50}},
	{"Blackfield",                  {964.30,1203.20,-89.00,1197.30,1403.20,110.90}},
	{"Blackfield",                  {964.30,1403.20,-89.00,1197.30,1726.20,110.90}},
	{"Blackfield Chapel",           {1375.60,596.30,-89.00,1558.00,823.20,110.90}},
	{"Blackfield Chapel",           {1325.60,596.30,-89.00,1375.60,795.00,110.90}},
	{"Blackfield Intersection",     {1197.30,1044.60,-89.00,1277.00,1163.30,110.90}},
	{"Blackfield Intersection",     {1166.50,795.00,-89.00,1375.60,1044.60,110.90}},
	{"Blackfield Intersection",     {1277.00,1044.60,-89.00,1315.30,1087.60,110.90}},
	{"Blackfield Intersection",     {1375.60,823.20,-89.00,1457.30,919.40,110.90}},
	{"Blueberry",                   {104.50,-220.10,2.30,349.60,152.20,200.00}},
	{"Blueberry",                   {19.60,-404.10,3.80,349.60,-220.10,200.00}},
	{"Blueberry Acres",             {-319.60,-220.10,0.00,104.50,293.30,200.00}},
	{"Caligula's Palace",           {2087.30,1543.20,-89.00,2437.30,1703.20,110.90}},
	{"Caligula's Palace",           {2137.40,1703.20,-89.00,2437.30,1783.20,110.90}},
	{"Calton Heights",              {-2274.10,744.10,-6.10,-1982.30,1358.90,200.00}},
	{"Chinatown",                   {-2274.10,578.30,-7.60,-2078.60,744.10,200.00}},
	{"City Hall",                   {-2867.80,277.40,-9.10,-2593.40,458.40,200.00}},
	{"Come-A-Lot",                  {2087.30,943.20,-89.00,2623.10,1203.20,110.90}},
	{"Commerce",                    {1323.90,-1842.20,-89.00,1701.90,-1722.20,110.90}},
	{"Commerce",                    {1323.90,-1722.20,-89.00,1440.90,-1577.50,110.90}},
	{"Commerce",                    {1370.80,-1577.50,-89.00,1463.90,-1384.90,110.90}},
	{"Commerce",                    {1463.90,-1577.50,-89.00,1667.90,-1430.80,110.90}},
	{"Commerce",                    {1583.50,-1722.20,-89.00,1758.90,-1577.50,110.90}},
	{"Commerce",                    {1667.90,-1577.50,-89.00,1812.60,-1430.80,110.90}},
	{"Conference Center",           {1046.10,-1804.20,-89.00,1323.90,-1722.20,110.90}},
	{"Conference Center",           {1073.20,-1842.20,-89.00,1323.90,-1804.20,110.90}},
	{"Cranberry Station",           {-2007.80,56.30,0.00,-1922.00,224.70,100.00}},
	{"Creek",                       {2749.90,1937.20,-89.00,2921.60,2669.70,110.90}},
	{"Dillimore",                   {580.70,-674.80,-9.50,861.00,-404.70,200.00}},
	{"Doherty",                     {-2270.00,-324.10,-0.00,-1794.90,-222.50,200.00}},
	{"Doherty",                     {-2173.00,-222.50,-0.00,-1794.90,265.20,200.00}},
	{"Downtown",                    {-1982.30,744.10,-6.10,-1871.70,1274.20,200.00}},
	{"Downtown",                    {-1871.70,1176.40,-4.50,-1620.30,1274.20,200.00}},
	{"Downtown",                    {-1700.00,744.20,-6.10,-1580.00,1176.50,200.00}},
	{"Downtown",                    {-1580.00,744.20,-6.10,-1499.80,1025.90,200.00}},
	{"Downtown",                    {-2078.60,578.30,-7.60,-1499.80,744.20,200.00}},
	{"Downtown",                    {-1993.20,265.20,-9.10,-1794.90,578.30,200.00}},
	{"Downtown Los Santos",         {1463.90,-1430.80,-89.00,1724.70,-1290.80,110.90}},
	{"Downtown Los Santos",         {1724.70,-1430.80,-89.00,1812.60,-1250.90,110.90}},
	{"Downtown Los Santos",         {1463.90,-1290.80,-89.00,1724.70,-1150.80,110.90}},
	{"Downtown Los Santos",         {1370.80,-1384.90,-89.00,1463.90,-1170.80,110.90}},
	{"Downtown Los Santos",         {1724.70,-1250.90,-89.00,1812.60,-1150.80,110.90}},
	{"Downtown Los Santos",         {1370.80,-1170.80,-89.00,1463.90,-1130.80,110.90}},
	{"Downtown Los Santos",         {1378.30,-1130.80,-89.00,1463.90,-1026.30,110.90}},
	{"Downtown Los Santos",         {1391.00,-1026.30,-89.00,1463.90,-926.90,110.90}},
	{"Downtown Los Santos",         {1507.50,-1385.20,110.90,1582.50,-1325.30,335.90}},
	{"East Beach",                  {2632.80,-1852.80,-89.00,2959.30,-1668.10,110.90}},
	{"East Beach",                  {2632.80,-1668.10,-89.00,2747.70,-1393.40,110.90}},
	{"East Beach",                  {2747.70,-1668.10,-89.00,2959.30,-1498.60,110.90}},
	{"East Beach",                  {2747.70,-1498.60,-89.00,2959.30,-1120.00,110.90}},
	{"East Los Santos",             {2421.00,-1628.50,-89.00,2632.80,-1454.30,110.90}},
	{"East Los Santos",             {2222.50,-1628.50,-89.00,2421.00,-1494.00,110.90}},
	{"East Los Santos",             {2266.20,-1494.00,-89.00,2381.60,-1372.00,110.90}},
	{"East Los Santos",             {2381.60,-1494.00,-89.00,2421.00,-1454.30,110.90}},
	{"East Los Santos",             {2281.40,-1372.00,-89.00,2381.60,-1135.00,110.90}},
	{"East Los Santos",             {2381.60,-1454.30,-89.00,2462.10,-1135.00,110.90}},
	{"East Los Santos",             {2462.10,-1454.30,-89.00,2581.70,-1135.00,110.90}},
	{"Easter Basin",                {-1794.90,249.90,-9.10,-1242.90,578.30,200.00}},
	{"Easter Basin",                {-1794.90,-50.00,-0.00,-1499.80,249.90,200.00}},
	{"Easter Bay Airport",          {-1499.80,-50.00,-0.00,-1242.90,249.90,200.00}},
	{"Easter Bay Airport",          {-1794.90,-730.10,-3.00,-1213.90,-50.00,200.00}},
	{"Easter Bay Airport",          {-1213.90,-730.10,0.00,-1132.80,-50.00,200.00}},
	{"Easter Bay Airport",          {-1242.90,-50.00,0.00,-1213.90,578.30,200.00}},
	{"Easter Bay Airport",          {-1213.90,-50.00,-4.50,-947.90,578.30,200.00}},
	{"Easter Bay Airport",          {-1315.40,-405.30,15.40,-1264.40,-209.50,25.40}},
	{"Easter Bay Airport",          {-1354.30,-287.30,15.40,-1315.40,-209.50,25.40}},
	{"Easter Bay Airport",          {-1490.30,-209.50,15.40,-1264.40,-148.30,25.40}},
	{"Easter Bay Chemicals",        {-1132.80,-768.00,0.00,-956.40,-578.10,200.00}},
	{"Easter Bay Chemicals",        {-1132.80,-787.30,0.00,-956.40,-768.00,200.00}},
	{"El Castillo del Diablo",      {-464.50,2217.60,0.00,-208.50,2580.30,200.00}},
	{"El Castillo del Diablo",      {-208.50,2123.00,-7.60,114.00,2337.10,200.00}},
	{"El Castillo del Diablo",      {-208.50,2337.10,0.00,8.40,2487.10,200.00}},
	{"El Corona",                   {1812.60,-2179.20,-89.00,1970.60,-1852.80,110.90}},
	{"El Corona",                   {1692.60,-2179.20,-89.00,1812.60,-1842.20,110.90}},
	{"El Quebrados",                {-1645.20,2498.50,0.00,-1372.10,2777.80,200.00}},
	{"Esplanade East",              {-1620.30,1176.50,-4.50,-1580.00,1274.20,200.00}},
	{"Esplanade East",              {-1580.00,1025.90,-6.10,-1499.80,1274.20,200.00}},
	{"Esplanade East",              {-1499.80,578.30,-79.60,-1339.80,1274.20,20.30}},
	{"Esplanade North",             {-2533.00,1358.90,-4.50,-1996.60,1501.20,200.00}},
	{"Esplanade North",             {-1996.60,1358.90,-4.50,-1524.20,1592.50,200.00}},
	{"Esplanade North",             {-1982.30,1274.20,-4.50,-1524.20,1358.90,200.00}},
	{"Fallen Tree",                 {-792.20,-698.50,-5.30,-452.40,-380.00,200.00}},
	{"Fallow Bridge",               {434.30,366.50,0.00,603.00,555.60,200.00}},
	{"Fern Ridge",                  {508.10,-139.20,0.00,1306.60,119.50,200.00}},
	{"Financial",                   {-1871.70,744.10,-6.10,-1701.30,1176.40,300.00}},
	{"Fisher's Lagoon",             {1916.90,-233.30,-100.00,2131.70,13.80,200.00}},
	{"Flint Intersection",          {-187.70,-1596.70,-89.00,17.00,-1276.60,110.90}},
	{"Flint Range",                 {-594.10,-1648.50,0.00,-187.70,-1276.60,200.00}},
	{"Fort Carson",                 {-376.20,826.30,-3.00,123.70,1220.40,200.00}},
	{"Foster Valley",               {-2270.00,-430.20,-0.00,-2178.60,-324.10,200.00}},
	{"Foster Valley",               {-2178.60,-599.80,-0.00,-1794.90,-324.10,200.00}},
	{"Foster Valley",               {-2178.60,-1115.50,0.00,-1794.90,-599.80,200.00}},
	{"Foster Valley",               {-2178.60,-1250.90,0.00,-1794.90,-1115.50,200.00}},
	{"Frederick Bridge",            {2759.20,296.50,0.00,2774.20,594.70,200.00}},
	{"Gant Bridge",                 {-2741.40,1659.60,-6.10,-2616.40,2175.10,200.00}},
	{"Gant Bridge",                 {-2741.00,1490.40,-6.10,-2616.40,1659.60,200.00}},
	{"Ganton",                      {2222.50,-1852.80,-89.00,2632.80,-1722.30,110.90}},
	{"Ganton",                      {2222.50,-1722.30,-89.00,2632.80,-1628.50,110.90}},
	{"Garcia",                      {-2411.20,-222.50,-0.00,-2173.00,265.20,200.00}},
	{"Garcia",                      {-2395.10,-222.50,-5.30,-2354.00,-204.70,200.00}},
	{"Garver Bridge",               {-1339.80,828.10,-89.00,-1213.90,1057.00,110.90}},
	{"Garver Bridge",               {-1213.90,950.00,-89.00,-1087.90,1178.90,110.90}},
	{"Garver Bridge",               {-1499.80,696.40,-179.60,-1339.80,925.30,20.30}},
	{"Glen Park",                   {1812.60,-1449.60,-89.00,1996.90,-1350.70,110.90}},
	{"Glen Park",                   {1812.60,-1100.80,-89.00,1994.30,-973.30,110.90}},
	{"Glen Park",                   {1812.60,-1350.70,-89.00,2056.80,-1100.80,110.90}},
	{"Green Palms",                 {176.50,1305.40,-3.00,338.60,1520.70,200.00}},
	{"Greenglass College",          {964.30,1044.60,-89.00,1197.30,1203.20,110.90}},
	{"Greenglass College",          {964.30,930.80,-89.00,1166.50,1044.60,110.90}},
	{"Hampton Barns",               {603.00,264.30,0.00,761.90,366.50,200.00}},
	{"Hankypanky Point",            {2576.90,62.10,0.00,2759.20,385.50,200.00}},
	{"Harry Gold Parkway",          {1777.30,863.20,-89.00,1817.30,2342.80,110.90}},
	{"Hashbury",                    {-2593.40,-222.50,-0.00,-2411.20,54.70,200.00}},
	{"Hilltop Farm",                {967.30,-450.30,-3.00,1176.70,-217.90,200.00}},
	{"Hunter Quarry",               {337.20,710.80,-115.20,860.50,1031.70,203.70}},
	{"Idlewood",                    {1812.60,-1852.80,-89.00,1971.60,-1742.30,110.90}},
	{"Idlewood",                    {1812.60,-1742.30,-89.00,1951.60,-1602.30,110.90}},
	{"Idlewood",                    {1951.60,-1742.30,-89.00,2124.60,-1602.30,110.90}},
	{"Idlewood",                    {1812.60,-1602.30,-89.00,2124.60,-1449.60,110.90}},
	{"Idlewood",                    {2124.60,-1742.30,-89.00,2222.50,-1494.00,110.90}},
	{"Idlewood",                    {1971.60,-1852.80,-89.00,2222.50,-1742.30,110.90}},
	{"Jefferson",                   {1996.90,-1449.60,-89.00,2056.80,-1350.70,110.90}},
	{"Jefferson",                   {2124.60,-1494.00,-89.00,2266.20,-1449.60,110.90}},
	{"Jefferson",                   {2056.80,-1372.00,-89.00,2281.40,-1210.70,110.90}},
	{"Jefferson",                   {2056.80,-1210.70,-89.00,2185.30,-1126.30,110.90}},
	{"Jefferson",                   {2185.30,-1210.70,-89.00,2281.40,-1154.50,110.90}},
	{"Jefferson",                   {2056.80,-1449.60,-89.00,2266.20,-1372.00,110.90}},
	{"Julius Thruway East",         {2623.10,943.20,-89.00,2749.90,1055.90,110.90}},
	{"Julius Thruway East",         {2685.10,1055.90,-89.00,2749.90,2626.50,110.90}},
	{"Julius Thruway East",         {2536.40,2442.50,-89.00,2685.10,2542.50,110.90}},
	{"Julius Thruway East",         {2625.10,2202.70,-89.00,2685.10,2442.50,110.90}},
	{"Julius Thruway North",        {2498.20,2542.50,-89.00,2685.10,2626.50,110.90}},
	{"Julius Thruway North",        {2237.40,2542.50,-89.00,2498.20,2663.10,110.90}},
	{"Julius Thruway North",        {2121.40,2508.20,-89.00,2237.40,2663.10,110.90}},
	{"Julius Thruway North",        {1938.80,2508.20,-89.00,2121.40,2624.20,110.90}},
	{"Julius Thruway North",        {1534.50,2433.20,-89.00,1848.40,2583.20,110.90}},
	{"Julius Thruway North",        {1848.40,2478.40,-89.00,1938.80,2553.40,110.90}},
	{"Julius Thruway North",        {1704.50,2342.80,-89.00,1848.40,2433.20,110.90}},
	{"Julius Thruway North",        {1377.30,2433.20,-89.00,1534.50,2507.20,110.90}},
	{"Julius Thruway South",        {1457.30,823.20,-89.00,2377.30,863.20,110.90}},
	{"Julius Thruway South",        {2377.30,788.80,-89.00,2537.30,897.90,110.90}},
	{"Julius Thruway West",         {1197.30,1163.30,-89.00,1236.60,2243.20,110.90}},
	{"Julius Thruway West",         {1236.60,2142.80,-89.00,1297.40,2243.20,110.90}},
	{"Juniper Hill",                {-2533.00,578.30,-7.60,-2274.10,968.30,200.00}},
	{"Juniper Hollow",              {-2533.00,968.30,-6.10,-2274.10,1358.90,200.00}},
	{"K.A.C.C. Military Fuels",     {2498.20,2626.50,-89.00,2749.90,2861.50,110.90}},
	{"Kincaid Bridge",              {-1339.80,599.20,-89.00,-1213.90,828.10,110.90}},
	{"Kincaid Bridge",              {-1213.90,721.10,-89.00,-1087.90,950.00,110.90}},
	{"Kincaid Bridge",              {-1087.90,855.30,-89.00,-961.90,986.20,110.90}},
	{"King's",                      {-2329.30,458.40,-7.60,-1993.20,578.30,200.00}},
	{"King's",                      {-2411.20,265.20,-9.10,-1993.20,373.50,200.00}},
	{"King's",                      {-2253.50,373.50,-9.10,-1993.20,458.40,200.00}},
	{"LVA Freight Depot",           {1457.30,863.20,-89.00,1777.40,1143.20,110.90}},
	{"LVA Freight Depot",           {1375.60,919.40,-89.00,1457.30,1203.20,110.90}},
	{"LVA Freight Depot",           {1277.00,1087.60,-89.00,1375.60,1203.20,110.90}},
	{"LVA Freight Depot",           {1315.30,1044.60,-89.00,1375.60,1087.60,110.90}},
	{"LVA Freight Depot",           {1236.60,1163.40,-89.00,1277.00,1203.20,110.90}},
	{"Las Barrancas",               {-926.10,1398.70,-3.00,-719.20,1634.60,200.00}},
	{"Las Brujas",                  {-365.10,2123.00,-3.00,-208.50,2217.60,200.00}},
	{"Las Colinas",                 {1994.30,-1100.80,-89.00,2056.80,-920.80,110.90}},
	{"Las Colinas",                 {2056.80,-1126.30,-89.00,2126.80,-920.80,110.90}},
	{"Las Colinas",                 {2185.30,-1154.50,-89.00,2281.40,-934.40,110.90}},
	{"Las Colinas",                 {2126.80,-1126.30,-89.00,2185.30,-934.40,110.90}},
	{"Las Colinas",                 {2747.70,-1120.00,-89.00,2959.30,-945.00,110.90}},
	{"Las Colinas",                 {2632.70,-1135.00,-89.00,2747.70,-945.00,110.90}},
	{"Las Colinas",                 {2281.40,-1135.00,-89.00,2632.70,-945.00,110.90}},
	{"Las Payasadas",               {-354.30,2580.30,2.00,-133.60,2816.80,200.00}},
	{"Las Venturas Airport",        {1236.60,1203.20,-89.00,1457.30,1883.10,110.90}},
	{"Las Venturas Airport",        {1457.30,1203.20,-89.00,1777.30,1883.10,110.90}},
	{"Las Venturas Airport",        {1457.30,1143.20,-89.00,1777.40,1203.20,110.90}},
	{"Las Venturas Airport",        {1515.80,1586.40,-12.50,1729.90,1714.50,87.50}},
	{"Last Dime Motel",             {1823.00,596.30,-89.00,1997.20,823.20,110.90}},
	{"Leafy Hollow",                {-1166.90,-1856.00,0.00,-815.60,-1602.00,200.00}},
	{"Liberty City",                {-1000.00,400.00,1300.00,-700.00,600.00,1400.00}},
	{"Lil' Probe Inn",              {-90.20,1286.80,-3.00,153.80,1554.10,200.00}},
	{"Linden Side",                 {2749.90,943.20,-89.00,2923.30,1198.90,110.90}},
	{"Linden Station",              {2749.90,1198.90,-89.00,2923.30,1548.90,110.90}},
	{"Linden Station",              {2811.20,1229.50,-39.50,2861.20,1407.50,60.40}},
	{"Little Mexico",               {1701.90,-1842.20,-89.00,1812.60,-1722.20,110.90}},
	{"Little Mexico",               {1758.90,-1722.20,-89.00,1812.60,-1577.50,110.90}},
	{"Los Flores",                  {2581.70,-1454.30,-89.00,2632.80,-1393.40,110.90}},
	{"Los Flores",                  {2581.70,-1393.40,-89.00,2747.70,-1135.00,110.90}},
	{"Los Santos International",    {1249.60,-2394.30,-89.00,1852.00,-2179.20,110.90}},
	{"Los Santos International",    {1852.00,-2394.30,-89.00,2089.00,-2179.20,110.90}},
	{"Los Santos International",    {1382.70,-2730.80,-89.00,2201.80,-2394.30,110.90}},
	{"Los Santos International",    {1974.60,-2394.30,-39.00,2089.00,-2256.50,60.90}},
	{"Los Santos International",    {1400.90,-2669.20,-39.00,2189.80,-2597.20,60.90}},
	{"Los Santos International",    {2051.60,-2597.20,-39.00,2152.40,-2394.30,60.90}},
	{"Marina",                      {647.70,-1804.20,-89.00,851.40,-1577.50,110.90}},
	{"Marina",                      {647.70,-1577.50,-89.00,807.90,-1416.20,110.90}},
	{"Marina",                      {807.90,-1577.50,-89.00,926.90,-1416.20,110.90}},
	{"Market",                      {787.40,-1416.20,-89.00,1072.60,-1310.20,110.90}},
	{"Market",                      {952.60,-1310.20,-89.00,1072.60,-1130.80,110.90}},
	{"Market",                      {1072.60,-1416.20,-89.00,1370.80,-1130.80,110.90}},
	{"Market",                      {926.90,-1577.50,-89.00,1370.80,-1416.20,110.90}},
	{"Market Station",              {787.40,-1410.90,-34.10,866.00,-1310.20,65.80}},
	{"Martin Bridge",               {-222.10,293.30,0.00,-122.10,476.40,200.00}},
	{"Missionary Hill",             {-2994.40,-811.20,0.00,-2178.60,-430.20,200.00}},
	{"Montgomery",                  {1119.50,119.50,-3.00,1451.40,493.30,200.00}},
	{"Montgomery",                  {1451.40,347.40,-6.10,1582.40,420.80,200.00}},
	{"Montgomery Intersection",     {1546.60,208.10,0.00,1745.80,347.40,200.00}},
	{"Montgomery Intersection",     {1582.40,347.40,0.00,1664.60,401.70,200.00}},
	{"Mulholland",                  {1414.00,-768.00,-89.00,1667.60,-452.40,110.90}},
	{"Mulholland",                  {1281.10,-452.40,-89.00,1641.10,-290.90,110.90}},
	{"Mulholland",                  {1269.10,-768.00,-89.00,1414.00,-452.40,110.90}},
	{"Mulholland",                  {1357.00,-926.90,-89.00,1463.90,-768.00,110.90}},
	{"Mulholland",                  {1318.10,-910.10,-89.00,1357.00,-768.00,110.90}},
	{"Mulholland",                  {1169.10,-910.10,-89.00,1318.10,-768.00,110.90}},
	{"Mulholland",                  {768.60,-954.60,-89.00,952.60,-860.60,110.90}},
	{"Mulholland",                  {687.80,-860.60,-89.00,911.80,-768.00,110.90}},
	{"Mulholland",                  {737.50,-768.00,-89.00,1142.20,-674.80,110.90}},
	{"Mulholland",                  {1096.40,-910.10,-89.00,1169.10,-768.00,110.90}},
	{"Mulholland",                  {952.60,-937.10,-89.00,1096.40,-860.60,110.90}},
	{"Mulholland",                  {911.80,-860.60,-89.00,1096.40,-768.00,110.90}},
	{"Mulholland",                  {861.00,-674.80,-89.00,1156.50,-600.80,110.90}},
	{"Mulholland Intersection",     {1463.90,-1150.80,-89.00,1812.60,-768.00,110.90}},
	{"North Rock",                  {2285.30,-768.00,0.00,2770.50,-269.70,200.00}},
	{"Ocean Docks",                 {2373.70,-2697.00,-89.00,2809.20,-2330.40,110.90}},
	{"Ocean Docks",                 {2201.80,-2418.30,-89.00,2324.00,-2095.00,110.90}},
	{"Ocean Docks",                 {2324.00,-2302.30,-89.00,2703.50,-2145.10,110.90}},
	{"Ocean Docks",                 {2089.00,-2394.30,-89.00,2201.80,-2235.80,110.90}},
	{"Ocean Docks",                 {2201.80,-2730.80,-89.00,2324.00,-2418.30,110.90}},
	{"Ocean Docks",                 {2703.50,-2302.30,-89.00,2959.30,-2126.90,110.90}},
	{"Ocean Docks",                 {2324.00,-2145.10,-89.00,2703.50,-2059.20,110.90}},
	{"Ocean Flats",                 {-2994.40,277.40,-9.10,-2867.80,458.40,200.00}},
	{"Ocean Flats",                 {-2994.40,-222.50,-0.00,-2593.40,277.40,200.00}},
	{"Ocean Flats",                 {-2994.40,-430.20,-0.00,-2831.80,-222.50,200.00}},
	{"Octane Springs",              {338.60,1228.50,0.00,664.30,1655.00,200.00}},
	{"Old Venturas Strip",          {2162.30,2012.10,-89.00,2685.10,2202.70,110.90}},
	{"Palisades",                   {-2994.40,458.40,-6.10,-2741.00,1339.60,200.00}},
	{"Palomino Creek",              {2160.20,-149.00,0.00,2576.90,228.30,200.00}},
	{"Paradiso",                    {-2741.00,793.40,-6.10,-2533.00,1268.40,200.00}},
	{"Pershing Square",             {1440.90,-1722.20,-89.00,1583.50,-1577.50,110.90}},
	{"Pilgrim",                     {2437.30,1383.20,-89.00,2624.40,1783.20,110.90}},
	{"Pilgrim",                     {2624.40,1383.20,-89.00,2685.10,1783.20,110.90}},
	{"Pilson Intersection",         {1098.30,2243.20,-89.00,1377.30,2507.20,110.90}},
	{"Pirates in Men's Pants",      {1817.30,1469.20,-89.00,2027.40,1703.20,110.90}},
	{"Playa del Seville",           {2703.50,-2126.90,-89.00,2959.30,-1852.80,110.90}},
	{"Prickle Pine",                {1534.50,2583.20,-89.00,1848.40,2863.20,110.90}},
	{"Prickle Pine",                {1117.40,2507.20,-89.00,1534.50,2723.20,110.90}},
	{"Prickle Pine",                {1848.40,2553.40,-89.00,1938.80,2863.20,110.90}},
	{"Prickle Pine",                {1938.80,2624.20,-89.00,2121.40,2861.50,110.90}},
	{"Queens",                      {-2533.00,458.40,0.00,-2329.30,578.30,200.00}},
	{"Queens",                      {-2593.40,54.70,0.00,-2411.20,458.40,200.00}},
	{"Queens",                      {-2411.20,373.50,0.00,-2253.50,458.40,200.00}},
	{"Randolph Industrial Estate",  {1558.00,596.30,-89.00,1823.00,823.20,110.90}},
	{"Redsands East",               {1817.30,2011.80,-89.00,2106.70,2202.70,110.90}},
	{"Redsands East",               {1817.30,2202.70,-89.00,2011.90,2342.80,110.90}},
	{"Redsands East",               {1848.40,2342.80,-89.00,2011.90,2478.40,110.90}},
	{"Redsands West",               {1236.60,1883.10,-89.00,1777.30,2142.80,110.90}},
	{"Redsands West",               {1297.40,2142.80,-89.00,1777.30,2243.20,110.90}},
	{"Redsands West",               {1377.30,2243.20,-89.00,1704.50,2433.20,110.90}},
	{"Redsands West",               {1704.50,2243.20,-89.00,1777.30,2342.80,110.90}},
	{"Regular Tom",                 {-405.70,1712.80,-3.00,-276.70,1892.70,200.00}},
	{"Richman",                     {647.50,-1118.20,-89.00,787.40,-954.60,110.90}},
	{"Richman",                     {647.50,-954.60,-89.00,768.60,-860.60,110.90}},
	{"Richman",                     {225.10,-1369.60,-89.00,334.50,-1292.00,110.90}},
	{"Richman",                     {225.10,-1292.00,-89.00,466.20,-1235.00,110.90}},
	{"Richman",                     {72.60,-1404.90,-89.00,225.10,-1235.00,110.90}},
	{"Richman",                     {72.60,-1235.00,-89.00,321.30,-1008.10,110.90}},
	{"Richman",                     {321.30,-1235.00,-89.00,647.50,-1044.00,110.90}},
	{"Richman",                     {321.30,-1044.00,-89.00,647.50,-860.60,110.90}},
	{"Richman",                     {321.30,-860.60,-89.00,687.80,-768.00,110.90}},
	{"Richman",                     {321.30,-768.00,-89.00,700.70,-674.80,110.90}},
	{"Robada Intersection",         {-1119.00,1178.90,-89.00,-862.00,1351.40,110.90}},
	{"Roca Escalante",              {2237.40,2202.70,-89.00,2536.40,2542.50,110.90}},
	{"Roca Escalante",              {2536.40,2202.70,-89.00,2625.10,2442.50,110.90}},
	{"Rockshore East",              {2537.30,676.50,-89.00,2902.30,943.20,110.90}},
	{"Rockshore West",              {1997.20,596.30,-89.00,2377.30,823.20,110.90}},
	{"Rockshore West",              {2377.30,596.30,-89.00,2537.30,788.80,110.90}},
	{"Rodeo",                       {72.60,-1684.60,-89.00,225.10,-1544.10,110.90}},
	{"Rodeo",                       {72.60,-1544.10,-89.00,225.10,-1404.90,110.90}},
	{"Rodeo",                       {225.10,-1684.60,-89.00,312.80,-1501.90,110.90}},
	{"Rodeo",                       {225.10,-1501.90,-89.00,334.50,-1369.60,110.90}},
	{"Rodeo",                       {334.50,-1501.90,-89.00,422.60,-1406.00,110.90}},
	{"Rodeo",                       {312.80,-1684.60,-89.00,422.60,-1501.90,110.90}},
	{"Rodeo",                       {422.60,-1684.60,-89.00,558.00,-1570.20,110.90}},
	{"Rodeo",                       {558.00,-1684.60,-89.00,647.50,-1384.90,110.90}},
	{"Rodeo",                       {466.20,-1570.20,-89.00,558.00,-1385.00,110.90}},
	{"Rodeo",                       {422.60,-1570.20,-89.00,466.20,-1406.00,110.90}},
	{"Rodeo",                       {466.20,-1385.00,-89.00,647.50,-1235.00,110.90}},
	{"Rodeo",                       {334.50,-1406.00,-89.00,466.20,-1292.00,110.90}},
	{"Royal Casino",                {2087.30,1383.20,-89.00,2437.30,1543.20,110.90}},
	{"San Andreas Sound",           {2450.30,385.50,-100.00,2759.20,562.30,200.00}},
	{"Santa Flora",                 {-2741.00,458.40,-7.60,-2533.00,793.40,200.00}},
	{"Santa Maria Beach",           {342.60,-2173.20,-89.00,647.70,-1684.60,110.90}},
	{"Santa Maria Beach",           {72.60,-2173.20,-89.00,342.60,-1684.60,110.90}},
	{"Shady Cabin",                 {-1632.80,-2263.40,-3.00,-1601.30,-2231.70,200.00}},
	{"Shady Creeks",                {-1820.60,-2643.60,-8.00,-1226.70,-1771.60,200.00}},
	{"Shady Creeks",                {-2030.10,-2174.80,-6.10,-1820.60,-1771.60,200.00}},
	{"Sobell Rail Yards",           {2749.90,1548.90,-89.00,2923.30,1937.20,110.90}},
	{"Spinybed",                    {2121.40,2663.10,-89.00,2498.20,2861.50,110.90}},
	{"Starfish Casino",             {2437.30,1783.20,-89.00,2685.10,2012.10,110.90}},
	{"Starfish Casino",             {2437.30,1858.10,-39.00,2495.00,1970.80,60.90}},
	{"Starfish Casino",             {2162.30,1883.20,-89.00,2437.30,2012.10,110.90}},
	{"Temple",                      {1252.30,-1130.80,-89.00,1378.30,-1026.30,110.90}},
	{"Temple",                      {1252.30,-1026.30,-89.00,1391.00,-926.90,110.90}},
	{"Temple",                      {1252.30,-926.90,-89.00,1357.00,-910.10,110.90}},
	{"Temple",                      {952.60,-1130.80,-89.00,1096.40,-937.10,110.90}},
	{"Temple",                      {1096.40,-1130.80,-89.00,1252.30,-1026.30,110.90}},
	{"Temple",                      {1096.40,-1026.30,-89.00,1252.30,-910.10,110.90}},
	{"The Camel's Toe",             {2087.30,1203.20,-89.00,2640.40,1383.20,110.90}},
	{"The Clown's Pocket",          {2162.30,1783.20,-89.00,2437.30,1883.20,110.90}},
	{"The Emerald Isle",            {2011.90,2202.70,-89.00,2237.40,2508.20,110.90}},
	{"The Farm",                    {-1209.60,-1317.10,114.90,-908.10,-787.30,251.90}},
	{"The Four Dragons Casino",     {1817.30,863.20,-89.00,2027.30,1083.20,110.90}},
	{"The High Roller",             {1817.30,1283.20,-89.00,2027.30,1469.20,110.90}},
	{"The Mako Span",               {1664.60,401.70,0.00,1785.10,567.20,200.00}},
	{"The Panopticon",              {-947.90,-304.30,-1.10,-319.60,327.00,200.00}},
	{"The Pink Swan",               {1817.30,1083.20,-89.00,2027.30,1283.20,110.90}},
	{"The Sherman Dam",             {-968.70,1929.40,-3.00,-481.10,2155.20,200.00}},
	{"The Strip",                   {2027.40,863.20,-89.00,2087.30,1703.20,110.90}},
	{"The Strip",                   {2106.70,1863.20,-89.00,2162.30,2202.70,110.90}},
	{"The Strip",                   {2027.40,1783.20,-89.00,2162.30,1863.20,110.90}},
	{"The Strip",                   {2027.40,1703.20,-89.00,2137.40,1783.20,110.90}},
	{"The Visage",                  {1817.30,1863.20,-89.00,2106.70,2011.80,110.90}},
	{"The Visage",                  {1817.30,1703.20,-89.00,2027.40,1863.20,110.90}},
	{"Unity Station",               {1692.60,-1971.80,-20.40,1812.60,-1932.80,79.50}},
	{"Valle Ocultado",              {-936.60,2611.40,2.00,-715.90,2847.90,200.00}},
	{"Verdant Bluffs",              {930.20,-2488.40,-89.00,1249.60,-2006.70,110.90}},
	{"Verdant Bluffs",              {1073.20,-2006.70,-89.00,1249.60,-1842.20,110.90}},
	{"Verdant Bluffs",              {1249.60,-2179.20,-89.00,1692.60,-1842.20,110.90}},
	{"Verdant Meadows",             {37.00,2337.10,-3.00,435.90,2677.90,200.00}},
	{"Verona Beach",                {647.70,-2173.20,-89.00,930.20,-1804.20,110.90}},
	{"Verona Beach",                {930.20,-2006.70,-89.00,1073.20,-1804.20,110.90}},
	{"Verona Beach",                {851.40,-1804.20,-89.00,1046.10,-1577.50,110.90}},
	{"Verona Beach",                {1161.50,-1722.20,-89.00,1323.90,-1577.50,110.90}},
	{"Verona Beach",                {1046.10,-1722.20,-89.00,1161.50,-1577.50,110.90}},
	{"Vinewood",                    {787.40,-1310.20,-89.00,952.60,-1130.80,110.90}},
	{"Vinewood",                    {787.40,-1130.80,-89.00,952.60,-954.60,110.90}},
	{"Vinewood",                    {647.50,-1227.20,-89.00,787.40,-1118.20,110.90}},
	{"Vinewood",                    {647.70,-1416.20,-89.00,787.40,-1227.20,110.90}},
	{"Whitewood Estates",           {883.30,1726.20,-89.00,1098.30,2507.20,110.90}},
	{"Whitewood Estates",           {1098.30,1726.20,-89.00,1197.30,2243.20,110.90}},
	{"Willowfield",                 {1970.60,-2179.20,-89.00,2089.00,-1852.80,110.90}},
	{"Willowfield",                 {2089.00,-2235.80,-89.00,2201.80,-1989.90,110.90}},
	{"Willowfield",                 {2089.00,-1989.90,-89.00,2324.00,-1852.80,110.90}},
	{"Willowfield",                 {2201.80,-2095.00,-89.00,2324.00,-1989.90,110.90}},
	{"Willowfield",                 {2541.70,-1941.40,-89.00,2703.50,-1852.80,110.90}},
	{"Willowfield",                 {2324.00,-2059.20,-89.00,2541.70,-1852.80,110.90}},
	{"Willowfield",                 {2541.70,-2059.20,-89.00,2703.50,-1941.40,110.90}},
	{"Yellow Bell Station",         {1377.40,2600.40,-21.90,1492.40,2687.30,78.00}},
	// Main Zones
	{"Los Santos",                  {44.60,-2892.90,-242.90,2997.00,-768.00,900.00}},
	{"Las Venturas",                {869.40,596.30,-242.90,2997.00,2993.80,900.00}},
	{"Bone County",                 {-480.50,596.30,-242.90,869.40,2993.80,900.00}},
	{"Tierra Robada",               {-2997.40,1659.60,-242.90,-480.50,2993.80,900.00}},
	{"Tierra Robada",               {-1213.90,596.30,-242.90,-480.50,1659.60,900.00}},
	{"San Fierro",                  {-2997.40,-1115.50,-242.90,-1213.90,1659.60,900.00}},
	{"Red County",                  {-1213.90,-768.00,-242.90,2997.00,596.30,900.00}},
	{"Flint County",                {-1213.90,-2892.90,-242.90,44.60,-768.00,900.00}},
	{"Whetstone",                   {-2997.40,-2892.90,-242.90,-1213.90,-1115.50,900.00}}
};

// Forbidden names - Thanks NGG
new ForbiddenNames[][] =
{
	"com1", "com2", "com3", "com4",
	"com5", "com6", "com7", "com8",
	"com9", "lpt4", "lpt5", "lpt6",
	"lpt7", "lpt8", "lpt9", "nul",
	"clock$", "aux", "prn", "con",
	"InvalidNick"
};

InvalidNameCheck(playerid)
{
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));

	for(new i = 0; i < sizeof(ForbiddenNames); i++)
	{
		if(!strcmp(ForbiddenNames[i], name, true))
		{
			SetPlayerName(playerid, "InvalidNick");
			SendClientMessage(playerid, COLOR_RED, "You have been kicked & logged for using a forbidden username.");
			SendClientMessage(playerid, COLOR_RED, "Set a Allowed username, Such As, Shaw_Shank");
			FixedKick(playerid);
		}
	}
}

// Dropgun
#define MAX_OBJ 25
#define SAVING

enum dGunEnum
{
	Float:ObjPos[3],
	ObjID,
	ObjData[2]
};
new dGunData[MAX_OBJ][dGunEnum];

new GunNames[48][] = {
	"Nothink", "Brass Knuckles", "Golf Club", "Nitestick", "Knife", "Baseball Bat",
	"Showel", "Pool Cue", "Katana", "Chainsaw", "Purple Dildo", "Small White Dildo",
	"Long White Dildo", "Vibrator", "Flowers", "Cane", "Grenade", "Tear Gas", "Molotov",
	"Vehicle Missile", "Hydra Flare", "Jetpack", "Glock", "Silenced Colt", "Desert Eagle",
	"Shotgun", "Sawn Off", "Combat Shotgun", "Micro UZI", "MP5", "AK47", "M4", "Tec9",
	"Rifle", "Sniper Rifle", "Rocket Launcher", "HS Rocket Launcher", "Flamethrower", "Minigun",
	"Satchel Charge", "Detonator", "Spraycan", "Fire Extinguisher", "Camera", "Nightvision",
	"Infrared Vision", "Parachute", "Fake Pistol"
};

new GunObjects[47] = {
	0,331,333,334,335,336,337,338,339,341,321,322,323,324,325,326,342,343,344,
	0,0,0,346,347,348,349,350,351,352,353,355,356,372,357,358,359,360,361,362,
	363,364,365,366,367,368,368,371
};

// Elevator Los Santos Building
/*#define ELEVATOR_SPEED      (4.0)
#define DOORS_SPEED         (3.0)
#define ELEVATOR_WAIT_TIME  (5000)

#define DIALOG_ID           (874)

#define X_DOOR_CLOSED       (1786.627685)
#define X_DOOR_R_OPENED     (1785.027685)
#define X_DOOR_L_OPENED     (1788.227685)
#define GROUND_Z_COORD      (14.511476)
#define ELEVATOR_OFFSET     (0.059523)

static FloorNames[21][] =
{
	"Ground Floor",
	"First Floor",
	"Second Floor",
	"Third Floor",
	"Fourth Floor",
	"Fifth Floor",
	"Sixth Floor",
	"Seventh Floor",
	"Eighth Floor",
	"Ninth Floor",
	"Tenth Floor",
	"Eleventh Floor",
	"Twelfth Floor",
	"Thirteenth Floor",
	"Fourteenth Floor",
	"Fifteenth Floor",
	"Sixteenth Floor",
	"Seventeenth Floor",
	"Eighteenth Floor",
	"Nineteenth Floor",
	"Penthouse"
};

static Float:FloorZOffsets[21] =
{
    0.0,		// 0.0,
    8.5479,		// 8.5479,
    13.99945,   // 8.5479 + (5.45155 * 1.0),
    19.45100,   // 8.5479 + (5.45155 * 2.0),
    24.90255,   // 8.5479 + (5.45155 * 3.0),
    30.35410,   // 8.5479 + (5.45155 * 4.0),
    35.80565,   // 8.5479 + (5.45155 * 5.0),
    41.25720,   // 8.5479 + (5.45155 * 6.0),
    46.70875,   // 8.5479 + (5.45155 * 7.0),
    52.16030,   // 8.5479 + (5.45155 * 8.0),
    57.61185,   // 8.5479 + (5.45155 * 9.0),
    63.06340,   // 8.5479 + (5.45155 * 10.0),
    68.51495,   // 8.5479 + (5.45155 * 11.0),
    73.96650,   // 8.5479 + (5.45155 * 12.0),
    79.41805,   // 8.5479 + (5.45155 * 13.0),
    84.86960,   // 8.5479 + (5.45155 * 14.0),
    90.32115,   // 8.5479 + (5.45155 * 15.0),
    95.77270,   // 8.5479 + (5.45155 * 16.0),
    101.22425,  // 8.5479 + (5.45155 * 17.0),
    106.67580,	// 8.5479 + (5.45155 * 18.0),
    112.12735	// 8.5479 + (5.45155 * 19.0)
};

new Obj_Elevator, Obj_ElevatorDoors[2],
	Obj_FloorDoors[21][2];

new Text3D:Label_Elevator, Text3D:Label_Floors[21];

#define ELEVATOR_STATE_IDLE     (0)
#define ELEVATOR_STATE_WAITING  (1)
#define ELEVATOR_STATE_MOVING   (2)

new ElevatorState,
	ElevatorFloor;

#define INVALID_FLOOR           (-1)

new ElevatorQueue[21],
	FloorRequestedBy[21];

new ElevatorBoostTimer;

forward CallElevator(playerid, floorid);
forward ShowElevatorDialog(playerid);

forward Elevator_Initialize();
forward Elevator_Destroy();

forward Elevator_OpenDoors();
forward Elevator_CloseDoors();
forward Floor_OpenDoors(floorid);
forward Floor_CloseDoors(floorid);

forward Elevator_MoveToFloor(floorid);
forward Elevator_Boost(floorid);
forward Elevator_TurnToIdle();

forward ReadNextFloorInQueue();
forward RemoveFirstQueueFloor();
forward AddFloorToQueue(floorid);
forward IsFloorInQueue(floorid);
forward ResetElevatorQueue();

forward DidPlayerRequestElevator(playerid);

forward Float:GetElevatorZCoordForFloor(floorid);
forward Float:GetDoorsZCoordForFloor(floorid);*/

// Radio
#define MAX_RADIO 128
forward LoadRadioParams();
forward PlayVehicleRadioForPlayer(playerid,online);
forward NonChangeRadio(playerid);
forward IsAVel(vehicleid);
forward HideStationTitle(playerid,numberid);
forward CalculateX(numberid);

new NumOfRadio;
new VehRadio[MAX_VEHICLES+1];
new PassengerInCar[MAX_VEHICLES+1][8];

new bool:WaitForBuf[MAX_PLAYERS];
new PassengerSeat[MAX_PLAYERS];
new OldCar[MAX_PLAYERS];
new RadioParams[MAX_RADIO][2][128];
new Text:StationText[MAX_RADIO];

// New Login Screen
/*new Text:Black0;
new Text:Black1;
new Text:cttext;
new TexA:RPtext;
new Text:vertext;*/

new Text:Area;
new Text:Area1;
new Text:Area2;
new Text:Area3;
new Text:Area4;
new Text:AreaMotd;

// Login Screen 23-02
/*new Text:loginscreen0;
new Text:loginscreen1;
new Text:loginscreen2;
new Text:loginscreen3;
new Text:loginscreen4;
new Text:loginscreen5;
new Text:loginscreen6;
new Text:loginscreen7;
new Text:loginscreen8;
new Text:loginscreen9;
new Text:loginscreen10;*/

// Speedometer
new Text:speedometer;

// Fuelmeter
new Text:fuelmeter;

// ATM System
#define ATM_OBJECT 2942
#define MAX_ATM 40


enum aTM
{
	Float:aX,
	Float:aY,
	Float:aZ,
	Float:aA,
	aObject,
	Text3D:aText
}
new atmInfo[MAX_ATM][aTM];

stock CreateATM(Float:x,Float:y,Float:z,Float:a)
{
	new atmid = ReturnNextUnusedATM();
	new path[32];
	format(path,sizeof(path),"atms/atm%d.txt",atmid);
	dini_Create(path);
	dini_FloatSet(path,"X",x);
	dini_FloatSet(path,"Y",y);
	dini_FloatSet(path,"Z",z);
	dini_FloatSet(path,"A",a);
	atmInfo[atmid][aX]=x;
	atmInfo[atmid][aY]=y;
	atmInfo[atmid][aZ]=z;
	atmInfo[atmid][aA]=a;
	atmInfo[atmid][aObject]=CreateDynamicObject(ATM_OBJECT,x,y,z-0.5,0.0,0.0,a-180,-1,-1,-1,150.55);
	atmInfo[atmid][aText]=Create3DTextLabel("--------[ ATM ]--------\n/awithdraw /adeposit /abalance",COLOR_GREENYELLOW,x,y,z+1,50.0,0,0);
	return atmid;
}

stock ReturnNextUnusedATM()
{
	new path[32];
	for(new a=0;a<MAX_ATM;a++)
	{
	    format(path,sizeof(path),"atms/atm%d.txt",a);
	    if(dini_Exists(path)) continue;
	    return a;
	}
	return -1;
}


IsPlayerAtATM(playerid)
{
	new path[32];
	for(new a=0;a<MAX_ATM;a++)
	{
	    format(path,sizeof(path),"atms/atm%d.txt",a);
		if(dini_Exists(path) && IsPlayerInSphere(playerid,atmInfo[a][aX],atmInfo[a][aY],atmInfo[a][aZ],5)) return a;
	}
	return -1;
}

// Weapon Ammunation shop
#define AMMOSTOREMENU 1181

// acceptDeath
//#define AFTERLIFE_SECONDS           1 // 15 seconds
//#define AUTODEATH_SECONDS           180 // 2 Minutes

new Float:DeathPosX                                     [MAX_PLAYERS];
new Float:DeathPosY                                     [MAX_PLAYERS];
new Float:DeathPosZ                                     [MAX_PLAYERS];
new IsDead                                              [MAX_PLAYERS];
//new SecsToGo                                            [MAX_PLAYERS];
//new IsAfterLifing                                       [MAX_PLAYERS];
//new AfterLifeTimer;

//forward AfterLife(playerid);
//forward AutoDeath(playerid);

// Hitman Bomb
new bomb;
new Float:BombaX[MAX_PLAYERS], Float:BombaY[MAX_PLAYERS], Float:BombaZ[MAX_PLAYERS];

// About / Credits
#define DIALOG_ABOUT 291

new Abt[][200] = {
	"Credits of A:RP Workteam:\n\n",
	""COE"Michel\t\t"CWE"Comunity Owner\n",
	""COE"Django\t\t"CWE"Community Owner\n",
	""COE"Simon\t\t"CWE"Head Admin\n",
	""COE"Max\t\t"CWE"Head Admin\n",
	""COE"All Staff\t\t"CWE"Always Standing Ready For Us\n",
	""COE"All Testers\t"CWE"Helping with testing\n"
};

/*new Abt[][200] = {
	""CWE"\nHere is a small information about the \"About / Credits\"\n",
	"We using the zGaming Gamemode because we love the modern 0.3e Funictions\n",
	"Also its a very nice gamemode, we try to make it bug free and maybe release it later\n",
	"Do you need more information? go to Roy Nash or the Community Staff Team\n\n\n",
	"Credits:\n\n"COE"iRage\t\t"CWE"zGaming\n",
	""COE"Roy Nash\t"CWE"Edition\n",
	""COE"SA-MP\t\t"CWE"Dev. Team\n",
	"\n\n\n{FF0000}This script is copyrighted to iRage.\n",
	"It may be edited, hosted, renamed, redistributed, etc. as long as credit is given to me."
};*/

// Boombox
new Boombox[MAX_PLAYERS];
new BoomboxObject[MAX_PLAYERS];
new BoomboxStream[MAX_PLAYERS];
new BoomboxPlayer[MAX_PLAYERS];
new BoomboxURL[MAX_PLAYERS][256];
new Float:bpos[MAX_PLAYERS][4];

// OOC Mode
new
    fstr[128],
    bool:IsOOCMode[MAX_PLAYERS],
    Text3D:OOCModeText[MAX_PLAYERS],
    Text:OOCModeTD;

// Ame and Ado
new Text3D:ame[MAX_PLAYERS];
new Text3D:ado[MAX_PLAYERS];
new amestatus[MAX_PLAYERS], adostatus[MAX_PLAYERS];

// 911
new Call911[MAX_PLAYERS];
new D911[MAX_PLAYERS][128];

// Gates
// gedit: object - closed - opened - speed - password
new gEdit[MAX_PLAYERS]; // 1 = closed | 2 = opened
new gEditID[MAX_PLAYERS]; // Object's ID
new Float:gPos[MAX_PLAYERS][3];
new Float:gRot[MAX_PLAYERS][3];

// Tow
new arr_Towing[MAX_PLAYERS];

// News
new NewsMoney;

// Refunding
new Refund[MAX_PLAYERS];

// No Admin Chat
new noadmin = 0;

// No Helper Chat
new nohelper = 0;

// Toys
new toyslot[MAX_PLAYERS];

// loyalty
new LHealth;
new LFix;
new LRefill;

// Stoned Timer
new StonedTimer[MAX_PLAYERS];

// Fishes
new Fished[MAX_PLAYERS];
new FishTime[MAX_PLAYERS];

// Falseban fix
new FalseBan[MAX_PLAYERS];

// News
new LiveBy[MAX_PLAYERS];
new LiveRequest[MAX_PLAYERS];
new Live[MAX_PLAYERS];
new LiveConference;

// Seatbelt
new Seatbelt[MAX_PLAYERS];

// Bank Robbery
new Text:Area5;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new BankRobbery;
new BankRobbersCount;
new BankRobbers[5][MAX_PLAYER_NAME];
new BankRobber[MAX_PLAYERS];
new RobberyRequest[MAX_PLAYERS];
new BankC4;
new RobberyStarted;
new DeliverMoney[MAX_PLAYERS];
new TotalRobbers;
new TotalStolen;
new BankRobberyTime;
new BankBlock;


// Boxing
new Boxing[MAX_PLAYERS]; // Boxing[playerid] = 1;
new BoxBy[MAX_PLAYERS]; // BoxOffer[playerb] = playerid;
new Boxer[3]; // 1 = /fight | 2 = /accept
new pBoxer[MAX_PLAYERS]; // playerb = 1 | playerid = 2
new BoxTime; // Global boxing countdown
new BoxingMatch; // 1 = going on | 0 = none
new BoxerBid[3]; // 1 = /fight | 2 = /accept
new BidAmount[MAX_PLAYERS]; // /bid
new BidBoxer[MAX_PLAYERS]; // 1/2
new BoxTimer; // For SetTime

// Family skins
new pskin[MAX_PLAYERS], fskin[MAX_PLAYERS];

// Parachute
new Parachute;

// Jetpack
new JetPack[MAX_PLAYERS];

// Join Messages
new JoinMessages[MAX_PLAYERS];

// GMX
new GMX[MAX_PLAYERS];

// Spikes
enum sInfo
{
	sCreated,
    Float:sX,
    Float:sY,
    Float:sZ,
    sObject,
};
new SpikeInfo[MAX_SPIKESTRIPS][sInfo];

// Sirens
new Siren[MAX_VEHICLES];
new SirenObject[MAX_VEHICLES];
new LightObject1[MAX_VEHICLES];

// Truck Packages
new TruckPackages[MAX_VEHICLES];

// Fuel
new Fuel[MAX_VEHICLES];
new FuelVar[MAX_VEHICLES];
new fMeter[MAX_PLAYERS];
new Refill[MAX_PLAYERS];

// Family Vehicles
new Fam[MAX_VEHICLES];

//Mask Tag
new Text3D:MaskText[MAX_PLAYERS];
// VIP Tag
new VIPTag[MAX_PLAYERS];
new Text3D:VIPText[MAX_PLAYERS];
// VIP Dialog
new VIP[MAX_PLAYERS];
// VIP Name
new VIPName[MAX_PLAYERS][MAX_PLAYER_NAME];
new PlayerName[MAX_PLAYERS][MAX_PLAYER_NAME];
new Approve[MAX_PLAYERS];

// Dragging
new Drag[MAX_PLAYERS];
new Dragged[MAX_PLAYERS];

// Anti CS
#define MAX_SLOTS 40
new NotMoving[MAX_PLAYERS];
new WeaponID[MAX_PLAYERS];
new CheckCrouch[MAX_PLAYERS];
new Ammo[MAX_PLAYERS][MAX_SLOTS];

// DMV
new DMVCar[5];
//new DMVPCar[4];
new LicenseTest[MAX_PLAYERS];
//new LicenseTestP[MAX_PLAYERS];
new CP[MAX_PLAYERS];
//new CPFly[MAX_PLAYERS];

// AntiAFK
new AFK[MAX_PLAYERS];
new Float:OldPos[MAX_PLAYERS][3];
new Float:NewPos[MAX_PLAYERS][3];
new IsAFK[MAX_PLAYERS];
new Text3D:AFKText[MAX_PLAYERS];

// Event
new Float:ePos[3];
new eInt, eVW;
new Event[MAX_PLAYERS];
new EventOn;
new EventLocked;
new EventWep[3];
new Float:EventHealth;
new Float:EventArmor;

// Helper Chat
new Chat[MAX_PLAYERS];

// Speedlimit
new Speedlimit[MAX_PLAYERS];

// Listening
new Whispers[MAX_PLAYERS];
new SMSes[MAX_PLAYERS];
new PMs[MAX_PLAYERS];

// Points
new Capturer = -1;
new CapturerFam = -1;

// Alt-Tab Detection
new AltTabbed[MAX_PLAYERS];
new Tabbed[MAX_PLAYERS];
new Text3D:AltTabText[MAX_PLAYERS];
new HasText[MAX_PLAYERS];

// AntiTP
new AntiTP[MAX_PLAYERS];
new AntiTPTimer[MAX_PLAYERS];

// Paycheck
new PayChecks;

// HH Check
new HHcheckUsed = 0;
new Float:HHcheckFloats[MAX_PLAYERS][6];
new HHcheckInt[MAX_PLAYERS];
new HHcheckVW[MAX_PLAYERS];

// MOTDS
new ServerMOTD[128];
new SAPDMOTD[128];
new GOVMOTD[128];
new HAMOTD[128];
new AdminMOTD[128];

// Admin Duty
new aDuty[MAX_PLAYERS];
new Text3D:aDutyText[MAX_PLAYERS];

// Helper Duty
new hDuty[MAX_PLAYERS];
new Text3D:hDutyText[MAX_PLAYERS];

// Spam
new CommandSpamCount[MAX_PLAYERS];
new OldSpamCommand[MAX_PLAYERS][128];
new NewSpamCommand[MAX_PLAYERS][128];
new ChatSpamCount[MAX_PLAYERS];
new OldSpamChat[MAX_PLAYERS][128];
new NewSpamChat[MAX_PLAYERS][128];
// Drugs
new DrugTimeout[MAX_PLAYERS];

// Admin Mark
new Float:aMark[MAX_PLAYERS][3];
new aMarkInt[MAX_PLAYERS];
new aMarkVw[MAX_PLAYERS];

// Advertisements
#define TIMER_AD 60
new HasAD[MAX_PLAYERS];
new AdQueue;
new AD[MAX_ADS][128];
new iAD[MAX_ADS];
new iAdName[MAX_ADS][32];
new LastAd;
// Tutorial Timers
new Tut[MAX_PLAYERS];

// Job Defines
#define MAX_JOBS 13
#define JOB_NONE 0
#define JOB_MECHANIC 1
#define JOB_LAWYER 2
#define JOB_TRUCKER 3
#define JOB_FISHER 4
#define JOB_WDEALER 5
#define JOB_WSMUGGLER 6
#define JOB_DDEALER 7
#define JOB_DSMUGGLER 8
#define JOB_CARJACKER 9
#define JOB_BODYGUARD 10
#define JOB_BOXER 11
#define JOB_THIEF 12
// Weed and Crack
new Weed;
new Text3D:WeedText;
new Crack;
new Text3D:CrackText;
// Products
new Products;
new Text3D:ProductsText;
// Website
new Text:WebTD;
// Balk
new Text:information;
// Time System
new tsec,tmin,thour;
new Text:TimeTD;
new Seconds[MAX_PLAYERS];
// Data System
new Text:DateTD;
// Tutorial TD
new Text:TutorialTD;
// Togging VIP
new VIPOff[MAX_PLAYERS];
// Togging GC
new GCOff[MAX_PLAYERS];
// Togging Phone
new PhoneOff[MAX_PLAYERS];
// Togging PM
new PmOff[MAX_PLAYERS];
// Tickets
new TicketBy[MAX_PLAYERS];
new TicketPrice[MAX_PLAYERS][MAX_PLAYERS];

// Prison Cells
new Float:RandomPrison[][4] =
{
	{2489.9800,-1236.7056,1063.2562,182.2076},
	{2485.3955,-1236.9854,1063.2562,183.4610},
	{2481.2786,-1237.1069,1063.2562,181.5810},
	{2492.1582,-1260.8143,1063.2562,0.4726},
	{2488.5754,-1260.7708,1063.3862,7.9926},
	{2484.5596,-1261.0980,1063.2562,4.2326}
	//{1766.48,-1563.71,1734.94.2562,182.2076},
	//{1770.43,-1563.59,1734.94,183.4610},
	//{1774.22,-1563.74,1738.69,181.5810},
	//{1766.23,-1563.70,-1563.70,0.4726},
	//{1770.12,-1563.25,1738.69,7.9926},
	//{1774.22,-1563.74,1738.69,4.2326}
};
// Public variables
new GaveUp[MAX_PLAYERS];
new Barricade[MAX_BARRICADES];
new Flares[MAX_FLARES];
new Cones[MAX_CONES];
new Invited[MAX_PLAYERS];
new Inviter[MAX_PLAYERS];
new Faction[MAX_PLAYERS];
new fInvited[MAX_PLAYERS];
new fInviter[MAX_PLAYERS];
new Family[MAX_PLAYERS];
new Tazer[MAX_PLAYERS];
new ReplaceTazer[MAX_PLAYERS];
new Float:fPos[3];
new TazeTimeout[MAX_PLAYERS];
new TazeCountDown[MAX_PLAYERS];
new Tracking[MAX_PLAYERS];
new CuffTimeout[MAX_PLAYERS];
new CuffCountDown[MAX_PLAYERS];
new Uncuffed[MAX_PLAYERS];
new GunsBeingRemoved[MAX_PLAYERS];
new TempGuns[13];
new TempGunsAmmo[13];
new Tazed[MAX_PLAYERS];
new Cuffed[MAX_PLAYERS];
new HospitalCountDown[MAX_PLAYERS];
new Hospital[MAX_PLAYERS];
new HospitalTime[MAX_PLAYERS];
new LastCar[MAX_PLAYERS];
new Spec[MAX_PLAYERS];
new Specid[MAX_PLAYERS];
new NewbieTime[MAX_PLAYERS];
new GCTime[MAX_PLAYERS];
new Calling[MAX_PLAYERS];
new Called[MAX_PLAYERS];
new BeingCalled[MAX_PLAYERS];
new Caller[MAX_PLAYERS];
new CallTime[MAX_PLAYERS];
new Speedo[MAX_PLAYERS];
new Tied[MAX_PLAYERS];
new Blindfolded[MAX_PLAYERS];
new OldGun[MAX_PLAYERS];
new OldAmmo[MAX_PLAYERS];
new NoSprunk[MAX_PLAYERS];
new ReportTime[MAX_PLAYERS];
new HelpTime[MAX_PLAYERS];
new Float:hPos[MAX_PLAYERS][3];
new hPOS[MAX_PLAYERS][2];
// Materials
new SellMaterialsTo[MAX_PLAYERS];
new BuyMaterialsFrom[MAX_PLAYERS];
new BuyMaterialsAmount[MAX_PLAYERS];
new BuyMaterialsPrice[MAX_PLAYERS];
new BeenOfferedMaterials[MAX_PLAYERS];
// Weapons
new SellWeaponTo[MAX_PLAYERS];
new BuyWeaponFrom[MAX_PLAYERS];
new BuyWeaponPrice[MAX_PLAYERS];
new BeenOfferedWeapon[MAX_PLAYERS];
// Drugs
new WeedSeller[MAX_PLAYERS];
new WeedPrice[MAX_PLAYERS][MAX_PLAYERS];
new WeedAmount[MAX_PLAYERS][MAX_PLAYERS];
new CrackSeller[MAX_PLAYERS];
new CrackPrice[MAX_PLAYERS][MAX_PLAYERS];
new CrackAmount[MAX_PLAYERS][MAX_PLAYERS];

// Hitman
new Hitman[MAX_PLAYERS];
// Defend and Free
new FreeBy[MAX_PLAYERS];
new FreePrice[MAX_PLAYERS][MAX_PLAYERS];
new FreeTime[MAX_PLAYERS];
new DefendBy[MAX_PLAYERS];
new DefendPrice[MAX_PLAYERS][MAX_PLAYERS];
new FreeTimeout[MAX_PLAYERS];
new DefendTimeout[MAX_PLAYERS];

// Vest
new VestPrice[MAX_PLAYERS][MAX_PLAYERS];
new VestBy[MAX_PLAYERS];

// FBI Door
new fbidoor1; // Door at the left when you enter
new fbidoor2; // Door at the left when you enter
new fbidoor3; // Door at the right when you enter
new fbidoor4; // Door at the right when you enter
new FBILobbyStatus;

// Non-Player Variables
new SAPDLobby[4];
new SAPDLobbyStatus;
new SAPDCells[4];
new SAPDCellsStatus;
new SAPDBarrier;
new SAPDBarrierStatus;
new SAPDGate;
new SAPDGateStatus;
new SAPDOffice[2];
new SAPDOfficeStatus[2];
new SAPDChief[4];
new SAPDChiefStatus;
new OOCStatus;
new VIPStatus = 1;
new GCStatus = 1;
new NewbieStatus = 1;
new BankVault;
new cVeh[MAX_CUSTOM_VEHICLES];
new TaxMoney;
new TaxPercent;
new TempTaxPercent;
new TaxRequester = -1;
new SAGate1;
new SAGateStatus1;
new SAGate2;
new SAGateStatus2;

// Animations
new gPlayerUsingLoopingAnim[MAX_PLAYERS];
new gPlayerAnimLibsPreloaded[MAX_PLAYERS];
new animation[MAX_PLAYERS];
new Text:txtAnimHelper;
#define SPECIAL_ACTION_PISSING 68
// Bars
new Bar:Download[MAX_PLAYERS];

// Anti DeAmx
AntiDeAMX()
{
	new a[][] =
 	{
  		"Unarmed (Fist)",
   		"Brass K"
  	};
   	#pragma unused a
}

// User settings
enum pInfo
{
	// Temp Values
	pLoggedIn,
	pSpawn,
	// Permanent Values
	pIP[16],
	pOwner,
	pLevel,
	pMinutes,
	pHours,
	pGender,
	pAge,
	pMoney,
	pBank,
	pModel,
	pAdmin,
	pOldAdmin,
	pBanned,
	Float:pX,
	Float:pY,
	Float:pZ,
	pInt,
	pVW,
	pFac,
	pFacRank,
	pFacLeader,
	pWeapon[13],
	pWeaponAmmo[13],
	pHospital,
	pFacDuty,
	pFacDiv,
	pFacDivLeader,
	pBiz,
	pVBiz,
	pHouse,
	pVHouse,
	pGarage,
	pJob,
	pJobSkill[MAX_JOBS],
	pTPackages,
	pMPackages,
	pDPackages,
	pMaterials,
	pWeed,
	pCrack,
	pHasCellphone,
	pCellphone,
	pPhonebook,
	pDice,
	pCigar,
	pSpeedo,
	pSprunk,
	pSpray,
	pRope,
	pBlindfold,
	pWT,
	pWTC,
	pGas,
	pRadio,
	Float:pHealth,
	Float:pArmor,
	pInternet,
	pSong[MAX_MUSIC],
	pPrison,
	pPrisonTime,
	pPrisonReason[64],
	pPrisonBy[32],
	pWanted,
	pWanted1[64],
	pWanted2[64],
	pWanted3[64],
	pWanted4[64],
	pWanted5[64],
	pWanted6[64],
	pCrimes,
	pArrested,
	pContract,
	pContractBy[32],
	pContractDetail[64],
	pTutorial,
	pWarns,
	pWarn1[64],
	pWarn2[64],
	pWarn3[64],
	pWarn4[64],
	pWarn5[64],
	pFlag[65],
	pNMute,
	pMute,
	pRMute,
	pSpawnFreeze,
	pFam,
	pFamRank,
	pCSuccess,
	pCFail,
	pHelper,
	pVeh,
	vModel,
	Float:vX,
	Float:vY,
	Float:vZ,
	Float:vA,
	vC1,
	vC2,
	vPJ,
	pVehMod[14],
	vLocked,
	// 3 Car Slot Begins
	pBVeh,
	vBModel,
	Float:vBX,
	Float:vBY,
	Float:vBZ,
	Float:vBA,
	vBC1,
	vBC2,
	vBPJ,
	pBVehMod[14],
	vBLocked,
	// 3 Car Slot End
	pGangMod,
	pFacMod,
	pBanAppealer,
	pDoorMod,
	pBizMod,
	pHouseMod,
	pGameAffairs,
	pCarLic,
	pPilotLic,
	pFireArmsLic,
	pAccent[16],
	// VIP
	pVIP,
	pVIPDay,
	pVIPMonth,
	pVIPHour,
	pVIPTemp,
	// VIP Job
	pVIPJob,
	// VIP Car
	pVVeh,
	vVModel,
	Float:vVX,
	Float:vVY,
	Float:vVZ,
	Float:vVA,
	vVC1,
	vVC2,
	vVPJ,
	pVVehMod[14],
	vVLocked,
	pVIPBuddy,
	pDeliverTruck,
	pNew,
	pRefPoints,
	pTester,
	pFightStyle,
	pScope,
	pCookies,
	pOldskool,
	// Toys
	pToyModel[10],
	Float:pToyX[10],
	Float:pToyY[10],
	Float:pToyZ[10],
	Float:pToyRX[10],
	Float:pToyRY[10],
	Float:pToyRZ[10],
 	Float:pToySX[10],
    Float:pToySY[10],
    Float:pToySZ[10],
    pReward,
    pFish[5],
    pLoyal,
    pLoyalTag,
    pLPoints,
    pStoned,
    pGate[3],
    pSafeAdmin,
    pMask,
    pMaskOn,
    pHide,
    pHideOn,
   	pWalkStyle,
   	// Trunk
	pTWeed,
	pvTWeed,
	pNote1[128],
	pNote1s,
	pNote2[128],
	pNote2s,
	pNote3[128],
	pNote3s,
	pNote4[128],
	pNote4s,
	pNote5[128],
	pNote5s,
	pRelationShip,
	pRelationWith[125],
	pVehPlate,
	pVVehPlate,
	pBVehPlate,
}
new PlayerInfo[MAX_PLAYERS][pInfo];


stock ClearChar(playerid)
{
	// Toys
	for(new i=0; i<10; i++)
	{
	    if(IsPlayerAttachedObjectSlotUsed(playerid, i))
	    {
	        RemovePlayerAttachedObject(playerid, i);
	    }
	}
    // Bank Robbery
	if(BankRobber[playerid])
    {
	    new Rob = BankRobber[playerid]-1, string[128];
	    DisablePlayerCheckpoint(playerid);
		BankRobbersCount --;
		format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
		DeliverMoney[playerid] = 0;
		//
		foreach(Player, i)
		{
		    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
		    {
				if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
				else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
				else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
				else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
				else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
			}
		}
		format(string, sizeof(string), "** %s has disconnected and has failed the robbery. **", RPN(playerid));
		SendRobberyMessage(COLOR_LIGHTRED, string);
		SendCopMessage(COLOR_LIGHTRED, string);
		SendFBIMessage(COLOR_LIGHTRED, string);
		BankRobber[playerid] = 0;
		if(BankRobbersCount == 0)
		{
			TextDrawHideForAll(Area5);
			TextDrawHideForAll(Textdraw1);
			TextDrawHideForAll(Textdraw2);
			TextDrawHideForAll(Textdraw3);
			TextDrawHideForAll(Textdraw4);
			TextDrawHideForAll(Textdraw5);
			BankRobbery = 0;
			RobberyStarted = 0;
			format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
			SendClientMessageToAll(COLOR_YELLOW, string);
			TotalRobbers = 0;
			new copsonline;
			foreach(Player, i)
			{
			    if(IsACop(i)) copsonline++;
			    if(IsAHSF(i)) copsonline++;
			    if(IsAFBI(i)) copsonline++;
			}
			foreach(Player, i)
			{
			    if(IsACop(i))
			    {
					new Saved = (TotalRobbers*50000-(TotalStolen*50000));
					GiveZaiatMoney(i, Saved/copsonline);
					format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
					SendClientMessage(i, COLOR_LIME, string);
			    }
			}
		}
    }
	// 3D Text
	/*Delete3DTextLabel(AltTabText[playerid]);
	Delete3DTextLabel(AFKText[playerid]);
	Delete3DTextLabel(aDutyText[playerid]);
	Delete3DTextLabel(VIPText[playerid]);*/
	if(IsValidDynamic3DTextLabel(AltTabText[playerid])) DestroyDynamic3DTextLabel(AltTabText[playerid]);
	if(IsValidDynamic3DTextLabel(AFKText[playerid]))DestroyDynamic3DTextLabel(AFKText[playerid]);
	if(IsValidDynamic3DTextLabel(aDutyText[playerid]))DestroyDynamic3DTextLabel(aDutyText[playerid]);
	if(IsValidDynamic3DTextLabel(hDutyText[playerid]))DestroyDynamic3DTextLabel(hDutyText[playerid]);
	if(IsValidDynamic3DTextLabel(VIPText[playerid]))DestroyDynamic3DTextLabel(VIPText[playerid]);
	if(IsValidDynamic3DTextLabel(MaskText[playerid]))DestroyDynamic3DTextLabel(MaskText[playerid]); // Masklabel
	// Timers
	KillTimer(CuffCountDown[playerid]);
	KillTimer(TazeCountDown[playerid]);
	KillTimer(Tut[playerid]);
	KillTimer(HospitalCountDown[playerid]);
	KillTimer(AntiTPTimer[playerid]);
	KillTimer(StonedTimer[playerid]);
	// Vehicles
	if(PlayerInfo[playerid][vModel])
	{
		DestroyVehicle(PlayerInfo[playerid][pVeh]);
	}
	if(PlayerInfo[playerid][vBModel])
	{
		DestroyVehicle(PlayerInfo[playerid][pBVeh]);
	}
	if(PlayerInfo[playerid][vVModel])
	{
		DestroyVehicle(PlayerInfo[playerid][pVVeh]);
	}
	// Tax Request
	if(TaxRequester == playerid) TaxRequester = -1;
	// Download bar
	DestroyProgressBar(Download[playerid]);
	// Prison Info
	format(PlayerInfo[playerid][pPrisonReason], 64, "");
	format(PlayerInfo[playerid][pPrisonBy], 32, "");
	format(PlayerInfo[playerid][pWanted1], 64, "");
	format(PlayerInfo[playerid][pWanted2], 64, "");
	format(PlayerInfo[playerid][pWanted3], 64, "");
	format(PlayerInfo[playerid][pWanted4], 64, "");
	format(PlayerInfo[playerid][pWanted5], 64, "");
	format(PlayerInfo[playerid][pWanted6], 64, "");
	// Contract
	format(PlayerInfo[playerid][pContractBy], 32, "");
	format(PlayerInfo[playerid][pContractDetail], 64, "");
	// Warns
	format(PlayerInfo[playerid][pWarn1], 64, "");
	format(PlayerInfo[playerid][pWarn2], 64, "");
	format(PlayerInfo[playerid][pWarn3], 64, "");
	format(PlayerInfo[playerid][pWarn4], 64, "");
	format(PlayerInfo[playerid][pWarn5], 64, "");
	// Spam
	format(OldSpamCommand[playerid], 128, "");
	format(NewSpamCommand[playerid], 128, "");
	format(OldSpamChat[playerid], 128, "");
	format(NewSpamChat[playerid], 128, "");
	// Flag
	format(PlayerInfo[playerid][pFlag], 64, "");
	// Accent
	format(PlayerInfo[playerid][pAccent], 16, "");
	// VIP Name
	format(VIPName[playerid], MAX_PLAYER_NAME, "");
	// Enum
    PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pMinutes] = 0; PlayerInfo[playerid][pHours] = 0; PlayerInfo[playerid][pLoggedIn] = 0; PlayerInfo[playerid][pSpawn] = 0; PlayerInfo[playerid][pGender] = 0; PlayerInfo[playerid][pAge] = 0; PlayerInfo[playerid][pMoney] = 0; PlayerInfo[playerid][pModel] = 0;
	PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pBanned] = 0; PlayerInfo[playerid][pX]  = 0; PlayerInfo[playerid][pY] = 0; PlayerInfo[playerid][pZ] = 0; PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pVIP] = 0; PlayerInfo[playerid][pVIPDay] = 0; PlayerInfo[playerid][pVIPMonth] = 0; PlayerInfo[playerid][pVIPHour] = 0;
	PlayerInfo[playerid][pVW] = 0; PlayerInfo[playerid][pFac] = 0; PlayerInfo[playerid][pFacRank] = 0; PlayerInfo[playerid][pFacLeader] = 0; PlayerInfo[playerid][pHospital] = 0; PlayerInfo[playerid][pFacDuty] = 0; PlayerInfo[playerid][pFightStyle] = 0; PlayerInfo[playerid][pFacMod] = 0; PlayerInfo[playerid][pBanAppealer] = 0;
	PlayerInfo[playerid][pFacDiv] = 0; PlayerInfo[playerid][pFacDivLeader] = 0; PlayerInfo[playerid][pBiz] = 0; PlayerInfo[playerid][pVBiz] = 0; PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pVIPJob] = 0; PlayerInfo[playerid][pTPackages] = 0; PlayerInfo[playerid][pHasCellphone] = 0; PlayerInfo[playerid][pCookies] = 0; PlayerInfo[playerid][pGameAffairs] = 0;
	PlayerInfo[playerid][pCellphone] = 0; PlayerInfo[playerid][pPhonebook] = 0; PlayerInfo[playerid][pDice] = 0; PlayerInfo[playerid][pCigar] = 0; PlayerInfo[playerid][pSpeedo] = 0; PlayerInfo[playerid][pSprunk] = 0; PlayerInfo[playerid][pVIPTemp] = 0; PlayerInfo[playerid][pScope] = 0; PlayerInfo[playerid][pOldskool] = 0; PlayerInfo[playerid][pHouseMod] = 0;
	PlayerInfo[playerid][pSpray] = 0; PlayerInfo[playerid][pRope] = 0; PlayerInfo[playerid][pBlindfold] = 0; PlayerInfo[playerid][pWT] = 0; PlayerInfo[playerid][pWTC] = 0; PlayerInfo[playerid][pGas] = 0; PlayerInfo[playerid][pRadio] = 0; PlayerInfo[playerid][pRefPoints] = 0; PlayerInfo[playerid][pReward] = 0; PlayerInfo[playerid][pLoyalTag] = 0;
	PlayerInfo[playerid][pInternet] = 0; PlayerInfo[playerid][pBank] = 0; PlayerInfo[playerid][pPrison] = 0; PlayerInfo[playerid][pPrisonTime] = 0; PlayerInfo[playerid][pWanted] = 0; PlayerInfo[playerid][pMPackages] = 0; PlayerInfo[playerid][pVIPBuddy] = 0; PlayerInfo[playerid][pTester] = 0; PlayerInfo[playerid][pLoyal] = 0; PlayerInfo[playerid][pBizMod] = 0;
	PlayerInfo[playerid][pMaterials] = 0; PlayerInfo[playerid][pOwner] = 0; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pHouse] = 0; PlayerInfo[playerid][pVHouse] = 0; PlayerInfo[playerid][pHelper] = 0; PlayerInfo[playerid][vPJ] = 0; PlayerInfo[playerid][pLPoints] = 0; PlayerInfo[playerid][pDoorMod] = 0;
	PlayerInfo[playerid][pDPackages] = 0; PlayerInfo[playerid][pWeed] = 0; PlayerInfo[playerid][pCrack] = 0; PlayerInfo[playerid][pContract] = 0; PlayerInfo[playerid][pVeh] = 0; PlayerInfo[playerid][pBVeh] = 0; PlayerInfo[playerid][pVVeh] = 0; PlayerInfo[playerid][pGangMod] = 0; PlayerInfo[playerid][pCarLic] = 0; PlayerInfo[playerid][pPilotLic] = 0;
	PlayerInfo[playerid][pTutorial] = 0; PlayerInfo[playerid][pWarns] = 0; PlayerInfo[playerid][pNMute] = 0; PlayerInfo[playerid][pMute] = 0; PlayerInfo[playerid][pRMute] = 0; PlayerInfo[playerid][pSpawnFreeze] = 0; PlayerInfo[playerid][pFam] = 0; PlayerInfo[playerid][pFamRank] = 0; PlayerInfo[playerid][pCSuccess] = 0; PlayerInfo[playerid][pCFail] = 0;
	PlayerInfo[playerid][vModel] = 0; PlayerInfo[playerid][vX] = 0; PlayerInfo[playerid][vY] = 0; PlayerInfo[playerid][vZ] = 0; PlayerInfo[playerid][vA] = 0; PlayerInfo[playerid][vC1] = 0; PlayerInfo[playerid][vC2] = 0; PlayerInfo[playerid][vLocked] = 0; PlayerInfo[playerid][pNew] = 0; SpeedHack[playerid] = 0; PlayerInfo[playerid][pHide] = 0; PlayerInfo[playerid][pHideOn] = 0;
	PlayerInfo[playerid][pGate][0] = 0; PlayerInfo[playerid][pGate][1] = 0; PlayerInfo[playerid][pGate][2] = 0; PlayerInfo[playerid][pSafeAdmin] = 0; PlayerInfo[playerid][pMask] = 0; PlayerInfo[playerid][pMaskOn] = 0; PlayerInfo[playerid][pFireArmsLic] = 0; PlayerInfo[playerid][pGarage] = 0; PlayerInfo[playerid][pHide] = 0; PlayerInfo[playerid][pHideOn] = 0;
	PlayerInfo[playerid][pVehPlate] = 0; PlayerInfo[playerid][pVVehPlate] = 0; PlayerInfo[playerid][pBVehPlate] = 0; PlayerInfo[playerid][pOldAdmin] = 0;
	// Trunk
	PlayerInfo[playerid][pTWeed] = 0; PlayerInfo[playerid][pvTWeed] = 0;
	for(new i=0; i<5; i++) // Fish
	{
	    PlayerInfo[playerid][pFish][i] = 0;
	}
    if(PlayerInfo[playerid][pDeliverTruck] != -1)
    {
	    TruckPackages[PlayerInfo[playerid][pDeliverTruck]] = -1;
		PlayerInfo[playerid][pDeliverTruck] = -1;
    }
    for(new i=0; i<10; i++) // Toys
    {
        PlayerInfo[playerid][pToyModel][i] = 0;
        PlayerInfo[playerid][pToyX][i] = 0;
		PlayerInfo[playerid][pToyY][i] = 0;
		PlayerInfo[playerid][pToyZ][i] = 0;
		PlayerInfo[playerid][pToyRX][i] = 0;
		PlayerInfo[playerid][pToyRY][i] = 0;
		PlayerInfo[playerid][pToyRZ][i] = 0;
	 	PlayerInfo[playerid][pToySX][i] = 0;
	    PlayerInfo[playerid][pToySY][i] = 0;
	    PlayerInfo[playerid][pToySZ][i] = 0;
    }
	for(new i=0; i<14; i++) // Vehicle Mods
	{
		PlayerInfo[playerid][pVehMod][i] = 0;
	}
	for(new i=0; i<13; i++) // Weapons
	{
	    PlayerInfo[playerid][pWeapon][i] = 0;
		TempGuns[i] = 0;
		TempGunsAmmo[i] = 0;
	}
	for(new i=0; i<13; i++) // Ammo
	{
	    PlayerInfo[playerid][pWeaponAmmo][i] = 0;
	}
	for(new i=0; i<MAX_JOBS; i++) // Jobs Skills
	{
	    PlayerInfo[playerid][pJobSkill][i] = 0;
	}
	for(new i=1; i<MAX_MUSIC; i++) // Downloaded Songs
	{
	    PlayerInfo[playerid][pSong][i] = 0;
	}
	for(new i=0; i<3; i++) // Admin Mark
	{
	    aMark[playerid][i] = 0;
	}
	// Public Variables
	Invited[playerid] = 0; Inviter[playerid] = 0; Faction[playerid] = 0; Tazer[playerid] = 0; ReplaceTazer[playerid] = 0; Chat[playerid] = -1; JoinMessages[playerid] = 0; Call911[playerid] = 0;
	fPos[0] = 0; fPos[1] = 0; fPos[2] = 0; TazeTimeout[playerid] = 0; TazeCountDown[playerid] = 0; Speedlimit[playerid] = 0; Drag[playerid] = -1; Dragged[playerid] = -1; GCOff[playerid] = 0;
	Tracking[playerid] = -1; CuffTimeout[playerid] = 0; CuffCountDown[playerid] = 0; Uncuffed[playerid] = 0; GunsBeingRemoved[playerid] = 0; VIPOff[playerid] = 0; VIPTag[playerid] = 0;
	Tazed[playerid] = 0; Cuffed[playerid] = 0; HospitalCountDown[playerid] = 0; Hospital[playerid] = 0; HospitalTime[playerid] = 0; LastCar[playerid] = 0; Spec[playerid] = 0; Specid[playerid] = -1;
	gPlayerUsingLoopingAnim[playerid] = 0; gPlayerAnimLibsPreloaded[playerid] = 0; NewbieTime[playerid] = 0; Calling[playerid] = 0; Called[playerid] = -1; BeingCalled[playerid] = 0; Caller[playerid] = -1;
	CallTime[playerid] = 0; Speedo[playerid] = 0; Tied[playerid] = 0; Blindfolded[playerid] = 0; Seconds[playerid] = 0; HasAD[playerid] = 0; OldGun[playerid] = 0; OldAmmo[playerid] = 0; GCTime[playerid] = 0;
	FreeBy[playerid] = 0; FreeTime[playerid] = 0; DefendBy[playerid] = 0; FreeTimeout[playerid] = 0; DefendTimeout[playerid] = 0; NoSprunk[playerid] = 0; Hitman[playerid] = -1; gEdit[playerid] = 0; gEditID[playerid] = 0;
    PhoneOff[playerid] = 0; PmOff[playerid] = 0; TicketBy[playerid] = -1; CommandSpamCount[playerid] = 0; ChatSpamCount[playerid] = 0; aMarkInt[playerid] = 0; aMarkVw[playerid] = 0; DrugTimeout[playerid] = 0; aDuty[playerid] = 0;
	fInvited[playerid] = 0; fInviter[playerid] = 0; Family[playerid] = 0; VestBy[playerid] = -1; hPos[playerid][0] = 0; hPos[playerid][1] = 0; hPos[playerid][2] = 0; hPOS[playerid][0] = 0; hPOS[playerid][1] = 0; hDuty[playerid] = 0;
	Whispers[playerid] = 0; SMSes[playerid] = 0; PMs[playerid] = 0; HelpTime[playerid] = 0; ReportTime[playerid] = 0; LicenseTest[playerid] = 0; /*LicenseTestP[playerid] = 0;*/ CP[playerid] = 0; /*CPFly[playerid] = 0;*/ Approve[playerid] = 0; GMX[playerid] = 0;
    Boxing[playerid] = 0; BoxBy[playerid] = 0; pBoxer[playerid] = 0; BidAmount[playerid] = 0; BidBoxer[playerid] = 0; pskin[playerid] = 0; fskin[playerid] = 0; Refund[playerid] = 0; AntiTP[playerid] = 0;
    BankRobber[playerid] = 0; RobberyRequest[playerid] = 0; DeliverMoney[playerid] = 0; LiveBy[playerid] = -1; LiveRequest[playerid] = 0; Live[playerid] = 0; Fished[playerid] = 0; FishTime[playerid] = 0;
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
		    TicketPrice[playerid][i] = 0;
		    TicketPrice[i][playerid] = 0;
			if(WeedSeller[i] == playerid)
			{
			    WeedSeller[i] = -1; WeedPrice[playerid][i] = 0; WeedAmount[playerid][i] = 0;
			    SendClientMessage(i, COLOR_YELLOW, "The player offering to sell you weed has disconnected from the server.");

			}
			if(CrackSeller[i] == playerid)
			{
			    CrackSeller[i] = -1; CrackPrice[playerid][i] = 0; CrackAmount[playerid][i] = 0;
			    SendClientMessage(i, COLOR_YELLOW, "The player offering to sell you crack has disconnected from the server.");

			}
		    if(SellMaterialsTo[playerid] == i && BuyMaterialsFrom[i] == playerid)
		    {
		        BuyMaterialsFrom[i] = -1; BuyMaterialsAmount[i] = 0; BuyMaterialsPrice[i] = 0; BeenOfferedMaterials[i] = 0;
		        SendClientMessage(i, COLOR_YELLOW, "The player offering to sell you materials has disconnected from the server.");
		    }
		    if(SellWeaponTo[playerid] == i && BuyWeaponFrom[i] == playerid)
		    {
		        BuyWeaponFrom[i] = -1; BuyWeaponPrice[i] = 0; BeenOfferedWeapon[i] = 0;
		        SendClientMessage(i, COLOR_YELLOW, "The player offering to sell you a weapon has disconnected from the server.");
		    }
		    if(VestBy[playerid] == i)
		    {
		        VestBy[i] = -1;
			    SendClientMessage(i, COLOR_YELLOW, "The player offering to sell you a vest has disconnected from the server.");

		    }
		   	FreePrice[playerid][i] = 0;
			DefendPrice[playerid][i] = 0;
			VestPrice[playerid][i] = 0;
		}
	}
	SellMaterialsTo[playerid] = -1; BuyMaterialsFrom[playerid] = -1; BuyMaterialsAmount[playerid] = 0; BuyMaterialsPrice[playerid] = 0; BeenOfferedMaterials[playerid] = 0;
	SellWeaponTo[playerid] = -1; BuyWeaponFrom[playerid] = -1; BuyWeaponPrice[playerid] = 0; BeenOfferedWeapon[playerid] = 0; WeedSeller[playerid] = -1; CrackSeller[playerid] = -1;
	// Clearing Caller
	if(BeingCalled[playerid] || Calling[playerid])
	{
	    if(BeingCalled[playerid]) SendClientMessage(Caller[playerid], COLOR_ORANGE, " The line went dead...");
    	else if(Calling[playerid]) SendClientMessage(Called[playerid], COLOR_ORANGE, " The line went dead...");
	    new params[1];
	    cmd_hangup(playerid, params);
	}
	ResetPlayerWeapons(playerid);
	ResetZaiatWeapons(playerid);
	return 1;
}

// Arrest Point
new Float:ap[3];
new Text3D:apt;

stock SaveArrestPoint()
{
	new file[16];
	format(file, sizeof(file), "arrest.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	dini_FloatSet(file, "X", ap[0]);
	dini_FloatSet(file, "Y", ap[1]);
	dini_FloatSet(file, "Z", ap[2]);
	print("Arrest Point saved successfully.");
	return 1;
}

stock LoadArrestPoint()
{
	new file[16];
	format(file, sizeof(file), "arrest.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	ap[0] = dini_Float(file, "X");
	ap[1] = dini_Float(file, "Y");
	ap[2] = dini_Float(file, "Z");
	apt = CreateDynamic3DTextLabel("Arrest Point\n{FFFF00}/arrest to arrest a suspect", COLOR_RED, ap[0], ap[1], ap[2], 12);
	print("Arrest Point loaded successfully.");
	return 1;
}

// Factions Settings
enum facInfo
{
	fRank0[32],
	fRank1[32],
	fRank2[32],
	fRank3[32],
	fRank4[32],
	fRank5[32],
	fRank6[32],
	fRank7[32],
	fRank8[32],
	fRank9[32],
	fRank10[32],
 	fCars[280],
	facMembers,
	fDiv1[8],
	fDiv2[8],
	fDiv3[8],
	fDiv4[8],
	fDiv5[8],
    fPay0[32],
	fPay1[32],
	fPay2[32],
	fPay3[32],
	fPay4[32],
	fPay5[32],
	fPay6[32],
	fPay7[32],
	fPay8[32],
	fPay9[32],
	fPay10[32],
	fPay11[32]
}
new FacInfo[MAX_FACTIONS][facInfo];

stock SaveFactions()
{
	// SAPD
	new file[64];
	format(file, sizeof(file), "factions/SAPD.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "LSPDMembers", FacInfo[1][facMembers]);
	dini_Set(file, "Rank0", FacInfo[1][fRank0]);
	dini_Set(file, "Rank1", FacInfo[1][fRank1]);
	dini_Set(file, "Rank2", FacInfo[1][fRank2]);
	dini_Set(file, "Rank3", FacInfo[1][fRank3]);
	dini_Set(file, "Rank4", FacInfo[1][fRank4]);
	dini_Set(file, "Rank5", FacInfo[1][fRank5]);
	dini_Set(file, "Rank6", FacInfo[1][fRank6]);
	dini_Set(file, "Rank7", FacInfo[1][fRank7]);
	dini_Set(file, "Rank8", FacInfo[1][fRank8]);
	dini_Set(file, "Rank9", FacInfo[1][fRank9]);
	dini_Set(file, "Rank10", FacInfo[1][fRank10]);
	dini_Set(file, "Div1", FacInfo[1][fDiv1]);
	dini_Set(file, "Div2", FacInfo[1][fDiv2]);
	dini_Set(file, "Div3", FacInfo[1][fDiv3]);
	dini_Set(file, "Div4", FacInfo[1][fDiv4]);
	dini_Set(file, "Div5", FacInfo[1][fDiv5]);
	dini_Set(file, "Pay0", FacInfo[1][fPay0]);
	dini_Set(file, "Pay1", FacInfo[1][fPay1]);
	dini_Set(file, "Pay2", FacInfo[1][fPay2]);
	dini_Set(file, "Pay3", FacInfo[1][fPay3]);
	dini_Set(file, "Pay4", FacInfo[1][fPay4]);
	dini_Set(file, "Pay5", FacInfo[1][fPay5]);
	dini_Set(file, "Pay6", FacInfo[1][fPay6]);
	dini_Set(file, "Pay7", FacInfo[1][fPay7]);
	dini_Set(file, "Pay8", FacInfo[1][fPay8]);
	dini_Set(file, "Pay9", FacInfo[1][fPay9]);
	dini_Set(file, "Pay10", FacInfo[1][fPay10]);
	dini_Set(file, "Pay11", FacInfo[1][fPay11]);
	print("LSPD files saved successfully.");
	// Government
	format(file, sizeof(file), "factions/GOV.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "GovMembers", FacInfo[2][facMembers]);
	dini_Set(file, "Rank0", FacInfo[2][fRank0]);
	dini_Set(file, "Rank1", FacInfo[2][fRank1]);
	dini_Set(file, "Rank2", FacInfo[2][fRank2]);
	dini_Set(file, "Rank3", FacInfo[2][fRank3]);
	dini_Set(file, "Rank4", FacInfo[2][fRank4]);
	dini_Set(file, "Rank5", FacInfo[2][fRank5]);
	dini_Set(file, "Rank6", FacInfo[2][fRank6]);
	dini_Set(file, "Rank7", FacInfo[2][fRank7]);
	dini_Set(file, "Rank8", FacInfo[2][fRank8]);
	dini_Set(file, "Rank9", FacInfo[2][fRank9]);
	dini_Set(file, "Rank10", FacInfo[2][fRank10]);
    dini_IntSet(file, "TaxPercent", TaxPercent);
	dini_IntSet(file, "TaxVault", TaxMoney);
	dini_Set(file, "Pay0", FacInfo[2][fPay0]);
	dini_Set(file, "Pay1", FacInfo[2][fPay1]);
	dini_Set(file, "Pay2", FacInfo[2][fPay2]);
	dini_Set(file, "Pay3", FacInfo[2][fPay3]);
	dini_Set(file, "Pay4", FacInfo[2][fPay4]);
	dini_Set(file, "Pay5", FacInfo[2][fPay5]);
	dini_Set(file, "Pay6", FacInfo[2][fPay6]);
	dini_Set(file, "Pay7", FacInfo[2][fPay7]);
	dini_Set(file, "Pay8", FacInfo[2][fPay8]);
	dini_Set(file, "Pay9", FacInfo[2][fPay9]);
	dini_Set(file, "Pay10", FacInfo[2][fPay10]);
	dini_Set(file, "Pay11", FacInfo[2][fPay11]);
	print("Government files saved successfully.");
	// Hitman Agency
	format(file, sizeof(file), "factions/HA.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "HaMembers", FacInfo[3][facMembers]);
	dini_Set(file, "Rank0", FacInfo[3][fRank0]);
	dini_Set(file, "Rank1", FacInfo[3][fRank1]);
	dini_Set(file, "Rank2", FacInfo[3][fRank2]);
	dini_Set(file, "Rank3", FacInfo[3][fRank3]);
	dini_Set(file, "Rank4", FacInfo[3][fRank4]);
	dini_Set(file, "Rank5", FacInfo[3][fRank5]);
	dini_Set(file, "Rank6", FacInfo[3][fRank6]);
	dini_Set(file, "Rank7", FacInfo[3][fRank7]);
	dini_Set(file, "Rank8", FacInfo[3][fRank8]);
	dini_Set(file, "Rank9", FacInfo[3][fRank9]);
	dini_Set(file, "Rank10", FacInfo[3][fRank10]);
	dini_Set(file, "Pay0", FacInfo[3][fPay0]);
	dini_Set(file, "Pay1", FacInfo[3][fPay1]);
	dini_Set(file, "Pay2", FacInfo[3][fPay2]);
	dini_Set(file, "Pay3", FacInfo[3][fPay3]);
	dini_Set(file, "Pay4", FacInfo[3][fPay4]);
	dini_Set(file, "Pay5", FacInfo[3][fPay5]);
	dini_Set(file, "Pay6", FacInfo[3][fPay6]);
	dini_Set(file, "Pay7", FacInfo[3][fPay7]);
	dini_Set(file, "Pay8", FacInfo[3][fPay8]);
	dini_Set(file, "Pay9", FacInfo[3][fPay9]);
	dini_Set(file, "Pay10", FacInfo[3][fPay10]);
	dini_Set(file, "Pay11", FacInfo[3][fPay11]);
	print("Hitman Agency files saved successfully.");
	// News Agency
	format(file, sizeof(file), "factions/NA.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "NaMembers", FacInfo[4][facMembers]);
	dini_Set(file, "Rank0", FacInfo[4][fRank0]);
	dini_Set(file, "Rank1", FacInfo[4][fRank1]);
	dini_Set(file, "Rank2", FacInfo[4][fRank2]);
	dini_Set(file, "Rank3", FacInfo[4][fRank3]);
	dini_Set(file, "Rank4", FacInfo[4][fRank4]);
	dini_Set(file, "Rank5", FacInfo[4][fRank5]);
	dini_Set(file, "Rank6", FacInfo[4][fRank6]);
	dini_Set(file, "Rank7", FacInfo[4][fRank7]);
	dini_Set(file, "Rank8", FacInfo[4][fRank8]);
	dini_Set(file, "Rank9", FacInfo[4][fRank9]);
	dini_Set(file, "Rank10", FacInfo[4][fRank10]);
	dini_IntSet(file, "Vault", NewsMoney);
	dini_Set(file, "Pay0", FacInfo[4][fPay0]);
	dini_Set(file, "Pay1", FacInfo[4][fPay1]);
	dini_Set(file, "Pay2", FacInfo[4][fPay2]);
	dini_Set(file, "Pay3", FacInfo[4][fPay3]);
	dini_Set(file, "Pay4", FacInfo[4][fPay4]);
	dini_Set(file, "Pay5", FacInfo[4][fPay5]);
	dini_Set(file, "Pay6", FacInfo[4][fPay6]);
	dini_Set(file, "Pay7", FacInfo[4][fPay7]);
	dini_Set(file, "Pay8", FacInfo[4][fPay8]);
	dini_Set(file, "Pay9", FacInfo[4][fPay9]);
	dini_Set(file, "Pay10", FacInfo[4][fPay10]);
	dini_Set(file, "Pay11", FacInfo[4][fPay11]);
	print("News Agency files saved successfully.");
	// Leone
	format(file, sizeof(file), "factions/LEONE.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "LeoneMembers", FacInfo[5][facMembers]);
	dini_Set(file, "Rank0", FacInfo[5][fRank0]);
	dini_Set(file, "Rank1", FacInfo[5][fRank1]);
	dini_Set(file, "Rank2", FacInfo[5][fRank2]);
	dini_Set(file, "Rank3", FacInfo[5][fRank3]);
	dini_Set(file, "Rank4", FacInfo[5][fRank4]);
	dini_Set(file, "Rank5", FacInfo[5][fRank5]);
	dini_Set(file, "Rank6", FacInfo[5][fRank6]);
	dini_Set(file, "Rank7", FacInfo[5][fRank7]);
	dini_Set(file, "Rank8", FacInfo[5][fRank8]);
	dini_Set(file, "Rank9", FacInfo[5][fRank9]);
	dini_Set(file, "Rank10", FacInfo[5][fRank10]);
	dini_Set(file, "Pay0", FacInfo[5][fPay0]);
	dini_Set(file, "Pay1", FacInfo[5][fPay1]);
	dini_Set(file, "Pay2", FacInfo[5][fPay2]);
	dini_Set(file, "Pay3", FacInfo[5][fPay3]);
	dini_Set(file, "Pay4", FacInfo[5][fPay4]);
	dini_Set(file, "Pay5", FacInfo[5][fPay5]);
	dini_Set(file, "Pay6", FacInfo[5][fPay6]);
	dini_Set(file, "Pay7", FacInfo[5][fPay7]);
	dini_Set(file, "Pay8", FacInfo[5][fPay8]);
	dini_Set(file, "Pay9", FacInfo[5][fPay9]);
	dini_Set(file, "Pay10", FacInfo[5][fPay10]);
	dini_Set(file, "Pay11", FacInfo[5][fPay11]);
	print("Leone files saved successfully.");
	// FBI
	format(file, sizeof(file), "factions/FBI.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "FBIMembers", FacInfo[6][facMembers]);
	dini_Set(file, "Rank0", FacInfo[6][fRank0]);
	dini_Set(file, "Rank1", FacInfo[6][fRank1]);
	dini_Set(file, "Rank2", FacInfo[6][fRank2]);
	dini_Set(file, "Rank3", FacInfo[6][fRank3]);
	dini_Set(file, "Rank4", FacInfo[6][fRank4]);
	dini_Set(file, "Rank5", FacInfo[6][fRank5]);
	dini_Set(file, "Rank6", FacInfo[6][fRank6]);
	dini_Set(file, "Rank7", FacInfo[6][fRank7]);
	dini_Set(file, "Rank8", FacInfo[6][fRank8]);
	dini_Set(file, "Rank9", FacInfo[6][fRank9]);
	dini_Set(file, "Rank10", FacInfo[6][fRank10]);
	dini_Set(file, "Pay0", FacInfo[6][fPay0]);
	dini_Set(file, "Pay1", FacInfo[6][fPay1]);
	dini_Set(file, "Pay2", FacInfo[6][fPay2]);
	dini_Set(file, "Pay3", FacInfo[6][fPay3]);
	dini_Set(file, "Pay4", FacInfo[6][fPay4]);
	dini_Set(file, "Pay5", FacInfo[6][fPay5]);
	dini_Set(file, "Pay6", FacInfo[6][fPay6]);
	dini_Set(file, "Pay7", FacInfo[6][fPay7]);
	dini_Set(file, "Pay8", FacInfo[6][fPay8]);
	dini_Set(file, "Pay9", FacInfo[6][fPay9]);
	dini_Set(file, "Pay10", FacInfo[6][fPay10]);
	dini_Set(file, "Pay11", FacInfo[6][fPay11]);
	print("FBI files saved successfully.");
	// LSEMS
	format(file, sizeof(file), "factions/LSEMS.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "LSEMSMembers", FacInfo[7][facMembers]);
	dini_Set(file, "Rank0", FacInfo[7][fRank0]);
	dini_Set(file, "Rank1", FacInfo[7][fRank1]);
	dini_Set(file, "Rank2", FacInfo[7][fRank2]);
	dini_Set(file, "Rank3", FacInfo[7][fRank3]);
	dini_Set(file, "Rank4", FacInfo[7][fRank4]);
	dini_Set(file, "Rank5", FacInfo[7][fRank5]);
	dini_Set(file, "Rank6", FacInfo[7][fRank6]);
	dini_Set(file, "Rank7", FacInfo[7][fRank7]);
	dini_Set(file, "Rank8", FacInfo[7][fRank8]);
	dini_Set(file, "Rank9", FacInfo[7][fRank9]);
	dini_Set(file, "Rank10", FacInfo[7][fRank10]);
	dini_Set(file, "Pay0", FacInfo[7][fPay0]);
	dini_Set(file, "Pay1", FacInfo[7][fPay1]);
	dini_Set(file, "Pay2", FacInfo[7][fPay2]);
	dini_Set(file, "Pay3", FacInfo[7][fPay3]);
	dini_Set(file, "Pay4", FacInfo[7][fPay4]);
	dini_Set(file, "Pay5", FacInfo[7][fPay5]);
	dini_Set(file, "Pay6", FacInfo[7][fPay6]);
	dini_Set(file, "Pay7", FacInfo[7][fPay7]);
	dini_Set(file, "Pay8", FacInfo[7][fPay8]);
	dini_Set(file, "Pay9", FacInfo[7][fPay9]);
	dini_Set(file, "Pay10", FacInfo[7][fPay10]);
	dini_Set(file, "Pay11", FacInfo[7][fPay11]);
	print("LSEMS files saved successfully.");
	// HSF Highland Security Firm
	format(file, sizeof(file), "factions/HSF.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "HSFMembers", FacInfo[8][facMembers]);
	dini_Set(file, "Rank0", FacInfo[8][fRank0]);
	dini_Set(file, "Rank1", FacInfo[8][fRank1]);
	dini_Set(file, "Rank2", FacInfo[8][fRank2]);
	dini_Set(file, "Rank3", FacInfo[8][fRank3]);
	dini_Set(file, "Rank4", FacInfo[8][fRank4]);
	dini_Set(file, "Rank5", FacInfo[8][fRank5]);
	dini_Set(file, "Rank6", FacInfo[8][fRank6]);
	dini_Set(file, "Rank7", FacInfo[8][fRank7]);
	dini_Set(file, "Rank8", FacInfo[8][fRank8]);
	dini_Set(file, "Rank9", FacInfo[8][fRank9]);
	dini_Set(file, "Rank10", FacInfo[8][fRank10]);
	dini_Set(file, "Pay0", FacInfo[8][fPay0]);
	dini_Set(file, "Pay1", FacInfo[8][fPay1]);
	dini_Set(file, "Pay2", FacInfo[8][fPay2]);
	dini_Set(file, "Pay3", FacInfo[8][fPay3]);
	dini_Set(file, "Pay4", FacInfo[8][fPay4]);
	dini_Set(file, "Pay5", FacInfo[8][fPay5]);
	dini_Set(file, "Pay6", FacInfo[8][fPay6]);
	dini_Set(file, "Pay7", FacInfo[8][fPay7]);
	dini_Set(file, "Pay8", FacInfo[8][fPay8]);
	dini_Set(file, "Pay9", FacInfo[8][fPay9]);
	dini_Set(file, "Pay10", FacInfo[8][fPay10]);
	dini_Set(file, "Pay11", FacInfo[8][fPay11]);
	print("HSF files saved successfully.");
	// Corleone
	format(file, sizeof(file), "factions/CORLEONE.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "CORLEONEMembers", FacInfo[9][facMembers]);
	dini_Set(file, "Rank0", FacInfo[9][fRank0]);
	dini_Set(file, "Rank1", FacInfo[9][fRank1]);
	dini_Set(file, "Rank2", FacInfo[9][fRank2]);
	dini_Set(file, "Rank3", FacInfo[9][fRank3]);
	dini_Set(file, "Rank4", FacInfo[9][fRank4]);
	dini_Set(file, "Rank5", FacInfo[9][fRank5]);
	dini_Set(file, "Rank6", FacInfo[9][fRank6]);
	dini_Set(file, "Rank7", FacInfo[9][fRank7]);
	dini_Set(file, "Rank8", FacInfo[9][fRank8]);
	dini_Set(file, "Rank9", FacInfo[9][fRank9]);
	dini_Set(file, "Rank10", FacInfo[9][fRank10]);
	dini_Set(file, "Pay0", FacInfo[9][fPay0]);
	dini_Set(file, "Pay1", FacInfo[9][fPay1]);
	dini_Set(file, "Pay2", FacInfo[9][fPay2]);
	dini_Set(file, "Pay3", FacInfo[9][fPay3]);
	dini_Set(file, "Pay4", FacInfo[9][fPay4]);
	dini_Set(file, "Pay5", FacInfo[9][fPay5]);
	dini_Set(file, "Pay6", FacInfo[9][fPay6]);
	dini_Set(file, "Pay7", FacInfo[9][fPay7]);
	dini_Set(file, "Pay8", FacInfo[9][fPay8]);
	dini_Set(file, "Pay9", FacInfo[9][fPay9]);
	dini_Set(file, "Pay10", FacInfo[9][fPay10]);
	dini_Set(file, "Pay11", FacInfo[9][fPay11]);
	print("Corleone files saved successfully.");
	// The Ancelotti Family
	format(file, sizeof(file), "factions/ANCELOTTI.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "ANCELOTTIMembers", FacInfo[10][facMembers]);
	dini_Set(file, "Rank0", FacInfo[10][fRank0]);
	dini_Set(file, "Rank1", FacInfo[10][fRank1]);
	dini_Set(file, "Rank2", FacInfo[10][fRank2]);
	dini_Set(file, "Rank3", FacInfo[10][fRank3]);
	dini_Set(file, "Rank4", FacInfo[10][fRank4]);
	dini_Set(file, "Rank5", FacInfo[10][fRank5]);
	dini_Set(file, "Rank6", FacInfo[10][fRank6]);
	dini_Set(file, "Rank7", FacInfo[10][fRank7]);
	dini_Set(file, "Rank8", FacInfo[10][fRank8]);
	dini_Set(file, "Rank9", FacInfo[10][fRank9]);
	dini_Set(file, "Rank10", FacInfo[10][fRank10]);
	dini_Set(file, "Pay0", FacInfo[10][fPay0]);
	dini_Set(file, "Pay1", FacInfo[10][fPay1]);
	dini_Set(file, "Pay2", FacInfo[10][fPay2]);
	dini_Set(file, "Pay3", FacInfo[10][fPay3]);
	dini_Set(file, "Pay4", FacInfo[10][fPay4]);
	dini_Set(file, "Pay5", FacInfo[10][fPay5]);
	dini_Set(file, "Pay6", FacInfo[10][fPay6]);
	dini_Set(file, "Pay7", FacInfo[10][fPay7]);
	dini_Set(file, "Pay8", FacInfo[10][fPay8]);
	dini_Set(file, "Pay9", FacInfo[10][fPay9]);
	dini_Set(file, "Pay10", FacInfo[10][fPay10]);
	dini_Set(file, "Pay11", FacInfo[10][fPay11]);
	print("The Ancelotti Family files saved successfully.");
	// Special Weapons And Tactics
	format(file, sizeof(file), "factions/SWAT.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "SWATMembers", FacInfo[11][facMembers]);
	dini_Set(file, "Rank0", FacInfo[11][fRank0]);
	dini_Set(file, "Rank1", FacInfo[11][fRank1]);
	dini_Set(file, "Rank2", FacInfo[11][fRank2]);
	dini_Set(file, "Rank3", FacInfo[11][fRank3]);
	dini_Set(file, "Rank4", FacInfo[11][fRank4]);
	dini_Set(file, "Rank5", FacInfo[11][fRank5]);
	dini_Set(file, "Rank6", FacInfo[11][fRank6]);
	dini_Set(file, "Rank7", FacInfo[11][fRank7]);
	dini_Set(file, "Rank8", FacInfo[11][fRank8]);
	dini_Set(file, "Rank9", FacInfo[11][fRank9]);
	dini_Set(file, "Rank10", FacInfo[11][fRank10]);
	dini_Set(file, "Pay0", FacInfo[11][fPay0]);
	dini_Set(file, "Pay1", FacInfo[11][fPay1]);
	dini_Set(file, "Pay2", FacInfo[11][fPay2]);
	dini_Set(file, "Pay3", FacInfo[11][fPay3]);
	dini_Set(file, "Pay4", FacInfo[11][fPay4]);
	dini_Set(file, "Pay5", FacInfo[11][fPay5]);
	dini_Set(file, "Pay6", FacInfo[11][fPay6]);
	dini_Set(file, "Pay7", FacInfo[11][fPay7]);
	dini_Set(file, "Pay8", FacInfo[11][fPay8]);
	dini_Set(file, "Pay9", FacInfo[11][fPay9]);
	dini_Set(file, "Pay10", FacInfo[11][fPay10]);
	dini_Set(file, "Pay11", FacInfo[11][fPay11]);
	print("Special Weapons And Tactics files saved successfully.");
	// San Andreas Task Force
	format(file, sizeof(file), "factions/SATF.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "SATFMembers", FacInfo[12][facMembers]);
	dini_Set(file, "Rank0", FacInfo[12][fRank0]);
	dini_Set(file, "Rank1", FacInfo[12][fRank1]);
	dini_Set(file, "Rank2", FacInfo[12][fRank2]);
	dini_Set(file, "Rank3", FacInfo[12][fRank3]);
	dini_Set(file, "Rank4", FacInfo[12][fRank4]);
	dini_Set(file, "Rank5", FacInfo[12][fRank5]);
	dini_Set(file, "Rank6", FacInfo[12][fRank6]);
	dini_Set(file, "Rank7", FacInfo[12][fRank7]);
	dini_Set(file, "Rank8", FacInfo[12][fRank8]);
	dini_Set(file, "Rank9", FacInfo[12][fRank9]);
	dini_Set(file, "Rank10", FacInfo[12][fRank10]);
	dini_Set(file, "Pay0", FacInfo[12][fPay0]);
	dini_Set(file, "Pay1", FacInfo[12][fPay1]);
	dini_Set(file, "Pay2", FacInfo[12][fPay2]);
	dini_Set(file, "Pay3", FacInfo[12][fPay3]);
	dini_Set(file, "Pay4", FacInfo[12][fPay4]);
	dini_Set(file, "Pay5", FacInfo[12][fPay5]);
	dini_Set(file, "Pay6", FacInfo[12][fPay6]);
	dini_Set(file, "Pay7", FacInfo[12][fPay7]);
	dini_Set(file, "Pay8", FacInfo[12][fPay8]);
	dini_Set(file, "Pay9", FacInfo[12][fPay9]);
	dini_Set(file, "Pay10", FacInfo[12][fPay10]);
	dini_Set(file, "Pay11", FacInfo[12][fPay11]);
	print("San Andreas Task Force files saved successfully.");
	// East Side Fellas
	format(file, sizeof(file), "factions/ESF.ini");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "ESFMembers", FacInfo[13][facMembers]);
	dini_Set(file, "Rank0", FacInfo[13][fRank0]);
	dini_Set(file, "Rank1", FacInfo[13][fRank1]);
	dini_Set(file, "Rank2", FacInfo[13][fRank2]);
	dini_Set(file, "Rank3", FacInfo[13][fRank3]);
	dini_Set(file, "Rank4", FacInfo[13][fRank4]);
	dini_Set(file, "Rank5", FacInfo[13][fRank5]);
	dini_Set(file, "Rank6", FacInfo[13][fRank6]);
	dini_Set(file, "Rank7", FacInfo[13][fRank7]);
	dini_Set(file, "Rank8", FacInfo[13][fRank8]);
	dini_Set(file, "Rank9", FacInfo[13][fRank9]);
	dini_Set(file, "Rank10", FacInfo[13][fRank10]);
	dini_Set(file, "Pay0", FacInfo[13][fPay0]);
	dini_Set(file, "Pay1", FacInfo[13][fPay1]);
	dini_Set(file, "Pay2", FacInfo[13][fPay2]);
	dini_Set(file, "Pay3", FacInfo[13][fPay3]);
	dini_Set(file, "Pay4", FacInfo[13][fPay4]);
	dini_Set(file, "Pay5", FacInfo[13][fPay5]);
	dini_Set(file, "Pay6", FacInfo[13][fPay6]);
	dini_Set(file, "Pay7", FacInfo[13][fPay7]);
	dini_Set(file, "Pay8", FacInfo[13][fPay8]);
	dini_Set(file, "Pay9", FacInfo[13][fPay9]);
	dini_Set(file, "Pay10", FacInfo[13][fPay10]);
	dini_Set(file, "Pay11", FacInfo[13][fPay11]);
	print("East Side Fellas files saved successfully.");
	return 1;
}

stock LoadFactions()
{
	// SAPD
    new file[64];
	format(file, sizeof(file), "factions/SAPD.ini");
	format(FacInfo[1][facMembers], 8, "%s", dini_Get(file, "LSPDMembers"));
	format(FacInfo[1][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[1][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[1][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[1][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[1][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[1][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[1][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[1][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[1][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[1][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[1][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[1][fDiv1], 8, "%s", dini_Get(file, "Div1"));
	format(FacInfo[1][fDiv2], 8, "%s", dini_Get(file, "Div2"));
	format(FacInfo[1][fDiv3], 8, "%s", dini_Get(file, "Div3"));
	format(FacInfo[1][fDiv4], 8, "%s", dini_Get(file, "Div4"));
	format(FacInfo[1][fDiv5], 8, "%s", dini_Get(file, "Div5"));
	format(FacInfo[1][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[1][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[1][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[1][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[1][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[1][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[1][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[1][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[1][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[1][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[1][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[1][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("SAPD files loaded successfully.");
	// Government
	format(file, sizeof(file), "factions/GOV.ini");
	format(FacInfo[2][facMembers], 8, "%s", dini_Get(file, "GovMembers"));
	format(FacInfo[2][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[2][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[2][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[2][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[2][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[2][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[2][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[2][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[2][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[2][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[2][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	TaxPercent = dini_Int(file, "TaxPercent");
	TaxMoney = dini_Int(file, "TaxVault");
	format(FacInfo[2][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[2][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[2][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[2][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[2][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[2][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[2][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[2][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[2][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[2][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[2][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[2][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("Government files loaded successfully.");
	// Hitman Agency
	format(file, sizeof(file), "factions/HA.ini");
	format(FacInfo[3][facMembers], 8, "%s", dini_Get(file, "HaMembers"));
	format(FacInfo[3][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[3][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[3][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[3][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[3][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[3][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[3][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[3][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[3][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[3][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[3][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[3][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[3][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[3][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[3][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[3][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[3][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[3][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[3][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[3][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[3][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[3][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[3][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("Hitman Agency files loaded successfully.");
	// News Agency
	format(file, sizeof(file), "factions/NA.ini");
	format(FacInfo[4][facMembers], 8, "%s", dini_Get(file, "NaMembers"));
	format(FacInfo[4][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[4][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[4][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[4][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[4][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[4][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[4][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[4][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[4][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[4][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[4][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	NewsMoney = dini_Int(file, "Vault");
	format(FacInfo[4][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[4][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[4][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[4][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[4][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[4][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[4][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[4][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[4][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[4][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[4][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[4][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("News Agency files loaded successfully.");
	// Leone
	format(file, sizeof(file), "factions/LEONE.ini");
	format(FacInfo[5][facMembers], 8, "%s", dini_Get(file, "LeoneMembers"));
	format(FacInfo[5][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[5][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[5][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[5][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[5][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[5][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[5][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[5][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[5][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[5][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[5][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[5][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[5][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[5][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[5][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[5][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[5][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[5][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[5][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[5][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[5][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[5][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[5][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("Leone files loaded successfully.");
	// FBI
	format(file, sizeof(file), "factions/FBI.ini");
	format(FacInfo[6][facMembers], 8, "%s", dini_Get(file, "FBIMembers"));
	format(FacInfo[6][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[6][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[6][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[6][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[6][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[6][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[6][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[6][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[6][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[6][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[6][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[6][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[6][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[6][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[6][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[6][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[6][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[6][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[6][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[6][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[6][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[6][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[6][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("FBI files loaded successfully.");
	// LSEMS
	format(file, sizeof(file), "factions/LSEMS.ini");
	format(FacInfo[7][facMembers], 8, "%s", dini_Get(file, "LSEMSMembers"));
	format(FacInfo[7][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[7][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[7][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[7][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[7][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[7][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[7][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[7][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[7][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[7][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[7][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[7][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[7][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[7][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[7][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[7][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[7][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[7][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[7][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[7][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[7][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[7][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[7][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("LSEMS files loaded successfully.");
	// HSF
	format(file, sizeof(file), "factions/HSF.ini");
	format(FacInfo[8][facMembers], 8, "%s", dini_Get(file, "HSFMembers"));
	format(FacInfo[8][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[8][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[8][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[8][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[8][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[8][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[8][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[8][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[8][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[8][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[8][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[8][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[8][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[8][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[8][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[8][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[8][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[8][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[8][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[8][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[8][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[8][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[8][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("HSF files loaded successfully.");
	// Corleone
	format(file, sizeof(file), "factions/CORLEONE.ini");
	format(FacInfo[9][facMembers], 8, "%s", dini_Get(file, "CORLEONEMembers"));
	format(FacInfo[9][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[9][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[9][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[9][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[9][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[9][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[9][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[9][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[9][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[9][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[9][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[9][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[9][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[9][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[9][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[9][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[9][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[9][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[9][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[9][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[9][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[9][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[9][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("Corleone files loaded successfully.");
	// The Ancelotti Family
	format(file, sizeof(file), "factions/ANCELOTTI.ini");
	format(FacInfo[10][facMembers], 8, "%s", dini_Get(file, "ANCELOTTIMembers"));
	format(FacInfo[10][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[10][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[10][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[10][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[10][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[10][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[10][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[10][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[10][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[10][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[10][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[10][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[10][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[10][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[10][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[10][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[10][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[10][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[10][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[10][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[10][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[10][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[10][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("The Ancelotti Family files loaded successfully.");
	// Special Weapons And Tactics
	format(file, sizeof(file), "factions/SWAT.ini");
	format(FacInfo[11][facMembers], 8, "%s", dini_Get(file, "SWATMembers"));
	format(FacInfo[11][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[11][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[11][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[11][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[11][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[11][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[11][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[11][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[11][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[11][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[11][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[11][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[11][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[11][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[11][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[11][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[11][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[11][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[11][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[11][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[11][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[11][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[11][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("Special Weapons And Tactics files loaded successfully.");
	// San Andreas Task Force
	format(file, sizeof(file), "factions/SATF.ini");
	format(FacInfo[12][facMembers], 8, "%s", dini_Get(file, "SATFMembers"));
	format(FacInfo[12][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[12][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[12][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[12][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[12][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[12][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[12][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[12][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[12][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[12][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[12][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[12][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[12][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[12][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[12][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[12][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[12][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[12][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[12][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[12][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[12][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[12][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[12][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("San Andreas Task Force files loaded successfully.");
	// East Side Fellas
	format(file, sizeof(file), "factions/ESF.ini");
	format(FacInfo[13][facMembers], 8, "%s", dini_Get(file, "ESFMembers"));
	format(FacInfo[13][fRank0], 32, "%s", dini_Get(file, "Rank0"));
	format(FacInfo[13][fRank1], 32, "%s", dini_Get(file, "Rank1"));
	format(FacInfo[13][fRank2], 32, "%s", dini_Get(file, "Rank2"));
	format(FacInfo[13][fRank3], 32, "%s", dini_Get(file, "Rank3"));
	format(FacInfo[13][fRank4], 32, "%s", dini_Get(file, "Rank4"));
	format(FacInfo[13][fRank5], 32, "%s", dini_Get(file, "Rank5"));
	format(FacInfo[13][fRank6], 32, "%s", dini_Get(file, "Rank6"));
	format(FacInfo[13][fRank7], 32, "%s", dini_Get(file, "Rank7"));
	format(FacInfo[13][fRank8], 32, "%s", dini_Get(file, "Rank8"));
	format(FacInfo[13][fRank9], 32, "%s", dini_Get(file, "Rank9"));
	format(FacInfo[13][fRank10], 32, "%s", dini_Get(file, "Rank10"));
	format(FacInfo[13][fPay0], 32, "%d", dini_Get(file, "Pay0"));
	format(FacInfo[13][fPay1], 32, "%d", dini_Get(file, "Pay1"));
	format(FacInfo[13][fPay2], 32, "%d", dini_Get(file, "Pay2"));
	format(FacInfo[13][fPay3], 32, "%d", dini_Get(file, "Pay3"));
	format(FacInfo[13][fPay4], 32, "%d", dini_Get(file, "Pay4"));
	format(FacInfo[13][fPay5], 32, "%d", dini_Get(file, "Pay5"));
	format(FacInfo[13][fPay6], 32, "%d", dini_Get(file, "Pay6"));
	format(FacInfo[13][fPay7], 32, "%d", dini_Get(file, "Pay7"));
	format(FacInfo[13][fPay8], 32, "%d", dini_Get(file, "Pay8"));
	format(FacInfo[13][fPay9], 32, "%d", dini_Get(file, "Pay9"));
	format(FacInfo[13][fPay10], 32, "%d", dini_Get(file, "Pay10"));
	format(FacInfo[13][fPay11], 32, "%d", dini_Get(file, "Pay11"));
	print("East Side Fellas files loaded successfully.");
	return 1;
}

// Families
enum famInfo
{
	fTaken,
	fName[32],
	fMOTD[64],
	fColor,
	fLeader[MAX_PLAYER_NAME],
	fMembers,
	Float:fSafeX,
	Float:fSafeY,
	Float:fSafeZ,
	fMoney,
	fMats,
	fWeed,
	fCrack,
	fRank1[32],
	fRank2[32],
	fRank3[32],
	fRank4[32],
	fRank5[32],
	fRank6[32],
	fSkins[7],
	fStrikes,
	Text3D:fText,
	fPickup,
	fVeh[5],
	fVehType[5],
	Float:fVehCoX[5],
	Float:fVehCoY[5],
	Float:fVehCoZ[5],
	fVehCol1[5],
	fVehCol2[5],
	Float:fVehRot[5]
}
new FamInfo[MAX_FAMILIES][famInfo];


stock SaveFamilies()
{
	new idx = 1, File:file;
	new string[1300];
	while(idx < MAX_FAMILIES)
	{
	    format(string, sizeof(string), "%d|%s|%s|%d|%s|%d|%f|%f|%f|%d|%d|%d|%d|%s|%s|%s|%s|%s|%s|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\r\n",
		FamInfo[idx][fTaken],
		FamInfo[idx][fName],
		FamInfo[idx][fMOTD],
		FamInfo[idx][fColor],
		FamInfo[idx][fLeader],
		FamInfo[idx][fMembers],
		FamInfo[idx][fSafeX],
		FamInfo[idx][fSafeY],
		FamInfo[idx][fSafeZ],
		FamInfo[idx][fMoney],
		FamInfo[idx][fMats],
		FamInfo[idx][fWeed],
		FamInfo[idx][fCrack],
		FamInfo[idx][fRank1],
		FamInfo[idx][fRank2],
		FamInfo[idx][fRank3],
		FamInfo[idx][fRank4],
		FamInfo[idx][fRank5],
		FamInfo[idx][fRank6],
		FamInfo[idx][fSkins][0],
		FamInfo[idx][fSkins][1],
		FamInfo[idx][fSkins][2],
		FamInfo[idx][fSkins][3],
		FamInfo[idx][fSkins][4],
		FamInfo[idx][fSkins][5],
		FamInfo[idx][fSkins][6],
		FamInfo[idx][fStrikes],
		FamInfo[idx][fVehType][0], // Veh 1
		FamInfo[idx][fVehType][1], // Veh 2
		FamInfo[idx][fVehType][2], // Veh 3
		FamInfo[idx][fVehType][3], // Veh 4
		FamInfo[idx][fVehType][4], // Veh 5
		FamInfo[idx][fVehCoX][0], // Veh 1 Coords
		FamInfo[idx][fVehCoY][0],
		FamInfo[idx][fVehCoZ][0],
		FamInfo[idx][fVehCoX][1], // Veh 2 Coords
		FamInfo[idx][fVehCoY][1],
		FamInfo[idx][fVehCoZ][1],
		FamInfo[idx][fVehCoX][2], // Veh 3 Coords
		FamInfo[idx][fVehCoY][2],
		FamInfo[idx][fVehCoZ][2],
		FamInfo[idx][fVehCoX][3], // Veh 4 Coords
		FamInfo[idx][fVehCoY][3],
		FamInfo[idx][fVehCoZ][3],
		FamInfo[idx][fVehCoX][4], // Veh 5 Coords
		FamInfo[idx][fVehCoY][4],
		FamInfo[idx][fVehCoZ][4],
		FamInfo[idx][fVehRot][0],
		FamInfo[idx][fVehRot][1],
		FamInfo[idx][fVehRot][2],
		FamInfo[idx][fVehRot][3],
		FamInfo[idx][fVehRot][4],
		FamInfo[idx][fVehCol1][0],
		FamInfo[idx][fVehCol1][1],
		FamInfo[idx][fVehCol1][2],
		FamInfo[idx][fVehCol1][3],
		FamInfo[idx][fVehCol1][4],
		FamInfo[idx][fVehCol2][0],
		FamInfo[idx][fVehCol2][1],
		FamInfo[idx][fVehCol2][2],
		FamInfo[idx][fVehCol2][3],
		FamInfo[idx][fVehCol2][4]);
	    if(idx == 1)
	    {
	        file = fopen("families.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("families.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Families saved successfully.");
}

stock LoadFamilies()
{
	new finfo[62][48];
	new string[512];
	new File:file = fopen("families.cfg", io_read);
	if(file)
	{
	    new idx = 1;
		while(idx < MAX_FAMILIES)
		{
		    fread(file, string);
		    split(string, finfo, '|');
			FamInfo[idx][fTaken] = strval(finfo[0]);
			format(FamInfo[idx][fName], 32, "%s", finfo[1]);
			format(FamInfo[idx][fMOTD], 64, "%s", finfo[2]);
			FamInfo[idx][fColor] = strval(finfo[3]);
			format(FamInfo[idx][fLeader], MAX_PLAYER_NAME, "%s", finfo[4]);
			FamInfo[idx][fMembers] = strval(finfo[5]);
			FamInfo[idx][fSafeX] = floatstr(finfo[6]);
			FamInfo[idx][fSafeY] = floatstr(finfo[7]);
			FamInfo[idx][fSafeZ] = floatstr(finfo[8]);
			FamInfo[idx][fMoney] = strval(finfo[9]);
			FamInfo[idx][fMats] = strval(finfo[10]);
			FamInfo[idx][fWeed] = strval(finfo[11]);
			FamInfo[idx][fCrack] = strval(finfo[12]);
			format(FamInfo[idx][fRank1], 32, "%s", finfo[13]);
			format(FamInfo[idx][fRank2], 32, "%s", finfo[14]);
			format(FamInfo[idx][fRank3], 32, "%s", finfo[15]);
			format(FamInfo[idx][fRank4], 32, "%s", finfo[16]);
			format(FamInfo[idx][fRank5], 32, "%s", finfo[17]);
			format(FamInfo[idx][fRank6], 32, "%s", finfo[18]);
			FamInfo[idx][fSkins][0] = strval(finfo[19]);
			FamInfo[idx][fSkins][1] = strval(finfo[20]);
			FamInfo[idx][fSkins][2] = strval(finfo[21]);
			FamInfo[idx][fSkins][3] = strval(finfo[22]);
			FamInfo[idx][fSkins][4] = strval(finfo[23]);
			FamInfo[idx][fSkins][5] = strval(finfo[24]);
			FamInfo[idx][fSkins][6] = strval(finfo[25]);
			FamInfo[idx][fStrikes] = strval(finfo[26]);
			FamInfo[idx][fVehType][0] = strval(finfo[27]);
			FamInfo[idx][fVehType][1] = strval(finfo[28]);
			FamInfo[idx][fVehType][2] = strval(finfo[29]);
			FamInfo[idx][fVehType][3] = strval(finfo[30]);
			FamInfo[idx][fVehType][4] = strval(finfo[31]);
			FamInfo[idx][fVehCoX][0] = floatstr(finfo[32]);
			FamInfo[idx][fVehCoY][0] = floatstr(finfo[33]);
			FamInfo[idx][fVehCoZ][0] = floatstr(finfo[34]);
			FamInfo[idx][fVehCoX][1] = floatstr(finfo[35]);
			FamInfo[idx][fVehCoY][1] = floatstr(finfo[36]);
			FamInfo[idx][fVehCoZ][1] = floatstr(finfo[37]);
			FamInfo[idx][fVehCoX][2] = floatstr(finfo[38]);
			FamInfo[idx][fVehCoY][2] = floatstr(finfo[39]);
			FamInfo[idx][fVehCoZ][2] = floatstr(finfo[40]);
			FamInfo[idx][fVehCoX][3] = floatstr(finfo[41]);
			FamInfo[idx][fVehCoY][3] = floatstr(finfo[42]);
			FamInfo[idx][fVehCoZ][3] = floatstr(finfo[43]);
			FamInfo[idx][fVehCoX][4] = floatstr(finfo[44]);
			FamInfo[idx][fVehCoY][4] = floatstr(finfo[45]);
			FamInfo[idx][fVehCoZ][4] = floatstr(finfo[46]);
			FamInfo[idx][fVehRot][0] = strval(finfo[47]); // Rot
			FamInfo[idx][fVehRot][1] = strval(finfo[48]);
			FamInfo[idx][fVehRot][2] = strval(finfo[49]);
			FamInfo[idx][fVehRot][3] = strval(finfo[50]);
			FamInfo[idx][fVehRot][4] = strval(finfo[51]);
			FamInfo[idx][fVehCol1][0] = strval(finfo[52]); // Colors
			FamInfo[idx][fVehCol1][1] = strval(finfo[53]);
			FamInfo[idx][fVehCol1][2] = strval(finfo[54]);
			FamInfo[idx][fVehCol1][3] = strval(finfo[55]);
			FamInfo[idx][fVehCol1][4] = strval(finfo[56]);
			FamInfo[idx][fVehCol2][0] = strval(finfo[57]);
			FamInfo[idx][fVehCol2][1] = strval(finfo[58]);
			FamInfo[idx][fVehCol2][2] = strval(finfo[59]);
			FamInfo[idx][fVehCol2][3] = strval(finfo[60]);
			FamInfo[idx][fVehCol2][4] = strval(finfo[61]);

			if(FamInfo[idx][fSafeX] != 0 && FamInfo[idx][fSafeY] != 0 && FamInfo[idx][fSafeZ] != 0)
			{
			    FamInfo[idx][fPickup] = CreateDynamicPickup(1239, 1, FamInfo[idx][fSafeX], FamInfo[idx][fSafeY], FamInfo[idx][fSafeZ], -1);
				format(string, sizeof(string), "%s's Safe", FamInfo[idx][fName]);
		    	FamInfo[idx][fText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, FamInfo[idx][fSafeX], FamInfo[idx][fSafeY], FamInfo[idx][fSafeZ]+0.3, 15);
			}
			for(new i=0; i<5; i++)
			{
			    if(FamInfo[idx][fVehType][i])
			    {
			        FamInfo[idx][fVeh][i] = CreateVehicle(FamInfo[idx][fVehType][i], FamInfo[idx][fVehCoX][i], FamInfo[idx][fVehCoY][i], FamInfo[idx][fVehCoZ][i], FamInfo[idx][fVehRot][i], FamInfo[idx][fVehCol1][i], FamInfo[idx][fVehCol2][i], 12000);
                   	ChangeVehicleColor(FamInfo[idx][fVeh][i], FamInfo[idx][fVehCol1][i], FamInfo[idx][fVehCol2][i]);
                   	Fam[FamInfo[idx][fVeh][i]] = idx;
			    }
			}
			idx++;
	    }
	}
	print("Families loaded successfully.");
	return 1;
}

/*stock SaveChar(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		if(PlayerInfo[playerid][pTutorial])
	    {
			new string3[32];
			new playername3[MAX_PLAYER_NAME];
			GetPlayerName(playerid, playername3, sizeof(playername3));
			format(string3, sizeof(string3), "users/%s.ini", playername3);
			if(!dini_Exists(string3)) dini_Create(string3);
			new File: hFile = fopen(string3, io_write);
			if (hFile)
			{
				new var[156];
				if(!Event[playerid])
				{
					PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
					PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
					GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
					GetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
					GetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
				}
				if(PlayerInfo[playerid][pLevel] == 0) PlayerInfo[playerid][pLevel] = 1;
				PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
				if(PlayerInfo[playerid][vModel])
				{
					GetVehiclePos(PlayerInfo[playerid][pVeh],PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
					GetVehicleZAngle(PlayerInfo[playerid][pVeh],PlayerInfo[playerid][vA]);
				}
				if(PlayerInfo[playerid][vBModel])
				{
					GetVehiclePos(PlayerInfo[playerid][pBVeh],PlayerInfo[playerid][vBX], PlayerInfo[playerid][vBY], PlayerInfo[playerid][vBZ]);
					GetVehicleZAngle(PlayerInfo[playerid][pBVeh],PlayerInfo[playerid][vBA]);
				}
				if(PlayerInfo[playerid][vVModel])
				{
					GetVehiclePos(PlayerInfo[playerid][pVVeh],PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
					GetVehicleZAngle(PlayerInfo[playerid][pVVeh],PlayerInfo[playerid][vVA]);
				}
				SaveZaiatAmmo(playerid);
				// Save
				format(var, 32, "IP=%d\n", PlayerInfo[playerid][pIP]);fwrite(hFile, var);
				format(var, 32, "Gender=%s\n", PlayerInfo[playerid][pGender]);fwrite(hFile, var);
				format(var, 32, "Level=%d\n", PlayerInfo[playerid][pLevel]);fwrite(hFile, var);
				format(var, 32, "Minutes=%d\n", PlayerInfo[playerid][pMinutes]);fwrite(hFile, var);
				format(var, 32, "Hours=%d\n", PlayerInfo[playerid][pHours]);fwrite(hFile, var);
				format(var, 32, "Age=%d\n", PlayerInfo[playerid][pAge]);fwrite(hFile, var);
				format(var, 32, "Cash=%d\n", PlayerInfo[playerid][pMoney]);fwrite(hFile, var);
				format(var, 32, "Bank=%d\n", PlayerInfo[playerid][pBank]);fwrite(hFile, var);
				format(var, 32, "Model=%d\n", PlayerInfo[playerid][pModel]);fwrite(hFile, var);
				format(var, 32, "Admin=%d\n", PlayerInfo[playerid][pAdmin]);fwrite(hFile, var);
				format(var, 32, "X=%.1f\n", PlayerInfo[playerid][pX]);fwrite(hFile, var);
				format(var, 32, "Y=%.1f\n", PlayerInfo[playerid][pY]);fwrite(hFile, var);
				format(var, 32, "Z=%.1f\n", PlayerInfo[playerid][pZ]);fwrite(hFile, var);
				format(var, 32, "Int=%d\n", PlayerInfo[playerid][pInt]);fwrite(hFile, var);
				format(var, 32, "VW=%d\n", PlayerInfo[playerid][pVW]);fwrite(hFile, var);
				format(var, 32, "Fac=%d\n", PlayerInfo[playerid][pFac]);fwrite(hFile, var);
				format(var, 32, "FacRank=%d\n", PlayerInfo[playerid][pFacRank]);fwrite(hFile, var);
				format(var, 32, "FacLeader=%d\n", PlayerInfo[playerid][pFacLeader]);fwrite(hFile, var);
				format(var, 32, "FacDiv=%d\n", PlayerInfo[playerid][pFacDiv]);fwrite(hFile, var);
				format(var, 32, "FacDivLeader=%d\n", PlayerInfo[playerid][pFacDivLeader]);fwrite(hFile, var);
				format(var, 32, "Duty=%d\n", PlayerInfo[playerid][pFacDuty]);fwrite(hFile, var);
				format(var, 32, "wSlot0=%d\n", PlayerInfo[playerid][pWeapon][0]);fwrite(hFile, var);
				format(var, 32, "wSlot0Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][0]);fwrite(hFile, var);
				format(var, 32, "wSlot1=%d\n", PlayerInfo[playerid][pWeapon][1]);fwrite(hFile, var);
				format(var, 32, "wSlot1Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][1]);fwrite(hFile, var);
				format(var, 32, "wSlot2=%d\n", PlayerInfo[playerid][pWeapon][2]);fwrite(hFile, var);
				format(var, 32, "wSlot2Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][2]);fwrite(hFile, var);
				format(var, 32, "wSlot3=%d\n", PlayerInfo[playerid][pWeapon][3]);fwrite(hFile, var);
				format(var, 32, "wSlot3Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][3]);fwrite(hFile, var);
				format(var, 32, "wSlot4=%d\n", PlayerInfo[playerid][pWeapon][4]);fwrite(hFile, var);
				format(var, 32, "wSlot4Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][4]);fwrite(hFile, var);
				format(var, 32, "wSlot5=%d\n", PlayerInfo[playerid][pWeapon][5]);fwrite(hFile, var);
				format(var, 32, "wSlot5Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][5]);fwrite(hFile, var);
				format(var, 32, "wSlot6=%d\n", PlayerInfo[playerid][pWeapon][6]);fwrite(hFile, var);
				format(var, 32, "wSlot6Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][6]);fwrite(hFile, var);
				format(var, 32, "wSlot7=%d\n", PlayerInfo[playerid][pWeapon][7]);fwrite(hFile, var);
				format(var, 32, "wSlot7Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][7]);fwrite(hFile, var);
				format(var, 32, "wSlot8=%d\n", PlayerInfo[playerid][pWeapon][8]);fwrite(hFile, var);
				format(var, 32, "wSlot8Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][8]);fwrite(hFile, var);
				format(var, 32, "wSlot9=%d\n", PlayerInfo[playerid][pWeapon][9]);fwrite(hFile, var);
				format(var, 32, "wSlot9Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][9]);fwrite(hFile, var);
				format(var, 32, "wSlot10=%d\n", PlayerInfo[playerid][pWeapon][10]);fwrite(hFile, var);
				format(var, 32, "wSlot10Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][10]);fwrite(hFile, var);
				format(var, 32, "wSlot11=%d\n", PlayerInfo[playerid][pWeapon][11]);fwrite(hFile, var);
				format(var, 32, "wSlot11Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][11]);fwrite(hFile, var);
				format(var, 32, "wSlot12=%d\n", PlayerInfo[playerid][pWeapon][12]);fwrite(hFile, var);
				format(var, 32, "wSlot12Ammo=%d\n", PlayerInfo[playerid][pWeaponAmmo][12]);fwrite(hFile, var);
				format(var, 32, "Hospital=%d\n", PlayerInfo[playerid][pHospital]);fwrite(hFile, var);
				format(var, 32, "Business=%d\n", PlayerInfo[playerid][pBiz]);fwrite(hFile, var);
				format(var, 32, "VBusiness=%d\n", PlayerInfo[playerid][pVBiz]);fwrite(hFile, var);
				format(var, 32, "House=%d\n", PlayerInfo[playerid][pHouse]);fwrite(hFile, var);
				format(var, 32, "Garage=%d\n", PlayerInfo[playerid][pGarage]);fwrite(hFile, var);
				format(var, 32, "HouseOwner=%d\n", PlayerInfo[playerid][pSafeAdmin]);fwrite(hFile, var);
				format(var, 32, "vHouse=%d\n", PlayerInfo[playerid][pVHouse]);fwrite(hFile, var);
				format(var, 32, "BizOwner=%d\n", PlayerInfo[playerid][pOwner]);fwrite(hFile, var);
				format(var, 32, "Job=%d\n", PlayerInfo[playerid][pJob]);fwrite(hFile, var);
				format(var, 32, "Mechanic=%d\n", PlayerInfo[playerid][pJobSkill][JOB_MECHANIC]);fwrite(hFile, var);
				format(var, 32, "Lawyer=%d\n", PlayerInfo[playerid][pJobSkill][JOB_LAWYER]);fwrite(hFile, var);
				format(var, 32, "Trucker=%d\n", PlayerInfo[playerid][pJobSkill][JOB_TRUCKER]);fwrite(hFile, var);
				format(var, 32, "Fisher=%d\n", PlayerInfo[playerid][pJobSkill][JOB_FISHER]);fwrite(hFile, var);
				format(var, 32, "WDealer=%d\n", PlayerInfo[playerid][pJobSkill][JOB_WDEALER]);fwrite(hFile, var);
				format(var, 32, "DDealer=%d\n", PlayerInfo[playerid][pJobSkill][JOB_DDEALER]);fwrite(hFile, var);
				format(var, 32, "DSmuggler=%d\n", PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER]);fwrite(hFile, var);
				format(var, 32, "CarJacker=%d\n", PlayerInfo[playerid][pJobSkill][JOB_CARJACKER]);fwrite(hFile, var);
				format(var, 32, "Boxer=%d\n", PlayerInfo[playerid][pJobSkill][JOB_BOXER]);fwrite(hFile, var);
				format(var, 32, "Thief=%d\n", PlayerInfo[playerid][pJobSkill][JOB_THIEF]);fwrite(hFile, var);
				format(var, 32, "TPackages=%d\n", PlayerInfo[playerid][pTPackages]);fwrite(hFile, var);
				format(var, 32, "WPackages=%d\n", PlayerInfo[playerid][pMPackages]);fwrite(hFile, var);
				format(var, 32, "Materials=%d\n", PlayerInfo[playerid][pMaterials]);fwrite(hFile, var);
				format(var, 32, "HasCellphone=%d\n", PlayerInfo[playerid][pHasCellphone]);fwrite(hFile, var);
				format(var, 32, "Cellphone=%d\n", PlayerInfo[playerid][pCellphone]);fwrite(hFile, var);
				format(var, 32, "Phonebook=%d\n", PlayerInfo[playerid][pPhonebook]);fwrite(hFile, var);
				format(var, 32, "Dice=%d\n", PlayerInfo[playerid][pDice]);fwrite(hFile, var);
				format(var, 32, "Cigar=%d\n", PlayerInfo[playerid][pCigar]);fwrite(hFile, var);
				format(var, 32, "Speedo=%d\n", PlayerInfo[playerid][pSpeedo]);fwrite(hFile, var);
				format(var, 32, "Sprunk=%d\n", PlayerInfo[playerid][pSprunk]);fwrite(hFile, var);
				format(var, 32, "Spray=%d\n", PlayerInfo[playerid][pSpray]);fwrite(hFile, var);
				format(var, 32, "Rope=%d\n", PlayerInfo[playerid][pRope]);fwrite(hFile, var);
				format(var, 32, "Blindfold=%d\n", PlayerInfo[playerid][pBlindfold]);fwrite(hFile, var);
				format(var, 32, "WT=%d\n", PlayerInfo[playerid][pWT]);fwrite(hFile, var);
				format(var, 32, "WTC=%d\n", PlayerInfo[playerid][pWTC]);fwrite(hFile, var);
				format(var, 32, "Gas=%d\n", PlayerInfo[playerid][pGas]);fwrite(hFile, var);
				format(var, 32, "Radio=%d\n", PlayerInfo[playerid][pRadio]);fwrite(hFile, var);
				format(var, 32, "Health=%.1f\n", PlayerInfo[playerid][pHealth]);fwrite(hFile, var);
				format(var, 32, "Armor=%.1f\n", PlayerInfo[playerid][pArmor]);fwrite(hFile, var);
				format(var, 32, "Internet=%d\n", PlayerInfo[playerid][pInternet]);fwrite(hFile, var);
				format(var, 32, "Song1=%d\n", PlayerInfo[playerid][pSong][1]);fwrite(hFile, var);
				format(var, 32, "Song2=%d\n", PlayerInfo[playerid][pSong][2]);fwrite(hFile, var);
				format(var, 32, "Prison=%d\n", PlayerInfo[playerid][pPrison]);fwrite(hFile, var);
				format(var, 32, "PrisonTime=%d\n", PlayerInfo[playerid][pPrisonTime]);fwrite(hFile, var);
				format(var, 32, "PrisonReason=%s\n", PlayerInfo[playerid][pPrisonReason]);fwrite(hFile, var);
				format(var, 32, "PrisonBy=%s\n", PlayerInfo[playerid][pPrisonBy]);fwrite(hFile, var);
				format(var, 32, "Wanted=%d\n", PlayerInfo[playerid][pWanted]);fwrite(hFile, var);
				format(var, 32, "Wanted1=%s\n", PlayerInfo[playerid][pWanted1]);fwrite(hFile, var);
				format(var, 32, "Wanted2=%s\n", PlayerInfo[playerid][pWanted2]);fwrite(hFile, var);
				format(var, 32, "Wanted3=%s\n", PlayerInfo[playerid][pWanted3]);fwrite(hFile, var);
				format(var, 32, "Wanted4=%s\n", PlayerInfo[playerid][pWanted4]);fwrite(hFile, var);
				format(var, 32, "Wanted5=%s\n", PlayerInfo[playerid][pWanted5]);fwrite(hFile, var);
				format(var, 32, "Wanted6=%s\n", PlayerInfo[playerid][pWanted6]);fwrite(hFile, var);
				format(var, 32, "Crimes=%d\n", PlayerInfo[playerid][pCrimes]);fwrite(hFile, var);
				format(var, 32, "Arrested=%d\n", PlayerInfo[playerid][pArrested]);fwrite(hFile, var);
				format(var, 32, "DPackages=%d\n", PlayerInfo[playerid][pDPackages]);fwrite(hFile, var);
				format(var, 32, "Weed=%d\n", PlayerInfo[playerid][pWeed]);fwrite(hFile, var);
				format(var, 32, "Crack=%d\n", PlayerInfo[playerid][pCrack]);fwrite(hFile, var);
				format(var, 32, "Contract=%d\n", PlayerInfo[playerid][pContract]);fwrite(hFile, var);
				format(var, 32, "ContractBy=%s\n", PlayerInfo[playerid][pContractBy]);fwrite(hFile, var);
				format(var, 32, "ContractDetail=%s\n", PlayerInfo[playerid][pContractDetail]);fwrite(hFile, var);
				format(var, 32, "Tutorial=%d\n", PlayerInfo[playerid][pTutorial]);fwrite(hFile, var);
				format(var, 32, "Warns=%d\n", PlayerInfo[playerid][pWarns]);fwrite(hFile, var);
				format(var, 32, "Warn1=%s\n", PlayerInfo[playerid][pWarn1]);fwrite(hFile, var);
				format(var, 32, "Warn2=%s\n", PlayerInfo[playerid][pWarn2]);fwrite(hFile, var);
				format(var, 32, "Warn3=%s\n", PlayerInfo[playerid][pWarn3]);fwrite(hFile, var);
				format(var, 32, "Warn4=%s\n", PlayerInfo[playerid][pWarn4]);fwrite(hFile, var);
				format(var, 32, "Warn5=%s\n", PlayerInfo[playerid][pWarn5]);fwrite(hFile, var);
				format(var, 32, "Flag=%s\n", PlayerInfo[playerid][pFlag]);fwrite(hFile, var);
				format(var, 32, "NMute=%d\n", PlayerInfo[playerid][pNMute]);fwrite(hFile, var);
				format(var, 32, "Mute=%d\n", PlayerInfo[playerid][pMute]);fwrite(hFile, var);
				format(var, 32, "RMute=%d\n", PlayerInfo[playerid][pRMute]);fwrite(hFile, var);
				format(var, 32, "SpawnFreeze=%d\n", PlayerInfo[playerid][pSpawnFreeze]);fwrite(hFile, var);
				format(var, 32, "Fam=%d\n", PlayerInfo[playerid][pFam]);fwrite(hFile, var);
				format(var, 32, "FamRank=%d\n", PlayerInfo[playerid][pFamRank]);fwrite(hFile, var);
				format(var, 32, "CSuccess=%d\n", PlayerInfo[playerid][pCSuccess]);fwrite(hFile, var);
				format(var, 32, "CFail=%d\n", PlayerInfo[playerid][pCFail]);fwrite(hFile, var);
				format(var, 32, "Helper=%d\n", PlayerInfo[playerid][pHelper]);fwrite(hFile, var);
				format(var, 32, "vModel=%d\n", PlayerInfo[playerid][vModel]);fwrite(hFile, var);
				format(var, 32, "vX=%.1f\n", PlayerInfo[playerid][vX]);fwrite(hFile, var);
				format(var, 32, "vY=%.1f\n", PlayerInfo[playerid][vY]);fwrite(hFile, var);
				format(var, 32, "vZ=%.1f\n", PlayerInfo[playerid][vZ]);fwrite(hFile, var);
				format(var, 32, "vA=%.1f\n", PlayerInfo[playerid][vA]);fwrite(hFile, var);
				format(var, 32, "vC1=%d\n", PlayerInfo[playerid][vC1]);fwrite(hFile, var);
				format(var, 32, "vC2=%d\n", PlayerInfo[playerid][vC2]);fwrite(hFile, var);
				format(var, 32, "vPJ=%d\n", PlayerInfo[playerid][vPJ]);fwrite(hFile, var);
				format(var, 32, "vLocked=%d\n", PlayerInfo[playerid][vLocked]);fwrite(hFile, var);
				format(var, 32, "GangMod=%d\n", PlayerInfo[playerid][pGangMod]);fwrite(hFile, var);
				format(var, 32, "FacMod=%d\n", PlayerInfo[playerid][pFacMod]);fwrite(hFile, var);
				format(var, 32, "BanAppealer=%d\n", PlayerInfo[playerid][pBanAppealer]);fwrite(hFile, var);
				format(var, 32, "DoorMod=%d\n", PlayerInfo[playerid][pDoorMod]);fwrite(hFile, var);
				format(var, 32, "BizMod=%d\n", PlayerInfo[playerid][pBizMod]);fwrite(hFile, var);
				format(var, 32, "HouseMod=%d\n", PlayerInfo[playerid][pHouseMod]);fwrite(hFile, var);
				format(var, 32, "GameAffairs=%d\n", PlayerInfo[playerid][pGameAffairs]);fwrite(hFile, var);
				format(var, 32, "CarLicense=%d\n", PlayerInfo[playerid][pCarLic]);fwrite(hFile, var);
				format(var, 32, "PilotLicense=%d\n", PlayerInfo[playerid][pPilotLic]);fwrite(hFile, var);
				format(var, 32, "FireArmsLicense=%d\n", PlayerInfo[playerid][pFireArmsLic]);fwrite(hFile, var);
				format(var, 32, "Accent=%s\n", PlayerInfo[playerid][pAccent]);fwrite(hFile, var);
				format(var, 32, "vModSlot0=%d\n", PlayerInfo[playerid][pVehMod][0]);fwrite(hFile, var);
				format(var, 32, "vModSlot1=%d\n", PlayerInfo[playerid][pVehMod][1]);fwrite(hFile, var);
				format(var, 32, "vModSlot2=%d\n", PlayerInfo[playerid][pVehMod][2]);fwrite(hFile, var);
				format(var, 32, "vModSlot3=%d\n", PlayerInfo[playerid][pVehMod][3]);fwrite(hFile, var);
				format(var, 32, "vModSlot4=%d\n", PlayerInfo[playerid][pVehMod][4]);fwrite(hFile, var);
				format(var, 32, "vModSlot5=%d\n", PlayerInfo[playerid][pVehMod][5]);fwrite(hFile, var);
				format(var, 32, "vModSlot6=%d\n", PlayerInfo[playerid][pVehMod][6]);fwrite(hFile, var);
				format(var, 32, "vModSlot7=%d\n", PlayerInfo[playerid][pVehMod][7]);fwrite(hFile, var);
				format(var, 32, "vModSlot8=%d\n", PlayerInfo[playerid][pVehMod][8]);fwrite(hFile, var);
				format(var, 32, "vModSlot9=%d\n", PlayerInfo[playerid][pVehMod][9]);fwrite(hFile, var);
				format(var, 32, "vModSlot10=%d\n", PlayerInfo[playerid][pVehMod][10]);fwrite(hFile, var);
				format(var, 32, "vModSlot11=%d\n", PlayerInfo[playerid][pVehMod][11]);fwrite(hFile, var);
				format(var, 32, "vModSlot12=%d\n", PlayerInfo[playerid][pVehMod][12]);fwrite(hFile, var);
				format(var, 32, "vModSlot13=%d\n", PlayerInfo[playerid][pVehMod][13]);fwrite(hFile, var);
				format(var, 32, "VIP=%d\n", PlayerInfo[playerid][pVIP]);fwrite(hFile, var);
				format(var, 32, "VIPBuddy=%d\n", PlayerInfo[playerid][pVIPBuddy]);fwrite(hFile, var);
				format(var, 32, "VIPDay=%d\n", PlayerInfo[playerid][pVIPDay]);fwrite(hFile, var);
				format(var, 32, "VIPMonth=%d\n", PlayerInfo[playerid][pVIPMonth]);fwrite(hFile, var);
				format(var, 32, "VIPHour=%d\n", PlayerInfo[playerid][pVIPHour]);fwrite(hFile, var);
				format(var, 32, "VIPJob=%d\n", PlayerInfo[playerid][pVIPJob]);fwrite(hFile, var);
				format(var, 32, "VIPTemp=%d\n", PlayerInfo[playerid][pVIPTemp]);fwrite(hFile, var);		
				format(var, 32, "vBModel=%d\n", PlayerInfo[playerid][vBModel]);fwrite(hFile, var);
				format(var, 32, "vBX=%.1f\n", PlayerInfo[playerid][vBX]);fwrite(hFile, var);
				format(var, 32, "vBY=%.1f\n", PlayerInfo[playerid][vBY]);fwrite(hFile, var);
				format(var, 32, "vBZ=%.1f\n", PlayerInfo[playerid][vBZ]);fwrite(hFile, var);
				format(var, 32, "vBA=%.1f\n", PlayerInfo[playerid][vBA]);fwrite(hFile, var);
				format(var, 32, "vBC1=%d\n", PlayerInfo[playerid][vBC1]);fwrite(hFile, var);
				format(var, 32, "vBC2=%d\n", PlayerInfo[playerid][vBC2]);fwrite(hFile, var);
				format(var, 32, "vBPJ=%d\n", PlayerInfo[playerid][vBPJ]);fwrite(hFile, var);
				format(var, 32, "vBLocked=%d\n", PlayerInfo[playerid][vBLocked]);fwrite(hFile, var);
				format(var, 32, "vBModSlot0=%d\n", PlayerInfo[playerid][pBVehMod][0]);fwrite(hFile, var);
				format(var, 32, "vBModSlot1=%d\n", PlayerInfo[playerid][pBVehMod][1]);fwrite(hFile, var);
				format(var, 32, "vBModSlot2=%d\n", PlayerInfo[playerid][pBVehMod][2]);fwrite(hFile, var);
				format(var, 32, "vBModSlot3=%d\n", PlayerInfo[playerid][pBVehMod][3]);fwrite(hFile, var);
				format(var, 32, "vBModSlot4=%d\n", PlayerInfo[playerid][pBVehMod][4]);fwrite(hFile, var);
				format(var, 32, "vBModSlot5=%d\n", PlayerInfo[playerid][pBVehMod][5]);fwrite(hFile, var);
				format(var, 32, "vBModSlot6=%d\n", PlayerInfo[playerid][pBVehMod][6]);fwrite(hFile, var);
				format(var, 32, "vBModSlot7=%d\n", PlayerInfo[playerid][pBVehMod][7]);fwrite(hFile, var);
				format(var, 32, "vBModSlot8=%d\n", PlayerInfo[playerid][pBVehMod][8]);fwrite(hFile, var);
				format(var, 32, "vBModSlot9=%d\n", PlayerInfo[playerid][pBVehMod][9]);fwrite(hFile, var);
				format(var, 32, "vBModSlot10=%d\n", PlayerInfo[playerid][pBVehMod][10]);fwrite(hFile, var);
				format(var, 32, "vBModSlot11=%d\n", PlayerInfo[playerid][pBVehMod][11]);fwrite(hFile, var);
				format(var, 32, "vBModSlot12=%d\n", PlayerInfo[playerid][pBVehMod][12]);fwrite(hFile, var);
				format(var, 32, "vBModSlot13=%d\n", PlayerInfo[playerid][pBVehMod][13]);fwrite(hFile, var);
				format(var, 32, "vVModel=%d\n", PlayerInfo[playerid][vVModel]);fwrite(hFile, var);
				format(var, 32, "vVX=%.1f\n", PlayerInfo[playerid][vVX]);fwrite(hFile, var);
				format(var, 32, "vVY=%.1f\n", PlayerInfo[playerid][vVY]);fwrite(hFile, var);
				format(var, 32, "vVZ=%.1f\n", PlayerInfo[playerid][vVZ]);fwrite(hFile, var);
				format(var, 32, "vVA=%.1f\n", PlayerInfo[playerid][vVA]);fwrite(hFile, var);
				format(var, 32, "vVC1=%d\n", PlayerInfo[playerid][vVC1]);fwrite(hFile, var);
				format(var, 32, "vVC2=%d\n", PlayerInfo[playerid][vVC2]);fwrite(hFile, var);
				format(var, 32, "vVPJ=%d\n", PlayerInfo[playerid][vVPJ]);fwrite(hFile, var);
				format(var, 32, "vVLocked=%d\n", PlayerInfo[playerid][vVLocked]);fwrite(hFile, var);
				format(var, 32, "vVModSlot0=%d\n", PlayerInfo[playerid][pVVehMod][0]);fwrite(hFile, var);
				format(var, 32, "vVModSlot1=%d\n", PlayerInfo[playerid][pVVehMod][1]);fwrite(hFile, var);
				format(var, 32, "vVModSlot2=%d\n", PlayerInfo[playerid][pVVehMod][2]);fwrite(hFile, var);
				format(var, 32, "vVModSlot3=%d\n", PlayerInfo[playerid][pVVehMod][3]);fwrite(hFile, var);
				format(var, 32, "vVModSlot4=%d\n", PlayerInfo[playerid][pVVehMod][4]);fwrite(hFile, var);
				format(var, 32, "vVModSlot5=%d\n", PlayerInfo[playerid][pVVehMod][5]);fwrite(hFile, var);
				format(var, 32, "vVModSlot6=%d\n", PlayerInfo[playerid][pVVehMod][6]);fwrite(hFile, var);
				format(var, 32, "vVModSlot7=%d\n", PlayerInfo[playerid][pVVehMod][7]);fwrite(hFile, var);
				format(var, 32, "vVModSlot8=%d\n", PlayerInfo[playerid][pVVehMod][8]);fwrite(hFile, var);
				format(var, 32, "vVModSlot9=%d\n", PlayerInfo[playerid][pVVehMod][9]);fwrite(hFile, var);
				format(var, 32, "vVModSlot10=%d\n", PlayerInfo[playerid][pVVehMod][10]);fwrite(hFile, var);
				format(var, 32, "vVModSlot11=%d\n", PlayerInfo[playerid][pVVehMod][11]);fwrite(hFile, var);
				format(var, 32, "vVModSlot12=%d\n", PlayerInfo[playerid][pVVehMod][12]);fwrite(hFile, var);
				format(var, 32, "vVModSlot13=%d\n", PlayerInfo[playerid][pVVehMod][13]);fwrite(hFile, var);
				format(var, 32, "DeliverTruck=%d\n", PlayerInfo[playerid][pDeliverTruck]);fwrite(hFile, var);
				format(var, 32, "New=%d\n", PlayerInfo[playerid][pNew]);fwrite(hFile, var);
				format(var, 32, "RefPoints=%d\n", PlayerInfo[playerid][pRefPoints]);fwrite(hFile, var);
				format(var, 32, "Tester=%d\n", PlayerInfo[playerid][pTester]);fwrite(hFile, var);
				format(var, 32, "FightStyle=%d\n", PlayerInfo[playerid][pFightStyle]);fwrite(hFile, var);
				format(var, 32, "Scope=%d\n", PlayerInfo[playerid][pScope]);fwrite(hFile, var);
				format(var, 32, "Cookies=%d\n", PlayerInfo[playerid][pCookies]);fwrite(hFile, var);
				format(var, 32, "Oldskool=%d\n", PlayerInfo[playerid][pOldskool]);fwrite(hFile, var);
				format(var, 32, "Reward=%d\n", PlayerInfo[playerid][pReward]);fwrite(hFile, var);
				format(var, 32, "Fish1=%d\n", PlayerInfo[playerid][pFish][0]);fwrite(hFile, var);
				format(var, 32, "Fish2=%d\n", PlayerInfo[playerid][pFish][1]);fwrite(hFile, var);
				format(var, 32, "Fish3=%d\n", PlayerInfo[playerid][pFish][2]);fwrite(hFile, var);
				format(var, 32, "Fish4=%d\n", PlayerInfo[playerid][pFish][3]);fwrite(hFile, var);
				format(var, 32, "Fish5=%d\n", PlayerInfo[playerid][pFish][4]);fwrite(hFile, var);
				SaveToys(playerid, string3); // Still in DINI Mode
				format(var, 32, "Loyal=%d\n", PlayerInfo[playerid][pLoyal]);fwrite(hFile, var);
				format(var, 32, "LoyalTag=%d\n", PlayerInfo[playerid][pLoyalTag]);fwrite(hFile, var);
				format(var, 32, "LPoints=%d\n", PlayerInfo[playerid][pLPoints]);fwrite(hFile, var);
				format(var, 32, "Gate1=%d\n", PlayerInfo[playerid][pGate][0]);fwrite(hFile, var);
				format(var, 32, "Gate2=%d\n", PlayerInfo[playerid][pGate][1]);fwrite(hFile, var);
				format(var, 32, "Gate3=%d\n", PlayerInfo[playerid][pGate][2]);fwrite(hFile, var);
				format(var, 32, "Mask=%d\n", PlayerInfo[playerid][pMask]);fwrite(hFile, var);
				format(var, 32, "MaskOn=%d\n", PlayerInfo[playerid][pMaskOn]);fwrite(hFile, var);
				format(var, 32, "Hide=%d\n", PlayerInfo[playerid][pHide]);fwrite(hFile, var);
				format(var, 32, "HideOn=%d\n", PlayerInfo[playerid][pHideOn]);fwrite(hFile, var);
				format(var, 32, "WalkStyle=%d\n", PlayerInfo[playerid][pWalkStyle]);fwrite(hFile, var);
				format(var, 32, "TrunkWeed=%d\n", PlayerInfo[playerid][pTWeed]);fwrite(hFile, var);
				format(var, 32, "vTrunkWeed=%d\n", PlayerInfo[playerid][pvTWeed]);fwrite(hFile, var);
				format(var, 32, "Note1=%d\n", PlayerInfo[playerid][pNote1]);fwrite(hFile, var);
				format(var, 32, "Note1s=%s\n", PlayerInfo[playerid][pNote1s]);fwrite(hFile, var);
				format(var, 32, "Note2=%d\n", PlayerInfo[playerid][pNote2]);fwrite(hFile, var);
				format(var, 32, "Note2s=%s\n", PlayerInfo[playerid][pNote2s]);fwrite(hFile, var);
				format(var, 32, "Note3=%d\n", PlayerInfo[playerid][pNote3]);fwrite(hFile, var);
				format(var, 32, "Note3s=%s\n", PlayerInfo[playerid][pNote3s]);fwrite(hFile, var);
				format(var, 32, "Note4=%d\n", PlayerInfo[playerid][pNote4]);fwrite(hFile, var);
				format(var, 32, "Note4s=%s\n", PlayerInfo[playerid][pNote4s]);fwrite(hFile, var);
				format(var, 32, "Note5=%d\n", PlayerInfo[playerid][pNote5]);fwrite(hFile, var);
				format(var, 32, "Note5s=%s\n", PlayerInfo[playerid][pNote5s]);fwrite(hFile, var);
				format(var, 32, "RelationShip=%d\n", PlayerInfo[playerid][pRelationShip]);fwrite(hFile, var);
				format(var, 32, "RelationWith=%d\n", PlayerInfo[playerid][pRelationWith]);fwrite(hFile, var);
				fclose(hFile);
			}
		}
	}
	return 1;
}*/

stock LastSeen(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
			new file[64], pyear, pmonth, pday, phour, pminute, psecond, lastseen[80];
			format(file, sizeof(file), "lastseen/%s.ini", RPNU(playerid));
			if(!dini_Exists(file)) dini_Create(file);
			getdate(pyear, pmonth, pday);
			gettime(phour, pminute, psecond);
			format(lastseen, 80, "Time: %02d:%02d:%02d - Date:%02d/%02d/%d", phour, pminute, psecond, pday, pmonth, pyear);
			dini_Set(file, "lastseen", lastseen);
	}
	return 1;
}

stock SaveChar(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
	    if(PlayerInfo[playerid][pTutorial])
	    {
		    new file[64];
			format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
			if(!dini_Exists(file)) dini_Create(file);
			if(!Event[playerid])
			{
				PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
				PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
				GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
				GetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
				GetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
			}
			if(PlayerInfo[playerid][pLevel] == 0) PlayerInfo[playerid][pLevel] = 1;
			PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
			if(PlayerInfo[playerid][vModel])
			{
				GetVehiclePos(PlayerInfo[playerid][pVeh],PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVeh],PlayerInfo[playerid][vA]);
			}
			if(PlayerInfo[playerid][vBModel])
			{
				GetVehiclePos(PlayerInfo[playerid][pBVeh],PlayerInfo[playerid][vBX], PlayerInfo[playerid][vBY], PlayerInfo[playerid][vBZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pBVeh],PlayerInfo[playerid][vBA]);
			}
			if(PlayerInfo[playerid][vVModel])
			{
				GetVehiclePos(PlayerInfo[playerid][pVVeh],PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVVeh],PlayerInfo[playerid][vVA]);
			}
			SaveZaiatAmmo(playerid);
			// Save
			dini_Set(file, "IP", PlayerInfo[playerid][pIP]);
			dini_IntSet(file, "Gender", PlayerInfo[playerid][pGender]);
			dini_IntSet(file, "Level", PlayerInfo[playerid][pLevel]);
			dini_IntSet(file, "Minutes", PlayerInfo[playerid][pMinutes]);
			dini_IntSet(file, "Hours", PlayerInfo[playerid][pHours]);
			dini_IntSet(file, "Age", PlayerInfo[playerid][pAge]);
			dini_IntSet(file, "Cash", PlayerInfo[playerid][pMoney]);
			dini_IntSet(file, "Bank", PlayerInfo[playerid][pBank]);
			dini_IntSet(file, "Model", PlayerInfo[playerid][pModel]);
			dini_IntSet(file, "Admin", PlayerInfo[playerid][pAdmin]);
			dini_IntSet(file, "OldAdmin", PlayerInfo[playerid][pOldAdmin]);
			dini_IntSet(file, "pBanned", PlayerInfo[playerid][pBanned]);
			dini_FloatSet(file, "X", PlayerInfo[playerid][pX]);
			dini_FloatSet(file, "Y", PlayerInfo[playerid][pY]);
			dini_FloatSet(file, "Z", PlayerInfo[playerid][pZ]);
			dini_IntSet(file, "Int", PlayerInfo[playerid][pInt]);
			dini_IntSet(file, "VW", PlayerInfo[playerid][pVW]);
			dini_IntSet(file, "Fac", PlayerInfo[playerid][pFac]);
			dini_IntSet(file, "FacRank", PlayerInfo[playerid][pFacRank]);
			dini_IntSet(file, "FacLeader", PlayerInfo[playerid][pFacLeader]);
			dini_IntSet(file, "FacDiv", PlayerInfo[playerid][pFacDiv]);
			dini_IntSet(file, "FacDivLeader", PlayerInfo[playerid][pFacDivLeader]);
			dini_IntSet(file, "Duty", PlayerInfo[playerid][pFacDuty]);
			dini_IntSet(file, "wSlot0", PlayerInfo[playerid][pWeapon][0]);
			dini_IntSet(file, "wSlot0Ammo", PlayerInfo[playerid][pWeaponAmmo][0]);
			dini_IntSet(file, "wSlot1", PlayerInfo[playerid][pWeapon][1]);
			dini_IntSet(file, "wSlot1Ammo", PlayerInfo[playerid][pWeaponAmmo][1]);
			dini_IntSet(file, "wSlot2", PlayerInfo[playerid][pWeapon][2]);
			dini_IntSet(file, "wSlot2Ammo", PlayerInfo[playerid][pWeaponAmmo][2]);
			dini_IntSet(file, "wSlot3", PlayerInfo[playerid][pWeapon][3]);
			dini_IntSet(file, "wSlot3Ammo", PlayerInfo[playerid][pWeaponAmmo][3]);
			dini_IntSet(file, "wSlot4", PlayerInfo[playerid][pWeapon][4]);
			dini_IntSet(file, "wSlot4Ammo", PlayerInfo[playerid][pWeaponAmmo][4]);
			dini_IntSet(file, "wSlot5", PlayerInfo[playerid][pWeapon][5]);
	        dini_IntSet(file, "wSlot5Ammo", PlayerInfo[playerid][pWeaponAmmo][5]);
			dini_IntSet(file, "wSlot6", PlayerInfo[playerid][pWeapon][6]);
			dini_IntSet(file, "wSlot6Ammo", PlayerInfo[playerid][pWeaponAmmo][6]);
			dini_IntSet(file, "wSlot7", PlayerInfo[playerid][pWeapon][7]);
			dini_IntSet(file, "wSlot7Ammo", PlayerInfo[playerid][pWeaponAmmo][7]);
			dini_IntSet(file, "wSlot8", PlayerInfo[playerid][pWeapon][8]);
			dini_IntSet(file, "wSlot8Ammo", PlayerInfo[playerid][pWeaponAmmo][8]);
			dini_IntSet(file, "wSlot9", PlayerInfo[playerid][pWeapon][9]);
			dini_IntSet(file, "wSlot9Ammo", PlayerInfo[playerid][pWeaponAmmo][9]);
			dini_IntSet(file, "wSlot10", PlayerInfo[playerid][pWeapon][10]);
			dini_IntSet(file, "wSlot10Ammo", PlayerInfo[playerid][pWeaponAmmo][10]);
			dini_IntSet(file, "wSlot11", PlayerInfo[playerid][pWeapon][11]);
			dini_IntSet(file, "wSlot11Ammo", PlayerInfo[playerid][pWeaponAmmo][11]);
			dini_IntSet(file, "wSlot12", PlayerInfo[playerid][pWeapon][12]);
			dini_IntSet(file, "wSlot12Ammo", PlayerInfo[playerid][pWeaponAmmo][12]);
			dini_IntSet(file, "Hospital", PlayerInfo[playerid][pHospital]);
			dini_IntSet(file, "Business", PlayerInfo[playerid][pBiz]);
			dini_IntSet(file, "VBusiness", PlayerInfo[playerid][pVBiz]);
			dini_IntSet(file, "House", PlayerInfo[playerid][pHouse]);
			dini_IntSet(file, "Garage", PlayerInfo[playerid][pGarage]);
			dini_IntSet(file, "HouseOwner", PlayerInfo[playerid][pSafeAdmin]);
			dini_IntSet(file, "vHouse", PlayerInfo[playerid][pVHouse]);
			dini_IntSet(file, "BizOwner", PlayerInfo[playerid][pOwner]);
			dini_IntSet(file, "Job", PlayerInfo[playerid][pJob]);
			dini_IntSet(file, "Mechanic", PlayerInfo[playerid][pJobSkill][JOB_MECHANIC]);
			dini_IntSet(file, "Lawyer", PlayerInfo[playerid][pJobSkill][JOB_LAWYER]);
			dini_IntSet(file, "Trucker", PlayerInfo[playerid][pJobSkill][JOB_TRUCKER]);
			dini_IntSet(file, "Fisher", PlayerInfo[playerid][pJobSkill][JOB_FISHER]);
			dini_IntSet(file, "WDealer", PlayerInfo[playerid][pJobSkill][JOB_WDEALER]);
			dini_IntSet(file, "WSmuggler", PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER]);
			dini_IntSet(file, "DDealer", PlayerInfo[playerid][pJobSkill][JOB_DDEALER]);
			dini_IntSet(file, "DSmuggler", PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER]);
			dini_IntSet(file, "CarJacker", PlayerInfo[playerid][pJobSkill][JOB_CARJACKER]);
		    dini_IntSet(file, "Boxer", PlayerInfo[playerid][pJobSkill][JOB_BOXER]);
			dini_IntSet(file, "Fisher", PlayerInfo[playerid][pJobSkill][JOB_FISHER]);
			dini_IntSet(file, "Thief", PlayerInfo[playerid][pJobSkill][JOB_THIEF]);
			dini_IntSet(file, "TPackages", PlayerInfo[playerid][pTPackages]);
			dini_IntSet(file, "WPackages", PlayerInfo[playerid][pMPackages]);
			dini_IntSet(file, "Materials", PlayerInfo[playerid][pMaterials]);
			dini_IntSet(file, "HasCellphone", PlayerInfo[playerid][pHasCellphone]);
			dini_IntSet(file, "Cellphone", PlayerInfo[playerid][pCellphone]);
			dini_IntSet(file, "Phonebook", PlayerInfo[playerid][pPhonebook]);
			dini_IntSet(file, "Dice", PlayerInfo[playerid][pDice]);
			dini_IntSet(file, "Cigar", PlayerInfo[playerid][pCigar]);
			dini_IntSet(file, "Speedo", PlayerInfo[playerid][pSpeedo]);
			dini_IntSet(file, "Sprunk", PlayerInfo[playerid][pSprunk]);
			dini_IntSet(file, "Spray", PlayerInfo[playerid][pSpray]);
			dini_IntSet(file, "Rope", PlayerInfo[playerid][pRope]);
			dini_IntSet(file, "Blindfold", PlayerInfo[playerid][pBlindfold]);
			dini_IntSet(file, "WT", PlayerInfo[playerid][pWT]);
			dini_IntSet(file, "WTC", PlayerInfo[playerid][pWTC]);
			dini_IntSet(file, "Gas", PlayerInfo[playerid][pGas]);
			dini_IntSet(file, "Radio", PlayerInfo[playerid][pRadio]);
			dini_FloatSet(file, "Health", PlayerInfo[playerid][pHealth]);
			dini_FloatSet(file, "Armor", PlayerInfo[playerid][pArmor]);
			dini_IntSet(file, "Internet", PlayerInfo[playerid][pInternet]);
			dini_IntSet(file, "Song1", PlayerInfo[playerid][pSong][1]);
			dini_IntSet(file, "Song2", PlayerInfo[playerid][pSong][2]);
			dini_IntSet(file, "Prison", PlayerInfo[playerid][pPrison]);
			dini_IntSet(file, "PrisonTime", PlayerInfo[playerid][pPrisonTime]);
			dini_Set(file, "PrisonReason", PlayerInfo[playerid][pPrisonReason]);
			dini_Set(file, "PrisonBy", PlayerInfo[playerid][pPrisonBy]);
			dini_IntSet(file, "Wanted", PlayerInfo[playerid][pWanted]);
			dini_Set(file, "Wanted1", PlayerInfo[playerid][pWanted1]);
			dini_Set(file, "Wanted2", PlayerInfo[playerid][pWanted2]);
			dini_Set(file, "Wanted3", PlayerInfo[playerid][pWanted3]);
			dini_Set(file, "Wanted4", PlayerInfo[playerid][pWanted4]);
			dini_Set(file, "Wanted5", PlayerInfo[playerid][pWanted5]);
			dini_Set(file, "Wanted6", PlayerInfo[playerid][pWanted6]);
			dini_IntSet(file, "Crimes", PlayerInfo[playerid][pCrimes]);
			dini_IntSet(file, "Arrested", PlayerInfo[playerid][pArrested]);
			dini_IntSet(file, "DPackages", PlayerInfo[playerid][pDPackages]);
			dini_IntSet(file, "Weed", PlayerInfo[playerid][pWeed]);
			dini_IntSet(file, "Crack", PlayerInfo[playerid][pCrack]);
			dini_IntSet(file, "Contract", PlayerInfo[playerid][pContract]);
			dini_Set(file, "ContractBy", PlayerInfo[playerid][pContractBy]);
			dini_Set(file, "ContractDetail", PlayerInfo[playerid][pContractDetail]);
			dini_IntSet(file, "Tutorial", PlayerInfo[playerid][pTutorial]);
			dini_IntSet(file, "Warns", PlayerInfo[playerid][pWarns]);
			dini_Set(file, "Warn1", PlayerInfo[playerid][pWarn1]);
			dini_Set(file, "Warn2", PlayerInfo[playerid][pWarn2]);
			dini_Set(file, "Warn3", PlayerInfo[playerid][pWarn3]);
			dini_Set(file, "Warn4", PlayerInfo[playerid][pWarn4]);
			dini_Set(file, "Warn5", PlayerInfo[playerid][pWarn5]);
			dini_Set(file, "Flag", PlayerInfo[playerid][pFlag]);
			dini_IntSet(file, "NMute", PlayerInfo[playerid][pNMute]);
			dini_IntSet(file, "Mute", PlayerInfo[playerid][pMute]);
			dini_IntSet(file, "RMute", PlayerInfo[playerid][pRMute]);
			dini_IntSet(file, "SpawnFreeze", PlayerInfo[playerid][pSpawnFreeze]);
			dini_IntSet(file, "Fam", PlayerInfo[playerid][pFam]);
			dini_IntSet(file, "FamRank", PlayerInfo[playerid][pFamRank]);
			dini_IntSet(file, "CSuccess", PlayerInfo[playerid][pCSuccess]);
			dini_IntSet(file, "CFail", PlayerInfo[playerid][pCFail]);
			dini_IntSet(file, "Helper", PlayerInfo[playerid][pHelper]);
			dini_IntSet(file, "vModel", PlayerInfo[playerid][vModel]);
			dini_FloatSet(file, "vX", PlayerInfo[playerid][vX]);
			dini_FloatSet(file, "vY", PlayerInfo[playerid][vY]);
			dini_FloatSet(file, "vZ", PlayerInfo[playerid][vZ]);
			dini_FloatSet(file, "vA", PlayerInfo[playerid][vA]);
			dini_IntSet(file, "vC1", PlayerInfo[playerid][vC1]);
			dini_IntSet(file, "vC2", PlayerInfo[playerid][vC2]);
			dini_IntSet(file, "vPJ", PlayerInfo[playerid][vPJ]);
			dini_IntSet(file, "vLocked", PlayerInfo[playerid][vLocked]);
			dini_IntSet(file, "GangMod", PlayerInfo[playerid][pGangMod]);
			dini_IntSet(file, "FacMod", PlayerInfo[playerid][pFacMod]);
			dini_IntSet(file, "BanAppealer", PlayerInfo[playerid][pBanAppealer]);
			dini_IntSet(file, "DoorMod", PlayerInfo[playerid][pDoorMod]);
			dini_IntSet(file, "BizMod", PlayerInfo[playerid][pBizMod]);
			dini_IntSet(file, "HouseMod", PlayerInfo[playerid][pHouseMod]);
			dini_IntSet(file, "GameAffairs", PlayerInfo[playerid][pGameAffairs]);
			dini_IntSet(file, "CarLicense", PlayerInfo[playerid][pCarLic]);
			dini_IntSet(file, "PilotLicense", PlayerInfo[playerid][pPilotLic]);
 			dini_IntSet(file, "FireArmsLicense", PlayerInfo[playerid][pFireArmsLic]);
			dini_Set(file, "Accent", PlayerInfo[playerid][pAccent]);
		 	dini_IntSet(file, "vModSlot0",PlayerInfo[playerid][pVehMod][0]);
			dini_IntSet(file, "vModSlot1",PlayerInfo[playerid][pVehMod][1]);
			dini_IntSet(file, "vModSlot2",PlayerInfo[playerid][pVehMod][2]);
			dini_IntSet(file, "vModSlot3",PlayerInfo[playerid][pVehMod][3]);
			dini_IntSet(file, "vModSlot4",PlayerInfo[playerid][pVehMod][4]);
			dini_IntSet(file, "vModSlot5",PlayerInfo[playerid][pVehMod][5]);
			dini_IntSet(file, "vModSlot6",PlayerInfo[playerid][pVehMod][6]);
			dini_IntSet(file, "vModSlot7",PlayerInfo[playerid][pVehMod][7]);
			dini_IntSet(file, "vModSlot8",PlayerInfo[playerid][pVehMod][8]);
			dini_IntSet(file, "vModSlot9",PlayerInfo[playerid][pVehMod][9]);
			dini_IntSet(file, "vModSlot10",PlayerInfo[playerid][pVehMod][10]);
			dini_IntSet(file, "vModSlot11",PlayerInfo[playerid][pVehMod][11]);
			dini_IntSet(file, "vModSlot12",PlayerInfo[playerid][pVehMod][12]);
			dini_IntSet(file, "vModSlot13",PlayerInfo[playerid][pVehMod][13]);
			dini_IntSet(file, "VIP", PlayerInfo[playerid][pVIP]);
			dini_IntSet(file, "VIPBuddy", PlayerInfo[playerid][pVIPBuddy]);
			dini_IntSet(file, "VIPDay", PlayerInfo[playerid][pVIPDay]);
			dini_IntSet(file, "VIPMonth", PlayerInfo[playerid][pVIPMonth]);
			dini_IntSet(file, "VIPHour", PlayerInfo[playerid][pVIPHour]);
			dini_IntSet(file, "VIPJob", PlayerInfo[playerid][pVIPJob]);
			dini_IntSet(file, "VIPTemp", PlayerInfo[playerid][pVIPTemp]);
			// 3 Car Slot Begins
			dini_IntSet(file, "vBModel", PlayerInfo[playerid][vBModel]);
			dini_FloatSet(file, "vBX", PlayerInfo[playerid][vBX]);
			dini_FloatSet(file, "vBY", PlayerInfo[playerid][vBY]);
			dini_FloatSet(file, "vBZ", PlayerInfo[playerid][vBZ]);
			dini_FloatSet(file, "vBA", PlayerInfo[playerid][vBA]);
			dini_IntSet(file, "vBC1", PlayerInfo[playerid][vBC1]);
			dini_IntSet(file, "vBC2", PlayerInfo[playerid][vBC2]);
			dini_IntSet(file, "vBPJ", PlayerInfo[playerid][vBPJ]);
			dini_IntSet(file, "vBLocked", PlayerInfo[playerid][vBLocked]);
		 	dini_IntSet(file, "vBModSlot0",PlayerInfo[playerid][pBVehMod][0]);
			dini_IntSet(file, "vBModSlot1",PlayerInfo[playerid][pBVehMod][1]);
			dini_IntSet(file, "vBModSlot2",PlayerInfo[playerid][pBVehMod][2]);
			dini_IntSet(file, "vBModSlot3",PlayerInfo[playerid][pBVehMod][3]);
			dini_IntSet(file, "vBModSlot4",PlayerInfo[playerid][pBVehMod][4]);
			dini_IntSet(file, "vBModSlot5",PlayerInfo[playerid][pBVehMod][5]);
			dini_IntSet(file, "vBModSlot6",PlayerInfo[playerid][pBVehMod][6]);
			dini_IntSet(file, "vBModSlot7",PlayerInfo[playerid][pBVehMod][7]);
			dini_IntSet(file, "vBModSlot8",PlayerInfo[playerid][pBVehMod][8]);
			dini_IntSet(file, "vBModSlot9",PlayerInfo[playerid][pBVehMod][9]);
			dini_IntSet(file, "vBModSlot10",PlayerInfo[playerid][pBVehMod][10]);
			dini_IntSet(file, "vBModSlot11",PlayerInfo[playerid][pBVehMod][11]);
			dini_IntSet(file, "vBModSlot12",PlayerInfo[playerid][pBVehMod][12]);
			dini_IntSet(file, "vBModSlot13",PlayerInfo[playerid][pBVehMod][13]);
			// 3 Car slot End
			// VIP CAR
			dini_IntSet(file, "vVModel", PlayerInfo[playerid][vVModel]);
			dini_FloatSet(file, "vVX", PlayerInfo[playerid][vVX]);
			dini_FloatSet(file, "vVY", PlayerInfo[playerid][vVY]);
			dini_FloatSet(file, "vVZ", PlayerInfo[playerid][vVZ]);
			dini_FloatSet(file, "vVA", PlayerInfo[playerid][vVA]);
			dini_IntSet(file, "vVC1", PlayerInfo[playerid][vVC1]);
			dini_IntSet(file, "vVC2", PlayerInfo[playerid][vVC2]);
			dini_IntSet(file, "vVPJ", PlayerInfo[playerid][vVPJ]);
			dini_IntSet(file, "vVLocked", PlayerInfo[playerid][vVLocked]);
		 	dini_IntSet(file, "vVModSlot0",PlayerInfo[playerid][pVVehMod][0]);
			dini_IntSet(file, "vVModSlot1",PlayerInfo[playerid][pVVehMod][1]);
			dini_IntSet(file, "vVModSlot2",PlayerInfo[playerid][pVVehMod][2]);
			dini_IntSet(file, "vVModSlot3",PlayerInfo[playerid][pVVehMod][3]);
			dini_IntSet(file, "vVModSlot4",PlayerInfo[playerid][pVVehMod][4]);
			dini_IntSet(file, "vVModSlot5",PlayerInfo[playerid][pVVehMod][5]);
			dini_IntSet(file, "vVModSlot6",PlayerInfo[playerid][pVVehMod][6]);
			dini_IntSet(file, "vVModSlot7",PlayerInfo[playerid][pVVehMod][7]);
			dini_IntSet(file, "vVModSlot8",PlayerInfo[playerid][pVVehMod][8]);
			dini_IntSet(file, "vVModSlot9",PlayerInfo[playerid][pVVehMod][9]);
			dini_IntSet(file, "vVModSlot10",PlayerInfo[playerid][pVVehMod][10]);
			dini_IntSet(file, "vVModSlot11",PlayerInfo[playerid][pVVehMod][11]);
			dini_IntSet(file, "vVModSlot12",PlayerInfo[playerid][pVVehMod][12]);
			dini_IntSet(file, "vVModSlot13",PlayerInfo[playerid][pVVehMod][13]);
			dini_IntSet(file, "DeliverTruck", PlayerInfo[playerid][pDeliverTruck]);
			dini_IntSet(file, "New", PlayerInfo[playerid][pNew]);
			dini_IntSet(file, "RefPoints", PlayerInfo[playerid][pRefPoints]);
			dini_IntSet(file, "Tester", PlayerInfo[playerid][pTester]);
			dini_IntSet(file, "FightStyle", PlayerInfo[playerid][pFightStyle]);
			dini_IntSet(file, "Scope", PlayerInfo[playerid][pScope]);
			dini_IntSet(file, "Cookies", PlayerInfo[playerid][pCookies]);
			dini_IntSet(file, "Oldskool", PlayerInfo[playerid][pOldskool]);
			dini_IntSet(file, "Reward", PlayerInfo[playerid][pReward]);
			dini_IntSet(file, "Fish1", PlayerInfo[playerid][pFish][0]);
			dini_IntSet(file, "Fish2", PlayerInfo[playerid][pFish][1]);
			dini_IntSet(file, "Fish3", PlayerInfo[playerid][pFish][2]);
			dini_IntSet(file, "Fish4", PlayerInfo[playerid][pFish][3]);
			dini_IntSet(file, "Fish5", PlayerInfo[playerid][pFish][4]);
			SaveToys(playerid, file);
			dini_IntSet(file, "Loyal", PlayerInfo[playerid][pLoyal]);
			dini_IntSet(file, "LoyalTag", PlayerInfo[playerid][pLoyalTag]);
			dini_IntSet(file, "LPoints", PlayerInfo[playerid][pLPoints]);
			dini_IntSet(file, "Gate1", PlayerInfo[playerid][pGate][0]);
			dini_IntSet(file, "Gate2", PlayerInfo[playerid][pGate][1]);
			dini_IntSet(file, "Gate3", PlayerInfo[playerid][pGate][2]);
 			dini_IntSet(file, "Mask", PlayerInfo[playerid][pMask]);
   			dini_IntSet(file, "MaskOn", PlayerInfo[playerid][pMaskOn]);
 			dini_IntSet(file, "Hide", PlayerInfo[playerid][pHide]);
   			dini_IntSet(file, "HideOn", PlayerInfo[playerid][pHideOn]);
   			dini_IntSet(file, "WalkStyle", PlayerInfo[playerid][pWalkStyle]);
			dini_IntSet(file, "TrunkWeed", PlayerInfo[playerid][pTWeed]);
		    dini_IntSet(file, "vTrunkWeed", PlayerInfo[playerid][pvTWeed]);
		    dini_IntSet(file, "Note1", PlayerInfo[playerid][pNote1]);
		    dini_IntSet(file, "Note1s", PlayerInfo[playerid][pNote1s]);
		    dini_IntSet(file, "Note2", PlayerInfo[playerid][pNote2]);
		    dini_IntSet(file, "Note2s", PlayerInfo[playerid][pNote2s]);
	        dini_IntSet(file, "Note3", PlayerInfo[playerid][pNote3]);
	        dini_IntSet(file, "Note3s", PlayerInfo[playerid][pNote3s]);
	        dini_IntSet(file, "Note4", PlayerInfo[playerid][pNote4]);
	        dini_IntSet(file, "Note4s", PlayerInfo[playerid][pNote4s]);
	        dini_IntSet(file, "Note5", PlayerInfo[playerid][pNote5]);
	        dini_IntSet(file, "Note5s", PlayerInfo[playerid][pNote5s]);
			dini_IntSet(file, "RelationShip",PlayerInfo[playerid][pRelationShip]);
			dini_IntSet(file, "RelationWith",PlayerInfo[playerid][pRelationWith]);
			dini_IntSet(file, "VehPlate",PlayerInfo[playerid][pVehPlate]);
			dini_IntSet(file, "VVehPlate",PlayerInfo[playerid][pVVehPlate]);
			dini_IntSet(file, "BVehPlate",PlayerInfo[playerid][pBVehPlate]);
		}
		// All Saved
		//SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Your character files have saved successfully.");
	}
	return 1;
}

stock LoadChar(playerid)
{
    new file[64];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	// Logged in
	PlayerInfo[playerid][pLoggedIn] = 1;
	PlayerInfo[playerid][pSpawn] = 1;
	// Load
	format(PlayerInfo[playerid][pIP], 16, "%s", dini_Get(file, "IP"));
	PlayerInfo[playerid][pGender] = dini_Int(file, "Gender");
	PlayerInfo[playerid][pLevel] = dini_Int(file, "Level");
	if(PlayerInfo[playerid][pLevel] == 0) PlayerInfo[playerid][pLevel] = 1;
	PlayerInfo[playerid][pMinutes] = dini_Int(file, "Minutes");
	PlayerInfo[playerid][pHours] = dini_Int(file, "Hours");
	PlayerInfo[playerid][pAge] = dini_Int(file, "Age");
	PlayerInfo[playerid][pMoney] = dini_Int(file, "Cash");
	PlayerInfo[playerid][pBank] = dini_Int(file, "Bank");
	PlayerInfo[playerid][pModel] = dini_Int(file, "Model");
	PlayerInfo[playerid][pAdmin] = dini_Int(file, "Admin");
	PlayerInfo[playerid][pOldAdmin] = dini_Int(file, "OldAdmin");
	PlayerInfo[playerid][pBanned] = dini_Int(file, "pBanned");
	PlayerInfo[playerid][pX]  = dini_Float(file, "X");
	PlayerInfo[playerid][pY] = dini_Float(file, "Y");
	PlayerInfo[playerid][pZ] = dini_Float(file, "Z");
	PlayerInfo[playerid][pInt] = dini_Int(file, "Int");
	PlayerInfo[playerid][pVW] = dini_Int(file, "VW");
	PlayerInfo[playerid][pFac] = dini_Int(file, "Fac");
	PlayerInfo[playerid][pFacRank] = dini_Int(file, "FacRank");
	PlayerInfo[playerid][pFacLeader] = dini_Int(file, "FacLeader");
	PlayerInfo[playerid][pFacDiv] = dini_Int(file, "FacDiv");
	PlayerInfo[playerid][pFacDivLeader] = dini_Int(file, "FacDivLeader");
	PlayerInfo[playerid][pFacDuty] = dini_Int(file, "Duty");
	PlayerInfo[playerid][pWeapon][0] = dini_Int(file, "wSlot0");
	PlayerInfo[playerid][pWeaponAmmo][0] = dini_Int(file, "wSlot0Ammo");
	PlayerInfo[playerid][pWeapon][1] = dini_Int(file, "wSlot1");
	PlayerInfo[playerid][pWeaponAmmo][1] = dini_Int(file, "wSlot1Ammo");
	PlayerInfo[playerid][pWeapon][2] = dini_Int(file, "wSlot2");
	PlayerInfo[playerid][pWeaponAmmo][2] = dini_Int(file, "wSlot2Ammo");
	PlayerInfo[playerid][pWeapon][3] = dini_Int(file, "wSlot3");
	PlayerInfo[playerid][pWeaponAmmo][3] = dini_Int(file, "wSlot3Ammo");
	PlayerInfo[playerid][pWeapon][4] = dini_Int(file, "wSlot4");
	PlayerInfo[playerid][pWeaponAmmo][4] = dini_Int(file, "wSlot4Ammo");
	PlayerInfo[playerid][pWeapon][5] = dini_Int(file, "wSlot5");
	PlayerInfo[playerid][pWeaponAmmo][5] = dini_Int(file, "wSlot5Ammo");
	PlayerInfo[playerid][pWeapon][6] = dini_Int(file, "wSlot6");
	PlayerInfo[playerid][pWeaponAmmo][6] = dini_Int(file, "wSlot6Ammo");
	PlayerInfo[playerid][pWeapon][7] = dini_Int(file, "wSlot7");
	PlayerInfo[playerid][pWeaponAmmo][7] = dini_Int(file, "wSlot7Ammo");
	PlayerInfo[playerid][pWeapon][8] = dini_Int(file, "wSlot8");
	PlayerInfo[playerid][pWeaponAmmo][8] = dini_Int(file, "wSlot8Ammo");
	PlayerInfo[playerid][pWeapon][9] = dini_Int(file, "wSlot9");
	PlayerInfo[playerid][pWeaponAmmo][9] = dini_Int(file, "wSlot9Ammo");
	PlayerInfo[playerid][pWeapon][10] = dini_Int(file, "wSlot10");
	PlayerInfo[playerid][pWeaponAmmo][10] = dini_Int(file, "wSlot10Ammo");
	PlayerInfo[playerid][pWeapon][11] = dini_Int(file, "wSlot11");
	PlayerInfo[playerid][pWeaponAmmo][11] = dini_Int(file, "wSlot11Ammo");
	PlayerInfo[playerid][pWeapon][12] = dini_Int(file, "wSlot12");
	PlayerInfo[playerid][pWeaponAmmo][12] = dini_Int(file, "wSlot12Ammo");
	PlayerInfo[playerid][pHospital] = dini_Int(file, "Hospital");
	PlayerInfo[playerid][pBiz] = dini_Int(file, "Business");
	PlayerInfo[playerid][pSafeAdmin] = dini_Int(file, "HouseOwner");
	PlayerInfo[playerid][pVBiz] = dini_Int(file, "VBusiness");
	PlayerInfo[playerid][pOwner] = dini_Int(file, "BizOwner");
	PlayerInfo[playerid][pJob] = dini_Int(file, "Job");
	PlayerInfo[playerid][pJobSkill][JOB_MECHANIC] = dini_Int(file, "Mechanic");
	PlayerInfo[playerid][pJobSkill][JOB_LAWYER] = dini_Int(file, "Lawyer");
	PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] = dini_Int(file, "Trucker");
	PlayerInfo[playerid][pJobSkill][JOB_FISHER] = dini_Int(file, "Fisher");
	PlayerInfo[playerid][pJobSkill][JOB_WDEALER] = dini_Int(file, "WDealer");
	PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] = dini_Int(file, "WSmuggler");
	PlayerInfo[playerid][pJobSkill][JOB_DDEALER] = dini_Int(file, "DDealer");
	PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] = dini_Int(file, "DSmuggler");
	PlayerInfo[playerid][pJobSkill][JOB_CARJACKER] = dini_Int(file, "CarJacker");
    PlayerInfo[playerid][pJobSkill][JOB_BOXER] = dini_Int(file, "Boxer");
    PlayerInfo[playerid][pJobSkill][JOB_FISHER] = dini_Int(file, "Fisher");
	PlayerInfo[playerid][pJobSkill][JOB_THIEF] = dini_Int(file, "Thief");
	PlayerInfo[playerid][pTPackages] = dini_Int(file, "TPackages");
	PlayerInfo[playerid][pMPackages] = dini_Int(file, "WPackages");
	PlayerInfo[playerid][pHasCellphone] = dini_Int(file, "HasCellphone");
	PlayerInfo[playerid][pCellphone] = 	dini_Int(file, "Cellphone");
	PlayerInfo[playerid][pPhonebook] = 	dini_Int(file, "Phonebook");
	PlayerInfo[playerid][pDice] = dini_Int(file, "Dice");
	PlayerInfo[playerid][pCigar] = dini_Int(file, "Cigar");
	PlayerInfo[playerid][pSpeedo] = dini_Int(file, "Speedo");
	PlayerInfo[playerid][pSprunk] = dini_Int(file, "Sprunk");
	PlayerInfo[playerid][pSpray] = dini_Int(file, "Spray");
	PlayerInfo[playerid][pRope] = dini_Int(file, "Rope");
	PlayerInfo[playerid][pBlindfold] = dini_Int(file, "Blindfold");
	PlayerInfo[playerid][pMaterials] = dini_Int(file, "Materials");
 	PlayerInfo[playerid][pWT] = dini_Int(file, "WT");
	PlayerInfo[playerid][pWTC] = dini_Int(file, "WTC");
	PlayerInfo[playerid][pGas] = dini_Int(file, "Gas");
	PlayerInfo[playerid][pRadio] = dini_Int(file, "Radio");
	PlayerInfo[playerid][pHealth] = dini_Float(file, "Health");
	PlayerInfo[playerid][pArmor] = dini_Float(file, "Armor");
	PlayerInfo[playerid][pInternet] = dini_Int(file, "Internet");
	PlayerInfo[playerid][pSong][1] = dini_Int(file, "Song1");
	PlayerInfo[playerid][pSong][2] = dini_Int(file, "Song2");
	PlayerInfo[playerid][pPrison] = dini_Int(file, "Prison");
	PlayerInfo[playerid][pPrisonTime] = dini_Int(file, "PrisonTime");
	format(PlayerInfo[playerid][pPrisonReason], 64, "%s", dini_Get(file, "PrisonReason"));
	format(PlayerInfo[playerid][pPrisonBy], 32, "%s", dini_Get(file, "PrisonBy"));
	PlayerInfo[playerid][pWanted] = dini_Int(file, "Wanted");
	format(PlayerInfo[playerid][pWanted1], 64, "%s", dini_Get(file, "Wanted1"));
	format(PlayerInfo[playerid][pWanted2], 64, "%s", dini_Get(file, "Wanted2"));
	format(PlayerInfo[playerid][pWanted3], 64, "%s", dini_Get(file, "Wanted3"));
	format(PlayerInfo[playerid][pWanted4], 64, "%s", dini_Get(file, "Wanted4"));
	format(PlayerInfo[playerid][pWanted5], 64, "%s", dini_Get(file, "Wanted5"));
	format(PlayerInfo[playerid][pWanted6], 64, "%s", dini_Get(file, "Wanted6"));
	PlayerInfo[playerid][pCrimes] = dini_Int(file, "Crimes");
	PlayerInfo[playerid][pArrested] = dini_Int(file, "Arrested");
	PlayerInfo[playerid][pDPackages] = dini_Int(file, "DPackages");
	PlayerInfo[playerid][pWeed] = dini_Int(file, "Weed");
	PlayerInfo[playerid][pCrack] = dini_Int(file, "Crack");
	PlayerInfo[playerid][pContract] = dini_Int(file, "Contract");
	format(PlayerInfo[playerid][pContractBy], 32, "%s", dini_Get(file, "ContractBy"));
	format(PlayerInfo[playerid][pContractDetail], 64, "%s", dini_Get(file, "ContractDetail"));
	PlayerInfo[playerid][pTutorial] = dini_Int(file, "Tutorial");
	PlayerInfo[playerid][pWarns] = dini_Int(file, "Warns");
	format(PlayerInfo[playerid][pWarn1], 64, "%s", dini_Get(file, "Warn1"));
	format(PlayerInfo[playerid][pWarn2], 64, "%s", dini_Get(file, "Warn2"));
	format(PlayerInfo[playerid][pWarn3], 64, "%s", dini_Get(file, "Warn3"));
	format(PlayerInfo[playerid][pWarn4], 64, "%s", dini_Get(file, "Warn4"));
	format(PlayerInfo[playerid][pWarn5], 64, "%s", dini_Get(file, "Warn5"));
	format(PlayerInfo[playerid][pFlag], 64, "%s", dini_Get(file, "Flag"));
	PlayerInfo[playerid][pNMute] = dini_Int(file, "NMute");
	PlayerInfo[playerid][pMute] = dini_Int(file, "Mute");
	PlayerInfo[playerid][pRMute] = dini_Int(file, "RMute");
	PlayerInfo[playerid][pSpawnFreeze] = dini_Int(file, "SpawnFreeze");
	PlayerInfo[playerid][pFam] = dini_Int(file, "Fam");
	PlayerInfo[playerid][pFamRank] = dini_Int(file, "FamRank");
	PlayerInfo[playerid][pCSuccess] = dini_Int(file, "CSuccess");
	PlayerInfo[playerid][pCFail] = dini_Int(file, "CFail");
	PlayerInfo[playerid][pHouse] = dini_Int(file, "House");
	PlayerInfo[playerid][pGarage] = dini_Int(file, "Garage");
	PlayerInfo[playerid][pVHouse] = dini_Int(file, "vHouse");
	PlayerInfo[playerid][pHelper] = dini_Int(file, "Helper");
	PlayerInfo[playerid][vModel] = dini_Int(file, "vModel");
	PlayerInfo[playerid][vX] = dini_Float(file, "vX");
	PlayerInfo[playerid][vY] = dini_Float(file, "vY");
	PlayerInfo[playerid][vZ] = dini_Float(file, "vZ");
	PlayerInfo[playerid][vA] = dini_Float(file, "vA");
	PlayerInfo[playerid][vC1] = dini_Int(file, "vC1");
	PlayerInfo[playerid][vC2] = dini_Int(file, "vC2");
	PlayerInfo[playerid][vPJ] = dini_Int(file, "vPJ");
	PlayerInfo[playerid][vLocked] = dini_Int(file, "vLocked");
	PlayerInfo[playerid][pVehMod][0] = dini_Int(file, "vModSlot0");
	PlayerInfo[playerid][pVehMod][1] = dini_Int(file, "vModSlot1");
	PlayerInfo[playerid][pVehMod][2] = dini_Int(file, "vModSlot2");
	PlayerInfo[playerid][pVehMod][3] = dini_Int(file, "vModSlot3");
	PlayerInfo[playerid][pVehMod][4] = dini_Int(file, "vModSlot4");
	PlayerInfo[playerid][pVehMod][5] = dini_Int(file, "vModSlot5");
	PlayerInfo[playerid][pVehMod][6] = dini_Int(file, "vModSlot6");
	PlayerInfo[playerid][pVehMod][7] = dini_Int(file, "vModSlot7");
	PlayerInfo[playerid][pVehMod][8] = dini_Int(file, "vModSlot8");
	PlayerInfo[playerid][pVehMod][9] = dini_Int(file, "vModSlot9");
	PlayerInfo[playerid][pVehMod][10] = dini_Int(file, "vModSlot10");
	PlayerInfo[playerid][pVehMod][11] = dini_Int(file, "vModSlot11");
	PlayerInfo[playerid][pVehMod][12] = dini_Int(file, "vModSlot12");
	PlayerInfo[playerid][pVehMod][13] = dini_Int(file, "vModSlot13");
	// VIP CAR
	PlayerInfo[playerid][vVModel] = dini_Int(file, "vVModel");
	PlayerInfo[playerid][vVX] = dini_Float(file, "vVX");
	PlayerInfo[playerid][vVY] = dini_Float(file, "vVY");
	PlayerInfo[playerid][vVZ] = dini_Float(file, "vVZ");
	PlayerInfo[playerid][vVA] = dini_Float(file, "vVA");
	PlayerInfo[playerid][vVC1] = dini_Int(file, "vVC1");
	PlayerInfo[playerid][vVC2] = dini_Int(file, "vVC2");
	PlayerInfo[playerid][vVPJ] = dini_Int(file, "vVPJ");
	PlayerInfo[playerid][vVLocked] = dini_Int(file, "vVLocked");
	PlayerInfo[playerid][pVVehMod][0] = dini_Int(file, "vVModSlot0");
	PlayerInfo[playerid][pVVehMod][1] = dini_Int(file, "vVModSlot1");
	PlayerInfo[playerid][pVVehMod][2] = dini_Int(file, "vVModSlot2");
	PlayerInfo[playerid][pVVehMod][3] = dini_Int(file, "vVModSlot3");
	PlayerInfo[playerid][pVVehMod][4] = dini_Int(file, "vVModSlot4");
	PlayerInfo[playerid][pVVehMod][5] = dini_Int(file, "vVModSlot5");
	PlayerInfo[playerid][pVVehMod][6] = dini_Int(file, "vVModSlot6");
	PlayerInfo[playerid][pVVehMod][7] = dini_Int(file, "vVModSlot7");
	PlayerInfo[playerid][pVVehMod][8] = dini_Int(file, "vVModSlot8");
	PlayerInfo[playerid][pVVehMod][9] = dini_Int(file, "vVModSlot9");
	PlayerInfo[playerid][pVVehMod][10] = dini_Int(file, "vVModSlot10");
	PlayerInfo[playerid][pVVehMod][11] = dini_Int(file, "vVModSlot11");
	PlayerInfo[playerid][pVVehMod][12] = dini_Int(file, "vVModSlot12");
	PlayerInfo[playerid][pVVehMod][13] = dini_Int(file, "vVModSlot13");
	// 3 Car Slot Begins
	PlayerInfo[playerid][vBModel] = dini_Int(file, "vBModel");
	PlayerInfo[playerid][vBX] = dini_Float(file, "vBX");
	PlayerInfo[playerid][vBY] = dini_Float(file, "vBY");
	PlayerInfo[playerid][vBZ] = dini_Float(file, "vBZ");
	PlayerInfo[playerid][vBA] = dini_Float(file, "vBA");
	PlayerInfo[playerid][vBC1] = dini_Int(file, "vBC1");
	PlayerInfo[playerid][vBC2] = dini_Int(file, "vBC2");
	PlayerInfo[playerid][vBPJ] = dini_Int(file, "vBPJ");
	PlayerInfo[playerid][vBLocked] = dini_Int(file, "vBLocked");
	PlayerInfo[playerid][pBVehMod][0] = dini_Int(file, "vBModSlot0");
	PlayerInfo[playerid][pBVehMod][1] = dini_Int(file, "vBModSlot1");
	PlayerInfo[playerid][pBVehMod][2] = dini_Int(file, "vBModSlot2");
	PlayerInfo[playerid][pBVehMod][3] = dini_Int(file, "vBModSlot3");
	PlayerInfo[playerid][pBVehMod][4] = dini_Int(file, "vBModSlot4");
	PlayerInfo[playerid][pBVehMod][5] = dini_Int(file, "vBModSlot5");
	PlayerInfo[playerid][pBVehMod][6] = dini_Int(file, "vBModSlot6");
	PlayerInfo[playerid][pBVehMod][7] = dini_Int(file, "vBModSlot7");
	PlayerInfo[playerid][pBVehMod][8] = dini_Int(file, "vBModSlot8");
	PlayerInfo[playerid][pBVehMod][9] = dini_Int(file, "vBModSlot9");
	PlayerInfo[playerid][pBVehMod][10] = dini_Int(file, "vBModSlot10");
	PlayerInfo[playerid][pBVehMod][11] = dini_Int(file, "vBModSlot11");
	PlayerInfo[playerid][pBVehMod][12] = dini_Int(file, "vBModSlot12");
	PlayerInfo[playerid][pBVehMod][13] = dini_Int(file, "vBModSlot13");
	// 3 Car Slot End
	if(PlayerInfo[playerid][vModel])
	{
	    PlayerInfo[playerid][pVeh] = CreateVehicle(PlayerInfo[playerid][vModel], PlayerInfo[playerid][vX],PlayerInfo[playerid][vY],PlayerInfo[playerid][vZ],PlayerInfo[playerid][vA],PlayerInfo[playerid][vC1],PlayerInfo[playerid][vC2],32000);
        ChangeVehiclePaintjob(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vPJ]);
        if(PlayerInfo[playerid][vLocked]) SetVehicleParamsEx(PlayerInfo[playerid][pVeh], 0, 0, 0, 1, 0, 0, 0);
		SetVehicleNumberPlate(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][pVehPlate]);
        for(new i=0; i<14; i++)
		{
		    AddVehicleComponent(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][pVehMod][i]);
		}
	}
	if(PlayerInfo[playerid][vVModel])
	{
	    PlayerInfo[playerid][pVVeh] = CreateVehicle(PlayerInfo[playerid][vVModel], PlayerInfo[playerid][vVX],PlayerInfo[playerid][vVY],PlayerInfo[playerid][vVZ],PlayerInfo[playerid][vVA],PlayerInfo[playerid][vVC1],PlayerInfo[playerid][vVC2],32000);
        ChangeVehiclePaintjob(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVPJ]);
        if(PlayerInfo[playerid][vVLocked]) SetVehicleParamsEx(PlayerInfo[playerid][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		SetVehicleNumberPlate(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][pVVehPlate]);
        for(new i=0; i<14; i++)
		{
		    AddVehicleComponent(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][pVVehMod][i]);
		}
	}
	if(PlayerInfo[playerid][vBModel])
	{
	    PlayerInfo[playerid][pBVeh] = CreateVehicle(PlayerInfo[playerid][vBModel], PlayerInfo[playerid][vBX],PlayerInfo[playerid][vBY],PlayerInfo[playerid][vBZ],PlayerInfo[playerid][vBA],PlayerInfo[playerid][vBC1],PlayerInfo[playerid][vBC2],32000);
        ChangeVehiclePaintjob(PlayerInfo[playerid][pBVeh], PlayerInfo[playerid][vBPJ]);
        if(PlayerInfo[playerid][vBLocked]) SetVehicleParamsEx(PlayerInfo[playerid][pBVeh], 0, 0, 0, 1, 0, 0, 0);
		SetVehicleNumberPlate(PlayerInfo[playerid][pBVeh], PlayerInfo[playerid][pBVehPlate]);
		for(new i=0; i<14; i++)
		{
		    AddVehicleComponent(PlayerInfo[playerid][pBVeh], PlayerInfo[playerid][pBVehMod][i]);
		}
	}
	PlayerInfo[playerid][pGangMod] = dini_Int(file, "GangMod");
	PlayerInfo[playerid][pFacMod] = dini_Int(file, "FacMod");
	PlayerInfo[playerid][pBanAppealer] = dini_Int(file, "BanAppealer");
	PlayerInfo[playerid][pDoorMod] = dini_Int(file, "DoorMod");
	PlayerInfo[playerid][pBizMod] = dini_Int(file, "BizMod");
	PlayerInfo[playerid][pHouseMod] = dini_Int(file, "HouseMod");
	PlayerInfo[playerid][pGameAffairs] = dini_Int(file, "GameAffairs");
	PlayerInfo[playerid][pCarLic] = dini_Int(file, "CarLicense");
	PlayerInfo[playerid][pPilotLic] = dini_Int(file, "PilotLicense");
	PlayerInfo[playerid][pFireArmsLic] = dini_Int(file, "FireArmsLicense");
	format(PlayerInfo[playerid][pAccent], 16, "%s", dini_Get(file, "Accent"));
	PlayerInfo[playerid][pVIP] = dini_Int(file, "VIP");
	PlayerInfo[playerid][pVIPBuddy] = dini_Int(file, "VIPBuddy");
	PlayerInfo[playerid][pVIPDay] = dini_Int(file, "VIPDay");
	PlayerInfo[playerid][pVIPMonth] = dini_Int(file, "VIPMonth");
	PlayerInfo[playerid][pVIPHour] = dini_Int(file, "VIPDayHour");
	PlayerInfo[playerid][pVIPTemp] = dini_Int(file, "VIPTemp");
	PlayerInfo[playerid][pVIPJob] = dini_Int(file, "VIPJob");
	PlayerInfo[playerid][pDeliverTruck] = dini_Int(file, "DeliverTruck");
	PlayerInfo[playerid][pNew] = dini_Int(file, "New");
	PlayerInfo[playerid][pRefPoints] = dini_Int(file, "RefPoints");
	PlayerInfo[playerid][pTester] = dini_Int(file, "Tester");
	PlayerInfo[playerid][pFightStyle] = dini_Int(file, "FightStyle");
	SetPlayerFightingStyle(playerid, PlayerInfo[playerid][pFightStyle]);
	PlayerInfo[playerid][pScope] = dini_Int(file, "Scope");
	PlayerInfo[playerid][pCookies] = dini_Int(file, "Cookies");
	PlayerInfo[playerid][pOldskool] = dini_Int(file, "Oldskool");
	PlayerInfo[playerid][pReward] = dini_Int(file, "Reward");
	PlayerInfo[playerid][pFish][0] = dini_Int(file, "Fish1");
	PlayerInfo[playerid][pFish][1] = dini_Int(file, "Fish2");
	PlayerInfo[playerid][pFish][2] = dini_Int(file, "Fish3");
	PlayerInfo[playerid][pFish][3] = dini_Int(file, "Fish4");
	PlayerInfo[playerid][pFish][4] = dini_Int(file, "Fish5");
	PlayerInfo[playerid][pLoyal] = dini_Int(file, "Loyal");
	PlayerInfo[playerid][pLoyalTag] = dini_Int(file, "LoyalTag");
	PlayerInfo[playerid][pLPoints] = dini_Int(file, "LPoints");
	PlayerInfo[playerid][pGate][0] = dini_Int(file, "Gate1");
	PlayerInfo[playerid][pGate][1] = dini_Int(file, "Gate2");
	PlayerInfo[playerid][pGate][2] = dini_Int(file, "Gate3");
	PlayerInfo[playerid][pMask] = dini_Int(file, "Mask");
	PlayerInfo[playerid][pMaskOn] = dini_Int(file, "MaskOn");
	PlayerInfo[playerid][pHide] = dini_Int(file, "Hide");
	PlayerInfo[playerid][pHideOn] = dini_Int(file, "HideOn");
	PlayerInfo[playerid][pWalkStyle] = dini_Int(file, "WalkStyle");
	PlayerInfo[playerid][pTWeed] = dini_Int(file, "TrunkWeed");
	PlayerInfo[playerid][pvTWeed] = dini_Int(file, "vTrunkWeed");
	PlayerInfo[playerid][pNote1] = dini_Set(file, "Note1",PlayerInfo[playerid][pNote1]);
	PlayerInfo[playerid][pNote1s] = dini_IntSet(file, "Note1s",PlayerInfo[playerid][pNote1s]);
	PlayerInfo[playerid][pNote2] = dini_Set(file, "Note2",PlayerInfo[playerid][pNote2]);
	PlayerInfo[playerid][pNote2s] = dini_IntSet(file, "Note2s",PlayerInfo[playerid][pNote2s]);
	PlayerInfo[playerid][pNote3] = dini_Set(file, "Note3",PlayerInfo[playerid][pNote3]);
	PlayerInfo[playerid][pNote3s] = dini_IntSet(file, "Note3s",PlayerInfo[playerid][pNote3s]);
	PlayerInfo[playerid][pNote4] = dini_Set(file, "Note4",PlayerInfo[playerid][pNote4]);
	PlayerInfo[playerid][pNote4s] = dini_IntSet(file, "Note4s",PlayerInfo[playerid][pNote4s]);
	PlayerInfo[playerid][pNote5] = dini_Set(file, "Note5",PlayerInfo[playerid][pNote5]);
	PlayerInfo[playerid][pNote5s] = dini_IntSet(file, "Note5s",PlayerInfo[playerid][pNote5s]);
	PlayerInfo[playerid][pRelationShip] = dini_IntSet(file, "RelationShip",PlayerInfo[playerid][pRelationShip]);
	PlayerInfo[playerid][pRelationWith] = dini_IntSet(file, "RelationWith",PlayerInfo[playerid][pRelationWith]);
	PlayerInfo[playerid][pVehPlate] = dini_IntSet(file, "VehPlate",PlayerInfo[playerid][pVehPlate]);
	PlayerInfo[playerid][pVVehPlate] = dini_IntSet(file, "VVehPlate",PlayerInfo[playerid][pVVehPlate]);
	PlayerInfo[playerid][pBVehPlate] = dini_IntSet(file, "BVehPlate",PlayerInfo[playerid][pBVehPlate]);
	LoadToys(playerid, file);
	// All Loaded
	print("Character file loaded successfuly.");
	//SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Your character files have loaded successfully.");
	new string[128];
	// Messages
	//SendClientMessage(playerid, COLOR_LIGHTRED, "Welcome to American Roleplay.");
    // Welcome
    format(string, sizeof(string), "SERVER: {FFFFFF}Welcome, {FF6347}%s{FFFFFF}. - Last Login (IP: %s) -", NORPN(playerid), PlayerInfo[playerid][pIP]);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	// Player
	format(string, sizeof(string), "PLAYER: {FFFFFF}You are logged in as level %d player.", PlayerInfo[playerid][pLevel]);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);
    // Helper
    //if(PlayerInfo[playerid][pHelper]){
    //format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as level %d helper.", PlayerInfo[playerid][pHelper]);
    //SendClientMessage(playerid, COLOR_LIGHTRED, string);}
    // Admin
    //if(PlayerInfo[playerid][pAdmin]){
	//format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as level %d administrator.", PlayerInfo[playerid][pAdmin]);
    //SendClientMessage(playerid, COLOR_LIGHTRED, string);}
    // Helper Messages
    //if(PlayerInfo[playerid][pHelper]){
    //format(string, sizeof(string), "HelpLogin: Helper %s has logged in. (Level %d)", RPN(playerid), PlayerInfo[playerid][pHelper]);
    //SendAdminMessage(COLOR_DARKRED, 1, string);}
    // Admin Messages
    if(PlayerInfo[playerid][pAdmin]){
	format(string, sizeof(string), "{FF0000}[AdminLogin]{FF6347} Administrator %s has logged in. (Level %d)", NORPN(playerid), PlayerInfo[playerid][pAdmin]);
    SendAdminMessage(COLOR_DARKRED, 3, string);}
    // Admin
    if(PlayerInfo[playerid][pOldAdmin]){
	format(string, sizeof(string), "{FF0000}[Server]{FF6347} You have been set to a %d Administrator.", PlayerInfo[playerid][pOldAdmin]);
	SendClientMessage(playerid, COLOR_BLUE, " This is because you logged out during your temp admin");
	PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pOldAdmin];
	PlayerInfo[playerid][pOldAdmin] = 0;
    SendClientMessage(playerid, COLOR_WHITE, string);}
    // Flag Messages
    if(strlen(PlayerInfo[playerid][pFlag]) > 0)
    {
        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has logged in. (Flagged player)", NORPN(playerid));
        SendAdminMessage(COLOR_DARKRED, 1, string);
    }
    // MOTDs
    //SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER MOTD: {FFFFFF}Do you need anyhelp? /report or /helpme.");
    if(strlen(ServerMOTD) > 0){
	format(string, sizeof(string), "SERVER MOTD: {FFFFFF}%s", ServerMOTD);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);}
    if(strlen(FamInfo[PlayerInfo[playerid][pFam]][fMOTD]) > 0){
	format(string, sizeof(string), "FAMILY MOTD: {FFFFFF}%s", FamInfo[PlayerInfo[playerid][pFam]][fMOTD]);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);}
    if(strlen(AdminMOTD) > 0 && PlayerInfo[playerid][pAdmin]){
	format(string, sizeof(string), "ADMIN MOTD: {FFFFFF}%s", AdminMOTD);
    SendClientMessage(playerid, COLOR_LIGHTRED, string);}
	return 1;
}

// Jobs Settings
// Legal Jobs: 1) Mechanic | 2) Lawyer | 3) Trucker | 4) Fisher (NOT NOW)
// Illegal Jobs: 5) Weapons Dealer | 6) Weapons Smuggler | 7) Drugs Dealer | 8) Drugs Smuggler | 9) Car Jacker (NOT NOW) | 10) Bodyguard

enum jobInfo
{
	jCars[9],
	jTrailers[9]
}
new JobInfo[MAX_JOBS][jobInfo];


// House Settings
enum houseInfo
{
	hLevel,
	hPrice,
	hStatus,
	hOwner[32],
	Float:hX,
	Float:hY,
	Float:hZ,
	hMoney,
	hMaterials,
	hWeed,
	hCrack,
	hGun[5],
	hGunAmmo[5],
	hPickup,
	Text3D:hText
}
new HouseInfo[MAX_HOUSES][houseInfo];

stock LoadHouses()
{
	new binfo[21][32];
	new string[256];
	new File:file = fopen("houses.cfg", io_read);
	if(file)
	{
	    new idx = 1;
		while(idx < MAX_HOUSES)
		{
		    fread(file, string);
		    split(string, binfo, '|');
		    HouseInfo[idx][hLevel] = strval(binfo[0]);
		    HouseInfo[idx][hPrice] = strval(binfo[1]);
		    HouseInfo[idx][hStatus] = strval(binfo[2]);
		    format(HouseInfo[idx][hOwner], 32, "%s", binfo[3]);
		    HouseInfo[idx][hX] = floatstr(binfo[4]);
		    HouseInfo[idx][hY] = floatstr(binfo[5]);
		    HouseInfo[idx][hZ] = floatstr(binfo[6]);
		    HouseInfo[idx][hMoney] = strval(binfo[7]);
		    HouseInfo[idx][hMaterials] = strval(binfo[8]);
		    HouseInfo[idx][hWeed] = strval(binfo[9]);
		    HouseInfo[idx][hCrack] = strval(binfo[10]);
			HouseInfo[idx][hGun][0] = strval(binfo[11]);
			HouseInfo[idx][hGunAmmo][0] = strval(binfo[12]);
			HouseInfo[idx][hGun][1] = strval(binfo[13]);
			HouseInfo[idx][hGunAmmo][1] = strval(binfo[14]);
			HouseInfo[idx][hGun][2] = strval(binfo[15]);
			HouseInfo[idx][hGunAmmo][2] = strval(binfo[16]);
			HouseInfo[idx][hGun][3] = strval(binfo[17]);
			HouseInfo[idx][hGunAmmo][3] = strval(binfo[18]);
			HouseInfo[idx][hGun][4] = strval(binfo[19]);
			HouseInfo[idx][hGunAmmo][4] = strval(binfo[20]);
			if(HouseInfo[idx][hLevel])
			{
			    HouseInfo[idx][hPickup] = CreateDynamicPickup(1273, 1, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ], 0);
                if(!strcmp("The State", HouseInfo[idx][hOwner])) format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
				else format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
				HouseInfo[idx][hText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]+0.3, 15);

			}
			idx++;
	    }
	}
	print("Houses loaded successfully.");
	return 1;
}

stock SaveHouses()
{
	new idx = 1, File:file;
	new string[256];
	while(idx < MAX_HOUSES)
	{
	    format(string, sizeof(string), "%d|%d|%d|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d|%d\r\n",
	    HouseInfo[idx][hLevel],
	    HouseInfo[idx][hPrice],
	    HouseInfo[idx][hStatus],
	    HouseInfo[idx][hOwner],
	    HouseInfo[idx][hX],
	    HouseInfo[idx][hY],
	    HouseInfo[idx][hZ],
	    HouseInfo[idx][hMoney],
	    HouseInfo[idx][hMaterials],
	    HouseInfo[idx][hWeed],
	    HouseInfo[idx][hCrack],
		HouseInfo[idx][hGun][0],
		HouseInfo[idx][hGunAmmo][0],
		HouseInfo[idx][hGun][1],
		HouseInfo[idx][hGunAmmo][1],
		HouseInfo[idx][hGun][2],
		HouseInfo[idx][hGunAmmo][2],
		HouseInfo[idx][hGun][3],
		HouseInfo[idx][hGunAmmo][3],
		HouseInfo[idx][hGun][4],
		HouseInfo[idx][hGunAmmo][4]
		);
	    if(idx == 1)
	    {
	        file = fopen("houses.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("houses.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Houses saved successfully.");
}


// Garages Settings
enum garageInfo
{
	gLevel,
	gPrice,
	gOwner[32],
	Float:gX,
	Float:gY,
	Float:gZ,
	gPickup,
	Text3D:gText
}
new GarageInfo[MAX_GARAGES][garageInfo];

stock LoadGarages()
{
	new binfo[21][32];
	new string[256];
	new File:file = fopen("garages.cfg", io_read);
	if(file)
	{
	    new idx = 1;
		while(idx < MAX_GARAGES)
		{
		    fread(file, string);
		    split(string, binfo, '|');
		    format(GarageInfo[idx][gOwner], 32, "%s", binfo[3]);
		    GarageInfo[idx][gX] = floatstr(binfo[4]);
		    GarageInfo[idx][gY] = floatstr(binfo[5]);
		    GarageInfo[idx][gZ] = floatstr(binfo[6]);
			if(GarageInfo[idx][gLevel])
			{
			    GarageInfo[idx][gPickup] = CreateDynamicPickup(1277, 1, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ], 0);
                if(!strcmp("The State", GarageInfo[idx][gOwner])) format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)\n"COE"\n"COE"Owner"CWE" %s\n"CWE"$%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
				else format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner]);
				GarageInfo[idx][gText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]+0.3, 15);

			}
			idx++;
	    }
	}
	print("Garages loaded successfully.");
	return 1;
}

stock SaveGarages()
{
	new idx = 1, File:file;
	new string[256];
	while(idx < MAX_GARAGES)
	{
	    format(string, sizeof(string), "%d|%d|%s|%f|%f|%f\r\n",
	    GarageInfo[idx][gLevel],
	    GarageInfo[idx][gPrice],
	    GarageInfo[idx][gOwner],
	    GarageInfo[idx][gX],
	    GarageInfo[idx][gY],
	    GarageInfo[idx][gZ]
		);
	    if(idx == 1)
	    {
	        file = fopen("garages.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("garages.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Garages saved successfully.");
}
// Garages Settings

// Business Settings
enum bizInfo
{
	bType,
	bStatus,
	bOwner[32],
	Float:bX,
	Float:bY,
	Float:bZ,
	bPickup,
	bMoney,
	bProducts,
	Text3D:bText,
	bSold,
	bLevel,
	bPrice,
	bAP
}
new BizInfo[MAX_BIZ][bizInfo];

stock LoadBiz()
{
    if(!fexist("biz.cfg")) fcreate("biz.cfg");
	new binfo[12][32];
	new string[256];
	new File:file = fopen("biz.cfg", io_read);
	if(file)
	{
	    new idx = 1;
		while(idx < MAX_BIZ)
		{
		    fread(file, string);
			g_bizRobber[idx] = -1;
		    split(string, binfo, '|');
		    BizInfo[idx][bType] = strval(binfo[0]);
		    BizInfo[idx][bStatus] = strval(binfo[1]);
		    format(BizInfo[idx][bOwner], 32, "%s", binfo[2]);
		    BizInfo[idx][bX] = floatstr(binfo[3]);
		    BizInfo[idx][bY] = floatstr(binfo[4]);
		    BizInfo[idx][bZ] = floatstr(binfo[5]);
		    BizInfo[idx][bMoney] = strval(binfo[6]);
		    BizInfo[idx][bProducts] = strval(binfo[7]);
		    BizInfo[idx][bSold] = strval(binfo[8]);
		    BizInfo[idx][bLevel] = strval(binfo[9]);
		    BizInfo[idx][bPrice] = strval(binfo[10]);
		    BizInfo[idx][bAP] = strval(binfo[11]);
		    if(BizInfo[idx][bType]) // If Business is owned
		    {
		    	BizInfo[idx][bPickup] = CreateDynamicPickup(1272, 1, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ], 0);
		    	if(!strcmp("The State", BizInfo[idx][bOwner])) format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"COE"$"CWE"%d", idx, RBT(idx), BizInfo[idx][bOwner], BizInfo[idx][bPrice]);
				//else format(string, sizeof(string), "ID: %d\n%s\nOwner: %s\nStatus: %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
				else format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
		    	BizInfo[idx][bText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]+0.3, 15);
			}
			idx++;
	    }
	}
	print("Businesses loaded successfully.");
	return 1;
}

stock SaveBiz()
{
    if(!fexist("biz.cfg")) fcreate("biz.cfg");
	new idx = 1, File:file;
	new string[256];
	while(idx < MAX_BIZ)
	{
	    format(string, sizeof(string), "%d|%d|%s|%f|%f|%f|%d|%d|%d|%d|%d|%d\r\n", BizInfo[idx][bType], BizInfo[idx][bStatus], BizInfo[idx][bOwner], BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ], BizInfo[idx][bMoney], BizInfo[idx][bProducts], BizInfo[idx][bSold], BizInfo[idx][bLevel], BizInfo[idx][bPrice], BizInfo[idx][bAP]);
	    if(idx == 1)
	    {
	        file = fopen("biz.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("biz.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Businesses saved successfully.");
}

enum gateInfo
{
	gGate,
	Text3D:gText,
	gModel,
	Float:gCX,
	Float:gCY,
	Float:gCZ,
	Float:gCRX,
	Float:gCRY,
	Float:gCRZ,
	Float:gOX,
	Float:gOY,
	Float:gOZ,
	Float:gORX,
	Float:gORY,
	Float:gORZ,
	gPassword[256],
	Float:gSpeed,
	gStatus
}
new GateInfo[MAX_GATES][gateInfo];

stock LoadGates()
{
	new dinfo[15][128];
	new string[256];
	new File:file = fopen("gates.cfg", io_read);
	if(file)
	{
	    new idx = 1;
		while(idx < MAX_GATES)
		{
		    fread(file, string);
		    split(string, dinfo, '|');
			GateInfo[idx][gModel] = strval(dinfo[0]);
			GateInfo[idx][gCX] = floatstr(dinfo[1]);
			GateInfo[idx][gCY] = floatstr(dinfo[2]);
			GateInfo[idx][gCZ] = floatstr(dinfo[3]);
			GateInfo[idx][gCRX] = floatstr(dinfo[4]);
			GateInfo[idx][gCRY] = floatstr(dinfo[5]);
			GateInfo[idx][gCRZ] = floatstr(dinfo[6]);
			GateInfo[idx][gOX] = floatstr(dinfo[7]);
			GateInfo[idx][gOY] = floatstr(dinfo[8]);
			GateInfo[idx][gOZ] = floatstr(dinfo[9]);
			GateInfo[idx][gORX] = floatstr(dinfo[10]);
			GateInfo[idx][gORY] = floatstr(dinfo[11]);
			GateInfo[idx][gORZ] = floatstr(dinfo[12]);
			format(GateInfo[idx][gPassword], 256, "%s", dinfo[13]);
			GateInfo[idx][gSpeed] = floatstr(dinfo[14]);
			if(GateInfo[idx][gModel]) // If gate exists
			{
			    format(string, sizeof(string), ""COE"(%d)", idx);
				GateInfo[idx][gGate] = CreateDynamicObject(GateInfo[idx][gModel], GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], GateInfo[idx][gCRX], GateInfo[idx][gCRY], GateInfo[idx][gCRZ]);
				GateInfo[idx][gText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], 10);
				GateInfo[idx][gStatus] = 1; // 0
			}
			idx++;
	    }
	}
	print("Gates loaded successfully.");
	return 1;
}

stock SaveGates()
{
	new idx = 1, File:file;
	new string[256];
	while(idx < MAX_GATES)
	{
	    format(string, sizeof(string), "%d|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%f|%s|%f\r\n",
		GateInfo[idx][gModel],
		GateInfo[idx][gCX],
		GateInfo[idx][gCY],
		GateInfo[idx][gCZ],
		GateInfo[idx][gCRX],
		GateInfo[idx][gCRY],
		GateInfo[idx][gCRZ],
		GateInfo[idx][gOX],
		GateInfo[idx][gOY],
		GateInfo[idx][gOZ],
		GateInfo[idx][gORX],
		GateInfo[idx][gORY],
		GateInfo[idx][gORZ],
		GateInfo[idx][gPassword],
		GateInfo[idx][gSpeed]);
		GateInfo[idx][gStatus] = 1; // 0
	    if(idx == 1)
	    {
	        file = fopen("gates.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("gates.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Gates saved successfully.");
	return 1;
}

enum doorInfo
{
	dPickup,
	dType,
	Float:dOX,
	Float:dOY,
	Float:dOZ,
	Float:dIX,
	Float:dIY,
	Float:dIZ,
	dOInt,
	dOVW,
	dIInt,
	dIVW,
	dCInt,
	dCExt,
	Float:dIA,
	Float:dOA,
	Text3D:dTextID,
	dText[128],
	dVehicleAble,

}
new DoorInfo[MAX_DOORS][doorInfo];

stock LoadDoors()
{
	new dinfo[16][128];
	new string[256];
	new File:file = fopen("doors.cfg", io_read);
	if(file)
	{
	    new idx = 0;
		while(idx < MAX_DOORS)
		{
		    fread(file, string);
		    split(string, dinfo, '|');
		    DoorInfo[idx][dType] = strval(dinfo[0]);
			DoorInfo[idx][dOX] = floatstr(dinfo[1]);
			DoorInfo[idx][dOY] = floatstr(dinfo[2]);
			DoorInfo[idx][dOZ] = floatstr(dinfo[3]);
			DoorInfo[idx][dIX] = floatstr(dinfo[4]);
			DoorInfo[idx][dIY] = floatstr(dinfo[5]);
			DoorInfo[idx][dIZ] = floatstr(dinfo[6]);
			DoorInfo[idx][dOInt] = strval(dinfo[7]);
			DoorInfo[idx][dOVW] = strval(dinfo[8]);
			DoorInfo[idx][dIInt] = strval(dinfo[9]);
			DoorInfo[idx][dIVW] = strval(dinfo[10]);
			DoorInfo[idx][dCInt] = strval(dinfo[11]);
			DoorInfo[idx][dCExt] = strval(dinfo[12]);
			DoorInfo[idx][dIA] = floatstr(dinfo[13]);
			format(DoorInfo[idx][dText], 128, "%s", dinfo[14]);
			DoorInfo[idx][dOA] = floatstr(dinfo[15]);
			if(DoorInfo[idx][dType]) // If door exists
			{
                DoorInfo[idx][dPickup] = CreateDynamicPickup(DoorInfo[idx][dType], 1, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ], DoorInfo[idx][dOVW], DoorInfo[idx][dOInt]);
				format(string, sizeof(string), ""COE"%s (%d)", DoorInfo[idx][dText] , idx);
				DoorInfo[idx][dTextID] = CreateDynamic3DTextLabel(string, COLOR_WHITE, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]+0.3, 15);
			}
			idx++;
	    }
	}
	print("Doors loaded successfully.");
	return 1;
}

stock SaveDoors()
{
	new idx = 0, File:file;
	new string[256];
	while(idx < MAX_DOORS)
	{
	    format(string, sizeof(string), "%d|%f|%f|%f|%f|%f|%f|%d|%d|%d|%d|%d|%d|%f|%s|%f\r\n",
  		DoorInfo[idx][dType],
		DoorInfo[idx][dOX],
		DoorInfo[idx][dOY],
		DoorInfo[idx][dOZ],
		DoorInfo[idx][dIX],
		DoorInfo[idx][dIY],
		DoorInfo[idx][dIZ],
		DoorInfo[idx][dOInt],
		DoorInfo[idx][dOVW],
		DoorInfo[idx][dIInt],
		DoorInfo[idx][dIVW],
		DoorInfo[idx][dCInt],
		DoorInfo[idx][dCExt],
		DoorInfo[idx][dIA],
		DoorInfo[idx][dText],
		DoorInfo[idx][dOA]);
	    if(idx == 0)
	    {
	        file = fopen("doors.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("doors.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Doors saved successfully.");
}

enum mapiconInfo
{
	mpID,
	mpType,
	Float:mpX,
	Float:mpY,
	Float:mpZ
}
new MapIconInfo[MAX_MAPICONS][mapiconInfo];

stock SaveMapIcons()
{
	new idx = 0, File:file;
	new string[256];
	while(idx < MAX_MAPICONS)
	{
	    format(string, sizeof(string), "%d|%f|%f|%f\r\n",
		MapIconInfo[idx][mpType],
		MapIconInfo[idx][mpX],
		MapIconInfo[idx][mpY],
		MapIconInfo[idx][mpZ]);
	    if(idx == 0)
	    {
	        file = fopen("mapicons.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("mapicons.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Mapicons saved successfully.");
}

stock LoadMapIcons()
{
	new dinfo[4][128];
	new string[256];
	new File:file = fopen("mapicons.cfg", io_read);
	if(file)
	{
	    new idx = 0;
		while(idx < MAX_MAPICONS)
		{
		    fread(file, string);
		    split(string, dinfo, '|');
		    MapIconInfo[idx][mpType] = strval(dinfo[0]);
			MapIconInfo[idx][mpX] = floatstr(dinfo[1]);
			MapIconInfo[idx][mpY] = floatstr(dinfo[2]);
			MapIconInfo[idx][mpZ] = floatstr(dinfo[3]);
			if(MapIconInfo[idx][mpType]) // If mapicon exists
			{
			    MapIconInfo[idx][mpID] = CreateDynamicMapIcon(MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ], MapIconInfo[idx][mpType], 0 ,0);
			}
			idx++;
	    }
	}
	print("Mapicons loaded successfully.");
	return 1;
}

// Drugs Depot - Drugs House - Crack Lab - Materials Pickup - Materials Factory
new PointTimer;
new Capturing;
new Float:Capture[3];
new PointBC[MAX_POINTS];

enum pointInfo
{
	pName[32],
	pTime,
	pOwner,
	Float:pX,
	Float:pY,
	Float:pZ,
	pProfit,
	pPickup,
	Text3D:pText
}
new PointInfo[MAX_POINTS][pointInfo];

stock SavePoints()
{
	new idx = 0, File:file;
	new string[256];
	while(idx < MAX_POINTS)
	{
	    format(string, sizeof(string), "%s|%d|%d|%f|%f|%f|%d\r\n",
		PointInfo[idx][pName],
		PointInfo[idx][pTime],
		PointInfo[idx][pOwner],
		PointInfo[idx][pX],
		PointInfo[idx][pY],
		PointInfo[idx][pZ],
		PointInfo[idx][pProfit]);
	    if(idx == 0)
	    {
	        file = fopen("points.cfg", io_write);
	    }
	    else
	    {
	    	file = fopen("points.cfg", io_append);
	    }
		fwrite(file, string);
		fclose(file);
		idx++;
	}
	print("Points saved successfully.");
}

stock LoadPoints()
{
	new dinfo[7][128];
	new string[256];
	new File:file = fopen("points.cfg", io_read);
	if(file)
	{
	    new idx = 0;
		while(idx < MAX_POINTS)
		{
		    fread(file, string);
		    split(string, dinfo, '|');
			format(PointInfo[idx][pName], 32, "%s", dinfo[0]);
			PointInfo[idx][pTime] = strval(dinfo[1]);
			PointInfo[idx][pOwner] = strval(dinfo[2]);
			PointInfo[idx][pX] = floatstr(dinfo[3]);
			PointInfo[idx][pY] = floatstr(dinfo[4]);
			PointInfo[idx][pZ] = floatstr(dinfo[5]);
			PointInfo[idx][pProfit] = strval(dinfo[6]);
			if(!PointInfo[idx][pTime]) // If point time is 0
			{
			    DestroyDynamicPickup(PointInfo[idx][pPickup]);
			    DestroyDynamic3DTextLabel(PointInfo[idx][pText]);
			    PointInfo[idx][pProfit] = 0;
			    PointInfo[idx][pPickup] = CreateDynamicPickup(1239, 1, PointInfo[idx][pX], PointInfo[idx][pY], PointInfo[idx][pZ]);
		    	PointInfo[idx][pText] = CreateDynamic3DTextLabel("Point\n/capture", COLOR_WHITE, PointInfo[idx][pX], PointInfo[idx][pY], PointInfo[idx][pZ]+0.3, 15);
				//format(string, sizeof(string), "The %s is available to be captured.", PointInfo[idx][pName]);
			    //SendClientMessageToAll(COLOR_YELLOW, string);
			}
			idx++;
	    }
	}
	print("Points loaded successfully.");
	return 1;
}


main()
{
	print("|-|-|-|-|-|-|-|-|-|-|-|-|-|");
	print("|=American Roleplay=|");
	print("|=Copyright © 2013 A:RP =|");
    print("|-|-|-|-|-|-|-|-|-|-|-|-|-|");
}


stock CheckFiles()
{
	if(!dini_Exists("arrest.cfg")) dini_Create("arrest.cfg");
	if(!dini_Exists("ban.cfg")) dini_Create("ban.cfg");
	if(!dini_Exists("biz.cfg")) dini_Create("biz.cfg");
	if(!dini_Exists("bugs.cfg")) dini_Create("bugs.cfg");
	if(!dini_Exists("banlist.cfg")) dini_Create("banlist.cfg");
	if(!dini_Exists("ideas.cfg")) dini_Create("ideas.cfg");
	if(!dini_Exists("cellphones.cfg")) dini_Create("cellphones.cfg");
	if(!dini_Exists("doors.cfg")) dini_Create("doors.cfg");
	if(!dini_Exists("gates.cfg")) dini_Create("gates.cfg");
	if(!dini_Exists("drugs.cfg")) dini_Create("drugs.cfg");
	if(!dini_Exists("families.cfg")) dini_Create("families.cfg");
	if(!dini_Exists("garages.cfg")) dini_Create("garages.cfg");
	if(!dini_Exists("houses.cfg")) dini_Create("houses.cfg");
	if(!dini_Exists("mapicons.cfg")) dini_Create("mapicons.cfg");
	if(!dini_Exists("motds.cfg")) dini_Create("motds.cfg");
	if(!dini_Exists("points.cfg")) dini_Create("points.cfg");
	if(!dini_Exists("products.cfg")) dini_Create("products.cfg");
	if(!dini_Exists("vehicles.cfg")) dini_Create("vehicles.cfg");
	return 1;
}

new NPCBus;
public OnGameModeInit()
{
	//IRC
	//botIDs[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
	//IRC_SetIntData(botIDs[0], E_IRC_CONNECT_DELAY, 20);
	//groupID = IRC_CreateGroup();
	// Rules :P
	tdrules0 = TextDrawCreate(170.000000, 159.000000, "MenuLine");
	TextDrawBackgroundColor(tdrules0, 255);
	TextDrawFont(tdrules0, 1);
	TextDrawLetterSize(tdrules0, 0.000000, 2.000000);
	TextDrawColor(tdrules0, -16777179);
	TextDrawSetOutline(tdrules0, 0);
	TextDrawSetProportional(tdrules0, 1);
	TextDrawSetShadow(tdrules0, 1);
	TextDrawUseBox(tdrules0, 1);
	TextDrawBoxColor(tdrules1, 85);
	TextDrawTextSize(tdrules0, 420.000000, 0.000000);
	TextDrawSetSelectable(tdrules0, 0);

	tdrules1 = TextDrawCreate(130.000000, 180.000000, "Content");
	TextDrawBackgroundColor(tdrules1, 255);
	TextDrawFont(tdrules1, 1);
	TextDrawLetterSize(tdrules1, 0.000000, 16.000000);
	TextDrawColor(tdrules1, -1);
	TextDrawSetOutline(tdrules1, 0);
	TextDrawSetProportional(tdrules1, 1);
	TextDrawSetShadow(tdrules1, 1);
	TextDrawUseBox(tdrules1, 1);
	TextDrawBoxColor(tdrules1, 85);
	TextDrawTextSize(tdrules1, 460.000000, 30.000000);
	TextDrawSetSelectable(tdrules1, 0);

	tdrules2 = TextDrawCreate(221.000000, 144.000000, "Rules of Modern-Life Roleplay");
	TextDrawBackgroundColor(tdrules2, 255);
	TextDrawFont(tdrules2, 1);
	TextDrawLetterSize(tdrules2, 0.300000, 1.599998);
	TextDrawColor(tdrules2, -1);
	TextDrawSetOutline(tdrules2, 1);
	TextDrawSetProportional(tdrules2, 1);
	TextDrawSetSelectable(tdrules2, 0);

	tdrules3 = TextDrawCreate(258.000000, 163.000000, "Faction/Gang Rules");
	TextDrawBackgroundColor(tdrules3, 255);
	TextDrawFont(tdrules3, 1);
	TextDrawLetterSize(tdrules3, 0.200000, 1.100000);
	TextDrawColor(tdrules3, -1);
	TextDrawSetOutline(tdrules3, 1);
	TextDrawSetProportional(tdrules3, 1);
	TextDrawUseBox(tdrules3, 1);
	TextDrawBoxColor(tdrules3, 0);
	TextDrawTextSize(tdrules3, 323.000000, 0.000000);
	TextDrawSetSelectable(tdrules3, 1);

	tdrules4 = TextDrawCreate(357.000000, 163.000000, "Scamming Rules");
	TextDrawBackgroundColor(tdrules4, 255);
	TextDrawFont(tdrules4, 1);
	TextDrawLetterSize(tdrules4, 0.200000, 1.100000);
	TextDrawColor(tdrules4, -1);
	TextDrawSetOutline(tdrules4, 1);
	TextDrawSetProportional(tdrules4, 1);
	TextDrawUseBox(tdrules4, 1);
	TextDrawBoxColor(tdrules4, 0);
	TextDrawTextSize(tdrules4, 411.000000, 0.000000);
	TextDrawSetSelectable(tdrules4, 1);

	tdrules5 = TextDrawCreate(179.000000, 163.000000, "General Rules");
	TextDrawBackgroundColor(tdrules5, 255);
	TextDrawFont(tdrules5, 1);
	TextDrawLetterSize(tdrules5, 0.200000, 1.100000);
	TextDrawColor(tdrules5, -1);
	TextDrawSetOutline(tdrules5, 1);
	TextDrawSetProportional(tdrules5, 1);
	TextDrawUseBox(tdrules5, 1);
	TextDrawBoxColor(tdrules5, 0);
	TextDrawTextSize(tdrules5, 226.000000, 0.000000);
	TextDrawSetSelectable(tdrules5, 1);

	tdrules6 = TextDrawCreate(140.000000, 190.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules6, 255);
	TextDrawFont(tdrules6, 1);
	TextDrawLetterSize(tdrules6, 0.300000, 1.000000);
	TextDrawColor(tdrules6, -1);
	TextDrawSetOutline(tdrules6, 0);
	TextDrawSetProportional(tdrules6, 1);
	TextDrawSetShadow(tdrules6, 1);
	TextDrawSetSelectable(tdrules6, 0);

	tdrules7 = TextDrawCreate(140.000000, 200.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules7, 255);
	TextDrawFont(tdrules7, 1);
	TextDrawLetterSize(tdrules7, 0.300000, 1.000000);
	TextDrawColor(tdrules7, -1);
	TextDrawSetOutline(tdrules7, 0);
	TextDrawSetProportional(tdrules7, 1);
	TextDrawSetShadow(tdrules7, 1);
	TextDrawSetSelectable(tdrules7, 0);

	tdrules8 = TextDrawCreate(140.000000, 210.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules8, 255);
	TextDrawFont(tdrules8, 1);
	TextDrawLetterSize(tdrules8, 0.300000, 1.000000);
	TextDrawColor(tdrules8, -1);
	TextDrawSetOutline(tdrules8, 0);
	TextDrawSetProportional(tdrules8, 1);
	TextDrawSetShadow(tdrules8, 1);
	TextDrawSetSelectable(tdrules8, 0);

	tdrules9 = TextDrawCreate(140.000000, 220.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules9, 255);
	TextDrawFont(tdrules9, 1);
	TextDrawLetterSize(tdrules9, 0.300000, 1.000000);
	TextDrawColor(tdrules9, -1);
	TextDrawSetOutline(tdrules9, 0);
	TextDrawSetProportional(tdrules9, 1);
	TextDrawSetShadow(tdrules9, 1);
	TextDrawSetSelectable(tdrules9, 0);

	tdrules10 = TextDrawCreate(140.000000, 230.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules10, 255);
	TextDrawFont(tdrules10, 1);
	TextDrawLetterSize(tdrules10, 0.300000, 1.000000);
	TextDrawColor(tdrules10, -1);
	TextDrawSetOutline(tdrules10, 0);
	TextDrawSetProportional(tdrules10, 1);
	TextDrawSetShadow(tdrules10, 1);
	TextDrawSetSelectable(tdrules10, 0);

	tdrules11 = TextDrawCreate(140.000000, 240.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules11, 255);
	TextDrawFont(tdrules11, 1);
	TextDrawLetterSize(tdrules11, 0.300000, 1.000000);
	TextDrawColor(tdrules11, -1);
	TextDrawSetOutline(tdrules11, 0);
	TextDrawSetProportional(tdrules11, 1);
	TextDrawSetShadow(tdrules11, 1);
	TextDrawSetSelectable(tdrules11, 0);

	tdrules12 = TextDrawCreate(140.000000, 250.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules12, 255);
	TextDrawFont(tdrules12, 1);
	TextDrawLetterSize(tdrules12, 0.300000, 1.000000);
	TextDrawColor(tdrules12, -1);
	TextDrawSetOutline(tdrules12, 0);
	TextDrawSetProportional(tdrules12, 1);
	TextDrawSetShadow(tdrules12, 1);
	TextDrawSetSelectable(tdrules12, 0);

	tdrules13 = TextDrawCreate(140.000000, 260.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules13, 255);
	TextDrawFont(tdrules13, 1);
	TextDrawLetterSize(tdrules13, 0.300000, 1.000000);
	TextDrawColor(tdrules13, -1);
	TextDrawSetOutline(tdrules13, 0);
	TextDrawSetProportional(tdrules13, 1);
	TextDrawSetShadow(tdrules13, 1);
	TextDrawSetSelectable(tdrules13, 0);

	tdrules14 = TextDrawCreate(140.000000, 270.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules14, 255);
	TextDrawFont(tdrules14, 1);
	TextDrawLetterSize(tdrules14, 0.300000, 1.000000);
	TextDrawColor(tdrules14, -1);
	TextDrawSetOutline(tdrules14, 0);
	TextDrawSetProportional(tdrules14, 1);
	TextDrawSetShadow(tdrules14, 1);
	TextDrawSetSelectable(tdrules14, 0);

	tdrules15 = TextDrawCreate(140.000000, 280.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules15, 255);
	TextDrawFont(tdrules15, 1);
	TextDrawLetterSize(tdrules15, 0.300000, 1.000000);
	TextDrawColor(tdrules15, -1);
	TextDrawSetOutline(tdrules15, 0);
	TextDrawSetProportional(tdrules15, 1);
	TextDrawSetShadow(tdrules15, 1);
	TextDrawSetSelectable(tdrules15, 0);

	tdrules16 = TextDrawCreate(140.000000, 290.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules16, 255);
	TextDrawFont(tdrules16, 1);
	TextDrawLetterSize(tdrules16, 0.300000, 1.000000);
	TextDrawColor(tdrules16, -1);
	TextDrawSetOutline(tdrules16, 0);
	TextDrawSetProportional(tdrules16, 1);
	TextDrawSetShadow(tdrules16, 1);
	TextDrawSetSelectable(tdrules16, 0);

	tdrules17 = TextDrawCreate(140.000000, 300.000000, "Hello, This is the first line of the perfect textdraw shit woow!");
	TextDrawBackgroundColor(tdrules17, 255);
	TextDrawFont(tdrules17, 1);
	TextDrawLetterSize(tdrules17, 0.300000, 1.000000);
	TextDrawColor(tdrules17, -1);
	TextDrawSetOutline(tdrules17, 0);
	TextDrawSetProportional(tdrules17, 1);
	TextDrawSetShadow(tdrules17, 1);
	TextDrawSetSelectable(tdrules17, 0);

	tdrules18 = TextDrawCreate(463.000000, 327.000000, "CloseBox");
	TextDrawBackgroundColor(tdrules18, 255);
	TextDrawFont(tdrules18, 1);
	TextDrawLetterSize(tdrules18, 0.000000, 1.399999);
	TextDrawColor(tdrules18, -1);
	TextDrawSetOutline(tdrules18, 0);
	TextDrawSetProportional(tdrules18, 1);
	TextDrawSetShadow(tdrules18, 1);
	TextDrawUseBox(tdrules18, 1);
	TextDrawBoxColor(tdrules18, -16777184);
	TextDrawTextSize(tdrules18, 422.000000, 0.000000);
	TextDrawSetSelectable(tdrules18, 0);

	tdrules19 = TextDrawCreate(429.000000, 329.000000, "Close");
	TextDrawBackgroundColor(tdrules19, 255);
	TextDrawFont(tdrules19, 1);
	TextDrawLetterSize(tdrules19, 0.300000, 1.000000);
	TextDrawColor(tdrules19, -1);
	TextDrawSetOutline(tdrules19, 1);
	TextDrawSetProportional(tdrules19, 1);
	TextDrawUseBox(tdrules19, 1);
	TextDrawBoxColor(tdrules19, 0);
	TextDrawTextSize(tdrules19, 456.000000, 0.000000);
	TextDrawSetSelectable(tdrules19, 1);
	
    AddStaticVehicle(466,1728.0455,-1853.0602,13.1560,89.1884,1,1); //
	AddStaticVehicle(466,1740.0166,-1853.2300,13.1559,89.1877,1,1); //
	AddStaticVehicle(466,1752.5345,-1853.4073,13.1560,89.1876,1,1); //
	AddStaticVehicle(466,1769.5281,-1853.6484,13.1559,89.1876,1,1); //
	AddStaticVehicle(466,1777.2068,-1902.0634,13.1290,271.3865,1,1); //
	AddStaticVehicle(466,1778.5249,-1909.4072,13.1300,270.0575,1,1); //
	AddStaticVehicle(466,1778.0980,-1916.6342,13.1291,270.4919,1,1); //
	AddStaticVehicle(466,1778.2885,-1921.7738,13.1291,269.8723,1,1); //
	AddStaticVehicle(466,1778.1412,-1926.3363,13.1298,268.4915,1,1); //
	AddStaticVehicle(466,1776.8748,-1931.1500,13.1290,268.3046,1,1); //
	//////////////////
	FireHealth = 0; // Los Santos EMS
	FireTimer = SetTimer("StartRandomFire", 1200000, false); // Los Santos EMS
	SetTimer("OnScriptUpdate", 1000, true); // Packet
	ServerLocked = false;
	fbidoor1 = CreateObject(1495, 1558.970703125, -1677.9114990234, 1722.1081542969, 0, 0, 0); // CLOSED DOORS 1
	fbidoor2 = CreateObject(1495, 1561.9755859375, -1677.8798828125, 1722.1081542969, 0, 0, 179.99450683594); // CLOSED DOORS 2
 	fbidoor3 = CreateObject(1495, 1550.4266357422, -1691.5009765625, 1722.1081542969, 0, 0, 0); // RIGHT DOOR CLOSED
 	fbidoor4 = CreateObject(1495, 1553.4294433594, -1691.4515380859, 1722.1081542969, 0, 0, 180); //LEFT DOOR CLOSED
 	toylist = LoadModelSelectionMenu("toylist.txt");
	skinlist = LoadModelSelectionMenu("skins.txt");
	copskinlist = LoadModelSelectionMenu("copskinlist.txt");
	hsfskinlist = LoadModelSelectionMenu("hsfskinlist.txt");
	lsemsskinlist = LoadModelSelectionMenu("lsemsskinlist.txt");
//	SetTimer("WeatherChange", 60 * 1000, true);
	for(new n = 0; n < MAX_OBJ; n++) dGunData[n][ObjID] = -1;
	#if defined SAVING
	new File:file = fopen("DroppedGuns.ini", io_read);
    if(file)
    {
        new buffer[256], FileCoords[5][20];
        for(new g = 0; g < MAX_OBJ; g++)
        {
            fread(file, buffer);
            split(buffer, FileCoords, ',');
            dGunData[g][ObjPos][0] = floatstr(FileCoords[0]);
			dGunData[g][ObjPos][1] = floatstr(FileCoords[1]);
			dGunData[g][ObjPos][2] = floatstr(FileCoords[2]);
			dGunData[g][ObjData][0] = strval(FileCoords[3]);
			dGunData[g][ObjData][1] = strval(FileCoords[4]);
			if(dGunData[g][ObjData][0] > 0 && dGunData[g][ObjData][1] != 0 && dGunData[g][ObjPos][0] != 0)
			{
				dGunData[g][ObjID] = CreateDynamicObject(GunObjects[dGunData[g][ObjData][0]], dGunData[g][ObjPos][0], dGunData[g][ObjPos][1], dGunData[g][ObjPos][2]-1, 93.7, 120.0, 120.0);
				printf("* %s loaded: %f,%f,%f", GunNames[dGunData[g][ObjData][0]], dGunData[g][ObjPos][0], dGunData[g][ObjPos][1], dGunData[g][ObjPos][2]-1);
			}
        }
    }
    else print("ERROR: Failed to open \"DroppedGuns.ini\"");
	#endif
	//ResetElevatorQueue();
	//Elevator_Initialize();
	LoadRadioParams();
	if(NumOfRadio > MAX_RADIO) print("[WARNING] Number of radio is above maximum! There may be problems in working of script.");
	if(NumOfRadio <= 0) print("[WARNING] Number of radio is negative or zero! There may be problems in working of script.");
	for(new i = 1; i <= MAX_VEHICLES; i++)
	{
		VehRadio[i] = random(NumOfRadio);
		for(new s = 1; s < 8; s++) PassengerInCar[i][s] = INVALID_PLAYER_ID;
	}
	StationText[0] = TextDrawCreate(275.0,20.0,"Radio Off");
	TextDrawAlignment(StationText[0],0);
	TextDrawBackgroundColor(StationText[0],0x000000ff);
	TextDrawFont(StationText[0],2);
	TextDrawLetterSize(StationText[0],0.4,1.6);
	TextDrawColor(StationText[0],0x906010ff);
	TextDrawSetOutline(StationText[0],1);
	TextDrawSetProportional(StationText[0],2);
	TextDrawSetShadow(StationText[0],1);
	for(new t = 1; t <= NumOfRadio; t++)
	{
		StationText[t] = TextDrawCreate(CalculateX(t),20.0,RadioParams[t][0]);
		TextDrawAlignment(StationText[t],0);
		TextDrawBackgroundColor(StationText[t],0x000000ff);
		TextDrawFont(StationText[t],2);
		TextDrawLetterSize(StationText[t],0.4,1.6);
		TextDrawColor(StationText[t],0x906010ff);
		TextDrawSetOutline(StationText[t],1);
		TextDrawSetProportional(StationText[t],2);
		TextDrawSetShadow(StationText[t],1);
	}
 	new path[32];
	for(new a=0;a<MAX_ATM;a++)// ATM SYS LOAD
	{
		format(path,sizeof(path),"atms/atm%d.txt",a);
		if(!dini_Exists(path)) continue;
		atmInfo[a][aX]=dini_Float(path,"X");
		atmInfo[a][aY]=dini_Float(path,"Y");
		atmInfo[a][aZ]=dini_Float(path,"Z");
		atmInfo[a][aA]=dini_Float(path,"A");
		atmInfo[a][aObject]=CreateObject(ATM_OBJECT,atmInfo[a][aX],atmInfo[a][aY],atmInfo[a][aZ]-0.5,0.0,0.0,atmInfo[a][aA]-180,150.55);
		atmInfo[a][aText]=Create3DTextLabel("--------[ ATM ]--------\n/awithdraw /adeposit /abalance",COLOR_GREENYELLOW,atmInfo[a][aX],atmInfo[a][aY],atmInfo[a][aZ]+1,10.0,0,0);
	}
	CheckFiles();
	SetGameModeText(SERVER_GM_TEXT);
	//SendRconCommand("hostname American Roleplay [Refunding]");
	//SendRconCommand("hostname American Roleplay [Refunding]");
	//SendRconCommand("hostname [0.3e] American Roleplay [Refund | Opening]");
	SendRconCommand("hostname "SERVER_HOSTNAME"");
	SendRconCommand("weburl "SERVER_WEBSITE"");
	SendRconCommand("mapname San Andreas");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	EnableStuntBonusForAll(0);
	DisableInteriorEnterExits();
	ShowPlayerMarkers(1);
	UsePlayerPedAnims(); // CJ Run
	SetTimer("SpeedCamsTimer", 1000, true);
	LoadStaticVehicles();
	LoadObjects();
	LoadFactions();
	LoadGarages();
	LoadFamilies();
	LoadPoints();
	LoadBiz();
	LoadHouses();
	LoadDoors();
	LoadGates();
	LoadMapIcons();
	LoadArrestPoint();
	LoadDrugs();
	LoadProducts();
	LoadPickups();
	LoadMOTDS();
	LoadSpeedCams();
	LoadSpeedBumps();
	
	for(new i; i < MAX_PLAYERS; i++)
	{
		radarTD[i] = TextDrawCreate(650.000000, 0.000000, "New Textdraw");
		TextDrawBackgroundColor(radarTD[i], 255);
		TextDrawFont(radarTD[i], 1);
		TextDrawLetterSize(radarTD[i], 0.000000, 25.000000);
		TextDrawColor(radarTD[i], -1);
		TextDrawSetOutline(radarTD[i], 0);
		TextDrawSetProportional(radarTD[i], 1);
		TextDrawSetShadow(radarTD[i], 1);
		TextDrawUseBox(radarTD[i], 1);
		TextDrawBoxColor(radarTD[i], -286331192);
		TextDrawTextSize(radarTD[i], -30.000000, 30.000000);
	}
	OOCModeTD = TextDrawCreate(500.000000, 150.000000,"OOC Mode");
	TextDrawFont(OOCModeTD,3);
	TextDrawBackgroundColor(OOCModeTD, 0x000000AA);
	TextDrawLetterSize(OOCModeTD,0.200000, 0.999999);
	TextDrawSetOutline(OOCModeTD,1);
	TextDrawSetShadow(OOCModeTD,0);
	TextDrawTextSize(OOCModeTD, 606.000000, -2.000000);
	TextDrawFont(OOCModeTD, 2);
	TextDrawColor(OOCModeTD,0xFFFFFFFF);
	TextDrawUseBox(OOCModeTD, 1);
	TextDrawBoxColor(OOCModeTD, 0x00000076);



	{


	}


	//CreateDynamicPickUp/Test
	CreateDynamic3DTextLabel("Arrest Point\n{FFFF00}/arrest to arrest a suspect", COLOR_RED, 1659.12,-1706.57,15.61, 12);
	CreateDynamic3DTextLabel("Arrest Point\n{FFFF00}/arrest to arrest a suspect", COLOR_RED, 1800.5121,-1717.1593,13.5293, 12);
	CreateDynamic3DTextLabel("Arrest Point\n{FFFF00}/arrest to arrest a suspect", COLOR_RED, 1511.5458,-1469.1791,9.5000, 12);
	
	// Ban Textdraw
 	BannedNotice = TextDrawCreate(120.000000, 129.000000, "~r~You have been banned from RL:RP");
 	TextDrawBackgroundColor(BannedNotice, 255);
 	TextDrawFont(BannedNotice, 1);
 	TextDrawLetterSize(BannedNotice, 0.600000, 5.000000);
 	TextDrawColor(BannedNotice, -1);
 	TextDrawSetOutline(BannedNotice, 0);
 	TextDrawSetProportional(BannedNotice, 1);
 	TextDrawSetShadow(BannedNotice, 1);

	// Kick Textdraw
 	KickedNotice = TextDrawCreate(120.000000, 129.000000, "~r~You have been kicked from RL:RP");
 	TextDrawBackgroundColor(KickedNotice, 255);
 	TextDrawFont(KickedNotice, 1);
 	TextDrawLetterSize(KickedNotice, 0.600000, 5.000000);
 	TextDrawColor(KickedNotice, -1);
 	TextDrawSetOutline(KickedNotice, 0);
 	TextDrawSetProportional(KickedNotice, 1);
 	TextDrawSetShadow(KickedNotice, 1);

	// Fuelmeter
	fuelmeter = TextDrawCreate(200.000000, 432.000000, "Fuel:");
	TextDrawBackgroundColor(fuelmeter, 255);
	TextDrawFont(fuelmeter, 1);
	TextDrawLetterSize(fuelmeter, 0.500000, 1.000000);
	TextDrawColor(fuelmeter, 16777215);
	TextDrawSetOutline(fuelmeter, 0);
	TextDrawSetProportional(fuelmeter, 1);
	TextDrawSetShadow(fuelmeter, 1);
	TextDrawSetSelectable(fuelmeter, 0);

	// Speedometer
	speedometer = TextDrawCreate(292.000000, 432.000000, "MPH:");
	TextDrawBackgroundColor(speedometer, 255);
	TextDrawFont(speedometer, 1);
	TextDrawLetterSize(speedometer, 0.500000, 1.000000);
	TextDrawColor(speedometer, 16777215);
	TextDrawSetOutline(speedometer, 0);
	TextDrawSetProportional(speedometer, 1);
	TextDrawSetShadow(speedometer, 1);
	TextDrawSetSelectable(speedometer, 0);

	// Tutorial Textdraws
    for(new i = 0; i<MAX_PLAYERS; i++) // FUCK OFF SCOTT xD
	{
		TextTut[i] =
		TextDrawCreate(172.000000, 342.000000, "RL:RP ");
		TextDrawBackgroundColor(TextTut[i], 255);
		TextDrawFont(TextTut[i], 1);
		TextDrawLetterSize(TextTut[i], 0.220000, 1.200000);
		TextDrawColor(TextTut[i], -1);
		TextDrawSetOutline(TextTut[i], 0);
		TextDrawSetProportional(TextTut[i], 1);
		TextDrawSetShadow(TextTut[i], 1);
	}

	TutTxt[1] =
	TextDrawCreate(159.000000, 302.000000, "_"); // BOX
	TextDrawBackgroundColor(TutTxt[1], 255);
	TextDrawFont(TutTxt[1], 2);
	TextDrawLetterSize(TutTxt[1], 0.290000, 14.099998);
	TextDrawColor(TutTxt[1], -1);
	TextDrawSetOutline(TutTxt[1], 0);
	TextDrawSetProportional(TutTxt[1], 1);
	TextDrawSetShadow(TutTxt[1], 1);
	TextDrawUseBox(TutTxt[1], 1);
	TextDrawBoxColor(TutTxt[1], 75);//0x0000FFAA
	TextDrawTextSize(TutTxt[1], 473.000000, -43.000000);

	TutTxt[2] =
	TextDrawCreate(173.000000, 407.000000, "RL:RP Back~w~ ");
	TextDrawBackgroundColor(TutTxt[2], 255);
	TextDrawFont(TutTxt[2], 3);
	TextDrawLetterSize(TutTxt[2], 0.319999, 1.700000);
	TextDrawColor(TutTxt[2], 0x0000FFAA);
	TextDrawSetOutline(TutTxt[2], 0);
	TextDrawSetProportional(TutTxt[2], 1);
	TextDrawSetShadow(TutTxt[2], 1);

	TutTxt[3] =
	TextDrawCreate(317.000000, 313.000000, "Real Life Roleplay Tutorial");
	TextDrawAlignment(TutTxt[3], 2);
	TextDrawBackgroundColor(TutTxt[3], 255);
	TextDrawFont(TutTxt[3], 3);
	TextDrawLetterSize(TutTxt[3], 0.359999, 2.000000);
	TextDrawColor(TutTxt[3], 0xFF0000AA);
	TextDrawSetOutline(TutTxt[3], 0);
	TextDrawSetProportional(TutTxt[3], 1);
	TextDrawSetShadow(TutTxt[3], 1);
	
	// Black Screen
/*	Black0 = TextDrawCreate(-1.000000, 1.000000, "1"); //BLACK SCREEEEEEEEEEEEEEEEEEEEEN
	TextDrawBackgroundColor(Black0, 255);
	TextDrawFont(Black0, 1);
	TextDrawLetterSize(Black0, 2.189999, 11.199993);
	TextDrawColor(Black0, 255);
	TextDrawSetOutline(Black0, 0);
	TextDrawSetProportional(Black0, 1);
	TextDrawSetShadow(Black0, 1);
	TextDrawUseBox(Black0, 1);
	TextDrawBoxColor(Black0, 255);
	TextDrawTextSize(Black0, 693.000000, 0.000000);

	Black1 = TextDrawCreate(-4.000000, 338.000000, "New Textdraw");
	TextDrawBackgroundColor(Black1, 255);
	TextDrawFont(Black1, 1);
	TextDrawLetterSize(Black1, 2.399998, 14.000000);
	TextDrawColor(Black1, 255);
	TextDrawSetOutline(Black1, 0);
	TextDrawSetProportional(Black1, 1);
	TextDrawSetShadow(Black1, 1);
	TextDrawUseBox(Black1, 1);
	TextDrawBoxColor(Black1, 255);
	TextDrawTextSize(Black1, 671.000000, -30.000000);

	cttext = TextDrawCreate(270.000000, 22.000000, "American Roleplay");
	TextDrawBackgroundColor(cttext, 255);
	TextDrawFont(cttext, 2);
	TextDrawLetterSize(cttext, 0.909987, 4.000000);
	TextDrawColor(cttext, -50559745);
	TextDrawSetOutline(cttext, 0);
	TextDrawSetProportional(cttext, 1);
	TextDrawSetShadow(cttext, 1);

	rptext = TextDrawCreate(472.000000, 53.000000, "Roleplay, #Lovely");
	TextDrawBackgroundColor(rptext, 255);
	TextDrawFont(rptext, 2);
	TextDrawLetterSize(rptext, 0.379999, 1.399999);
	TextDrawColor(rptext, -1);
	TextDrawSetOutline(rptext, 0);
	TextDrawSetProportional(rptext, 1);
	TextDrawSetShadow(rptext, 1);

	vertext = TextDrawCreate(90.000000, 400.000000, "Version 3.7");
	TextDrawBackgroundColor(vertext, 255);
	TextDrawFont(vertext, 2);
	TextDrawLetterSize(vertext, 0.379999, 1.399999);
	TextDrawColor(vertext, -1);
	TextDrawSetOutline(vertext, 0);
	TextDrawSetProportional(vertext, 1);
	TextDrawSetShadow(vertext, 1);*/

	// Login Screen 23-02
	/*loginscreen0 = TextDrawCreate(647.000000, 115.000000, " ");
	TextDrawBackgroundColor(loginscreen0, 255);
	TextDrawFont(loginscreen0, 1);
	TextDrawLetterSize(loginscreen0, 0.500000, -21.000000);
	TextDrawColor(loginscreen0, 255);
	TextDrawSetOutline(loginscreen0, 0);
	TextDrawSetProportional(loginscreen0, 1);
	TextDrawSetShadow(loginscreen0, 1);
	TextDrawUseBox(loginscreen0, 1);
	TextDrawBoxColor(loginscreen0, 255);
	TextDrawTextSize(loginscreen0, -63.000000, 2.000000);

	loginscreen1 = TextDrawCreate(680.000000, 336.000000, " ");
	TextDrawBackgroundColor(loginscreen1, 255);
	TextDrawFont(loginscreen1, 1);
	TextDrawLetterSize(loginscreen1, 0.500000, 5.000000);
	TextDrawColor(loginscreen1, -1);
	TextDrawSetOutline(loginscreen1, 0);
	TextDrawSetProportional(loginscreen1, 1);
	TextDrawSetShadow(loginscreen1, 1);
	TextDrawUseBox(loginscreen1, 1);
	TextDrawBoxColor(loginscreen1, 255);
	TextDrawTextSize(loginscreen1, -40.000000, 130.000000);*/

	// NEw

	Area = TextDrawCreate(643.000000, 0.000000, "New Area");
	TextDrawBackgroundColor(Area, 255);
	TextDrawFont(Area, 1);
	TextDrawLetterSize(Area, 0.500000, 7.600000);
	TextDrawColor(Area, -1);
	TextDrawSetOutline(Area, 0);
	TextDrawSetProportional(Area, 1);
	TextDrawSetShadow(Area, 1);
	TextDrawUseBox(Area, 1);
	TextDrawBoxColor(Area, 117);
	TextDrawTextSize(Area, -20.000000, -5.000000);

	Area1 = TextDrawCreate(643.000000, 310.000000, "New Area");
	TextDrawBackgroundColor(Area1, 255);
	TextDrawFont(Area1, 1);
	TextDrawLetterSize(Area1, 0.500000, 8.299999);
	TextDrawColor(Area1, -1);
	TextDrawSetOutline(Area1, 0);
	TextDrawSetProportional(Area1, 1);
	TextDrawSetShadow(Area1, 1);
	TextDrawUseBox(Area1, 1);
	TextDrawBoxColor(Area1, 117);
	TextDrawTextSize(Area1, -19.000000, -6.000000);

	Area2 = TextDrawCreate(653.000000, 142.000000, "New Area");
	TextDrawBackgroundColor(Area2, 255);
	TextDrawFont(Area2, 1);
	TextDrawLetterSize(Area2, 0.500000, -0.200000);
	TextDrawColor(Area2, -1);
	TextDrawSetOutline(Area2, 0);
	TextDrawSetProportional(Area2, 1);
	TextDrawSetShadow(Area2, 1);
	TextDrawUseBox(Area2, 1);
	TextDrawBoxColor(Area2, 255);
	TextDrawTextSize(Area2, -9.000000, -4.000000);

	Area3 = TextDrawCreate(653.000000, 309.000000, "New Area");
	TextDrawBackgroundColor(Area3, 255);
	TextDrawFont(Area3, 1);
	TextDrawLetterSize(Area3, 0.500000, -0.200000);
	TextDrawColor(Area3, -1);
	TextDrawSetOutline(Area3, 0);
	TextDrawSetProportional(Area3, 1);
	TextDrawSetShadow(Area3, 1);
	TextDrawUseBox(Area3, 1);
	TextDrawBoxColor(Area3, 255);
	TextDrawTextSize(Area3, -9.000000, -4.000000);

	Area4 = TextDrawCreate(255.000000, 115.000000, "Real Life Roleplay");
	TextDrawBackgroundColor(Area4, 255);
	TextDrawFont(Area4, 3);
	TextDrawLetterSize(Area4, 0.800000, 3.100000);
	TextDrawColor(Area4, -16776961);
	TextDrawSetOutline(Area4, 0);
	TextDrawSetProportional(Area4, 1);
	TextDrawSetShadow(Area4, 1);
	
	AreaMotd = TextDrawCreate(170.000000, 330.000000, "Where your story begins");
	TextDrawBackgroundColor(AreaMotd, 255);
	TextDrawFont(AreaMotd, 1);
	TextDrawLetterSize(AreaMotd, 0.500000, 2.000000);
	TextDrawColor(AreaMotd, -1);
	TextDrawSetOutline(AreaMotd, 0);
	TextDrawSetProportional(AreaMotd, 1);
	TextDrawSetShadow(AreaMotd, 2);
/*	loginscreen0 = TextDrawCreate(-1.000000, 1.000000, "1"); //BLACK SCREEEEEEEEEEEEEEEEEEEEEN
	TextDrawBackgroundColor(loginscreen0, 255);
	TextDrawFont(loginscreen0, 1);
	TextDrawLetterSize(loginscreen0, 2.189999, 11.199993);
	TextDrawColor(loginscreen0, 255);
	TextDrawSetOutline(loginscreen0, 0);
	TextDrawSetProportional(loginscreen0, 1);
	TextDrawSetShadow(loginscreen0, 1);
	TextDrawUseBox(loginscreen0, 1);
	TextDrawBoxColor(loginscreen0, 255);
	TextDrawTextSize(loginscreen0, 693.000000, 0.000000);

	loginscreen1 = TextDrawCreate(-4.000000, 338.000000, "New Textdraw");
	TextDrawBackgroundColor(loginscreen1, 255);
	TextDrawFont(loginscreen1, 1);
	TextDrawLetterSize(loginscreen1, 2.399998, 14.000000);
	TextDrawColor(loginscreen1, 255);
	TextDrawSetOutline(loginscreen1, 0);
	TextDrawSetProportional(loginscreen1, 1);
	TextDrawSetShadow(loginscreen1, 1);
	TextDrawUseBox(loginscreen1, 1);
	TextDrawBoxColor(loginscreen1, 255);
	TextDrawTextSize(loginscreen1, 671.000000, -30.000000);

	loginscreen2 = TextDrawCreate(678.000000, 115.000000, " ");
	TextDrawBackgroundColor(loginscreen2, 255);
	TextDrawFont(loginscreen2, 1);
	TextDrawLetterSize(loginscreen2, 0.500000, 0.300000);
	TextDrawColor(loginscreen2, -1);
	TextDrawSetOutline(loginscreen2, 0);
	TextDrawSetProportional(loginscreen2, 1);
	TextDrawSetShadow(loginscreen2, 1);
	TextDrawUseBox(loginscreen2, 1);
	TextDrawBoxColor(loginscreen2, -16776961);
	TextDrawTextSize(loginscreen2, -130.000000, 0.000000);

	loginscreen3 = TextDrawCreate(670.000000, 330.000000, " ");
	TextDrawBackgroundColor(loginscreen3, 255);
	TextDrawFont(loginscreen3, 1);
	TextDrawLetterSize(loginscreen3, 0.500000, 0.300000);
	TextDrawColor(loginscreen3, -1);
	TextDrawSetOutline(loginscreen3, 0);
	TextDrawSetProportional(loginscreen3, 1);
	TextDrawSetShadow(loginscreen3, 1);
	TextDrawUseBox(loginscreen3, 1);
	TextDrawBoxColor(loginscreen3, -16776961);
	TextDrawTextSize(loginscreen3, -130.000000, 0.000000);

	loginscreen4 = TextDrawCreate(319.000000, 13.000000, "American: RP");
	TextDrawAlignment(loginscreen4, 2);
	TextDrawBackgroundColor(loginscreen4, 255);
	TextDrawFont(loginscreen4, 3);
	TextDrawLetterSize(loginscreen4, 0.970000, 5.700000);
	TextDrawColor(loginscreen4, 897188095);
	TextDrawSetOutline(loginscreen4, 0);
	TextDrawSetProportional(loginscreen4, 1);
	TextDrawSetShadow(loginscreen4, 1);

	loginscreen5 = TextDrawCreate(206.000000, 64.000000, "Where your story begins!");
	TextDrawBackgroundColor(loginscreen5, 255);
	TextDrawFont(loginscreen5, 3);
	TextDrawLetterSize(loginscreen5, 0.500000, 1.000000);
	TextDrawColor(loginscreen5, 1878982911);
	TextDrawSetOutline(loginscreen5, 0);
	TextDrawSetProportional(loginscreen5, 1);
	TextDrawSetShadow(loginscreen5, 1);

	loginscreen6 = TextDrawCreate(113.000000, 328.000000, "===================================");
	TextDrawBackgroundColor(loginscreen6, 255);
	TextDrawFont(loginscreen6, 1);
	TextDrawLetterSize(loginscreen6, 0.500000, 1.000000);
	TextDrawColor(loginscreen6, -1);
	TextDrawSetOutline(loginscreen6, 0);
	TextDrawSetProportional(loginscreen6, 1);
	TextDrawSetShadow(loginscreen6, 1);

	loginscreen7 = TextDrawCreate(113.000000, 113.000000, "===================================");
	TextDrawBackgroundColor(loginscreen7, 255);
	TextDrawFont(loginscreen7, 1);
	TextDrawLetterSize(loginscreen7, 0.500000, 1.000000);
	TextDrawColor(loginscreen7, -1);
	TextDrawSetOutline(loginscreen7, 0);
	TextDrawSetProportional(loginscreen7, 1);
	TextDrawSetShadow(loginscreen7, 1);

	loginscreen8 = TextDrawCreate(247.000000, 368.000000, "Forums: ngcraft.nl");
	TextDrawBackgroundColor(loginscreen8, 255);
	TextDrawFont(loginscreen8, 1);
	TextDrawLetterSize(loginscreen8, 0.500000, 1.000000);
	TextDrawColor(loginscreen8, 16777215);
	TextDrawSetOutline(loginscreen8, 0);
	TextDrawSetProportional(loginscreen8, 1);
	TextDrawSetShadow(loginscreen8, 1);

	loginscreen9 = TextDrawCreate(146.000000, 380.000000, "Make sure that you registered an account");
	TextDrawBackgroundColor(loginscreen9, 255);
	TextDrawFont(loginscreen9, 1);
	TextDrawLetterSize(loginscreen9, 0.500000, 1.000000);
	TextDrawColor(loginscreen9, 16777215);
	TextDrawSetOutline(loginscreen9, 0);
	TextDrawSetProportional(loginscreen9, 1);
	TextDrawSetShadow(loginscreen9, 1);

	loginscreen10 = TextDrawCreate(215.000000, 392.000000, "Owner Roy M Washington");
	TextDrawBackgroundColor(loginscreen10, 255);
	TextDrawFont(loginscreen10, 1);
	TextDrawLetterSize(loginscreen10, 0.500000, 1.000000);
	TextDrawColor(loginscreen10, 16777215);
	TextDrawSetOutline(loginscreen10, 0);
	TextDrawSetProportional(loginscreen10, 1);
	TextDrawSetShadow(loginscreen10, 1);*/

	// Animations
	txtAnimHelper = TextDrawCreate(610.0, 400.0, "~r~~k~~PED_SPRINT~ ~w~to stop the animation");
	TextDrawUseBox(txtAnimHelper, 0);
	TextDrawFont(txtAnimHelper, 2);
	TextDrawSetShadow(txtAnimHelper,0); // no shadow
	TextDrawSetOutline(txtAnimHelper,1); // thickness 1
	TextDrawBackgroundColor(txtAnimHelper,0x000000FF);
	TextDrawColor(txtAnimHelper,0xFFFFFFFF);
	TextDrawAlignment(txtAnimHelper,3); // align right
	// report bug
	SetTimer("Bug", 600000, true);

	SetTimer("Zones_Update", 500, 1);

 /*   for(new i=0; i<MAX_PLAYERS; i++){
   	Zones[i] = TextDrawCreate(500.000000, 135.000000, "_");
   	TextDrawBackgroundColor(Zones[i], 255);
   	TextDrawFont(Zones[i], 1);
   	TextDrawLetterSize(Zones[i], 0.200000, 0.999999);
   	TextDrawColor(Zones[i], -1);
   	TextDrawSetOutline(Zones[i], 0);
   	TextDrawSetProportional(Zones[i], 1);
   	TextDrawSetShadow(Zones[i], 1);
   	TextDrawUseBox(Zones[i], 1);
   	TextDrawBoxColor(Zones[i], 0x00000076);
   	TextDrawTextSize(Zones[i], 606.000000, -2.000000);}*/
	
    for(new i=0; i<MAX_PLAYERS; i++){
   	Zones[i] = TextDrawCreate(22.000000, 432.000000, "_");
   	TextDrawBackgroundColor(Zones[i], 255);
   	TextDrawFont(Zones[i], 1);
   	TextDrawLetterSize(Zones[i], 0.500000, 1.000000);
   	TextDrawColor(Zones[i], -1);
   	TextDrawSetOutline(Zones[i], 0);
   	TextDrawSetProportional(Zones[i], 1);
   	TextDrawSetShadow(Zones[i], 1);
   	TextDrawUseBox(Zones[i], 0);
   	TextDrawBoxColor(Zones[i], 0x00000076);
   	TextDrawTextSize(Zones[i], 606.000000, -2.000000);}

	// New Server Text Balk
	information = TextDrawCreate(642.000000, 430.000000, "  ");
	TextDrawBackgroundColor(information, 255);
	TextDrawFont(information, 1);
	TextDrawLetterSize(information, 0.000000, 1.399999);
	TextDrawColor(information, -1);
	TextDrawSetOutline(information, 0);
	TextDrawSetProportional(information, 1);
	TextDrawSetShadow(information, 1);
	TextDrawUseBox(information, 1);
	TextDrawBoxColor(information, 0x00000076);
	TextDrawTextSize(information, -13.000000, -1.000000);

	// Time
	//TimeTD = TextDrawCreate(547.000000,28.000000,"");
	TimeTD = TextDrawCreate(547.000000,28.000000,"--");
	TextDrawFont(TimeTD,1);
	//TextDrawBackgroundColor(TimeTD, 0x000000AA);
 	//TextDrawLetterSize(TimeTD,0.200000, 0.999999);
 	TextDrawLetterSize(TimeTD, 0.399999, 1.600000);
	//TextDrawSetOutline(TimeTD,1);
	//TextDrawSetShadow(TimeTD,0);
	//TextDrawTextSize(TimeTD, 606.000000, -2.000000);
	//TextDrawFont(TimeTD, 2);
	TextDrawFont(TimeTD, 3);
	TextDrawColor(TimeTD,0xFFFFFFFF);
	//TextDrawUseBox(TimeTD, 0);
	//TextDrawBoxColor(TimeTD, 0x00000076);

    DateTD = TextDrawCreate(547.000000,11.000000,"--");
	TextDrawFont(DateTD,3);
    TextDrawLetterSize(DateTD,0.399999,1.600000);
    TextDrawColor(DateTD,0xffffffff);
	
	// Server Name
/*	WebTD = TextDrawCreate(465.000000, 432.000000, "American: RP");
	TextDrawFont(WebTD,1);
	TextDrawBackgroundColor(WebTD, 0x000000AA);
	TextDrawLetterSize(WebTD, 0.500000, 1.000000);
	TextDrawSetOutline(WebTD,1);
	TextDrawSetShadow(WebTD,0);
	TextDrawTextSize(WebTD, 0.500000, 1.000000);
	TextDrawFont(WebTD, 2);
	TextDrawColor(WebTD,0xFFFFFFFF);
	TextDrawUseBox(WebTD, 0);
	TextDrawBoxColor(WebTD, 0x00000076);*/
	
	WebTD = TextDrawCreate(465.000000, 432.000000, "American: RP");
	TextDrawBackgroundColor(WebTD, 255);
	TextDrawFont(WebTD, 1);
	TextDrawLetterSize(WebTD, 0.500000, 1.000000);
	TextDrawColor(WebTD, -1);
	TextDrawSetOutline(WebTD, 0);
	TextDrawSetProportional(WebTD, 1);
	TextDrawSetShadow(WebTD, 1);

	// Website
/*	WebTD = TextDrawCreate(500.000000, 150.000000,"American Roleplay RP");
	TextDrawFont(WebTD,3);
	TextDrawBackgroundColor(WebTD, 0x000000AA);
	TextDrawLetterSize(WebTD,0.200000, 0.999999);
	TextDrawSetOutline(WebTD,1);
	TextDrawSetShadow(WebTD,0);
	TextDrawTextSize(WebTD, 606.000000, -2.000000);
	TextDrawFont(WebTD, 2);
	TextDrawColor(WebTD,0xFFFFFFFF);
	TextDrawUseBox(WebTD, 1);
	TextDrawBoxColor(WebTD, 0x00000076);*/
	
	// Tutorial Blackbox
	TutorialTD = TextDrawCreate(424.000000, 3.000000, "            ");
	TextDrawBackgroundColor(TutorialTD, 255);
	TextDrawFont(TutorialTD, 1);
	TextDrawLetterSize(TutorialTD, 0.500000, 1.000000);
	TextDrawColor(TutorialTD, -1);
	TextDrawSetOutline(TutorialTD, 0);
	TextDrawSetProportional(TutorialTD, 1);
	TextDrawSetShadow(TutorialTD, 1);
	TextDrawUseBox(TutorialTD, 1);
	TextDrawBoxColor(TutorialTD, 255);
	TextDrawTextSize(TutorialTD, 14.000000, 0.000000);
	// Bank Robbery
	Area5 = TextDrawCreate(490.000000, 155.000000, "~r~Bank Robbers:");
	TextDrawBackgroundColor(Area5, 255);
	TextDrawFont(Area5, 1);
	TextDrawLetterSize(Area5, 0.450000, 1.300000);
	TextDrawColor(Area5, -1);
	TextDrawSetOutline(Area5, 1);
	TextDrawSetProportional(Area5, 1);

	Textdraw1 = TextDrawCreate(490.000000, 171.000000, "Robber 1");
	TextDrawBackgroundColor(Textdraw1, 255);
	TextDrawFont(Textdraw1, 1);
	TextDrawLetterSize(Textdraw1, 0.450000, 1.300000);
	TextDrawColor(Textdraw1, -1);
	TextDrawSetOutline(Textdraw1, 1);
	TextDrawSetProportional(Textdraw1, 1);

	Textdraw2 = TextDrawCreate(490.000000, 185.000000, "Robber 2");
	TextDrawBackgroundColor(Textdraw2, 255);
	TextDrawFont(Textdraw2, 1);
	TextDrawLetterSize(Textdraw2, 0.450000, 1.300000);
	TextDrawColor(Textdraw2, -1);
	TextDrawSetOutline(Textdraw2, 1);
	TextDrawSetProportional(Textdraw2, 1);

	Textdraw3 = TextDrawCreate(490.000000, 199.000000, "Robber 3");
	TextDrawBackgroundColor(Textdraw3, 255);
	TextDrawFont(Textdraw3, 1);
	TextDrawLetterSize(Textdraw3, 0.450000, 1.300000);
	TextDrawColor(Textdraw3, -1);
	TextDrawSetOutline(Textdraw3, 1);
	TextDrawSetProportional(Textdraw3, 1);

	Textdraw4 = TextDrawCreate(490.000000, 213.000000, "Robber 4");
	TextDrawBackgroundColor(Textdraw4, 255);
	TextDrawFont(Textdraw4, 1);
	TextDrawLetterSize(Textdraw4, 0.450000, 1.300000);
	TextDrawColor(Textdraw4, -1);
	TextDrawSetOutline(Textdraw4, 1);
	TextDrawSetProportional(Textdraw4, 1);

	Textdraw5 = TextDrawCreate(490.000000, 227.000000, "Robber 5");
	TextDrawBackgroundColor(Textdraw5, 255);
	TextDrawFont(Textdraw5, 1);
	TextDrawLetterSize(Textdraw5, 0.450000, 1.300000);
	TextDrawColor(Textdraw5, -1);
	TextDrawSetOutline(Textdraw5, 1);
	TextDrawSetProportional(Textdraw5, 1);

	// Faction Restricted Timers
/*	SetTimer("restrictedfac1", 1000, true); // 1
	SetTimer("restrictedfac2", 1000, true); // 2
	SetTimer("restrictedfac3", 1000, true); // 3
	SetTimer("restrictedfac4", 1000, true); // 4
	SetTimer("restrictedfac5", 1000, true); // 5
	SetTimer("restrictedfac6", 1000, true); // 6
	SetTimer("restrictedfac7", 1000, true); // 7
	SetTimer("restrictedfac8", 1000, true); // 8
	SetTimer("restrictedfac9", 1000, true); // 9*/

	// Timers
	SetTimer("Clock", 1000, true);
	SetTimer("ADTimer", 1000, true);
	//SetTimer("NOPSetPlayerPosCheck", 1000, true);
	SetTimer("SaveServer", 1800000, true);
	SetTimer("SaveBizsHouses", 3600000, true); 
	SetTimer("SaveOtherFiles", 2700000, true); 
	SetTimer("SaveFactionFiles", 900000, true); 

	// New Server Save Timers
	//SetTimer("SaveServer1", 1800000, true); 
	//SetTimer("SaveServer2", 2100000, true); 
	//SetTimer("SaveServer3", 2400000, true); 
	//SetTimer("SaveServer4", 2700000, true); 
	//SetTimer("SaveServer5", 3000000, true); 
	//SetTimer("SaveServer6", 3300000, true); 
	//SetTimer("SaveServer7", 3400000, true);
	// End

	SetTimer("AltTabTimer", 1000, true); 
	SetTimer("WeaponCheat", 1000, true);
	SetTimer("FuelTimer", 1000, true);
	SetTimer("PrisonTimer", 1000, true);
	SetTimer("AdminTimer", 1000, true);
	SetTimer("LoyalFeatures", 60000, true);
	SetTimer("BizRobbery", 1000, true); // robbiz
	for(new i=0; i<MAX_VEHICLES; i++)
	{
	    Fuel[i] = 100;
	    SetVehicleToRespawn(i);
	}
	ConnectNPC("BusDriver","NPCBus");
	NPCBus = CreateVehicle(431, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
	return 1;
}

public OnGameModeExit()
{
	// IRC
	//IRC_Quit(botIDs[0], "Gamemode quit");
	//IRC_DestroyGroup(groupID);
	DestroyDynamicObject(FireObject); // Los Santos EMS
	DestroyDynamicObject(FireObject1); // Los Santos EMS
	DestroyDynamicObject(FireObject2); // Los Santos EMS
	DestroyDynamicObject(SmokeObject); // Los Santos EMS
	DestroyDynamicObject(SmokeObject1); // Los Santos EMS
	DestroyDynamicObject(SmokeObject2); // Los Santos EMS
	FireHealth = 0; // Los Santos EMS
    for(new i=0; i<MAX_PLAYERS; i++){
    TextDrawHideForPlayer(i, Zones[i]);}	
    #if defined SAVING
    new File:file = fopen("DroppedGuns.ini", io_append);
    if(file)
    {
        fclose(file);
		for(new g = 0, buffer[50]; g < MAX_OBJ; g++)
		{
			format(buffer, sizeof(buffer), "%f,%f,%f,%d,%d\n",
			dGunData[g][ObjPos][0],
			dGunData[g][ObjPos][1],
			dGunData[g][ObjPos][2],
			dGunData[g][ObjData][0],
			dGunData[g][ObjData][1]);
			if(g == 0) file = fopen("DroppedGuns.ini", io_write);
			else file = fopen("DroppedGuns.ini", io_append);
			fwrite(file, buffer);
			fclose(file);
			if(dGunData[g][ObjData][0] > 0 && dGunData[g][ObjPos][1] != 0)
			{
			    DestroyObject(dGunData[g][ObjID]);
				printf("* %s saved: %f,%f,%f", GunNames[dGunData[g][ObjData][0]], dGunData[g][ObjPos][0], dGunData[g][ObjPos][1], dGunData[g][ObjPos][2]-1);
			}
		}
    }
    else print("ERROR: Failed to open \"DroppedGuns.ini\"");
	#endif
	//Elevator_Destroy();
	for(new t = 0; t <= NumOfRadio; t++) TextDrawDestroy(StationText[t]);
	foreach(Player, i)
    {
       	SaveChar(i);
       	ClearChar(i);
    }
	SaveFactions();
	SaveGarages();
	SaveFamilies();
	SavePoints();
	SaveBiz();
	SaveHouses();
	SaveDoors();
	SaveGates();
	SaveMapIcons();
	SaveArrestPoint();
	SaveDrugs();
	SaveProducts();
	SaveMOTDS();
	return 1;
}

new Text3D: BusText;

public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
	if(IsAtPizza(playerid))
	{
	    if(MsgSent[playerid] >= 1) { SendClientMessage(playerid, -1, "	You already have got pizza!"); MsgSent[playerid] = 5; return 1; }
		SendClientMessage(playerid, COLOR_YELLOW,"You have bought a Pizza - Press {FFF1AF}LMB{F3FF02} to Throw it");
		GameTextForPlayer(playerid, "~w~You have Bought a Pizza", 5000, 3);
		SetPlayerAttachedObject( playerid, 0, 1582, 1, -0.064613, 0.520760, 0.000000, 0.000000, 84.217391, 0.000000, 1.000000, 1.000000, 1.000000 );
	 	ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,1,0,0,1,1);
	 	SetPlayerHealth(playerid, 100);
	 	HazPizza[playerid] = 1;
	 	return 1;
	}
	for(new i = 0; i < sizeof(MoneyInfo); i++)
	{
		if(pickupid == MoneyInfo[i][mPickup]) // Moneybag
		{
		    if(MoneyInfo[i][mMoneybag] == 0) return 1;
		    if(IsPlayerInRangeOfPoint(playerid, 5.0, MoneyInfo[i][mbX], MoneyInfo[i][mbY], MoneyInfo[i][mbZ]))
           	{
			    new string[128];
			    new Float:plax, Float:play, Float:plaz;
			    new location[MAX_ZONE_NAME];
			    GiveZaiatMoney(playerid, MoneyInfo[i][mAmount]);
			    format(string, sizeof(string), "~w~You found the money bag worth~n~~g~$%d!", MoneyInfo[i][mAmount]);
			    GameTextForPlayer(playerid, string, 5000, 3);
			    GetPlayerPos(playerid, plax, play, plaz);
			    PlayerPlaySound(playerid, 1056, plax, play, plaz);
			    DestroyDynamicPickup(MoneyInfo[i][mPickup]);
			    MoneyInfo[i][mCreated]=0;
			    GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
				format(string, sizeof(string), "WARNING: %s has picked up a money bag in %s worth $%d.", RPN(playerid), location, MoneyInfo[i][mAmount]);
				SendAdminMessage(COLOR_RED, 1, string);
				format(string, sizeof(string), "{FF6347}%s has found the money bag in %s worth $%d!", RPN(playerid), location, MoneyInfo[i][mAmount]);
				SendClientMessageToAll(COLOR_LIGHTRED, string);
				return 1;
		    }
		}
	}
	return 1;
}

public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
	if(clickedid == tdrules3) // Faction/Gang Rules
    {
		TextDrawShowForPlayer(playerid,tdrules6);
		TextDrawShowForPlayer(playerid,tdrules7);
		TextDrawShowForPlayer(playerid,tdrules8);
		TextDrawShowForPlayer(playerid,tdrules9);
		TextDrawShowForPlayer(playerid,tdrules10);
		TextDrawShowForPlayer(playerid,tdrules11);
		TextDrawShowForPlayer(playerid,tdrules12);
		TextDrawShowForPlayer(playerid,tdrules13);
		TextDrawShowForPlayer(playerid,tdrules14);
		TextDrawShowForPlayer(playerid,tdrules15);
		TextDrawShowForPlayer(playerid,tdrules16);
		TextDrawShowForPlayer(playerid,tdrules17);
		new string[128];
		format(string,sizeof(string),"1. Do not abuse your faction commands");
		TextDrawSetString(tdrules6, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"2. Do not taze / pull over / cuff each other");
		TextDrawSetString(tdrules7, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"3. Do not taze / pull over / what ever for no reason");
		TextDrawSetString(tdrules8, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"4. Make sure that you won't break rules");
		TextDrawSetString(tdrules9, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"5. Do not insult your members or other factions");
		TextDrawSetString(tdrules10, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules11, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules12, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules13, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules14, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules15, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules16, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"You want more information about rules, go to our foruns");
		TextDrawSetString(tdrules17, string);
		CancelSelectTextDraw(playerid);
	}
	if(clickedid == tdrules4) // Scamming Rules
    {
		TextDrawShowForPlayer(playerid,tdrules6);
		TextDrawShowForPlayer(playerid,tdrules7);
		TextDrawShowForPlayer(playerid,tdrules8);
		TextDrawShowForPlayer(playerid,tdrules9);
		TextDrawShowForPlayer(playerid,tdrules10);
		TextDrawShowForPlayer(playerid,tdrules11);
		TextDrawShowForPlayer(playerid,tdrules12);
		TextDrawShowForPlayer(playerid,tdrules13);
		TextDrawShowForPlayer(playerid,tdrules14);
		TextDrawShowForPlayer(playerid,tdrules15);
		TextDrawShowForPlayer(playerid,tdrules16);
		TextDrawShowForPlayer(playerid,tdrules17);
		new string[128];
		format(string,sizeof(string),"1. Robbing players limit $100k");
		TextDrawSetString(tdrules6, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"2. Scamming players limit is $500k");
		TextDrawSetString(tdrules7, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"3. Scamming properties isn't allowed.");
		TextDrawSetString(tdrules8, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"4. Scamming new players isn't allowed.");
		TextDrawSetString(tdrules9, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"5. Robbing new players isn't allowed.");
		TextDrawSetString(tdrules10, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules11, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules12, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules13, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules14, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules15, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"");
		TextDrawSetString(tdrules16, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"You want more information about rules, go to our foruns");
		TextDrawSetString(tdrules17, string);
		CancelSelectTextDraw(playerid);
	}
	if(clickedid == tdrules5) // General Rules
    {
		TextDrawShowForPlayer(playerid,tdrules6);
		TextDrawShowForPlayer(playerid,tdrules7);
		TextDrawShowForPlayer(playerid,tdrules8);
		TextDrawShowForPlayer(playerid,tdrules9);
		TextDrawShowForPlayer(playerid,tdrules10);
		TextDrawShowForPlayer(playerid,tdrules11);
		TextDrawShowForPlayer(playerid,tdrules12);
		TextDrawShowForPlayer(playerid,tdrules13);
		TextDrawShowForPlayer(playerid,tdrules14);
		TextDrawShowForPlayer(playerid,tdrules15);
		TextDrawShowForPlayer(playerid,tdrules16);
		TextDrawShowForPlayer(playerid,tdrules17);
		new string[128];
		format(string,sizeof(string),"1. No Deathmatching");
		TextDrawSetString(tdrules6, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"2. No Revengekilling/returning after death.");
		TextDrawSetString(tdrules7, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"3. No Flaming/racism/insulting/provoking.");
		TextDrawSetString(tdrules8, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"4. No cheating/hacking.");
		TextDrawSetString(tdrules9, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"5. No carramming/parking/killing.");
		TextDrawSetString(tdrules10, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"6. No flooding/spamming.");
		TextDrawSetString(tdrules11, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"7. No abusing interiors(entering and exiting)");
		TextDrawSetString(tdrules12, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"8. No quit to avoid death or ANYTHING!.");
		TextDrawSetString(tdrules13, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"9. No healing in combat/gunfight.");
		TextDrawSetString(tdrules14, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"10. No carjacking/ninjajacking.");
		TextDrawSetString(tdrules15, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"11. No scriptabusing.");
		TextDrawSetString(tdrules16, string);
		//---------------------------------------------------------------
		format(string,sizeof(string),"You want more information about rules, go to our foruns");
		TextDrawSetString(tdrules17, string);
		CancelSelectTextDraw(playerid);
	}
	if(clickedid == tdrules19) // Close
    {
		TextDrawHideForPlayer(playerid,tdrules1);
		TextDrawHideForPlayer(playerid,tdrules2);
		TextDrawHideForPlayer(playerid,tdrules3);
		TextDrawHideForPlayer(playerid,tdrules4);
		TextDrawHideForPlayer(playerid,tdrules5);
		TextDrawHideForPlayer(playerid,tdrules6);
		TextDrawHideForPlayer(playerid,tdrules7);
		TextDrawHideForPlayer(playerid,tdrules8);
		TextDrawHideForPlayer(playerid,tdrules9);
		TextDrawHideForPlayer(playerid,tdrules10);
		TextDrawHideForPlayer(playerid,tdrules11);
		TextDrawHideForPlayer(playerid,tdrules12);
		TextDrawHideForPlayer(playerid,tdrules13);
		TextDrawHideForPlayer(playerid,tdrules14);
		TextDrawHideForPlayer(playerid,tdrules15);
		TextDrawHideForPlayer(playerid,tdrules16);
		TextDrawHideForPlayer(playerid,tdrules17);
		TextDrawHideForPlayer(playerid,tdrules18);
		TextDrawHideForPlayer(playerid,tdrules19);
		CancelSelectTextDraw(playerid);
	}
    return 1;
}

public OnPlayerConnect(playerid)
{
	SpeedCamPlayer[playerid] = 0;
	LoadPlayerTextDraws(playerid); // packet
	SetPlayerVirtualWorld(playerid, 4131); // Fix
	new joinstring[128], name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	//format(joinstring, sizeof(joinstring), "02[%d] 03*** %s has joined the server.", playerid, name);
	//IRC_GroupSay(groupID, IRC_CHANNEL, joinstring);
    format(joinstring,sizeof(joinstring), "%s has connected to the server", NORPN(playerid));
    foreach(Player, i)
    {
        if(JoinMessages[i])
        {
        	SendClientMessage(i, COLOR_YELLOW, joinstring);
        }
    }
	new mrand =random(8); //Numbers randomly selected from 1 to 5
	SetPlayerScore(playerid, GetPlayerScore(playerid) +mrand);
	//SetPlayerScore(playerid, 3);
	CalledCops[playerid] = 0;
	GCOff[playerid] = 1;
	VehicleOffer[playerid] = 999; // sellcartoplayer
	VehiclePrice[playerid] = 0; // sellcartoplayer
//	VehicleId[playerid] = -1; // sellcartoplayer
	strmid(PlayerInfo[playerid][pNote1], "None", 0, strlen("None"), 255);
	PlayerInfo[playerid][pNote1s] = 0;
	strmid(PlayerInfo[playerid][pNote2], "None", 0, strlen("None"), 255);
	PlayerInfo[playerid][pNote2s] = 0;
	strmid(PlayerInfo[playerid][pNote3], "None", 0, strlen("None"), 255);
	PlayerInfo[playerid][pNote3s] = 0;
	strmid(PlayerInfo[playerid][pNote4], "None", 0, strlen("None"), 255);
	PlayerInfo[playerid][pNote4s] = 0;
	strmid(PlayerInfo[playerid][pNote5], "None", 0, strlen("None"), 255);
	PlayerInfo[playerid][pNote5s] = 0;
    LabelActive[playerid] = false; // Vehicle Heatlh Bar
	if(IsPlayerNPC(playerid)) { return 1; }
	SetTimerEx("Record", 5000, false, "d", playerid);
	PlayerNeedsHelp[playerid] = 0;
	// Crash Fix - GhoulSlayeR
	InvalidNameCheck(playerid);
    WaitForBuf[playerid] = false;
    OldCar[playerid] = INVALID_VEHICLE_ID;
    PassengerSeat[playerid] = 0;
/*	TextDrawShowForPlayer(playerid,Black0);
	TextDrawShowForPlayer(playerid,Black1);
	TextDrawShowForPlayer(playerid,cttext);
	TextDrawShowForPlayer(playerid,rptext);
	TextDrawShowForPlayer(playerid,vertext);*/
	TextDrawShowForPlayer(playerid,Area);
	TextDrawShowForPlayer(playerid,Area1);
	TextDrawShowForPlayer(playerid,Area2);
	TextDrawShowForPlayer(playerid,Area3);
	TextDrawShowForPlayer(playerid,Area4);
	TextDrawShowForPlayer(playerid,AreaMotd);
	// login screen 23-02
	/*
	TextDrawShowForPlayer(playerid,loginscreen1);
	TextDrawShowForPlayer(playerid,loginscreen2);
	TextDrawShowForPlayer(playerid,loginscreen3);
	TextDrawShowForPlayer(playerid,loginscreen4);
	TextDrawShowForPlayer(playerid,loginscreen5);
	TextDrawShowForPlayer(playerid,loginscreen6);
	TextDrawShowForPlayer(playerid,loginscreen7);
	TextDrawShowForPlayer(playerid,loginscreen8);
	TextDrawShowForPlayer(playerid,loginscreen9);
	TextDrawShowForPlayer(playerid,loginscreen10);
	*/
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
	SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
    Boombox[playerid] = 0;
    BoomboxPlayer[playerid] = -1;
    BoomboxStream[playerid] = 0;
    bpos[playerid][0] = 0; bpos[playerid][1] = 0; bpos[playerid][2] = 0; bpos[playerid][3] = 0;
    format(BoomboxURL[playerid], 256, "");
    if(IsValidDynamicObject(BoomboxObject[playerid])) DestroyDynamicObject(BoomboxObject[playerid]);
	IsOOCMode[playerid] = false;
	{
    	IsOOCMode[playerid] = false;
	}
	arr_Towing[playerid] = INVALID_VEHICLE_ID;
	new string[128];
/*    format(string,sizeof(string), "http://translate.google.com/translate_tts?q=%s has connected to the server", RPN(playerid));
    foreach(Player, i)
	{
        if(t[i])
        {
       		PlayAudioStreamForPlayer(i, string);
        }
    }*/
	ResetPlayerWeapons(playerid);
	ResetZaiatWeapons(playerid);
	// Random Bugs (Machines Example: Sprunk)
    /*RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 956, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1775, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0);
    RemoveBuildingForPlayer(playerid, 1977, 0.0, 0.0, 0.0, 6000.0);*/
	// Hide-Out SWAT
	RemoveBuildingForPlayer(playerid, 3421, 2351.8281, -652.9219, 129.1875, 0.25);
	RemoveBuildingForPlayer(playerid, 693, 2349.4844, -680.8750, 136.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 3414, 2351.8281, -652.9219, 129.1875, 0.25);
	RemoveBuildingForPlayer(playerid, 694, 2358.8984, -616.1172, 130.6719, 0.25);
	RemoveBuildingForPlayer(playerid, 696, 2375.3047, -666.7266, 131.8828, 0.25);
	
	// vinewood
/*	RemoveBuildingForPlayer(playerid, 3768, 653.9844, -1060.3828, 51.5078, 0.25);
	RemoveBuildingForPlayer(playerid, 3768, 678.9453, -1020.8828, 54.6875, 0.25);
	RemoveBuildingForPlayer(playerid, 615, 634.4375, -1038.1172, 56.2813, 0.25);
	RemoveBuildingForPlayer(playerid, 669, 625.5703, -1036.0938, 58.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 3762, 653.9844, -1060.3828, 51.5078, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 654.4609, -1047.2969, 50.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 615, 668.2500, -1028.9297, 50.4688, 0.25);
	RemoveBuildingForPlayer(playerid, 615, 657.2578, -1030.4609, 52.6250, 0.25);
	RemoveBuildingForPlayer(playerid, 615, 650.8516, -1021.0859, 55.0156, 0.25);
	RemoveBuildingForPlayer(playerid, 3762, 678.9453, -1020.8828, 54.6875, 0.25);*/
	
	// City Hall Exterior Roy Nash
	RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);
	RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25);
	RemoveBuildingForPlayer(playerid, 4046, 1479.5234, -1852.6406, 24.5156, 0.25);
	RemoveBuildingForPlayer(playerid, 4047, 1531.6328, -1852.6406, 24.5156, 0.25);
	RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25);
	RemoveBuildingForPlayer(playerid, 4217, 1449.2500, -1852.5703, 22.3672, 0.25);
	RemoveBuildingForPlayer(playerid, 1266, 1482.0859, -1859.9688, 25.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 1265, 1465.4766, -1848.2500, 12.9922, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1466.9453, -1847.8438, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1265, 1420.4297, -1845.3438, 12.9844, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25);
	RemoveBuildingForPlayer(playerid, 1220, 1419.7266, -1842.8516, 12.9297, 0.25);
	RemoveBuildingForPlayer(playerid, 1230, 1419.6719, -1842.0313, 12.9766, 0.25);
	RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25);
	RemoveBuildingForPlayer(playerid, 1260, 1482.0859, -1859.9688, 25.0391, 0.25);
	RemoveBuildingForPlayer(playerid, 4004, 1479.5234, -1852.6406, 24.5156, 0.25);
	RemoveBuildingForPlayer(playerid, 1357, 1487.6953, -1848.1094, 12.8125, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1486.2109, -1848.1250, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1468.0625, -1847.7891, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1230, 1488.9219, -1848.2734, 12.9766, 0.25);
	RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25);
	RemoveBuildingForPlayer(playerid, 1265, 1515.3828, -1850.0547, 12.9844, 0.25);
	RemoveBuildingForPlayer(playerid, 1265, 1514.4219, -1850.0391, 12.9922, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1516.6875, -1850.0547, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25);
	RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25);
	RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25);
	RemoveBuildingForPlayer(playerid, 4048, 1531.6328, -1852.6406, 24.5156, 0.25);
	RemoveBuildingForPlayer(playerid, 1372, 1538.9453, -1849.2734, 12.6641, 0.25);
	RemoveBuildingForPlayer(playerid, 1230, 1538.8359, -1847.6250, 13.6719, 0.25);
	RemoveBuildingForPlayer(playerid, 1220, 1538.3906, -1847.9297, 12.9297, 0.25);
	RemoveBuildingForPlayer(playerid, 1220, 1539.1016, -1847.2969, 12.9297, 0.25);

	// LSPD Exterior Roy NAsh
/*	RemoveBuildingForPlayer(playerid, 1525, 1549.8906, -1714.5234, 15.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1541.4453, -1713.3047, 14.4297, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1709.6406, 13.0469, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1541.2969, -1702.6016, 14.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1693.3906, 14.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1689.9844, 13.0469, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1687.1016, 14.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 646, 1545.5234, -1678.8438, 14.0000, 0.25);
	RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1677.7266, 16.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 646, 1553.8672, -1673.4609, 16.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 646, 1545.5625, -1672.2188, 14.0000, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1546.6016, -1664.6250, 14.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1546.8672, -1658.3438, 14.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1547.5703, -1661.0313, 13.0469, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1541.4766, -1648.4531, 14.4375, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1541.4531, -1642.0313, 13.0469, 0.25);
	RemoveBuildingForPlayer(playerid, 647, 1541.7422, -1638.9141, 14.4375, 0.25);*/

	// Ghetto Motel
	RemoveBuildingForPlayer(playerid, 1524, 2162.7813, -1786.0703, 14.1875, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 2161.1484, -1809.7266, 16.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 2181.0156, -1783.9844, 16.3516, 0.25);

    // Commerce Park
/*    RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);
	RemoveBuildingForPlayer(playerid, 4210, 1479.5625, -1631.4531, 12.0781, 0.25);
	RemoveBuildingForPlayer(playerid, 713, 1457.9375, -1620.6953, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 713, 1496.8672, -1707.8203, 13.4063, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1713.5078, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1713.7031, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1289, 1504.7500, -1711.8828, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1704.7656, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1692.2344, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1445.8125, -1650.0234, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1457.7266, -1710.0625, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1461.6563, -1707.6875, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1704.6406, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1701.5703, 13.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1702.5313, 15.6250, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1457.5547, -1697.2891, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1694.0469, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1692.3906, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1461.1250, -1687.5625, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1690.6484, 13.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 641, 1458.6172, -1684.1328, 11.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1457.2734, -1666.2969, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1682.7188, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1471.4063, -1666.1797, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1682.3125, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1458.2578, -1659.2578, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1449.8516, -1655.9375, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1477.9375, -1652.7266, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1479.6094, -1653.2500, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1457.3516, -1650.5703, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1454.4219, -1642.4922, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1467.8516, -1646.5938, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1472.8984, -1651.5078, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1465.9375, -1639.8203, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1466.4688, -1637.9609, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1449.5938, -1635.0469, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1467.7109, -1632.8906, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1465.8906, -1629.9766, 15.5313, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1472.6641, -1627.8828, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1479.4688, -1626.0234, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 3985, 1479.5625, -1631.4531, 12.0781, 0.25);
	RemoveBuildingForPlayer(playerid, 4206, 1479.5547, -1639.6094, 13.6484, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1465.8359, -1608.3750, 15.3750, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 1451.3359, -1596.7031, 16.4219, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 1471.3516, -1596.7031, 16.4219, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1704.5938, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 1494.2109, -1694.4375, 13.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1693.7344, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1496.9766, -1686.8516, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 641, 1494.1406, -1689.2344, 11.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1682.6719, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1480.6094, -1666.1797, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1488.2266, -1666.1797, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1486.4063, -1651.3906, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1491.3672, -1646.3828, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1493.1328, -1639.4531, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1486.1797, -1627.7656, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1491.2188, -1632.6797, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1494.4141, -1629.9766, 15.5313, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1494.3594, -1608.3750, 15.3750, 0.25);
	RemoveBuildingForPlayer(playerid, 1288, 1504.7500, -1705.4063, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1287, 1504.7500, -1704.4688, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1286, 1504.7500, -1695.0547, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1285, 1504.7500, -1694.0391, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1498.9609, -1684.6094, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1504.1641, -1662.0156, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1504.7188, -1670.9219, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1503.1875, -1621.1250, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1501.2813, -1624.5781, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1498.3594, -1616.9688, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1508.4453, -1668.7422, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1508.5156, -1647.8594, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1513.2734, -1642.4922, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1258, 1510.8906, -1607.3125, 13.6953, 0.25);*/
	
	// Park
/*	RemoveBuildingForPlayer(playerid, 4057, 1479.5547, -1693.1406, 19.5781, 0.25);
	RemoveBuildingForPlayer(playerid, 4210, 1479.5625, -1631.4531, 12.0781, 0.25);
	RemoveBuildingForPlayer(playerid, 713, 1457.9375, -1620.6953, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 713, 1496.8672, -1707.8203, 13.4063, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 1451.6250, -1727.6719, 16.4219, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 1467.9844, -1727.6719, 16.4219, 0.25);
	RemoveBuildingForPlayer(playerid, 1226, 1485.1719, -1727.6719, 16.4219, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1713.5078, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1716.7031, 15.6250, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1713.7031, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1289, 1504.7500, -1711.8828, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1704.7656, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1258, 1445.0078, -1692.2344, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1445.8125, -1650.0234, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1457.7266, -1710.0625, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1461.6563, -1707.6875, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1704.6406, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1701.5703, 13.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.6953, -1702.5313, 15.6250, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1457.5547, -1697.2891, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1694.0469, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1692.3906, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 4186, 1479.5547, -1693.1406, 19.5781, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1461.1250, -1687.5625, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 1463.0625, -1690.6484, 13.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 641, 1458.6172, -1684.1328, 11.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1457.2734, -1666.2969, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1468.9844, -1682.7188, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1471.4063, -1666.1797, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1479.3828, -1682.3125, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1458.2578, -1659.2578, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1449.8516, -1655.9375, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1477.9375, -1652.7266, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1479.6094, -1653.2500, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1457.3516, -1650.5703, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1454.4219, -1642.4922, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1467.8516, -1646.5938, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1472.8984, -1651.5078, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1465.9375, -1639.8203, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1231, 1466.4688, -1637.9609, 15.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1449.5938, -1635.0469, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1467.7109, -1632.8906, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1465.8906, -1629.9766, 15.5313, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1472.6641, -1627.8828, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1479.4688, -1626.0234, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 3985, 1479.5625, -1631.4531, 12.0781, 0.25);
	RemoveBuildingForPlayer(playerid, 4206, 1479.5547, -1639.6094, 13.6484, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1465.8359, -1608.3750, 15.3750, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1704.5938, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 700, 1494.2109, -1694.4375, 13.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1693.7344, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1496.9766, -1686.8516, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 641, 1494.1406, -1689.2344, 11.1016, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1488.7656, -1682.6719, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1480.6094, -1666.1797, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1488.2266, -1666.1797, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1486.4063, -1651.3906, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1491.3672, -1646.3828, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1493.1328, -1639.4531, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1486.1797, -1627.7656, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1280, 1491.2188, -1632.6797, 13.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1494.4141, -1629.9766, 15.5313, 0.25);
	RemoveBuildingForPlayer(playerid, 1232, 1494.3594, -1608.3750, 15.3750, 0.25);
	RemoveBuildingForPlayer(playerid, 1288, 1504.7500, -1705.4063, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1287, 1504.7500, -1704.4688, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1286, 1504.7500, -1695.0547, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 1285, 1504.7500, -1694.0391, 13.5938, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1498.9609, -1684.6094, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1504.1641, -1662.0156, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1504.7188, -1670.9219, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1503.1875, -1621.1250, 11.8359, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1501.2813, -1624.5781, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 673, 1498.3594, -1616.9688, 12.3984, 0.25);
	RemoveBuildingForPlayer(playerid, 712, 1508.4453, -1668.7422, 22.2578, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1508.5156, -1647.8594, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 625, 1513.2734, -1642.4922, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 1258, 1510.8906, -1607.3125, 13.6953, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 1789.2109, -1369.2656, 15.1641, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 1729.7891, -1943.0469, 12.9453, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 2060.1172, -1897.6406, 12.9297, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 1928.7344, -1772.4453, 12.9453, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 2325.9766, -1645.1328, 14.2109, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 2352.1797, -1357.1563, 23.7734, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 1154.7266, -1460.8906, 15.1563, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -1350.1172, 492.2891, 10.5859, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2118.9688, -423.6484, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2118.6172, -422.4141, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2097.2734, -398.3359, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2092.0859, -490.0547, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2063.2734, -490.0547, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2005.6484, -490.0547, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2034.4609, -490.0547, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2068.5625, -398.3359, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2039.8516, -398.3359, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -2011.1406, -398.3359, 34.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -1980.7891, 142.6641, 27.0703, 0.25);
	RemoveBuildingForPlayer(playerid, 1209, -2420.2188, 984.5781, 44.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 1302, -2420.1797, 985.9453, 44.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 2319.9922, 2532.8516, 10.2188, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 1520.1484, 1055.2656, 10.0000, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 2503.1406, 1243.6953, 10.2188, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 2085.7734, 2071.3594, 10.4531, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -862.8281, 1536.6094, 21.9844, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -14.7031, 1175.3594, 18.9531, 0.25);
	RemoveBuildingForPlayer(playerid, 955, -253.7422, 2597.9531, 62.2422, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 201.0156, -107.6172, 0.8984, 0.25);
	RemoveBuildingForPlayer(playerid, 955, 1277.8359, 372.5156, 18.9531, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 2225.2031, -1153.4219, 1025.9063, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 2576.7031, -1284.4297, 1061.0938, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 330.6797, 178.5000, 1020.0703, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 331.9219, 178.5000, 1020.0703, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 350.9063, 206.0859, 1008.4766, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 361.5625, 158.6172, 1008.4766, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 371.5938, 178.4531, 1020.0703, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 374.8906, 188.9766, 1008.4766, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 2155.9063, 1606.7734, 1000.0547, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 2209.9063, 1607.1953, 1000.0547, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 2155.8438, 1607.8750, 1000.0625, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 2202.4531, 1617.0078, 1000.0625, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 2209.2422, 1621.2109, 1000.0625, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 2222.3672, 1602.6406, 1000.0625, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 2222.2031, 1606.7734, 1000.0547, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, -19.0391, -57.8359, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, -36.1484, -57.8750, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, -16.1172, -91.6406, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, -17.5469, -91.7109, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, -16.5313, -140.2969, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, -15.1016, -140.2266, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, -33.8750, -186.7656, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, -32.4453, -186.6953, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, -35.7266, -140.2266, 1003.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 495.9688, -24.3203, 1000.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 500.5625, -1.3672, 1000.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 501.8281, -1.4297, 1000.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 1775, 373.8281, -178.1406, 1000.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 1776, 379.0391, -178.8828, 1000.7344, 0.25);*/

	// Fire Station
	/*RemoveBuildingForPlayer(playerid, 5928, 1309.9141, -1330.1328, 25.1875, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1321.5234, -1374.4297, 12.5859, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1292.0000, -1374.2969, 12.3672, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1300.5859, -1374.2969, 12.3672, 0.25);
	RemoveBuildingForPlayer(playerid, 5704, 1309.9141, -1330.1328, 25.1875, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1329.4766, -1374.4297, 12.5859, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1330.6016, -1340.9844, 6.1094, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1326.6953, -1316.0078, 8.7266, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1327.5938, -1333.6719, 6.1094, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1332.0000, -1309.4297, 8.7266, 0.25);*/
	RemoveBuildingForPlayer(playerid, 4025, 1777.8359, -1773.9063, 12.5234, 0.25);
	RemoveBuildingForPlayer(playerid, 4215, 1777.5547, -1775.0391, 36.7500, 0.25);
	RemoveBuildingForPlayer(playerid, 4019, 1777.8359, -1773.9063, 12.5234, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, 1822.5703, -1763.2578, 15.5859, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, 1832.8359, -1751.5078, 15.5859, 0.25);
	RemoveBuildingForPlayer(playerid, 1283, 1820.8359, -1741.1484, 15.5781, 0.25);
	
    // All Saints Hospital Parking
    RemoveBuildingForPlayer(playerid, 5929, 1230.8906, -1337.9844, 12.5391, 0.25);
	RemoveBuildingForPlayer(playerid, 739, 1231.1406, -1341.8516, 12.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 739, 1231.1406, -1328.0938, 12.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 739, 1231.1406, -1356.2109, 12.7344, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1222.6641, -1374.6094, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1222.6641, -1356.5547, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 1297, 1231.6406, -1389.8672, 15.6719, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1240.9219, -1374.6094, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1240.9219, -1356.5547, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1222.6641, -1335.0547, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1222.6641, -1317.7422, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 5812, 1230.8906, -1337.9844, 12.5391, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1240.9219, -1335.0547, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1240.9219, -1317.7422, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1222.6641, -1300.9219, 12.2969, 0.25);
	RemoveBuildingForPlayer(playerid, 620, 1240.9219, -1300.9219, 12.2969, 0.25);
    if(IsPlayerNPC(playerid))
	{
		SetPlayerColor(playerid, TRANSPARENT_WHITE);
		/*BusText = Create3DTextLabel("[NPC] Bus Driver", COLOR_YELLOW, 0, 0, -20, 25, -1, 1);
		Attach3DTextLabelToPlayer(BusText, playerid, 0, 0, 0.25);*/
		BusText = CreateDynamic3DTextLabel("[NPC] Bus Driver", COLOR_YELLOW, 0, 0, -20, 25, playerid);
		Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, BusText , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
		return 1;
	}
	// MAX IPS
	new connecting_ip[32+1];
	GetPlayerIp(playerid,connecting_ip,32);
	new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip);

	if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) {
		printf("MAXIPs: Connecting player(%d) exceeded %d IP connections from %s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip);
        SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have exceeded the max IPs limit.");
	    FixedKick(playerid);
	    return 1;
	}
	// DONE
	ClearChar(playerid);
	// NAME CHECK
	new playername[32], pfile[64];
	format(pfile, sizeof(pfile), "users/%s.ini", RPNU(playerid));
	if(!dini_Exists(pfile))
	{
	    GetPlayerName(playerid, playername, sizeof(playername));
	    // Has numbers
	    if(strfind(playername, "0", true) != -1 || strfind(playername, "1", true) != -1 || strfind(playername, "2", true) != -1 || strfind(playername, "3", true) != -1 || strfind(playername, "4", true) != -1 || strfind(playername, "5", true) != -1
		|| strfind(playername, "6", true) != -1 || strfind(playername, "7", true) != -1 || strfind(playername, "8", true) != -1 || strfind(playername, "9", true) != -1 || strfind(playername, "[", true) != -1 || strfind(playername, "]", true) != -1)
		{
			SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}This is a RP Server, please reconnect using Firstname_Lastname format.");
			SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Also, please remove the numbers and/or tags in your name.");
			FixedKick(playerid);
		}
	    // No Underscore
		if(strfind( playername, "_", true) == -1)
		{
			SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}This is a RP Server, please reconnect using Firstname_Lastname format.");
			FixedKick(playerid);
		}
	}
	// Done
	JetPack[playerid] = 0;
    PlayerInfo[playerid][pLoggedIn] = 0;
    PlayerInfo[playerid][pSpawn] = 0;
    PlayerInfo[playerid][pTutorial] = 0;
    //SetPlayerColor(playerid, TRANSPARENT_GREY);
	SetPlayerColor(playerid, TRANSPARENT_WHITE);
    new file[64];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	// Checking for rangeban
	new range[4][4];
	split(RPIP(playerid), range, '.');
	format(string, sizeof(string), "%s.%s.*.*", range[0], range[1]);
	if(CheckBan(string) == 1 && !dini_Int(file, "Whitelisted"))
	{
	    SetPlayerName(playerid, "BannedPlayer");
	    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Your range is banned from this server. (Request getting whitelisted at "SERVER_WEBSITE")");
		FixedKick(playerid);
		return 1;
	}
	// Checking for IP ban
/*	if(CheckBan(RPIP(playerid)) == 1)
	{
	    SetPlayerName(playerid, "BannedPlayer");
	    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You are banned from this server. (Make a ban appeal at "SERVER_WEBSITE")");
		FixedKick(playerid);
		return 1;
	}*/
	// Checking for character ban
/*	if(dini_Int(file, "pBanned") == 1)
	{
	    SetPlayerName(playerid, "BannedPlayer");

	    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You are banned from this server. (Make a ban appeal at "SERVER_WEBSITE")");
	    AddBan(playerid);
	    FixedKick(playerid);
	    return 1;
	}*/
	// Checking for IP Ban
	if(CheckBan(RPIP(playerid)) == 1)
	{
	    //SetPlayerName(playerid, "BannedPlayer");
		//SendClientMessage(playerid,COLOR_RED,"=====================================================");
		//SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You are banned from this server. (Make a ban appeal at "SERVER_WEBSITE")");
		//format(string, sizeof(string), " Banned By: {FFFFFF}%s", dini_Get(file, "BannedBy"));
		//SendClientMessage(playerid, COLOR_ORANGE, string);
		//format(string, sizeof(string), " Ban Reason: {FFFFFF}%s", dini_Get(file, "BanReason"));
		//SendClientMessage(playerid, COLOR_ORANGE, string);
		//SendClientMessage(playerid,COLOR_RED,"=====================================================");
		new tstring[320], cstring[320], ip[16];
		GetPlayerIp(playerid,ip,sizeof(ip));
		format(tstring, sizeof(tstring), "{42C2F5}[American Roleplay RP: {FFFFFF}BANNED{42C2F5}]");
		format(cstring, sizeof(cstring), "You have been banned from American Roleplay\n{42C2F5}Account name:{ffffff} %s {42C2F5}({ffffff}%d{42C2F5})\n{42C2F5}Banned by:{ffffff} %s\n{42C2F5}Ban reason:{ffffff} %s\n{ffffff}Visit {42C2F5}A:RPforums.tk{ffffff} and post an unban appeal!", RPNU(playerid), ip, dini_Get(file, "BannedBy"), dini_Get(file, "BanReason"));
		ShowPlayerDialog(playerid, 2312, DIALOG_STYLE_MSGBOX, tstring, cstring, "Ok", "Quit");
		SetPlayerName(playerid, "BannedPlayer");
	    AddBan(playerid);
	    FixedKick(playerid);
	    return 1;
	}
	// Checking for Character Ban
	if(dini_Int(file, "pBanned") == 1)
	{
	    //SetPlayerName(playerid, "BannedPlayer");
		//SendClientMessage(playerid,COLOR_RED,"=====================================================");
		//SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You are banned from this server. (Make a ban appeal at "SERVER_WEBSITE")");
		//format(string, sizeof(string), " Banned By: {FFFFFF}%s", dini_Get(file, "BannedBy"));
		//SendClientMessage(playerid, COLOR_ORANGE, string);
		//format(string, sizeof(string), " Ban Reason: {FFFFFF}%s", dini_Get(file, "BanReason"));
		//SendClientMessage(playerid, COLOR_ORANGE, string);
		//SendClientMessage(playerid,COLOR_RED,"=====================================================");
		new tstring[320], cstring[320], ip[16];
		GetPlayerIp(playerid,ip,sizeof(ip));
		format(tstring, sizeof(tstring), "{42C2F5}[American Roleplay RP: {FFFFFF}BANNED{42C2F5}]");
		format(cstring, sizeof(cstring), "You have been banned from American Roleplay\n{42C2F5}Account name:{ffffff} %s {42C2F5}({ffffff}%d{42C2F5})\n{42C2F5}Banned by:{ffffff} %s\n{42C2F5}Ban reason:{ffffff} %s\n{ffffff}Visit {42C2F5}A:RPforums.tk{ffffff} and post an unban appeal!", RPNU(playerid), ip, dini_Get(file, "BannedBy"), dini_Get(file, "BanReason"));
		ShowPlayerDialog(playerid, 2312, DIALOG_STYLE_MSGBOX, tstring, cstring, "Ok", "Quit");
		SetPlayerName(playerid, "BannedPlayer");
	    AddBan(playerid);
	    FixedKick(playerid);
	    return 1;
	}
	return 1;
}

// Packet
LoadPlayerTextDraws(playerid)
{
	FPSPingPacket[playerid] = CreatePlayerTextDraw(playerid,500.5, 1.4, "_");
	PlayerTextDrawBackgroundColor(playerid, FPSPingPacket[playerid], 0x00000044);
	PlayerTextDrawFont(playerid, FPSPingPacket[playerid], 1);
	PlayerTextDrawLetterSize(playerid, FPSPingPacket[playerid], 0.190000, 0.93000);
	PlayerTextDrawColor(playerid, FPSPingPacket[playerid], 16711935);
	PlayerTextDrawSetOutline(playerid, FPSPingPacket[playerid], 1);
	PlayerTextDrawSetProportional(playerid, FPSPingPacket[playerid], 1);
	PlayerTextDrawSetShadow(playerid, FPSPingPacket[playerid],0);
	PlayerTextDrawAlignment(playerid, FPSPingPacket[playerid], 1);
}

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerVirtualWorld(playerid, 973942);
    if(IsPlayerNPC(playerid)) {SetPlayerVirtualWorld(playerid, 0); SpawnPlayer(playerid); return 1;}
    if(!PlayerInfo[playerid][pLoggedIn])
	{
		SetPlayerPos(playerid, 2372.1680,2141.8135,27.8135); // 1975.203002, 3779.311523, -50.243506
		//SetPlayerCameraPos(playerid, 2372.1680,2141.8135,31.8135); // 1975.203002, 3779.311523, 100.243506
		//SetPlayerCameraLookAt(playerid, 2299.5005,2142.6213,28.8228); // 1975.203002, 3779.311523, -0.243506,
		InterpolateCameraPos(playerid, 2648.501220, 2269.012939, 35.776741, 2480.649414, 1642.617919, 70.336242, 10000);
		InterpolateCameraLookAt(playerid, 2646.480712, 2273.585937, 35.854862, 2480.884765, 1638.132080, 68.140335, 12000);
	    SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
	    new file[64];
		format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	    // Player isn't banned
	    if(dini_Int(file, "AdminAccount") == 1)
		{
		    format(file, sizeof(file), "users/%s.ini",RPNU(playerid));
		    SetPlayerName(playerid, dini_Get(file, "OldName"));
		    format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
		    ShowDialog(playerid, 2);
		}
		if(!dini_Exists(file))
		{
		    ShowDialog(playerid, 1);
		    return 1;
		}
		else
		{
			ShowDialog(playerid, 2);
		}
		return 1;
	}
	else
	{
		SetPlayerPos(playerid, 2372.1680,2141.8135,27.8135); // 1975.203002, 3779.311523, -50.243506
		//SetPlayerCameraPos(playerid, 2372.1680,2141.8135,31.8135); // 1975.203002, 3779.311523, 100.243506
		//SetPlayerCameraLookAt(playerid, 2299.5005,2142.6213,28.8228); // 1975.203002, 3779.311523, -0.243506,
		InterpolateCameraPos(playerid, 2648.501220, 2269.012939, 35.776741, 2480.649414, 1642.617919, 70.336242, 10000);
		InterpolateCameraLookAt(playerid, 2646.480712, 2273.585937, 35.854862, 2480.884765, 1638.132080, 68.140335, 12000);
	    SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
		SpawnPlayer(playerid);
	}
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	// IRC
	/*new leaveMsg[128], name[MAX_PLAYER_NAME], reasonMsg[8];
	switch(reason)
	{
		case 0: reasonMsg = "Timeout";
		case 1: reasonMsg = "Leaving";
		case 2: reasonMsg = "Kicked";
	}
	GetPlayerName(playerid, name, sizeof(name));
	format(leaveMsg, sizeof(leaveMsg), "02[%d] 03*** %s has left the server. (%s)", playerid, name, reasonMsg);
	IRC_GroupSay(groupID, IRC_CHANNEL, leaveMsg);*/
	LastSeen(playerid); // LastSeen System
	KillTimer(PingTimer[playerid]);
	if(OldCar[playerid] != INVALID_VEHICLE_ID) PassengerInCar[OldCar[playerid]][PassengerSeat[playerid]] = INVALID_PLAYER_ID;
    Boombox[playerid] = 0;
    BoomboxPlayer[playerid] = -1;
    BoomboxStream[playerid] = 0;
    bpos[playerid][0] = 0; bpos[playerid][1] = 0; bpos[playerid][2] = 0; bpos[playerid][3] = 0;
    format(BoomboxURL[playerid], 256, "");
    if(IsValidDynamicObject(BoomboxObject[playerid])) DestroyDynamicObject(BoomboxObject[playerid]);
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(BoomboxPlayer[i] == playerid)
            {
                BoomboxStream[i] = 0;
                BoomboxPlayer[i] = -1;
                StopAudioStreamForPlayer(i);
                SendClientMessage(i, COLOR_GREY, " The boombox creator has disconnected from the server.");
            }
        }
    }
	DestroyDynamic3DTextLabel(ado[playerid]);
    DestroyDynamic3DTextLabel(ame[playerid]);
    amestatus[playerid] = 0;
    adostatus[playerid] = 0;
	if(IsPlayerCuffed(playerid))
	{
			new string[128];
			GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
		   	ClearZaiatWantedLevels(playerid);
	    	SetPlayerColor(playerid, TRANSPARENT_ORANGE);
			PlayerInfo[playerid][pPrison] = 2;
			PlayerInfo[playerid][pPrisonTime] = 10*60;
			format(PlayerInfo[playerid][pPrisonReason], 64, "Avoid to Arrest");
			format(PlayerInfo[playerid][pPrisonBy], 32, "AutoPrison");
			SetPlayerInterior(playerid, 2);
			SetPlayerVirtualWorld(playerid, 1);
			new RandomCell = random(sizeof(RandomPrison));
			SetPlayerFacingAngle(playerid, RandomPrison[RandomCell][3]);
			TogglePlayerControllable(playerid, 0);
			SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
			SetPlayerPos(playerid, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
			SetCameraBehindPlayer(playerid);
			format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been auto-prisoned, reason: Avoid to Arrest", RPN(playerid));
			SendClientMessageToAll(COLOR_LIGHTRED, string);
			Log("logs/prison.log", string);
			format(string, sizeof(string), " You have been auto-prisoned for %d minutes (%d seconds)", PlayerInfo[playerid][pPrisonTime]/60, PlayerInfo[playerid][pPrisonTime]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	// Bank Robbery
	if(BankRobber[playerid])
    {
	    new Rob = BankRobber[playerid]-1, string[128];
	    DisablePlayerCheckpoint(playerid);
		BankRobbersCount --;
		format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
		DeliverMoney[playerid] = 0;
		//
		foreach(Player, i)
		{
		    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
		    {
				if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
				else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
				else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
				else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
				else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
			}
		}
		format(string, sizeof(string), "** %s has disconnected and has failed the robbery. **", RPN(playerid));
		SendRobberyMessage(COLOR_LIGHTRED, string);
		SendCopMessage(COLOR_LIGHTRED, string);
		SendFBIMessage(COLOR_LIGHTRED, string);
		BankRobber[playerid] = 0;
		if(BankRobbersCount == 0)
		{
			TextDrawHideForAll(Area5);
			TextDrawHideForAll(Textdraw1);
			TextDrawHideForAll(Textdraw2);
			TextDrawHideForAll(Textdraw3);
			TextDrawHideForAll(Textdraw4);
			TextDrawHideForAll(Textdraw5);
			BankRobbery = 0;
			RobberyStarted = 0;
			format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
			SendClientMessageToAll(COLOR_YELLOW, string);
			TotalRobbers = 0;
			new copsonline;
			foreach(Player, i)
			{
			    if(IsACop(i)) copsonline++;
			    if(IsAHSF(i)) copsonline++;
			    if(IsAFBI(i)) copsonline++;
			}
			foreach(Player, i)
			{
			    if(IsACop(i))
			    {
					new Saved = (TotalRobbers*50000-(TotalStolen*50000));
					GiveZaiatMoney(i, Saved/copsonline);
					format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
					SendClientMessage(i, COLOR_LIME, string);
			    }
			}
		}
    }
	// Boxing
	new string[128];
	if(Boxing[playerid])
	{
        // Getting other boxer's ID
		new playerb = -1;
        foreach(Player, i)
        {
            if(Boxing[i] && i != playerid) playerb = i;
        }
        if(playerb != -1)
        {
            format(string, sizeof(string), "Boxing Ring: The boxing match has ended, %s has won the match.", RPN(playerb));
    		SendGymMessage(COLOR_WHITE, string);
            // Putting them out of the ring
            SetPlayerPos(playerb, 760.9759,4.7187,1000.7084);
            SetPlayerFacingAngle(playerb, 268.9407);
            SetPlayerPos(playerid, 760.9759,6.1794,1000.7093);
            SetPlayerFacingAngle(playerid, 268.9407);
            // Giving the winner extra skill point
            new oldj = strval(RPJL(playerb, JOB_BOXER));
            PlayerInfo[playerb][pJobSkill][JOB_BOXER] ++;
			new newj = strval(RPJL(playerb, JOB_BOXER));
		    if(oldj < newj)
			{
			    format(string, sizeof(string), "** Your Boxer level is now %d, you can now cause %d more damage. **", newj, (newj*2)-2);
				SendClientMessage(playerb, COLOR_YELLOW, string);
			}
			//
			SendClientMessage(playerb, COLOR_LIME, " You have won the boxing match.");
			SendClientMessage(playerid, COLOR_LIGHTRED, " You have lost the boxing match.");
			// Giving Bids
			new winner = pBoxer[playerb];
			foreach(Player, i)
			{
			    if(BidBoxer[i] == winner)
			    {
			        new percent, profit;
			        percent = (BidAmount[i]/BoxerBid[winner]) * 100;
			        profit = (percent * BoxerBid[pBoxer[playerid]]) / 100;
			        GiveZaiatMoney(i, BidAmount[i] + profit);
			        format(string, sizeof(string), " You have won $%d from bidding in the match, the money you bid has been returned as well.", profit);
			        SendClientMessage(i, COLOR_LIME, string);
			    }
				BidAmount[i] = 0;
				BidBoxer[i] = 0;
			}
			for(new w = 0; w < 13; w++)
			{
			    GiveZaiatWeapon(playerb, PlayerInfo[playerb][pWeapon][w], PlayerInfo[playerb][pWeaponAmmo][w]);
			}
        }
        for(new w = 0; w < 13; w++)
		{
		    GiveZaiatWeapon(playerid, PlayerInfo[playerid][pWeapon][w], PlayerInfo[playerid][pWeaponAmmo][w]);
		}
        // Resetting Values
		BoxingMatch = 0;
		Boxer[1] = -1;
		pBoxer[playerb] = 0;
		Boxer[2] = -1;
		pBoxer[playerid] = 0;
		Boxing[playerb] = 0;
		Boxing[playerid] = 0;
		BoxerBid[1] = 0;
		BoxerBid[2] = 0;
	    if(BoxTime)
	    {
			TogglePlayerControllable(playerb, 1);
	    	KillTimer(BoxTimer);
	    }
    }
	// The rest
	if(IsPlayerLoggedIn(playerid)) {SaveChar(playerid);}
	switch(reason)
	{
	    case 0: format(string, sizeof(string), "* %s has left the server. (Timeout)", RPN(playerid));
	    case 1: format(string, sizeof(string), "* %s has left the server. (Leaving)", RPN(playerid));
	    case 2: format(string, sizeof(string), "* %s has left the server. (Kicked/Banned)", RPN(playerid));
	}
	SendNearbyMessage(playerid, 10, string, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW);
	foreach(Player, i)
	{
		if(JoinMessages[i])
		{
		    SendClientMessage(i, COLOR_LIGHTBLUE, string);
		}
	}
	foreach(Player, i)
	{
	    if(Specid[i] == playerid)
	    {
	        Spec[i] = 0;
			Specid[i] = -1;
	    	TogglePlayerSpectating(i, 0);
			SetPlayerVirtualWorld(i, PlayerInfo[playerid][pVW]);
			SetPlayerInterior(i, PlayerInfo[playerid][pInt]);
			SetPlayerPos(i, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
			SendClientMessage(i, COLOR_WHITE, " You have stopped spectating players.");
	    }
	}
	// Clearing AD
	for(new i=0; i<MAX_ADS; i++)
	{
		if(strfind(AD[i], RPN(playerid)) != -1)
   		{
   		    format(AD[i], 128, "");
   		}
   	}
	// End of Clearing AD
	ClearChar(playerid);
	return 1;
}

public OnPlayerSpawn(playerid)
{
	PingTimer[playerid] = SetTimerEx("CheckPing",1000,1,"i",playerid);
/*    TextDrawHideForPlayer(playerid,Black0);
    TextDrawHideForPlayer(playerid,Black1);
    TextDrawHideForPlayer(playerid,cttext);
    TextDrawHideForPlayer(playerid,rptext);
	TextDrawHideForPlayer(playerid,vertext);*/
    TextDrawHideForPlayer(playerid,Area);
    TextDrawHideForPlayer(playerid,Area1);
    TextDrawHideForPlayer(playerid,Area2);
    TextDrawHideForPlayer(playerid,Area3);
	TextDrawHideForPlayer(playerid,Area4);
	TextDrawHideForPlayer(playerid,AreaMotd);
	// login screen 23-02
	/*
	TextDrawHideForPlayer(playerid,loginscreen1);
    TextDrawHideForPlayer(playerid,loginscreen2);
    TextDrawHideForPlayer(playerid,loginscreen3);
    TextDrawHideForPlayer(playerid,loginscreen4);
	TextDrawHideForPlayer(playerid,loginscreen5);
	TextDrawHideForPlayer(playerid,loginscreen6);
    TextDrawHideForPlayer(playerid,loginscreen7);
    TextDrawHideForPlayer(playerid,loginscreen8);
    TextDrawHideForPlayer(playerid,loginscreen9);
	TextDrawHideForPlayer(playerid,loginscreen10);
	*/
	//IsAfterLifing[playerid] = 0;
	if (IsDead[playerid] == 1)
	{
 		SetPlayerPos(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]);
 		SetPlayerCameraPos(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]+5);
 		SetPlayerCameraLookAt(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]);
 		TogglePlayerControllable(playerid,false);
 		ApplyAnimation(playerid,"PARACHUTE","FALL_skyDive_DIE", 4.0, 0, 0, 0, 1, 0);
 		//SetTimerEx("AutoDeath",AUTODEATH_SECONDS * 1000,false,"i",playerid);
 		SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
 		SendClientMessage(playerid,COLOR_WHITE,"You were severely injured.");
 		SendClientMessage(playerid,COLOR_WHITE,"Typ /acceptdeath to accept your death or wait for help...");
 	 	SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
 		return 1;
   	}
	AntiDeAMX();
    PlayerInfo[playerid][pMaskOn] = 0;
    PlayerInfo[playerid][pHideOn] = 0;
	// Anti F4 Bug - Logging/Registering
	if(!PlayerInfo[playerid][pLoggedIn] && !IsPlayerNPC(playerid))
	{
		if(IsPlayerNPC(playerid)) return 1;
		SetPlayerPos(playerid, 2372.1680,2141.8135,27.8135); // 1975.203002, 3779.311523, -50.243506
		//SetPlayerCameraPos(playerid, 2372.1680,2141.8135,31.8135); // 1975.203002, 3779.311523, 100.243506
		//SetPlayerCameraLookAt(playerid, 2299.5005,2142.6213,28.8228); // 1975.203002, 3779.311523, -0.243506,
		InterpolateCameraPos(playerid, 2648.501220, 2269.012939, 35.776741, 2480.649414, 1642.617919, 70.336242, 10000);
		InterpolateCameraLookAt(playerid, 2646.480712, 2273.585937, 35.854862, 2480.884765, 1638.132080, 68.140335, 12000);
	    SetSpawnInfo( playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
	    new file[64];
		format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	    // Player isn't banned
	    if(dini_Int(file, "AdminAccount") == 1)
		{
		    format(file, sizeof(file), "users/%s.ini",RPNU(playerid));
		    SetPlayerName(playerid, dini_Get(file, "OldName"));
		    format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
		    ShowDialog(playerid, 2);
		}
		if(!dini_Exists(file))
		{
		    ShowDialog(playerid, 1);
		    return 1;
		}
		else
		{
			ShowDialog(playerid, 2);
		}
		return 1;
	}
	// Actual Spawning
    ResetPlayerWeapons(playerid);
	if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
	{
	  new npcname[MAX_PLAYER_NAME];
	  GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
	  if(!strcmp(npcname, "BusDriver", true)) //Checking if the NPC's name is BusDriver
	  {
	    PutPlayerInVehicle(playerid, NPCBus, 0); //Putting the NPC into the vehicle we created for it.
	    return 1;
	  }
	  return 1;
	}
    if(PlayerInfo[playerid][pLoggedIn] && PlayerInfo[playerid][pSpawn])
    {
        FalseBan[playerid] = 0;
        SetTimerEx("FalseBanFix", 6000, false, "i", playerid);
    	SpawnChar(playerid);
    }
   	GameTextForPlayer(playerid, "~w~Character Loading...", 3500, 3);
	TogglePlayerControllable(playerid, 0);
	SetPlayerVirtualWorld(playerid, 0); // Fix
	SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
	return 1;
}

forward CheckPing(playerid);
public CheckPing(playerid)
{
	if(USE_ANTI_HIGHPING == true)
	{
		SendClientMessage(playerid, COLOR_RED, "{539600}[ANTI-CHEAT]{74D400} You have been kicked for possible high ping. (above 600)");
		if(GetPlayerPing(playerid) > MAX_PING) Kick(playerid);
	}
}

public OnPlayerDeath(playerid, killerid, reason)
{
	if(USE_ANTI_FAKE_KILL == true)
	{
		if(GetPlayerWeapon(killerid) == reason)
		{
		    SendClientMessage(playerid, COLOR_RED, "{539600}[ANTI-CHEAT]{74D400} You have been kicked for possible fake-killing.");
		    FixedKick(playerid);
		}
		if(killerid == playerid)
		{
		    SendClientMessage(playerid, COLOR_RED, "{539600}[ANTI-CHEAT]{74D400} You have been kicked for possible fake-killing.");
		    FixedKick(playerid);
		}
	}
    //SendDeathMessage(killerid,playerid,reason); // Death List
	if(IsPlayerLoggedIn(playerid))
	{
        if(g_bIsRobbiz[playerid])
	    {
	        DisablePlayerCheckpoint(playerid);
	        DestroyObject(g_robbizBag[playerid]);
	        g_apprehendedCash[playerid] = 0;
			g_bIsRobbiz[playerid] = false;
			new copMessage[128];
			format(copMessage, sizeof(copMessage), "** %s has been hospitalized and failed the business robbery.", RPN(playerid));
			SendCopMessage(COLOR_BLUE, copMessage);
			SendHSFMessage(COLOR_BLUE, copMessage);
			SendFBIMessage(COLOR_BLUE, copMessage);
			SendSWATMessage(COLOR_BLUE, copMessage);
			SendSATFMessage(COLOR_BLUE, copMessage);
		}
		if(PlayerInfo[playerid][pPrison] == 1 && PlayerInfo[playerid][pPrison] == 2)
		{
  			SetPlayerInterior(playerid, 2);
			SetPlayerPos(playerid,2489.9812,-1236.5590,1063.2562);
			SendClientMessage(playerid, COLOR_RED, "[JAIL] You logged out during in jail. Back to jail");
			SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
			return 1;
		}
	    new Float:pDX, Float:pDY, Float:pDZ;
	    GetPlayerPos(playerid, pDX, pDY, pDZ);
	    DeathPosX[playerid] = pDX;
	    DeathPosY[playerid] = pDY;
	    DeathPosZ[playerid] = pDZ;
	    IsDead[playerid] = 1;
	    new string[128];
	    if(BankRobber[playerid])
	    {
    	    new Rob = BankRobber[playerid]-1;
		    DisablePlayerCheckpoint(playerid);
			BankRobbersCount --;
			format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
			DeliverMoney[playerid] = 0;
			//
			foreach(Player, i)
			{
			    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
			    {
					if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
					else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
					else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
					else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
					else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
				}
			}
			format(string, sizeof(string), "** %s has been hospitalized and has failed the robbery. **", RPN(playerid));
			SendRobberyMessage(COLOR_LIGHTRED, string);
			SendCopMessage(COLOR_LIGHTRED, string);
			SendFBIMessage(COLOR_LIGHTRED, string);
			BankRobber[playerid] = 0;
			if(BankRobbersCount == 0)
			{
				TextDrawHideForAll(Area5);
				TextDrawHideForAll(Textdraw1);
				TextDrawHideForAll(Textdraw2);
				TextDrawHideForAll(Textdraw3);
				TextDrawHideForAll(Textdraw4);
				TextDrawHideForAll(Textdraw5);
				BankRobbery = 0;
				RobberyStarted = 0;
				format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
				SendClientMessageToAll(COLOR_YELLOW, string);
				TotalRobbers = 0;
				new copsonline;
				foreach(Player, i)
				{
				    if(IsACop(i)) copsonline++;
				    if(IsAHSF(i)) copsonline++;
				    if(IsAFBI(i)) copsonline++;
				}
				foreach(Player, i)
				{
				    if(IsACop(i))
				    {
						new Saved = (TotalRobbers*50000-(TotalStolen*50000));
						GiveZaiatMoney(i, Saved/copsonline);
						format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
						SendClientMessage(i, COLOR_LIME, string);
				    }
				}
			}
	    }
	    if(!IsAFK[playerid])
	    {
	        if(Event[playerid])
	        {
	        	format(string, sizeof(string), "OnEventDeath: %s has killed %s using %s.", NORPN(killerid), NORPN(playerid), RWN(reason));
				foreach(Player, i)
				{
				    if(Event[i]) SendClientMessage(i, COLOR_REPORT, string);
				}
				Event[playerid] = 0;
				IsDead[playerid] = 0;
				TogglePlayerControllable(playerid, 1);
				SetCameraBehindPlayer(playerid);
				SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
	        }
			else
			{
			    PlayerInfo[playerid][pHospital] = 1;
				PlayerInfo[playerid][pArmor] = 0;
			    if(IsPlayerLoggedIn(killerid))
			    {
					format(string, sizeof(string), "OnPlayerDeath: %s has killed %s using %s.", NORPN(killerid), NORPN(playerid), RWN(reason));
					SendAdminMessage(COLOR_DARKRED, 1, string);
					Log("logs/kill.log", string);
					if(Hitman[killerid] == playerid)
					{
					    format(string, sizeof(string), " You have been critically injured by a hitman and lost $%d, the contrat on your head was cleared.", PlayerInfo[playerid][pContract]/2);
					    SendClientMessage(playerid, COLOR_YELLOW, string);
					    format(string, sizeof(string), "HitmanWarn: %s has fulfilled the contract on %s's head and collected $%d.", RPN(killerid), RPN(playerid), PlayerInfo[playerid][pContract]/2);
						SendHitmanMessage(COLOR_YELLOW, string);
						GiveZaiatMoney(playerid, -PlayerInfo[playerid][pContract]/2);
						GiveZaiatMoney(killerid, PlayerInfo[playerid][pContract]/2);
						PlayerInfo[playerid][pContract] = 0;
						format(PlayerInfo[playerid][pContract], 32, "");
						Hitman[killerid] = -1;
						PlayerInfo[killerid][pCSuccess] ++;
					}
					if(Hitman[playerid] == killerid)
					{
					    format(string, sizeof(string), " You have critically injured a hitman and collected $%d, the contrat on your head was cleared.", PlayerInfo[killerid][pContract]);
					    SendClientMessage(killerid, COLOR_YELLOW, string);
					    format(string, sizeof(string), "HitmanWarn: %s has failed the contract on %s's head and lost $%d.", RPN(playerid), RPN(killerid), PlayerInfo[killerid][pContract]);
						SendHitmanMessage(COLOR_YELLOW, string);
						GiveZaiatMoney(playerid, -PlayerInfo[killerid][pContract]);
						GiveZaiatMoney(killerid, PlayerInfo[killerid][pContract]);
						PlayerInfo[killerid][pContract] = 0;
						format(PlayerInfo[killerid][pContract], 32, "");
						Hitman[playerid] = -1;
						PlayerInfo[playerid][pCFail] ++;
					}
				}
			}
			if(BeingCalled[playerid] || Calling[playerid])
			{
			    if(BeingCalled[playerid]) SendClientMessage(Caller[playerid], COLOR_ORANGE, " The line went dead...");
		    	else if(Calling[playerid]) SendClientMessage(Called[playerid], COLOR_ORANGE, " The line went dead...");
			    new params[1];
			    cmd_hangup(playerid, params);
			}
		}
		else
		{
		    GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
		   	ClearZaiatWantedLevels(killerid);
		    SetPlayerColor(killerid, TRANSPARENT_ORANGE);
			PlayerInfo[killerid][pPrison] = 2;
			PlayerInfo[killerid][pPrisonTime] = AFK[playerid];
			format(PlayerInfo[killerid][pPrisonReason], 64, "Killing AFK Players");
			format(PlayerInfo[killerid][pPrisonBy], 32, "AutoPrison");
			SetPlayerInterior(killerid, 2);
			SetPlayerVirtualWorld(killerid, 1);
			new RandomCell = random(sizeof(RandomPrison));
			SetPlayerFacingAngle(killerid, RandomPrison[RandomCell][3]);
			TogglePlayerControllable(killerid, 0);
			SetTimerEx("EnterExitTimer", 5000, false, "i", killerid);
			SetPlayerPos(killerid, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
			SetCameraBehindPlayer(killerid);
			format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been auto-prisoned, reason: Killing AFK Players [%d Minutes]", NORPN(killerid), AFK[playerid]/60);
			SendClientMessageToAll(COLOR_LIGHTRED, string);
			Log("logs/prison.log", string);
			format(string, sizeof(string), " You have been auto-prisoned for %d minutes (%d seconds)", PlayerInfo[killerid][pPrisonTime]/60, PlayerInfo[killerid][pPrisonTime]);
			SendClientMessage(killerid, COLOR_LIGHTBLUE, string);
		}
	}
	return 1;
}

public OnVehicleSpawn(vehicleid)
{

	//new vehplatestr[128];
	//format(vehplatestr, sizeof vehplatestr, "T:RP %i", vehicleid);
	//SetVehicleNumberPlate(vehicleid, vehplatestr);
	//SetVehicleToRespawn(vehicleid);
	if(vehicleid != 509 && vehicleid != 481 && vehicleid != 510)
	{
	    SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);
		foreach(Player, i)
		{
		    if(vehicleid == PlayerInfo[i][pVeh])
		    {
		        if(PlayerInfo[i][vLocked]) SetVehicleParamsEx(vehicleid, 0, 0, 0, 1, 0, 0, 0);
	            ChangeVehiclePaintjob(PlayerInfo[i][pVeh], PlayerInfo[i][vPJ]);
				for(new x=0; x<14; i++)
				{
				    AddVehicleComponent(PlayerInfo[i][pVeh], PlayerInfo[i][pVehMod][x]);
				}
		    }
		    if(vehicleid == PlayerInfo[i][pVVeh])
		    {
		        if(PlayerInfo[i][vVLocked]) SetVehicleParamsEx(vehicleid, 0, 0, 0, 1, 0, 0, 0);
	            ChangeVehiclePaintjob(PlayerInfo[i][pVVeh], PlayerInfo[i][vVPJ]);
				for(new x=0; x<14; i++)
				{
				    AddVehicleComponent(PlayerInfo[i][pVVeh], PlayerInfo[i][pVVehMod][x]);
				}
		    }
		    if(vehicleid == PlayerInfo[i][pBVeh])
		    {
		        if(PlayerInfo[i][vBLocked]) SetVehicleParamsEx(vehicleid, 0, 0, 0, 1, 0, 0, 0);
	            ChangeVehiclePaintjob(PlayerInfo[i][pBVeh], PlayerInfo[i][vBPJ]);
				for(new x=0; x<14; i++)
				{
				    AddVehicleComponent(PlayerInfo[i][pBVeh], PlayerInfo[i][pBVehMod][x]);
				}
		    }
		}
		if(IsTruckerVehicle(vehicleid))
		{
		    TruckPackages[vehicleid] = -1;
		}
		if(Siren[vehicleid])
		{
			Siren[vehicleid] = 0;
	        DestroyDynamicObject(SirenObject[vehicleid]);
	        DestroyDynamicObject(LightObject1[vehicleid]);
        }
    }
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
	return 1;
}

public OnPlayerModelSelection(playerid, response, listid, modelid)
{
	if(listid == toylist)
	{
	    if(response)
	    {
	        new index, string[128];
	    	//PlayerInfo[playerid][pToyModel][index] = modelid;
	    	//SendClientMessage(playerid, 0xFF0000FF, "Toy Selected");
	    	//ShowDialog(playerid, 303);
			if(PlayerInfo[playerid][pMoney] < 300) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
			PlayerInfo[playerid][pToyModel][index] = modelid;
			GiveZaiatMoney(playerid, -300);
			format(string, sizeof(string), "* %s has bought a toy for $300.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can view and edit your toys using /toys.");
	    }
	    else SendClientMessage(playerid, 0xFF0000FF, "Canceled toy selection");
    	return 1;
	}
	if(listid == lsemsskinlist)
	{
	    if(response)
	    {
			new string[128];
			PlayerInfo[playerid][pModel] = modelid;
			SetPlayerSkin(playerid, modelid);
			format(string, sizeof(string), "* %s reaches their hands and put some clothes on.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    }
	    else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
    	return 1;
	}
	if(listid == copskinlist)
	{
	    if(response)
	    {
			new string[128];
			PlayerInfo[playerid][pModel] = modelid;
			SetPlayerSkin(playerid, modelid);
			format(string, sizeof(string), "* %s reaches their hands and put some clothes on.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    }
	    else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
    	return 1;
	}
	if(listid == hsfskinlist)
	{
	    if(response)
	    {
			new string[128];
			PlayerInfo[playerid][pModel] = modelid;
			SetPlayerSkin(playerid, modelid);
			format(string, sizeof(string), "* %s reaches their hands and put some clothes on.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    }
	    else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
    	return 1;
	}
	if(listid == skinlist)
	{
	    if(response)
	    {
	        new idx = GetPlayerVirtualWorld(playerid)-100;
			new string[128];
			PlayerInfo[playerid][pModel] = modelid;
			SetPlayerSkin(playerid, modelid);
			BizInfo[idx][bMoney] += 100;
			BizInfo[idx][bProducts] --;
			GiveZaiatMoney(playerid, -100);
			format(string, sizeof(string), "* %s has bought new clothes for $100.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    }
	    else SendClientMessage(playerid, 0xFF0000FF, "Canceled skin selection");
    	return 1;
	}
	return 1;
}

/*public AfterLife(playerid)
{
	IsAfterLifing[playerid] = 1;
	SecsToGo[playerid]--;
	new string[128];
	format(string,sizeof(string),"~b~ ~h~ ~h~you are in afterlife~n~ ~b~ ~h~ ~h~you will come in the hospital in %d seconds",SecsToGo[playerid]);
	GameTextForPlayer(playerid,string,1100,3);
	if (SecsToGo[playerid] <= 0)

	{
		//CleanPlayerChat(playerid);
		KillTimer(AfterLifeTimer);
		SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
		SendClientMessage(playerid,COLOR_WHITE,"You have revived after a long rest.");
		SendClientMessage(playerid,COLOR_WHITE,"The medics have threated you and now you are healthy.");
		SendClientMessage(playerid,COLOR_WHITE,"Remember, you have lost memory of recent 30 minutes.");
		SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
		SpawnPlayer(playerid);
		return 1;

	}
	return 1;
}

public AutoDeath(playerid)
{
        if (IsDead[playerid] == 0) { return 0; }
        else if (IsDead[playerid] == 1)
        {
            new saystring[128], deathstring[128], name[28];
            GetPlayerName(playerid,name,sizeof(name));
            switch (random(2))
                {
                case 0:
                        {
                                format(saystring,sizeof(saystring),"%s mumbles: I can't hold more..", name);
                                format(deathstring,sizeof(deathstring),"* %s closes his eyes, falling into death.", name);
                        }
                        case 1:
                        {
                            format(saystring,sizeof(saystring),"%s mumbles: Aghh.. It's cold.. I feel something.. A light-..",name);
                            format(deathstring,sizeof(deathstring),"* %s is now inmobilized, and dead.",name);
                        }
                }
            SendNearbyMessage(playerid, 15, deathstring, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
            SendNearbyMessage(playerid, 15, saystring, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);

			IsDead[playerid] = 0;
            SecsToGo[playerid] = AFTERLIFE_SECONDS;
            SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
            SendClientMessage(playerid,COLOR_WHITE,"You are now in the afterlife.");
            SendClientMessage(playerid,COLOR_WHITE,"When you revive, you will lost memory of last 30 minutes.");
            SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
            SetPlayerPos(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]);
            SetPlayerCameraPos(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]);
            SetPlayerCameraLookAt(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]+100);
            AfterLifeTimer = SetTimerEx("AfterLife",1000,true,"i",playerid);
            return 1;
        }
        return 1;
}*/


public OnPlayerText(playerid, text[])
{
	if(USE_ANTI_SPAM == true)
	{
		if(pMuted[playerid] == true)
		{
		    SendClientMessage(playerid, COLOR_RED, "{539600}[ANTI-CHEAT]{74D400} You have been muted for spamming the chat.");
		    return 0;
		}
		pLineCount[playerid]++;
		SetTimerEx("LineCountReset", 2000, 0, "i", playerid);
		if(pLineCount[playerid] >= MAX_MESSAGES)
		{
		    pMuted[playerid] = true;
		    SetTimerEx("Unmute", 30000, 0, "i", playerid);
		}
	}
    //if (IsAfterLifing[playerid] == 1) { return 0; }
	if(PlayerInfo[playerid][pMute] == 1)
	{
		SendClientMessage(playerid, COLOR_GREY, "You cannot speak, you have been silenced!");
		return 0;
	}
	// Anti Adv
    if(AntiAdv(playerid, text)) return 0;
	// The Rest
	new string[128];
    // Normal Calling
	if(BeingCalled[playerid] == 2 || Calling[playerid] == 2 || Call911[playerid])
	{
		if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "[Cellphone] %s: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], text);
	    else format(string, sizeof(string), "[Cellphone] %s: %s", RPN(playerid), text);
	    if(!Call911[playerid])
	    {
		    if(BeingCalled[playerid] == 2) SendClientMessage(Caller[playerid], COLOR_YELLOW, string);
		    else if(Calling[playerid] == 2) SendClientMessage(Called[playerid], COLOR_YELLOW, string);
	    }
	}
	else if(Live[playerid])
	{
		if(IsNewsVehicle(GetPlayerVehicleID(playerid)))
		{
			format(string, sizeof(string), "** [Live News]: %s: %s", RPN(playerid), text);
			SendClientMessageToAll(COLOR_LIGHTGREEN, string);
		}
	}
	else
	{
		if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "%s says: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], text);
		else format(string, sizeof(string), "%s says: %s", RPN(playerid), text);
		SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,4000);
	}
	SendNearbyMessage(playerid, 10, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
	Log("logs/chat.log", string);
	// 911
    if(Calling[playerid] && Call911[playerid])
    {
        if(Call911[playerid] == 1)
        {
            format(D911[playerid], 128, "%s", text);
            Call911[playerid] = 2;
            SendClientMessage(playerid, COLOR_YELLOW, "[Cellphone]: What is your current location?");
        }
        else if(Call911[playerid] == 2)
        {
            Call911[playerid] = 0;
            Calling[playerid] = 0;
			CalledCops[playerid] = 1;
            SendClientMessage(playerid, COLOR_YELLOW, "[Cellphone]: Alright, we have received your emergency call and a unit will be there shortly.");
            //SendClientMessage(Caller[playerid], COLOR_ORANGE, " They hungup the line.");
            /*format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received an emergency call from the phone number %d (( /track %d ))", PlayerInfo[playerid][pCellphone], playerid);
            SendClientMessage(playerid, COLOR_WHITE, string);
            format(string, sizeof(string), "{2641FE}Emergency: {FFFFFF}%s", D911[playerid]);
            SendClientMessage(playerid, COLOR_WHITE, string);
            format(string, sizeof(string), "{2641FE}Location: {FFFFFF}%s", text);
            SendClientMessage(playerid, COLOR_WHITE, string);*/
            // Notice for Player that the messaged is sended
            format(string, sizeof(string), "{2641FE}Received: {FFFFFF}We received your emergency call, The police is alerted");
            SendClientMessage(playerid, COLOR_WHITE, string);
            // Lspd Receive Message Fix
            new stringem[128];
            // LSPD
            format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received an emergency call from the phone number %d (( /track %d ))", PlayerInfo[playerid][pCellphone], playerid);
            SendCopMessage(COLOR_BLUE,string);
            format(stringem, sizeof(stringem), "{2641FE}Emergency: {FFFFFF}%s", D911[playerid]);
            SendCopMessage(COLOR_BLUE,stringem);
            format(string, sizeof(string), "{2641FE}Location: {FFFFFF}%s", text);
            SendCopMessage(COLOR_BLUE,string);
            // HSF
            format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received an emergency call from the phone number %d (( /track %d ))", PlayerInfo[playerid][pCellphone], playerid);
            SendHSFMessage(COLOR_BLUE,string);
            format(stringem, sizeof(stringem), "{2641FE}Emergency: {FFFFFF}%s", D911[playerid]);
            SendHSFMessage(COLOR_BLUE,stringem);
            format(string, sizeof(string), "{2641FE}Location: {FFFFFF}%s", text);
            SendHSFMessage(COLOR_BLUE,string);
            // FBI
			format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received an emergency call from the phone number %d (( /track %d ))", PlayerInfo[playerid][pCellphone], playerid);
            SendFBIMessage(COLOR_BLUE,string);
            format(stringem, sizeof(stringem), "{2641FE}Emergency: {FFFFFF}%s", D911[playerid]);
            SendFBIMessage(COLOR_BLUE,stringem);
            format(string, sizeof(string), "{2641FE}Location: {FFFFFF}%s", text);
            SendFBIMessage(COLOR_BLUE,string);
            // D911 String / Format
            format(D911[playerid], 128, "");
            SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
        }
    }
	/*format(OldSpamChat[playerid], 128, "%s", NewSpamChat[playerid]);
	format(NewSpamChat[playerid], 128, "%s", text);
	if(strlen(OldSpamChat[playerid]) > 0 && strlen(NewSpamChat[playerid]) > 0)
	{
		if(!strcmp(OldSpamChat[playerid], NewSpamChat[playerid], false))
		{
			ChatSpamCount[playerid] ++;
			if(ChatSpamCount[playerid] >= 8)
			{
				format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been autokicked, reason: Spam", RPN(playerid));
				SendClientMessageToAll(COLOR_LIGHTRED, string);
				ChatSpamCount[playerid] = 0;
				FixedKick(playerid);
			}
		}
		else
		{
		    ChatSpamCount[playerid] = 0;
		}
	}*/
	return 0;
}


public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid)
{
	if(weaponid == 0 && GetPlayerFightingStyle(playerid) == FIGHT_STYLE_BOXING || weaponid == 1 && GetPlayerFightingStyle(playerid) == FIGHT_STYLE_BOXING)
	{
	    new Float:hArmor; GetPlayerArmour(damagedid, hArmor);
	    if(hArmor <= 0)
	    {
		    new hit = strval(RPJL(playerid, JOB_BOXER));
			new Float:OldHP; GetPlayerHealth(damagedid, OldHP);
			SetPlayerHealth(damagedid, OldHP-((hit*2)-2));
		}
	}
	return 1;
}

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
	new string[128];
	format(string,sizeof(string),"-%.0f HP",amount);
	SetPlayerChatBubble(playerid,string,0x660000AA,150.0,2500);
	return 1;
}

public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
	new string[128];
	if(GetPlayerWeapon(Shooter) == 34 && PlayerInfo[Shooter][pScope] && Hitman[Shooter] == Target)
	{
		SetPlayerHealth(Target, 0);
		SetPlayerArmour(Target, 0);
		if(Hitman[Shooter] == Target)
		{
		    format(string, sizeof(string), " You have been critically injured by a hitman and lost $%d, the contrat on your head was cleared.", PlayerInfo[Target][pContract]/2);
		    SendClientMessage(Target, COLOR_YELLOW, string);
		    format(string, sizeof(string), "HitmanWarn: %s has fulfilled the contract on %s's head and collected $%d.", RPN(Shooter), RPN(Target), PlayerInfo[Target][pContract]/2);
			SendHitmanMessage(COLOR_YELLOW, string);
			GiveZaiatMoney(Target, -PlayerInfo[Target][pContract]/2);
			GiveZaiatMoney(Shooter, PlayerInfo[Target][pContract]/2);
			PlayerInfo[Target][pContract] = 0;
			format(PlayerInfo[Target][pContract], 32, "");
			Hitman[Shooter] = -1;
			PlayerInfo[Shooter][pCSuccess] ++;
		}
		PlayerInfo[Shooter][pScope] --;
	}
	//if(IsACop(Shooter) && !IsAFBI(Shooter) && !IsAGov(Shooter))
	if(IsAPDFBIHGGOV(Shooter))
	{
	    if(Tazer[Shooter])
	    {
	        if(GetPlayerWeapon(Shooter) == 23)
	        {
	            if(!IsPlayerTazed(Target) && !IsPlayerCuffed(Target) && !IsPlayerTied(Target))
	            {
		            new Float:HP, Float:Armor;
		            GetPlayerHealth(Target, HP);
		            GetPlayerArmour(Target, Armor);
		            SetPlayerHealth(Target, HealthLost+HP);
		            SetPlayerArmour(Target, ArmourLost+Armor);
		            if(!IsPlayerNearPlayer(Shooter, Target, 12)) return SendClientMessage(Shooter, COLOR_GREY, "You are too far away from that player.");
					//if(IsHoldingFirearm(Target)) return SendClientMessage(Shooter, COLOR_GREY, "You can't taze someone with a gun in hand.");
					// Got Tazed
				    format(string, sizeof(string), "* %s aims their tazer on %s and tazes them.", RPN(Shooter), RPN(Target));
				    SendNearbyMessage(Shooter, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				    GameTextForPlayer(Target, "~r~Tazed", 3500, 3);
				    // Custom Freeze
				    ApplyAnimation(Target,"CRACK","crckdeth2",4.1,0,1,1,1,1,1);
					TogglePlayerControllable(Target, 0);
					// Tazed Detecting
					TogglePlayerTazed(Target, 1);
					// Tazer Timeout
					TazeTimeout[Target] = 11;
					TazeCountDown[Target] = SetTimerEx("TazeTimer", 1000, true, "d", Target);
				}

		    }
	    }
	}
	return 1;
}

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
	new string[128];
	format(string, sizeof(string), "[cmd] [%s]: %s", NORPN(playerid), cmdtext);
 	print(string);
    if(!success)
	{
	    SendClientMessage(playerid, COLOR_LIGHTRED, "{9D00FF}S{0080FF}E{007A27}R{EAFF00}V{FF0000}E{7D7D7D}R{0011FF}: {FFFFFF}Command is not found in the database, /help for more information.");
	}
	/*if(strfind(cmdtext, "/next", true) == -1 || strfind(cmdtext, "/toys", true) == -1)
	{
		format(OldSpamCommand[playerid], 128, "%s", NewSpamCommand[playerid]);
		format(NewSpamCommand[playerid], 128, "%s", cmdtext);
		if(strlen(OldSpamCommand[playerid]) > 0 && strlen(NewSpamCommand[playerid]) > 0)
		{
			if(!strcmp(OldSpamCommand[playerid], NewSpamCommand[playerid], false))
			{
			    CommandSpamCount[playerid] ++;
			    if(CommandSpamCount[playerid] >= 8)
			    {
				    format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been autokicked, reason: Spam", RPN(playerid));
				    SendClientMessageToAll(COLOR_LIGHTRED, string);
				    CommandSpamCount[playerid] = 0;
				    FixedKick(playerid);
			    }
			}
			else
			{
			    CommandSpamCount[playerid] = 0;
			}
		}
	}*/
    return 1;
}


// OnPlayerCommandText
CMD:help(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_ORANGE, ""COE"---------------------["CWE" Help "COE"]---------------------");
	SendClientMessage(playerid, COLOR_GREY, "- /cmds /rpguide /helpme /report /irc /admins /helpers /credits /search /levels");
	return 1;
}

CMD:irc(playerid, params[])
{
    new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && !IRCStatus) return SendClientMessage(playerid, COLOR_GREY, "The IRC Channel is currently disabled.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /irc [Message]");
	if(AntiAdv(playerid, params)) return 1;
	if(ReportTime[playerid] > 0)
	{
	    format(string, sizeof(string), "You need to wait %d more seconds before making a report message again.", ReportTime[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	format(string, sizeof(string), "(( [ToIRC] [%d] %s: %s ))", playerid, RPN(playerid), params);
	SendAdminMessage(COLOR_RED, 1, string);
	format(string, sizeof(string), "(( [ToIRC] [%d] %s: %s ))", playerid, RPN(playerid), params);
	SendClientMessage(playerid, COLOR_RED, string);
	format(string, sizeof(string), "[IRC] [%d] %s: %s", playerid, RPN(playerid), params);
	Log("logs/reports.log", string);
	return 1;
}

CMD:cmds(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_ORANGE, ""COE"---------------------["CWE" Commands "COE"]---------------------");
	SendClientMessage(playerid, COLOR_YELLOW, "[GENERAL]: {FFFFFF}/stats /rpguide /reportbug /serverstats /tog /call (/p)ickup (/h)angup /buysim /wtc /search /changepass /tabcheck /fuel");
	SendClientMessage(playerid, COLOR_YELLOW, "[GENERAL]: {FFFFFF}/pay (/un)blindfold (/un)tie /colorcar /paintcar /buy /phonebook /(a)withdraw /(a)deposit /wire /paycheck /id /afkcheck");
	SendClientMessage(playerid, COLOR_YELLOW, "[GENERAL]: {FFFFFF}/points /buycar /lock /park /locatecar /sellcartomarket /speedlimit /helpers /joinevent /quitevent /train /stuck");
	SendClientMessage(playerid, COLOR_YELLOW, "[GENERAL]: {FFFFFF}/bid /loyal /surrender /name (on/off) /killcheckpoint /reportidea /seatbelt /stopanim /information /frisk");
	SendClientMessage(playerid, COLOR_YELLOW, "[GENERAL]: {FFFFFF}/rules /myvehicles /boombox /boomboxnext /myangle /balance /pickgun /dropgun /charity /cartow /factions");
	SendClientMessage(playerid, COLOR_YELLOW, "[GENERAL]: {FFFFFF}/walkstyle /pointrules /jobs");
	SendClientMessage(playerid, COLOR_YELLOW, "[CHAT]: {FFFFFF}/newbie /o /b /s /l /w /wt /f /r /d /g /call /sms /report /helpme /accent");
	SendClientMessage(playerid, COLOR_YELLOW, "[INTERACTIONS]: {FFFFFF}/(a)me /(a)do2 /enter /exit /drop /contract /engine /license /showlicense /refer /(un)tow");
	SendClientMessage(playerid, COLOR_YELLOW, "[BUSINESS]: {FFFFFF}/buybiz /vault /lock /sellbiztomarket /robbiz");
	SendClientMessage(playerid, COLOR_YELLOW, "[HOUSE]: {FFFFFF}/buyhouse /hdeposit /hwithdraw /lock /houseupgrade /sellhousetomarket /heal");
	SendClientMessage(playerid, COLOR_YELLOW, "[HELP]: {FFFFFF}/animlist /vehhelp /bizhelp /househelp /jobhelp /factionhelp /familyhelp /helperhelp /viphelp /refhelp /cookieshelp");
	SendClientMessage(playerid, COLOR_YELLOW, "[HELP]: {FFFFFF}/robberyhelp /fishhelp /gatehelp /cellphonehelp /notehelp");
	return 1;
}

/*CMD:robbiz(playerid, params[])
{
	#pragma unused params
	new idx = GetPlayerVirtualWorld(playerid)-100;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 1 && BizInfo[idx][bType] != 2 && BizInfo[idx][bType] != 3 && BizInfo[idx][bType] != 4 && BizInfo[idx][bType] != 6 && BizInfo[idx][bType] != 7 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a business.");
	if(BizInfo[idx][bMoney] < 150000) return SendClientMessage(playerid, COLOR_GREY, "This business vault do not have enough money to rob");
	if(IsACop(playerid) || IsAFBI(playerid) || IsASWAT(playerid) || IsAHSF(playerid) || IsAHSF(playerid) || IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Law enforcement cannot rob a business.");
	if(g_remainingBizTicks[idx])
	{
	    new strRobbedInfo[128];
//		new playerName[36];
//		GetPlayerName(g_bizRobber[idx], playerName, 36);
		format(strRobbedInfo, sizeof(strRobbedInfo), "%s robbed this business under 2 hour ago.", NORPN(idx));
 		return SendClientMessage(playerid, COLOR_GREY, strRobbedInfo);
	}
	if(g_bizRobber[idx] == playerid) return SendClientMessage(playerid, COLOR_GREY, "You're already robbing a business.");

	new bystandards = 0;
	for (new i = 0; i < MAX_PLAYERS; i++) {
	    if (IsPlayerConnected(i) && i != playerid && GetPlayerVirtualWorld(i)-100 == idx) bystandards++;
	}

	if (bystandards < 3) return SendClientMessage(playerid, COLOR_GREY, "There are not enough bystandards in the business for you to rob it.");

	g_robbizBag[playerid] = CreateObject(1550, 0.0, 0.0, 1000.0, 0.0, 0.0, 0.0);
	AttachObjectToPlayer(g_robbizBag[playerid], playerid, -0.2, -0.4, 0.0, 0.0, 1.5, 2);
	g_bizRobber[idx] = playerid;
	g_bIsRobbiz[playerid] = 1;
	g_remainingRobTicks[playerid] = 70;
	g_remainingBizTicks[idx] = 120*60;
	g_apprehendedCash[playerid] = (BizInfo[idx][bMoney] * 10) / 100;

	SendClientMessage(playerid, COLOR_RED, "You've begun robbing this business^");
	new warningMessage[64];
	format(warningMessage, sizeof(warningMessage), "Watch out! %s is robbing the place!", NORPN(playerid));
	SendNearbyMessage(playerid, 15.0, warningMessage, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	for(new i=0;i<MAX_PLAYERS;i++){
		{
			if(NeedBackUp(i))
			{
				new string[128];
				new bizNames[][] = {"24/7 Market","Clothes Shop","Ammunation","Club","Advertisement Agency","Fast Food","Casino"};
				SendCopMessage(COLOR_BLUE, "========================================================");
				//SendFBIMessage(COLOR_BLUE, "========================================================");
				//SendHSFMessage(COLOR_BLUE, "========================================================");
				//SendSWATMessage(COLOR_BLUE, "========================================================");
				//SendSATFMessage(COLOR_BLUE, "========================================================");
				//format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received a {FF0000}robbery call{FFFFFF} from a(n) %s business", bizNames[BizInfo[idx][bType]-1]);
				//SendCopMessage(COLOR_BLUE, string);
				//format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received a {FF0000}robbery call{FFFFFF} from a(n) %s business", bizNames[BizInfo[idx][bType]-1]);
				//SendFBIMessage(COLOR_BLUE, string);
				//format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received a {FF0000}robbery call{FFFFFF} from a(n) %s business", bizNames[BizInfo[idx][bType]-1]);
				//SendHSFMessage(COLOR_BLUE, string);
				//format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received a {FF0000}robbery call{FFFFFF} from a(n) %s business", bizNames[BizInfo[idx][bType]-1]);
				//SendSWATMessage(COLOR_BLUE, string);
				format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}We have received a {FF0000}robbery call{FFFFFF} from a(n) %s business", bizNames[BizInfo[idx][bType]-1]);
				SendSATFMessage(COLOR_BLUE, string);
				//SendCopMessage(COLOR_BLUE, "{2641FE}Emergency: {FFFFFF}A group of robbers is possible robbing a business");
				//SendFBIMessage(COLOR_BLUE, "{2641FE}Emergency: {FFFFFF}A group of robbers is possible robbing a business");
				//SendHSFMessage(COLOR_BLUE, "{2641FE}Emergency: {FFFFFF}A group of robbers is possible robbing a business");
				//SendSWATMessage(COLOR_BLUE, "{2641FE}Emergency: {FFFFFF}A group of robbers is possible robbing a business");
				SendSATFMessage(COLOR_BLUE, "{2641FE}Emergency: {FFFFFF}A group of robbers is possible robbing a business");
				//SendCopMessage(COLOR_BLUE, "{2641FE}Location: {FFFFFF}Look at your GPS ((Checkpoint has been setted))");
				//SendFBIMessage(COLOR_BLUE, "{2641FE}Location: {FFFFFF}Look at your GPS ((Checkpoint has been setted))");
				//SendHSFMessage(COLOR_BLUE, "{2641FE}Location: {FFFFFF}Look at your GPS ((Checkpoint has been setted))");
				//SendSWATMessage(COLOR_BLUE, "{2641FE}Location: {FFFFFF}Look at your GPS ((Checkpoint has been setted))");
				SendSATFMessage(COLOR_BLUE, "{2641FE}Location: {FFFFFF}Look at your GPS ((Checkpoint has been setted))");
				//SendCopMessage(COLOR_BLUE, "========================================================");
				//SendFBIMessage(COLOR_BLUE, "========================================================");
				//SendHSFMessage(COLOR_BLUE, "========================================================");
				//SendSWATMessage(COLOR_BLUE, "========================================================");
				//SendSATFMessage(COLOR_BLUE, "========================================================");
				SetPlayerCheckpoint(i, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ], 2);
   			}
		}
	}
	return 1;
}*/

CMD:robbiz(playerid, params[])
{
	SendClientMessage(playerid, COLOR_BLUE, "Business Robbery has been disabled due to the fact > Abuse");
	return 1;
}

#define MAX_ROBCASH 4000
new randomrobmoney;

CMD:rob(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_THIEF && PlayerInfo[playerid][pVIPJob] != JOB_THIEF) return SendClientMessage(playerid, COLOR_GREY, "You are not a Thief.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /rob [playerid]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't rob yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pMoney] < 4000) return SendClientMessage(playerid, COLOR_GREY, "This player don't have enough on-hand");
	//if(IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are not close enough at the player");
	if(IsPlayerNearPlayer(playerid, playerb, 2))
	{
		if(robtime[playerid] == 0)
		{
			new rob = random(4);
			if(rob == 1)
			{
				format(string, sizeof(string), "* %s has tried to take money from %s his pocket", RPN(playerid), RPN(playerb));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				robtime[playerid] = 1;
				SetTimerEx("robtimer", ROB_TIME, false, "i", playerid);
			}
			else if(rob == 2)
			{
				format(string, sizeof(string), "* %s has tried to take money from %s his pocket", RPN(playerid), RPN(playerb));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				robtime[playerid] = 1;
				SetTimerEx("robtimer", ROB_TIME, false, "i", playerid);
			}
			else if(rob == 3)
			{
				format(string, sizeof(string), "* %s has stolen some money from %s his pocket", RPN(playerid), RPN(playerb));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			    randomrobmoney = random(MAX_ROBCASH);
				GiveZaiatMoney(playerid,randomrobmoney);
				GiveZaiatMoney(playerb,randomrobmoney);
				format(string, sizeof(string), "* You've stolen %d from %s", randomrobmoney, RPN(playerid));
				SendClientMessage(playerb, COLOR_PURPLE,string);
				format(string, sizeof(string), "* %s has stolen %d from you", RPN(playerb), randomrobmoney);
				SendClientMessage(playerid, COLOR_PURPLE, string);
				robtime[playerid] = 1;
				SetTimerEx("robtimer", ROB_TIME, false, "i", playerid);
			}
			else if(rob == 4)
			{
				format(string, sizeof(string), "* %s has tried to take money from %s his pocket", RPN(playerid), RPN(playerb));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				robtime[playerid] = 1;
				SetTimerEx("robtimer", ROB_TIME, false, "i", playerid);
			}
		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Wait before you can rob someone again.");
		}
	}
	return 1;
}

CMD:reporttips(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	ShowDialog(playerid, 388);
	return 1;
}

CMD:pointrules(playerid, params[])
{
	SendClientMessage(playerid, COLOR_ORANGE, "Points are Out of Character, Its a Family Vs Family Thing");
	SendClientMessage(playerid, COLOR_ORANGE, "The family who is capturing is allowed to shoot you while you enter his point");
	SendClientMessage(playerid, COLOR_ORANGE, "Everything is allowed to do, Expect Normal rules like Hacking :P");
	return 1;
}

CMD:sex(playerid, params[])
{
	SendClientMessage(playerid, COLOR_ORANGE, "Use /locatecar dumby");
	return 1;
}

CMD:backpack(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SetPlayerAttachedObject(playerid, 1, 363, 1, 0.300000, -0.14,0.2, 0.000000, 90, 359.5022,1,1,1);
	return 1;
}

CMD:acceptrelationship(playerid,params[])
{
	new playerb, string[128];
	if(relationoffer[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "No one has requested a relationship");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	{
		PlayerInfo[playerid][pRelationShip] = 1;
		PlayerInfo[relationoffer[playerid]][pRelationShip] = 1;
		SendClientMessage(playerid, COLOR_WHITE, "Congratulations, You are now in a relationship");
		SendClientMessage(playerb, COLOR_WHITE, "Congratulations, You are now in a relationship");
		format(string, sizeof(string), "..::: Congratulations with the new married couple %s & %s :::..", RPN(playerid) , RPN(playerb));
		SendClientMessageToAll(COLOR_GREEN, string);
		format(string, sizeof(string), "%s", RPN(playerid));
		strmid(PlayerInfo[relationoffer[playerb]][pRelationWith], string, 0, strlen(string), 255);
		format(string, sizeof(string), "%s", RPN(playerb));
		strmid(PlayerInfo[playerid][pRelationWith], string, 0, strlen(string), 255);
	}
	return 1;
}

CMD:startrelationship(playerid,params[])
{
	new playerb, string[128];
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /startrelationship [playerid]");
  	//if(playerb == playerid) return SendClientMessage(playerid, COLOR_GREY, "You cant start a relationship with your self");
  	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
  	{
  		format(string, sizeof(string), "* You sent a relationship request to %s.", NORPN(playerb));
		SendClientMessage(playerid, COLOR_BLUE, string);
		format(string, sizeof(string), "* %s wants to start a relationship with you! (/acceptrelationship)", NORPN(playerid));
		SendClientMessage(playerb, COLOR_BLUE, string);
		relationoffer[playerb] = playerid;
	}
	return 1;
}

CMD:traffic(playerid, params[])
{
   		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(!IsACop(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD/HSF Member.");
        if (GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, -1, "You are not the vehicle driver");
        new pveh = GetPlayerVehicleID(playerid);
        if (!GetVehicleModel(pveh)) return SendClientMessage(playerid, -1, "You are not inside a vehicle");
        if (VObject4(obj[pveh])) return SendClientMessage(playerid, -1, "You switched the traffic lights off"), DObject4(obj[pveh]);
        switch (GetVehicleModel(pveh))
        {
			//19419 - Lightbar, 18646 - Dash, 19292 - blue flash, 19294 - yellow flash, 19290 red flash
			case 420:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
			case 421:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
			case 426:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
			case 523:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
				AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
	         }
			case 528:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
             case 566:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
			 case 585:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
			 case 596:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
             case 597:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
             case 598:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
            case 599:
            {
                obj[pveh] = CObject4(19294, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
                AObject4(obj[pveh], pveh, -0.500000, -1.534498, 0.5, 0.000000, 0.000000, 0.000000);
            }
			default:
            {
                return SendClientMessage(playerid, -1, "* You are not in a traffic compatible emergency vehicle!");
            }
        }
        return SendClientMessage(playerid, -1, "Emergency Traffic Lights Activated");
}

// Note
CMD:shownotes(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_ORANGE, "_____________Note Book_____________");
	format(string, sizeof(string), "1| %s", PlayerInfo[playerid][pNote1]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "2| %s", PlayerInfo[playerid][pNote2]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "3| %s", PlayerInfo[playerid][pNote3]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "4| %s", PlayerInfo[playerid][pNote4]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "5| %s", PlayerInfo[playerid][pNote5]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	SendClientMessage(playerid, COLOR_ORANGE, "___________________________________");
	format(string, sizeof(string), "* %s looks at his/her notebook.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:deletenote(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /deletenote [1-5]");
	if(!strcmp(params, "1", true))
	{
 		if(PlayerInfo[playerid][pNote1s] == 1)
   		{
			strmid(PlayerInfo[playerid][pNote1], "None", 0, strlen("None"), 255);
  			PlayerInfo[playerid][pNote1s] = 0;
  			SendClientMessage(playerid, COLOR_WHITE, "Note (slot 1) has been deleted successfuly.");
		}
		else
		{
    		SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 1 ! ");
		}
	}
	else if(!strcmp(params, "2", true))
	{
 		if(PlayerInfo[playerid][pNote2s] == 1)
   		{
			strmid(PlayerInfo[playerid][pNote2], "None", 0, strlen("None"), 255);
  			PlayerInfo[playerid][pNote2s] = 0;
  			SendClientMessage(playerid, COLOR_WHITE, "Note (slot 2) has been deleted successfuly.");
		}
		else
		{
    		SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 2 ! ");
		}
	}
	else if(!strcmp(params, "3", true))
	{
 		if(PlayerInfo[playerid][pNote3s] == 1)
   		{
			strmid(PlayerInfo[playerid][pNote3], "None", 0, strlen("None"), 255);
  			PlayerInfo[playerid][pNote3s] = 0;
  			SendClientMessage(playerid, COLOR_WHITE, "Note (slot 3) has been deleted successfuly.");
		}
		else
		{
    		SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 3 ! ");
		}
	}
	else if(!strcmp(params, "4", true))
	{
 		if(PlayerInfo[playerid][pNote4s] == 1)
   		{
			strmid(PlayerInfo[playerid][pNote4], "None", 0, strlen("None"), 255);
  			PlayerInfo[playerid][pNote4s] = 0;
  			SendClientMessage(playerid, COLOR_WHITE, "Note (slot 4) has been deleted successfuly.");
		}
		else
		{
    		SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 4 ! ");
		}
	}
	else if(!strcmp(params, "5", true))
	{
 		if(PlayerInfo[playerid][pNote5s] == 1)
   		{
			strmid(PlayerInfo[playerid][pNote5], "None", 0, strlen("None"), 255);
  			PlayerInfo[playerid][pNote5s] = 0;
  			SendClientMessage(playerid, COLOR_WHITE, "Note (slot 5) has been deleted successfuly.");
		}
		else
		{
    		SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 5 ! ");
		}
	}
	else
	{
 		SendClientMessage(playerid, COLOR_GREY, "Wrong slot id ! ");
 		return 1;
	}
	return 1;
}

CMD:createnote(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[24]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /createnote [text]");
	if(strlen(params) > 60) return SendClientMessage(playerid, COLOR_GREY, "Note is too long");
	if(PlayerInfo[playerid][pNote1s] == 0)
	{
		strmid(PlayerInfo[playerid][pNote1], params, 0, strlen(params), 255);
 		PlayerInfo[playerid][pNote1s] = 1;
 		SendClientMessage(playerid, COLOR_WHITE, "Note created successfuly.");
 		return 1;
	}
	else if(PlayerInfo[playerid][pNote2s] == 0)
	{
 		strmid(PlayerInfo[playerid][pNote2], params, 0, strlen(params), 255);
 		PlayerInfo[playerid][pNote2s] = 1;
 		SendClientMessage(playerid, COLOR_WHITE, "Note created successfuly.");
 		return 1;
	}
	else if(PlayerInfo[playerid][pNote3s] == 0)
	{
		 strmid(PlayerInfo[playerid][pNote3], params, 0, strlen(params), 255);
		 PlayerInfo[playerid][pNote3s] = 1;
		 SendClientMessage(playerid, COLOR_WHITE, "Note created successfuly.");
		 return 1;
	}
	else if(PlayerInfo[playerid][pNote4s] == 0)
	{
		 strmid(PlayerInfo[playerid][pNote4], params, 0, strlen(params), 255);
		 PlayerInfo[playerid][pNote4s] = 1;
		 SendClientMessage(playerid, COLOR_WHITE, "Note created successfuly.");
		 return 1;
	}
	else if(PlayerInfo[playerid][pNote5s] == 0)
	{
		 strmid(PlayerInfo[playerid][pNote5], params, 0, strlen(params), 255);
		 PlayerInfo[playerid][pNote5s] = 1;
		 SendClientMessage(playerid, COLOR_WHITE, "Note created successfuly.");
		 return 1;
	}
	else
	{
 		SendClientMessage(playerid, COLOR_GREY, "You have no free pages left at your notebook ! ");
 		return 1;
	}
}

/*CMD:givenote(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givenote [playerid] [noteid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "Player is not near you");
	if(PlayerInfo[playerid][pNote1s] == 0)
	{
		if(PlayerInfo[playerb][pNote1s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote1], PlayerInfo[playerid][pNote1], 0, strlen(PlayerInfo[playerid][pNote1]), 255);
			PlayerInfo[playerb][pNote1s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote2s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote2], PlayerInfo[playerid][pNote1], 0, strlen(PlayerInfo[playerid][pNote1]), 255);
			PlayerInfo[playerb][pNote2s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote3s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote3], PlayerInfo[playerid][pNote1], 0, strlen(PlayerInfo[playerid][pNote1]), 255);
			PlayerInfo[playerb][pNote3s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote4s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote4], PlayerInfo[playerid][pNote1], 0, strlen(PlayerInfo[playerid][pNote1]), 255);
			PlayerInfo[playerb][pNote4s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote5s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote5], PlayerInfo[playerid][pNote1], 0, strlen(PlayerInfo[playerid][pNote1]), 255);
			PlayerInfo[playerb][pNote5s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);

		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Player's notebook is full !");
			return 1;
		}
	}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 1 !");
			return 1;
		}
 	if(PlayerInfo[playerid][pNote2s] == 0)
	{
		if(PlayerInfo[playerb][pNote1s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote1], PlayerInfo[playerid][pNote2], 0, strlen(PlayerInfo[playerid][pNote2]), 255);
			PlayerInfo[playerb][pNote1s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote2s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote2], PlayerInfo[playerid][pNote2], 0, strlen(PlayerInfo[playerid][pNote2]), 255);
			PlayerInfo[playerb][pNote2s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote3s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote3], PlayerInfo[playerid][pNote2], 0, strlen(PlayerInfo[playerid][pNote2]), 255);
			PlayerInfo[playerb][pNote3s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote4s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote4], PlayerInfo[playerid][pNote2], 0, strlen(PlayerInfo[playerid][pNote2]), 255);
			PlayerInfo[playerb][pNote4s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote5s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote5], PlayerInfo[playerid][pNote2], 0, strlen(PlayerInfo[playerid][pNote2]), 255);
			PlayerInfo[playerb][pNote5s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);

		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Player's notebook is full !");
			return 1;
		}
	}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 2 !");
			return 1;
		}
 	if(PlayerInfo[playerid][pNote3s] == 0)
	{
		if(PlayerInfo[playerb][pNote1s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote1], PlayerInfo[playerid][pNote3], 0, strlen(PlayerInfo[playerid][pNote3]), 255);
			PlayerInfo[playerb][pNote1s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote2s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote2], PlayerInfo[playerid][pNote3], 0, strlen(PlayerInfo[playerid][pNote3]), 255);
			PlayerInfo[playerb][pNote2s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote3s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote3], PlayerInfo[playerid][pNote3], 0, strlen(PlayerInfo[playerid][pNote3]), 255);
			PlayerInfo[playerb][pNote3s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote4s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote4], PlayerInfo[playerid][pNote3], 0, strlen(PlayerInfo[playerid][pNote3]), 255);
			PlayerInfo[playerb][pNote4s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote5s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote5], PlayerInfo[playerid][pNote3], 0, strlen(PlayerInfo[playerid][pNote3]), 255);
			PlayerInfo[playerb][pNote5s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);

		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Player's notebook is full !");
			return 1;
		}
	}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 3 !");
			return 1;
		}
 	if(PlayerInfo[playerid][pNote4s] == 0)
	{
		if(PlayerInfo[playerb][pNote1s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote1], PlayerInfo[playerid][pNote4], 0, strlen(PlayerInfo[playerid][pNote4]), 255);
			PlayerInfo[playerb][pNote1s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote2s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote2], PlayerInfo[playerid][pNote4], 0, strlen(PlayerInfo[playerid][pNote4]), 255);
			PlayerInfo[playerb][pNote2s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote3s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote3], PlayerInfo[playerid][pNote4], 0, strlen(PlayerInfo[playerid][pNote4]), 255);
			PlayerInfo[playerb][pNote3s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote4s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote4], PlayerInfo[playerid][pNote4], 0, strlen(PlayerInfo[playerid][pNote4]), 255);
			PlayerInfo[playerb][pNote4s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote5s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote5], PlayerInfo[playerid][pNote4], 0, strlen(PlayerInfo[playerid][pNote4]), 255);
			PlayerInfo[playerb][pNote5s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);

		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Player's notebook is full !");
			return 1;
		}
	}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 4 !");
			return 1;
		}
 	if(PlayerInfo[playerid][pNote5s] == 0)
	{
		if(PlayerInfo[playerb][pNote1s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote1], PlayerInfo[playerid][pNote5], 0, strlen(PlayerInfo[playerid][pNote5]), 255);
			PlayerInfo[playerb][pNote1s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote2s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote2], PlayerInfo[playerid][pNote5], 0, strlen(PlayerInfo[playerid][pNote5]), 255);
			PlayerInfo[playerb][pNote2s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote3s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote3], PlayerInfo[playerid][pNote5], 0, strlen(PlayerInfo[playerid][pNote5]), 255);
			PlayerInfo[playerb][pNote3s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote4s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote4], PlayerInfo[playerid][pNote5], 0, strlen(PlayerInfo[playerid][pNote5]), 255);
			PlayerInfo[playerb][pNote4s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
		}
		else if(PlayerInfo[playerb][pNote5s] == 0)
		{
			strmid(PlayerInfo[playerb][pNote5], PlayerInfo[playerid][pNote5], 0, strlen(PlayerInfo[playerid][pNote5]), 255);
			PlayerInfo[playerb][pNote5s] = 1;
			format(string, sizeof(string), "You have send a note to %s.", RPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "You have received a note from %s.", RPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);

		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Player's notebook is full !");
			return 1;
		}
	}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "You don't have a note at slot 5 !");
			return 1;
		}
	return 1;
}*/
// End Note

CMD:levels(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 1]: 4 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 2]: 12 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 3]: 16 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 4]: 20 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 5]: 24 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 6]: 60 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 7]: 80 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 8]: 100 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 9]: 125 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 10]: 144 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 11]: 173 Respect");
	SendClientMessage(playerid, COLOR_YELLOW, "[Level 12]: 200 Respect");
	return 1;
}
/*
		        else if(PlayerInfo[i][pLevel] == 13 && PlayerInfo[i][pHours] >= 250) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 14 && PlayerInfo[i][pHours] >= 300) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 15 && PlayerInfo[i][pHours] >= 350) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 16 && PlayerInfo[i][pHours] >= 400) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 17 && PlayerInfo[i][pHours] >= 450) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 18 && PlayerInfo[i][pHours] >= 500) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 19 && PlayerInfo[i][pHours] >= 550) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 20 && PlayerInfo[i][pHours] >= 600) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 21 && PlayerInfo[i][pHours] >= 700) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 22 && PlayerInfo[i][pHours] >= 750) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 23 && PlayerInfo[i][pHours] >= 800) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 24 && PlayerInfo[i][pHours] >= 850) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 25 && PlayerInfo[i][pHours] >= 900) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 26 && PlayerInfo[i][pHours] >= 950) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 27 && PlayerInfo[i][pHours] >= 1000) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 28 && PlayerInfo[i][pHours] >= 1050) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 29 && PlayerInfo[i][pHours] >= 1100) PlayerInfo[i][pLevel]++;
                new NewLevel = PlayerInfo[i][pLevel];
*/
CMD:tbalance(playerid, params[])
{
	new string[128] ,option, done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(topened[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "You need to open your trunk first.");
   	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh])
    {
        new Float:vx, Float:vy, Float:vz;
	    GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        if(sscanf(params, "s[32]", option))
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "___________________[TRUNK:]__________________");
		        format(string, sizeof(string), " %d/50G Weed", PlayerInfo[playerid][pTWeed]);
		        SendClientMessage(playerid, COLOR_WHITE, string);
				return 1;
		    }
			done = 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pVVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        if(sscanf(params, "s[32]", option))
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "___________________[TRUNK:]__________________");
		        format(string, sizeof(string), " %d/50G Weed", PlayerInfo[playerid][pvTWeed]);
		        SendClientMessage(playerid, COLOR_WHITE, string);
				return 1;
		    }
			done = 1;
	    }
	    if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a vehicle you own.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You don't own any vehicle.");
	    return 1;
	}
    return 1;
}

CMD:tdeposit(playerid, params[])
{
	new string[128] ,option[32], amount, done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(topened[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "You need to open your trunk first.");
   	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh])
    {
        new Float:vx, Float:vy, Float:vz, Float:vvx, Float:vvy, Float:vvz;
	    GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        if(sscanf(params, "s[32]", option))
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tdeposit [item]");
        		SendClientMessage(playerid, COLOR_GREY, "Weed");
        		return 1;
		    }
		    else if(!strcmp(option, "weed", true, 4))
			{
				if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tdeposit weed [amount]");
				if(PlayerInfo[playerid][pTWeed] >= 50) return SendClientMessage(playerid, COLOR_GREY, "Your trunk can't carry anymore weed.");
				if(amount > 50) return SendClientMessage(playerid, COLOR_GREY, "You can't store that much weed at once.");
				if(PlayerInfo[playerid][pWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed on you.");
				PlayerInfo[playerid][pTWeed] += amount;
				PlayerInfo[playerid][pWeed] -= amount;
				format(string, sizeof(string), "* %s opens their vehicles trunk and puts %d grams of weed inside it.", RPN(playerid), amount);
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			}
			done = 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pVVeh], vvx, vvy, vvz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vvx, vvy, vvz))
	    {
	        if(sscanf(params, "s[32]", option))
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tdeposit [item]");
        		SendClientMessage(playerid, COLOR_GREY, "Weed");
        		return 1;
		    }
            else if(!strcmp(option, "weed", true, 4))
			{
				if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tdeposit weed [amount]");
				if(PlayerInfo[playerid][pvTWeed] >= 50) return SendClientMessage(playerid, COLOR_GREY, "Your trunk can't carry anymore weed.");
				if(amount > 50) return SendClientMessage(playerid, COLOR_GREY, "You can't store that much weed at once.");
				if(PlayerInfo[playerid][pWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed on you.");
				PlayerInfo[playerid][pvTWeed] += amount;
				PlayerInfo[playerid][pWeed] -= amount;
				format(string, sizeof(string), "* %s opens their vehicles trunk and puts %d grams of weed inside it.", RPN(playerid), amount);
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			}
			done = 1;
	    }
	    if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a vehicle you own.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You don't own any vehicle.");
	    return 1;
	}
    return 1;
}

CMD:twithdraw(playerid, params[])
{
	new string[128] ,option[32], amount, done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(topened[playerid] == 0) return SendClientMessage(playerid, COLOR_GREY, "You need to open your trunk first.");
   	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh])
    {
        new Float:vx, Float:vy, Float:vz;
	    GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        if(sscanf(params, "s[32]", option))
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /twithdraw [item]");
        		SendClientMessage(playerid, COLOR_GREY, "Weed");
				return 1;
		    }
		    if(!strcmp(option, "weed", true, 4))
		    {
		  	 	if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /twithdraw weed [amount]");
		    	if(PlayerInfo[playerid][pTWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed in your trunk.");
		    	PlayerInfo[playerid][pTWeed] -= amount;
		    	PlayerInfo[playerid][pWeed] += amount;
		    	format(string, sizeof(string), "* %s opens their trunk and takes %d grams of weed from it.", RPN(playerid), amount);
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		    }
		    done = 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pVVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        if(sscanf(params, "s[32]", option))
		    {
		        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /twithdraw [item]");
        		SendClientMessage(playerid, COLOR_GREY, "Weed");
				return 1;
		    }
		    if(!strcmp(option, "weed", true, 4))
		    {
		  	 	if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /twithdraw weed [amount]");
		    	if(PlayerInfo[playerid][pvTWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed in your trunk.");
		    	PlayerInfo[playerid][pvTWeed] -= amount;
		    	PlayerInfo[playerid][pWeed] += amount;
		    	format(string, sizeof(string), "* %s opens their trunk and takes %d grams of weed from it.", RPN(playerid), amount);
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		    }
			done = 1;
	    }
	    if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a vehicle you own.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You don't own any vehicle.");
	    return 1;
	}
    return 1;
}

/*CMD:namechange(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 361.8299,173.3985,1008.3828)) return SendClientMessage(playerid, COLOR_GREY, "You are not at the cityhall.");
	ShowDialog(playerid, 41);
	return 1;
}

CMD:agechange(playerid, params[])
{
    new string[128], age;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(sscanf(params, "i", age)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /agechange [18-80]");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 361.8299,173.3985,1008.3828)) return SendClientMessage(playerid, COLOR_GREY, "You are not at the cityhall.");
	if(age < 18 || age > 80)
	age = PlayerInfo[playerid][pAge];
	GiveZaiatMoney(playerid, PlayerInfo[playerid][pLevel] * -700);
    format(string, sizeof(string), "You've changed your age to %d, and you've charged %d for it", PlayerInfo[playerid][pAge], PlayerInfo[playerid][pLevel] * -700);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}*/

CMD:walkstyle(playerid, params[])
{
	new
		iSuccess;
	switch(strval(params))
	{
		case 1: { SetPlayerWalkingStyle(playerid, 0); iSuccess++; }
		case 2: { SetPlayerWalkingStyle(playerid, 3); iSuccess++; }
		case 3: { SetPlayerWalkingStyle(playerid, 4); iSuccess++; }
		case 4: { SetPlayerWalkingStyle(playerid, 5); iSuccess++; }
		case 5: { SetPlayerWalkingStyle(playerid, 6); iSuccess++; }
		case 6: { SetPlayerWalkingStyle(playerid, 8); iSuccess++; }
		case 7: { SetPlayerWalkingStyle(playerid, 9); iSuccess++; }
		case 8: { SetPlayerWalkingStyle(playerid, 10); iSuccess++; }
		case 9: { SetPlayerWalkingStyle(playerid, 11); iSuccess++; }
		case 10: { SetPlayerWalkingStyle(playerid, 12); iSuccess++; }
		case 11: { SetPlayerWalkingStyle(playerid, 13); iSuccess++; }
		default: SendClientMessage(playerid, COLOR_WHITE, "USAGE: /walkstyle [1-11]");
	}
	if(iSuccess > 0) SendClientMessage(playerid, COLOR_WHITE, "You've changed your walkstyle, Walk slowly to test it.");
	return 1;
}

CMD:factions(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	format(string, sizeof(string), "L.S.P.D | Members: %d", FacInfo[1][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "Government | Members: %d", FacInfo[2][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "Hitman | Members: %d", FacInfo[3][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "Sanews | Members: %d", FacInfo[4][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "Leone | Members: %d", FacInfo[5][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "F.B.I | Members: %d", FacInfo[6][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "LS E.M.S | Members: %d", FacInfo[7][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "H.S.F | Members: %d", FacInfo[8][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
  	format(string, sizeof(string), "Corleone | Members: %d", FacInfo[9][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "Ancelotti | Members: %d", FacInfo[10][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "SWAT | Members: %d", FacInfo[11][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "SATF | Members: %d", FacInfo[12][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
 	format(string, sizeof(string), "ESF | Members: %d", FacInfo[13][facMembers]);
 	SendClientMessage(playerid, COLOR_WHITE, string);
	SendClientMessage(playerid, COLOR_WHITE, "Member counting isn't working good :P");
	return 1;
}

CMD:cartow(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][vModel]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a vehicle.");
    if(PlayerInfo[playerid][pVVeh])
    {
        new carid;
		if(sscanf(params, "i", carid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cartow [1-3]");
		if(carid == 1)
		{
			SetVehicleToRespawn(PlayerInfo[playerid][pVeh]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your vehicle is back to your /park place (Vehicle 1)");
		}
		else if(carid == 2)
		{
			SetVehicleToRespawn(PlayerInfo[playerid][pVVeh]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your vehicle is back to your /park place (Vehicle 2)");
		}
		else if(carid == 3)
		{
			SetVehicleToRespawn(PlayerInfo[playerid][pBVeh]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your vehicle is back to your /park place (Vehicle 3)");
		}
    }
    else
	{
		SetVehicleToRespawn(PlayerInfo[playerid][pVeh]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your vehicle is back to your /park place (Vehicle 1)");
	}
	return 1;
}


CMD:charity(playerid, params[])
{
	new string[128], moneys;
	if(sscanf(params, "d", moneys)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /charity [amount]");
	if(PlayerInfo[playerid][pMoney] < moneys) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much on you right now.");
	if(moneys < 0)
	{
		SendClientMessage(playerid, COLOR_GREY, "That is not enough.");
		return 1;
	}
	if(GetPlayerMoney(playerid) < moneys)
	{
		SendClientMessage(playerid, COLOR_GREY, "You don't have that much money.");
		return 1;
	}
	GiveZaiatMoney(playerid, -moneys);
	format(string, sizeof(string), "%s, thank you for your donation of $%d.",RPN(playerid), moneys);
	SendClientMessage(playerid, COLOR_GREY, string);
	format(string, sizeof(string), "[Charity] %s donated $%d", RPN(playerid), moneys);
	SendGovMessage(COLOR_RED, string);
	TaxMoney += moneys;
	PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	Log("logs/charity.log", string);
	return 1;
}

CMD:dropgun(playerid, params[])
{
	if(PlayerInfo[playerid][pHours] < 6) return SendClientMessage(playerid, COLOR_GREY, "You must have at least 6 (Respect) play hours, /stats to check it.");
	if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 1;
	new GunID = GetPlayerWeapon(playerid);
	new GunAmmo = GetPlayerAmmo(playerid);
	if(GunID > 0 && GunAmmo != 0)
	{
	new f = MAX_OBJ+1;
	for(new a = 0; a < MAX_OBJ; a++)
		{
		if(dGunData[a][ObjPos][0] == 0.0)
		{
			f = a;
			break;
		}
	}
	if(f > MAX_OBJ) return SendClientMessage(playerid, COLOR_GREY, "You can not throw weapons at the moment.");
	RemoveZaiatWeapon(playerid, GunID);
	dGunData[f][ObjData][0] = GunID;
	dGunData[f][ObjData][1] = GunAmmo;
	GetPlayerPos(playerid, dGunData[f][ObjPos][0], dGunData[f][ObjPos][1], dGunData[f][ObjPos][2]);
	dGunData[f][ObjID] = CreateDynamicObject(GunObjects[GunID], dGunData[f][ObjPos][0], dGunData[f][ObjPos][1], dGunData[f][ObjPos][2]-1, 93.7, 120.0, 120.0);
	new string[128];
	format(string, sizeof(string), "* %s dropped a gun on the ground", RPN(playerid), GunNames[dGunData[f][ObjData][0]]);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    return 1;
}


CMD:pickgun(playerid, params[])
{
	if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT) return 1;
	new f = MAX_OBJ+1;
	for(new a = 0; a < MAX_OBJ; a++)
	{
		if(IsPlayerInRangeOfPoint(playerid, 5.0, dGunData[a][ObjPos][0], dGunData[a][ObjPos][1], dGunData[a][ObjPos][2]))
		{
			f = a;
			break;
		}
	}
	if(f > MAX_OBJ) return SendClientMessage(playerid, COLOR_GREY, "You are not near the weapon which you can pick up.");
	DestroyObject(dGunData[f][ObjID]);
	GiveZaiatWeapon(playerid, dGunData[f][ObjData][0], dGunData[f][ObjData][1]);
	dGunData[f][ObjPos][0] = 0.0;
	dGunData[f][ObjPos][1] = 0.0;
	dGunData[f][ObjPos][2] = 0.0;
	dGunData[f][ObjID] = -1;
	//dGunData[f][ObjData][0] = 0;
	dGunData[f][ObjData][1] = 0;
	new string[128];
	format(string, sizeof(string), "* %s took a gun from the ground", RPN(playerid), GunNames[dGunData[f][ObjData][0]]);
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
 		format(string, sizeof(string), "* Stranger took a gun from the ground", GunNames[dGunData[f][ObjData][0]]);
	}
	else
	{
		format(string, sizeof(string), "* %s took a gun from the ground", RPN(playerid), GunNames[dGunData[f][ObjData][0]]);
	}
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:customvehicle(playerid, params[])
{
	new playerb, string[128], modelid, slot;
	if(sscanf(params, "udd", playerb, slot, modelid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /customvehicle [playerid] [1-3] [modelid]");
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(modelid < 400 || modelid > 611) return SendClientMessage(playerid, COLOR_GREY, "Vehicles are between 400 and 611.");
   	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(slot == 1)
	{
		PlayerInfo[playerb][pVeh] = CreateVehicle(modelid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	 	SetVehicleParamsEx(PlayerInfo[playerb][pVeh], 0, 0, 0, 1, 0, 0, 0);
	 	PlayerInfo[playerb][vLocked] = 1;
	 	PlayerInfo[playerb][vModel] = modelid;
		GetVehiclePos(PlayerInfo[playerb][pVeh], PlayerInfo[playerb][vX], PlayerInfo[playerb][vY], PlayerInfo[playerb][vZ]);
		GetVehicleZAngle(PlayerInfo[playerb][pVeh], PlayerInfo[playerb][vA]);
		PlayerInfo[playerb][vC1] = 0;
		PlayerInfo[playerb][vC2] = 0;
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created a custom vehicle for (Slot 1) %s.", NORPN(playerid), NORPN(playerb));
		SendAdminMessage(COLOR_DARKRED, 1, string);
	}
	else if(slot == 2)
	{
	        PlayerInfo[playerb][pVVeh] = CreateVehicle(modelid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		    SetVehicleParamsEx(PlayerInfo[playerb][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		    PlayerInfo[playerb][vVLocked] = 1;
		    PlayerInfo[playerb][vVModel] = modelid;
			GetVehiclePos(PlayerInfo[playerb][pVVeh], PlayerInfo[playerb][vVX], PlayerInfo[playerb][vVY], PlayerInfo[playerb][vVZ]);
			GetVehicleZAngle(PlayerInfo[playerb][pVVeh], PlayerInfo[playerb][vVA]);
			PlayerInfo[playerb][vVC1] = 0;
			PlayerInfo[playerb][vVC2] = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created a custom vehicle (Slot 2) for %s.", NORPN(playerid), NORPN(playerb));
			SendAdminMessage(COLOR_DARKRED, 1, string);
	}
	else if(slot == 3)
	{
	 		PlayerInfo[playerb][pBVeh] = CreateVehicle(modelid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	    	SetVehicleParamsEx(PlayerInfo[playerb][pBVeh], 0, 0, 0, 1, 0, 0, 0);
	    	PlayerInfo[playerb][vBLocked] = 1;
	    	PlayerInfo[playerb][vBModel] = modelid;
			GetVehiclePos(PlayerInfo[playerb][pBVeh], PlayerInfo[playerb][vBX], PlayerInfo[playerb][vBY], PlayerInfo[playerb][vBZ]);
			GetVehicleZAngle(PlayerInfo[playerb][pBVeh], PlayerInfo[playerb][vBA]);
			PlayerInfo[playerb][vBC1] = 0;
			PlayerInfo[playerb][vBC2] = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created a custom vehicle (Slot 3) for %s.", NORPN(playerid), NORPN(playerb));
			SendAdminMessage(COLOR_DARKRED, 1, string);
	}
	/*
	switch(strval(params))
	{
		case 1:
		{
	        PlayerInfo[playerb][pVeh] = CreateVehicle(modelid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	        SetVehicleParamsEx(PlayerInfo[playerb][pVeh], 0, 0, 0, 1, 0, 0, 0);
	        PlayerInfo[playerb][vLocked] = 1;
	        PlayerInfo[playerb][vModel] = modelid;
			GetVehiclePos(PlayerInfo[playerb][pVeh], PlayerInfo[playerb][vX], PlayerInfo[playerb][vY], PlayerInfo[playerb][vZ]);
			GetVehicleZAngle(PlayerInfo[playerb][pVeh], PlayerInfo[playerb][vA]);
			PlayerInfo[playerb][vC1] = 0;
			PlayerInfo[playerb][vC2] = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created a custom vehicle for %s.", RPN(playerb), RPN(playerb));
			SendAdminMessage(COLOR_DARKRED, 1, string);
		}
		case 2:
		{
	        PlayerInfo[playerb][pVVeh] = CreateVehicle(modelid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		    SetVehicleParamsEx(PlayerInfo[playerb][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		    PlayerInfo[playerb][vVLocked] = 1;
		    PlayerInfo[playerb][vVModel] = modelid;
			GetVehiclePos(PlayerInfo[playerb][pVVeh], PlayerInfo[playerb][vVX], PlayerInfo[playerb][vVY], PlayerInfo[playerb][vVZ]);
			GetVehicleZAngle(PlayerInfo[playerb][pVVeh], PlayerInfo[playerb][vVA]);
			PlayerInfo[playerb][vVC1] = 0;
			PlayerInfo[playerb][vVC2] = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created a custom vehicle for %s.", RPN(playerb), RPN(playerb));
			SendAdminMessage(COLOR_DARKRED, 1, string);
		}
		case 3:
		{
	 		PlayerInfo[playerb][pBVeh] = CreateVehicle(modelid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	    	SetVehicleParamsEx(PlayerInfo[playerb][pBVeh], 0, 0, 0, 1, 0, 0, 0);
	    	PlayerInfo[playerb][vBLocked] = 1;
	    	PlayerInfo[playerb][vBModel] = modelid;
			GetVehiclePos(PlayerInfo[playerb][pBVeh], PlayerInfo[playerb][vBX], PlayerInfo[playerb][vBY], PlayerInfo[playerb][vBZ]);
			GetVehicleZAngle(PlayerInfo[playerb][pBVeh], PlayerInfo[playerb][vBA]);
			PlayerInfo[playerb][vBC1] = 0;
			PlayerInfo[playerb][vBC2] = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created a custom vehicle for %s.", RPN(playerb), RPN(playerb));
			SendAdminMessage(COLOR_DARKRED, 1, string);
		}
	}*/
	return 1;
}


CMD:buyweapon(playerid, params[])
{
    if(!IsAtammoshop(playerid))
	{
        SendClientMessage(playerid, COLOR_GREY, "   You are not in a Ammunation Shop");
        return 1;
    }
    else
    {
        ShowPlayerDialog(playerid, AMMOSTOREMENU, DIALOG_STYLE_LIST, "Ammunation Shop", "Pump-Shotgun (5000)\nMp5 (20000)\nDeagle Eagle (35000)\nM4 (75000)\nVest (3000)\nTEC-9 (7500)", "Buy", "Cancel");
	}
	return 1;
}

// Bomb Hitman
CMD:plant(playerid, params[])
{
	new string[128];
	if(!IsAHitman(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in the Hitman Agency.");
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	GetPlayerPos(playerid, BombaX[playerid], BombaY[playerid], BombaZ[playerid]);
	bomb = CreatePlayerObject(playerid, 1252, BombaX[playerid]-0.5,BombaY[playerid],BombaZ[playerid]-0.5,0,-1,-1,-1);
	format(string, sizeof(string), "* %s plants a bomb on the ground", RPN(playerid));
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
        format(string, sizeof(string), "* Stranger plants a bomb on the ground");
	}
	else
	{
		format(string, sizeof(string), "* %s plants a bomb on the ground", RPN(playerid));
	}
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:explode(playerid, params[])
{
	new string[128];
	if(!IsAHitman(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in the Hitman Agency.");
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(IsValidPlayerObject(playerid,bomb))
	{
		CreateExplosion(BombaX[playerid],BombaY[playerid],BombaZ[playerid], 10, 10.0);
		DestroyPlayerObject(playerid,bomb);
		format(string, sizeof(string), "* %s presses on the red button", RPN(playerid));
		if(PlayerInfo[playerid][pMaskOn] == 1)
		{
	        format(string, sizeof(string), "* Stranger presses on the red button");
		}
		else
		{
			format(string, sizeof(string), "* %s presses on the red button", RPN(playerid));
		}
	 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	return 1;
}

CMD:defuse(playerid, params[])
{
	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	DestroyPlayerObject(playerid,bomb);
	return 1;
}
// Ending Bombhitman

CMD:myangle(playerid, params[])
{
    new myString[128], Float:a;
    GetPlayerFacingAngle(playerid, a);

    format(myString, sizeof(myString), "Your angle is: %0.2f", a);
    SendClientMessage(playerid, 0xFFFFFFFF, myString);

    new myString2[128], Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);

    format(myString2, sizeof(myString), "Your position is: %f, %f, %f", x, y, z);
    SendClientMessage(playerid, 0xFFFFFFFF, myString2);
    return 1;
}

CMD:acceptdeath(playerid, params[])
{
	#pragma unused params
 	if (IsDead[playerid] == 0) { return 0; }
  	else
   	{
    	IsDead[playerid] = 0;
	     //SecsToGo[playerid] = AFTERLIFE_SECONDS;
	     //CleanPlayerChat(playerid);
	    SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
	    SendClientMessage(playerid,COLOR_WHITE,"You are now in the afterlife.");
	    SendClientMessage(playerid,COLOR_WHITE,"When you revive, you will lost memory of last 30 minutes.");
	    SendClientMessage(playerid,COLOR_LIGHTRED,"======================================================================");
	    SetPlayerPos(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]);
	    SetPlayerCameraPos(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]);
	    SetPlayerCameraLookAt(playerid,DeathPosX[playerid],DeathPosY[playerid],DeathPosZ[playerid]+100);
	    //AfterLifeTimer = SetTimerEx("AfterLife",1000,true,"i",playerid);
	    SetPlayerVirtualWorld(playerid, 0);
		SetPlayerInterior(playerid, 0);
	 	HospitalTime[playerid] = 10;
		if(PlayerInfo[playerid][pVIP] >= 2) HospitalTime[playerid] = 1;
		HospitalCountDown[playerid] = SetTimerEx("HospitalTimer", 1000, false, "d", playerid);
		SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
		return 1;
	}
}

// Boombox command - Usage: /boombox [URL]
CMD:boombox(playerid, params[])
{
    new string[128];
    if(!Boombox[playerid])
    {
        if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /boombox [music url]");
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                    if(Boombox[i])
                    {
                        if(IsPlayerInRangeOfPoint(playerid, 30, bpos[i][0], bpos[i][1], bpos[i][2]))
                        {
                            SendClientMessage(playerid, COLOR_GREY, " There is another boombox nearby, place yours somewhere else.");
                            return 1;
                        }
                    }
            }
        }
        Boombox[playerid] = 1;
        format(string, sizeof(string), " You have placed your boombox at your location.");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
        GetPlayerPos(playerid, bpos[playerid][0], bpos[playerid][1], bpos[playerid][2]); bpos[playerid][2] = bpos[playerid][2] - 1;
        GetPlayerFacingAngle(playerid, bpos[playerid][3]); bpos[playerid][3] = bpos[playerid][3] +180;
        BoomboxObject[playerid] = CreateDynamicObject(2103, bpos[playerid][0], bpos[playerid][1], bpos[playerid][2], 0, 0, bpos[playerid][3]);
        format(BoomboxURL[playerid], 256, "%s", params);
    }
    else
    {
        Boombox[playerid] = 0;
        format(string, sizeof(string), " You have removed your boombox.");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
        DestroyDynamicObject(BoomboxObject[playerid]);
        format(BoomboxURL[playerid], 256, "");
        for(new i=0; i<MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                if(BoomboxPlayer[i] == playerid)
                {
                    BoomboxStream[i] = 0;
                    BoomboxPlayer[i] = -1;
                    StopAudioStreamForPlayer(i);
                    SendClientMessage(i, COLOR_GREY, " The boombox creator has removed his boombox.");
                }
            }
        }
    }
    return 1;
}

// Boombox editing - Usage: /boomboxnext [url]
CMD:boomboxnext(playerid, params[])
{
    if(!Boombox[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a boombox placed.");
    if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /boomboxnext [music url]");
    SendClientMessage(playerid, COLOR_GREY, " You have changed the music your boombox is playing.");
    format(BoomboxURL[playerid], 256, "%s", params);
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
                if(BoomboxPlayer[i] == playerid)
                {
                    PlayAudioStreamForPlayer(i, BoomboxURL[playerid], bpos[playerid][0], bpos[playerid][1], bpos[playerid][2], 30, 1);
                    SendClientMessage(i, COLOR_GREY, " The boombox music you're listening to has changed.");
                }
        }
    }
    return 1;
}

CMD:myvehicles(playerid, params[])
{
	new string[128];
	SendClientMessage(playerid,COLOR_ORANGE,"|___________________________[VEHICLES]___________________________|");
	format(string, sizeof(string), "CarID[%d] - Model [%s] - Color1[%d] - Color2[%d] ", PlayerInfo[playerid][pVeh], RVN(GetVehicleModel(PlayerInfo[playerid][pVeh])), PlayerInfo[playerid][vC1], PlayerInfo[playerid][vC2]);
	SendClientMessage(playerid,COLOR_GREY,string);
	format(string, sizeof(string), "CarID[%d] - Model [%s] - Color1[%d] - Color2[%d] ", PlayerInfo[playerid][pVVeh], RVN(GetVehicleModel(PlayerInfo[playerid][pVVeh])), PlayerInfo[playerid][vVC1], PlayerInfo[playerid][vVC2]);
	SendClientMessage(playerid,COLOR_FADE1,string);
	format(string, sizeof(string), "CarID[%d] - Model [%s] - Color1[%d] - Color2[%d] ", PlayerInfo[playerid][pBVeh], RVN(GetVehicleModel(PlayerInfo[playerid][pBVeh])), PlayerInfo[playerid][vBC1], PlayerInfo[playerid][vBC2]);
	SendClientMessage(playerid,COLOR_FADE2,string);
	SendClientMessage(playerid,COLOR_ORANGE,"|________________________________________________________________|");
	return 1;
}

CMD:ame(playerid, params[])
{
    new result[100], string[140];
	if(PlayerInfo[playerid][pMute] == 1) return SendClientMessage(playerid, COLOR_GREY, "You cannot speak, you have been silenced!");
   	if(AntiAdv(playerid, params)) return 1;
    if(sscanf(params, "s[100]", result))
    {
        SendClientMessage(playerid, COLOR_ERROR, "USAGE:{FFFFFF} /ame [description] - This text will show up above your head.");
        SendClientMessage(playerid, COLOR_ERROR, "HINT:{FFFFFF} Use (/ame off) to remove the text!");
        return 1;
    }
    if(strlen(result) >100) return SendClientMessage(playerid, COLOR_ERROR, "The description shouldn't more than 100 character!");
    if(strcmp(result, "off", true) == 0)
    {
        if(amestatus[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You don't have any ame attached!");
        DestroyDynamic3DTextLabel(ame[playerid]);
        SendClientMessage(playerid, COLOR_ME, "AME deleted!");
        amestatus[playerid] = 0;
        return 1;
    }
    if(amestatus[playerid] == 0)
    {
        format(string, sizeof(string), "* %s %s *", RPN(playerid), result);
        ame[playerid] = CreateDynamic3DTextLabel(string, COLOR_ME, 0.0, 0.0, 0.0, 40.0, playerid);
        format(string, sizeof(string), "AME >> %s", string);
        SendClientMessage(playerid, COLOR_ME, "You have attached an AME above your head!");
        SendClientMessage(playerid, COLOR_ME, string);
        amestatus[playerid] = 1;
    }
    else
    {
        format(string, sizeof(string), "* %s %s *", RPN(playerid), result);
        UpdateDynamic3DTextLabelText(ame[playerid], COLOR_ME, string);
        format(string, sizeof(string), "AME Update Success! >> %s", string);
        SendClientMessage(playerid, COLOR_ME, string);
        return 1;
    }
    return 1;
}

CMD:ado(playerid, params[])
{
    new result[100], string[140];
	if(PlayerInfo[playerid][pMute] == 1) return SendClientMessage(playerid, COLOR_GREY, "You cannot speak, you have been silenced!");
	if(AntiAdv(playerid, params)) return 1;
    if(sscanf(params, "s[200]", result))
    {
        SendClientMessage(playerid, COLOR_ERROR, "USAGE:{FFFFFF} /ado [description] - This text will stay on your current place.");
        SendClientMessage(playerid, COLOR_ERROR, "HINT:{FFFFFF} Use (/ado off) to remove the text!");
        return 1;
    }
    if(strlen(result) >100) return SendClientMessage(playerid, COLOR_ERROR, "The description shouldn't more than 100 character!");
    if(strcmp(result, "off", true) == 0)
    {
        if(adostatus[playerid] == 0) return SendClientMessage(playerid, COLOR_ERROR, "You don't have any ado attached!");
        DestroyDynamic3DTextLabel(ado[playerid]);
        SendClientMessage(playerid, COLOR_ME, "ADO deleted!");
        adostatus[playerid] = 0;
        return 1;
    }
    if(adostatus[playerid] == 0)
    {
        new Float:AdoX, Float:AdoY, Float:AdoZ;
        GetPlayerPos(playerid, AdoX, AdoY, AdoZ);
        format(string, sizeof(string), "* %s *\n(( %s ))", result, RPN(playerid));
        ado[playerid] = CreateDynamic3DTextLabel(string, COLOR_ME, AdoX, AdoY, AdoZ, 40.0);
        SendClientMessage(playerid, COLOR_ME, "You have attached an ADO at your current place!");
        adostatus[playerid] = 1;
    }
    else
    {
        format(string, sizeof(string), "* %s *\n(( %s ))", result, RPN(playerid));
        UpdateDynamic3DTextLabelText(ado[playerid], COLOR_ME, string);
        SendClientMessage(playerid, COLOR_ME, "ADO Update Success!");
        return 1;
    }
    return 1;
}

CMD:rules(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	/*TextDrawShowForPlayer(playerid,tdrules1);
	TextDrawShowForPlayer(playerid,tdrules2);
	TextDrawShowForPlayer(playerid,tdrules3);
	TextDrawShowForPlayer(playerid,tdrules4);
	TextDrawShowForPlayer(playerid,tdrules5);
	TextDrawShowForPlayer(playerid,tdrules18);
	TextDrawShowForPlayer(playerid,tdrules19);*/
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "[_____Rules of Modern-Life Roleplay_____]");
	SendClientMessage(playerid, COLOR_YELLOW, "General Rules: /grules");
	SendClientMessage(playerid, COLOR_YELLOW, "Roeplay Rules: /rprules");
	SendClientMessage(playerid, COLOR_YELLOW, "Scam Rules: /scamrules");
	SendClientMessage(playerid, COLOR_YELLOW, "Families/Factions rules: /frules");
	SendClientMessage(playerid, COLOR_YELLOW, "Points rules: /pointrules");
	//SelectTextDraw(playerid, 828282);
	return 1;
}

CMD:grules(playerid, params[])
{
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "[___________General Rules___________]");
	SendClientMessage(playerid, COLOR_YELLOW, "1. No deathmatching.");
	SendClientMessage(playerid, COLOR_YELLOW, "2. No Revengekilling/returning after death.");
	SendClientMessage(playerid, COLOR_YELLOW, "3. No Flaming/racism/insulting/provoking.");
	SendClientMessage(playerid, COLOR_YELLOW, "4. No cheating/hacking.");
	SendClientMessage(playerid, COLOR_YELLOW, "5. No carramming/parking/killing.");
	SendClientMessage(playerid, COLOR_YELLOW, "6. No flooding/spamming.");
	SendClientMessage(playerid, COLOR_YELLOW, "7. No abusing interiors(entering and exiting)");
	SendClientMessage(playerid, COLOR_YELLOW, "8. No quit abuse/avoid.");
	SendClientMessage(playerid, COLOR_YELLOW, "9. No healing in combat/gunfight/middle of rp.");
	SendClientMessage(playerid, COLOR_YELLOW, "10. No script abusing");
	return 1;
}

CMD:scamrules(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[___________Scamming Rules___________]");
    SendClientMessage(playerid, COLOR_YELLOW, "1. Robbing players max-limit $100k.");
    SendClientMessage(playerid, COLOR_YELLOW, "2. Scamming players max-limt is $500k.");
    SendClientMessage(playerid, COLOR_YELLOW, "3. No scamming properties(businesses/houses/cars).");
    SendClientMessage(playerid, COLOR_YELLOW, "4. No scamming new players.");
    SendClientMessage(playerid, COLOR_YELLOW, "5. No robbing new players.");
	return 1;
}

CMD:rprules(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[___________Roleplay Rules___________]");
    SendClientMessage(playerid, COLOR_YELLOW, "1. No powergaming.");
    SendClientMessage(playerid, COLOR_YELLOW, "2. No metagaming.");
    SendClientMessage(playerid, COLOR_YELLOW, "3. No forcing rape/characterkill.");
    SendClientMessage(playerid, COLOR_YELLOW, "4. No No asspulling(taking gun out without /me).");
    SendClientMessage(playerid, COLOR_YELLOW, "5. No chicken-running/bunny-hopping.");
    SendClientMessage(playerid, COLOR_YELLOW, "6. No copbaiting(provoking cop to chase you).");
    SendClientMessage(playerid, COLOR_YELLOW, "7. No carjacking/ninjajacking without RPing");
	return 1;
}

CMD:frules(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "[___________Factions/Families Rules___________]");
    SendClientMessage(playerid, COLOR_YELLOW, "1. LEO Factions cannot pullover/taze/cuff/arrest each other.");
    SendClientMessage(playerid, COLOR_YELLOW, "2. No fighting over OOC fam/fac chats.");
    SendClientMessage(playerid, COLOR_YELLOW, "3. No arresting new players for having illegal items.");
    SendClientMessage(playerid, COLOR_YELLOW, "4. All /rprules, /grules, /scamrules.");
	return 1;
}

CMD:infotoall(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 2) {
	    SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    return 1;
	}
	SendClientMessageToAll(COLOR_RED, "________________________________________________");
	SendClientMessageToAll(COLOR_RED, "{9a0026}.: {FFFFFF}American Roleplay {9a0026}:.{FFFFFF}" );
	SendClientMessageToAll(COLOR_RED, "Forum Adress:{FFFFFF} "SERVER_WEBSITE"" );
	SendClientMessageToAll(COLOR_RED, "{FFFFFF}You want to help the Server? Invite your friends" );
	SendClientMessageToAll(COLOR_RED, "________________________________________________" );
	return 1;
}

CMD:information(playerid, params[])
{
	SendClientMessage( playerid, COLOR_RED, "________________________________________________");
	SendClientMessage( playerid, COLOR_RED, "{9a0026}.: {FFFFFF}American Roleplay {9a0026}:.{FFFFFF}" );
	SendClientMessage( playerid, COLOR_RED, "Forum Adress:{FFFFFF} "SERVER_WEBSITE"");
	SendClientMessage( playerid, COLOR_RED, "Teamspeak 3:{FFFFFF} "SERVER_TS3"");
	SendClientMessage( playerid, COLOR_RED, "{FFFFFF}You want to help the Server? Invite your friends" );
	SendClientMessage( playerid, COLOR_RED, "________________________________________________" );
	return 1;
}

CMD:name(playerid, params[])
{
		new string[24];
        if(strcmp(params, "on", false) == 0) {
        	if(PlayerInfo[playerid][pMask] == 0) return SendClientMessage(playerid,0xAA3333AA, "You don't have permissions to use name off/on.");
            if(PlayerInfo[playerid][pMaskOn] == 0) return SendClientMessage(playerid,0xAA3333AA, "You don't have a Name Off.");
			DestroyDynamic3DTextLabel(MaskText[playerid]);
			for(new i = 0; i < MAX_PLAYERS; i++)
   			{
   		    	if(IsPlayerConnected(i))
   		    	{
		   			ShowPlayerNameTagForPlayer(i, playerid, 1);
				}
			}
			SendClientMessage(playerid, COLOR_RED, "Name On");
			GameTextForPlayer(playerid,"~g~Name On",1000,1);
            PlayerInfo[playerid][pMaskOn] = 0;
        }
        else if(strcmp(params, "off", false) == 0) {
        	if(PlayerInfo[playerid][pMask] == 0) return SendClientMessage(playerid,0xAA3333AA, "You don't have permissions to use name off/on.");
        	else if(PlayerInfo[playerid][pMaskOn] == 1) return SendClientMessage(playerid,0xAA3333AA, "You already have a Name Off.");
			format(string, sizeof(string), "Stranger");
			MaskText[playerid] = CreateDynamic3DTextLabel(string, COLOR_GREY, 0, 0, -20, 25, playerid);
			Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, MaskText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
			for(new i = 0; i < MAX_PLAYERS; i++)
   			{
   		    	if(IsPlayerConnected(i))
   		    	{
		   			ShowPlayerNameTagForPlayer(i, playerid, 0);
				}
			}
            SendClientMessage(playerid, COLOR_GREEN, "Name Off");
            GameTextForPlayer(playerid,"~r~Name Off",1000,1);
            PlayerInfo[playerid][pMaskOn] = 1;
		}
        else return SendClientMessage(playerid, COLOR_GREY, "USAGE: /name (off, on).");
    	return 1;
}

CMD:ahide(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
 	if(strcmp(params, "on", false) == 0) {
   		if(PlayerInfo[playerid][pHideOn] == 0) return SendClientMessage(playerid,0xAA3333AA, "You don't have a Admin Hide Off.");
		SendClientMessage(playerid, COLOR_RED, "Admin Hide On");
		GameTextForPlayer(playerid,"~g~Name On",1000,1);
   		PlayerInfo[playerid][pHideOn] = 0;
   	}
   	else if(strcmp(params, "off", false) == 0) {
   		 if(PlayerInfo[playerid][pHideOn] == 1) return SendClientMessage(playerid,0xAA3333AA, "You already have a Admin Hide Off.");
         SendClientMessage(playerid, COLOR_GREEN, "Admin Hide Off");
         GameTextForPlayer(playerid,"~r~Name Off",1000,1);
         PlayerInfo[playerid][pHideOn] = 1;
	}
 	else return SendClientMessage(playerid, COLOR_GREY, "USAGE: /ahide (off, on).");
  	return 1;
}

CMD:surrender(playerid, params[])
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pWanted] == 1 || PlayerInfo[playerid][pWanted] == 2 || PlayerInfo[playerid][pWanted] == 3 || PlayerInfo[playerid][pWanted] == 4 || PlayerInfo[playerid][pWanted] == 5 || PlayerInfo[playerid][pWanted] == 6 || PlayerInfo[playerid][pWanted1] == 1 || PlayerInfo[playerid][pWanted2] == 2 || PlayerInfo[playerid][pWanted3] == 3 || PlayerInfo[playerid][pWanted4] == 4 || PlayerInfo[playerid][pWanted5] == 5 || PlayerInfo[playerid][pWanted6] == 6)
            {
                new string[128];
                //new playername[MAX_PLAYER_NAME];
				TogglePlayerCuffed(playerid, 0);
				//sTogglePlayerControllable(playerid, 0);
				//SetPlayerColor(playerid, 0xFF660000);
				GaveUp[playerid] = 1;
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "You gave up, wait on the cops when they cuff you");
				SendClientMessage(playerid, COLOR_YELLOW, "Do not attempt to escape now! (/stuck if you want to escape)");
				format(string, sizeof(string), "[HQ]: Criminal %s has just given up, CUFF HIM, HOLD YOUR FIRE!", RPN(playerid));
				SendCopMessage(COLOR_BLUE,string);
				SendFBIMessage(COLOR_BLUE,string);
				//ApplyAnimation(playerid, "SPECIAL_ACTION_HANDSUP","SPECIAL_ACTION_HANDSUP", 4.0, 0, 1, 1, 1, 0);
				SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
            }
		}
		return 1;
	}

CMD:loyal(playerid, params[])
{
	if(PlayerInfo[playerid][pLoyal] && PlayerInfo[playerid][pLevel] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not a Loyal player.");
	ShowDialog(playerid, 26);
	return 1;
}

CMD:gatehelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_YELLOW, "DYNAMIC GATES HELP: {FFFFFF}/gate /changegatepass");
	return 1;
}

CMD:changegatepass(playerid, params[])
{
	new string[128], slot, password[256], idx;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "is[256]", slot, password)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /changegatepass [slot] [password]");
	if(slot < 1 || slot > 3) return SendClientMessage(playerid, COLOR_GREY, "Gate slots are between 1 and 3.");
	switch(slot)
	{
		case 1: idx = PlayerInfo[playerid][pGate][0];
		case 2: idx = PlayerInfo[playerid][pGate][1];
		case 3: idx = PlayerInfo[playerid][pGate][2];
	}
	if(!idx) return SendClientMessage(playerid, COLOR_GREY, "You don't have a gate registered to this slot.");
	format(GateInfo[idx][gPassword], 256, "%s", password);
 	format(string, sizeof(string), " You have changed your slot %d (ID: %d) gate's password to {FF6347}%s", slot, idx, password);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:fishhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_YELLOW, "FISH HELP: {FFFFFF}/fish /fishes /sellfish /drop");
	return 1;
}

CMD:sellfish(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100, string[128], fish, price;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 1 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a 24/7 Market.");
	if(sscanf(params, "i", fish)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellfish [fishslot]");
	if(fish < 1 || fish > 5) return SendClientMessage(playerid, COLOR_GREY, "Fishes are between 1 and 5.");
	fish = fish-1;
	if(!PlayerInfo[playerid][pFish][fish]) return SendClientMessage(playerid, COLOR_GREY, "You don't have any fish in this slot.");
	if(PlayerInfo[playerid][pFish][fish] < 20) return SendClientMessage(playerid, COLOR_GREY, "You can't sell fishes that weight less than 20 lbs.");
	price = PlayerInfo[playerid][pFish][fish] * 10;
	GiveZaiatMoney(playerid, price);
	PlayerInfo[playerid][pFish][fish] = 0;
	format(string, sizeof(string), "* %s has sold a fish to the 24/7 market.", RPN(playerid));
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have sold a {FF6347}%d lbs{33CCFF} fish for {FF6347}$%d{33CCFF}.", price/10, price);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:fishes(playerid, params[])
{
	new string[128];
    SendClientMessage(playerid, COLOR_GREEN, "____________________________");
	SendClientMessage(playerid, COLOR_ORANGE, "*** Your Fishes ***");
	for(new i=0; i<5; i++)
	{
		if(PlayerInfo[playerid][pFish][i]) format(string, sizeof(string), "%d) %d lbs.", i+1, PlayerInfo[playerid][pFish][i]);
		else format(string, sizeof(string), "%d) None.", i+1);
		SendClientMessage(playerid, COLOR_WHITE, string);
	}
	return 1;
}


CMD:fish(playerid, params[])
{
	new string[128], done, fish;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAtFishingSpot(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not at a fishing spot.");
	if(FishTime[playerid])
	{
	    format(string, sizeof(string), "You need to wait %d more seconds before fishing again.", FishTime[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);

	    return 1;
	}
	for(new i=0; i<5; i++) // Fish
	{
	    if(!done)
	    {
		    if(!PlayerInfo[playerid][pFish][i]) done = i+1;
	    }
	}
	if(!done) return SendClientMessage(playerid, COLOR_GREY, "You can't carry anymore fishes.");
	done = done-1;
	// Catching
	if(strval(RPJL(playerid, JOB_FISHER)) == 1) fish = random(25)+1;
	else if(strval(RPJL(playerid, JOB_FISHER)) == 2) fish = random(26)+5;
	else if(strval(RPJL(playerid, JOB_FISHER)) == 3) fish = random(31)+10;
	else if(strval(RPJL(playerid, JOB_FISHER)) == 4) fish = random(36)+15;
	else if(strval(RPJL(playerid, JOB_FISHER)) == 5) fish = random(41)+25;
	PlayerInfo[playerid][pFish][done] = fish;
	format(string, sizeof(string), "* %s attempts to catch a fish using the fishing rod.", RPN(playerid));
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), " You have caught a %d lbs fish.", fish);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	// Leveling
    new oldj = strval(RPJL(playerid, JOB_FISHER));
    PlayerInfo[playerid][pJobSkill][JOB_FISHER] ++;
	new newj = strval(RPJL(playerid, JOB_FISHER));
    if(oldj < newj)
	{
	    format(string, sizeof(string), "** Your Fisher level is now %d, you can now catch heavier fishes. **", newj);
		SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	Fished[playerid] ++;
	if(Fished[playerid] >= 5)
	{
		Fished[playerid] = 0;
		FishTime[playerid] = 60*5;
		SetTimerEx("FishingTime", 1000, false, "i", playerid);
	}
	return 1;
}

CMD:stopanim(playerid,params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(IsPlayerCuffed(playerid) || IsPlayerTazed(playerid) || IsPlayerTied(playerid) || Boxing[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
	ClearAnimations(playerid);
	return 1;
}

CMD:stuck(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(IsPlayerCuffed(playerid) || IsPlayerTazed(playerid) || IsPlayerTied(playerid) || Boxing[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
	TogglePlayerControllable(playerid, 1);
	return 1;
}

CMD:train(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 756.3295,5.6053,1000.6988)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the training spot inside the gym.");
	ShowDialog(playerid, 22);
	return 1;
}

CMD:tow(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if (!IsATowTruck(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You are not in a tow truck.");
    if  (IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) SendClientMessage(playerid, COLOR_GREY, "You are already towing a vehicle.");
    new Float:PPPX,Float:PPPY,Float:PPPZ;
    GetPlayerPos(playerid,PPPX,PPPY,PPPZ);
    new Float:VVVX,Float:VVVY,Float:VVVZ;
    new Found=0;
    new vid=0;
    while((vid<MAX_VEHICLES)&&(!Found))
    {
    	vid++;
        GetVehiclePos(vid,VVVX,VVVY,VVVZ);
        if  ((floatabs(PPPX-VVVX)<7.0)&&(floatabs(PPPY-VVVY)<7.0)&&(floatabs(PPPZ-VVVZ)<7.0)&&(vid!=GetPlayerVehicleID(playerid)))
        {
        	Found=1;
            AttachTrailerToVehicle(vid,GetPlayerVehicleID(playerid));
            format(string, sizeof(string), "* %s starts towing a vehicle.", RPN(playerid));
			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger starts towing a vehicle.", params);
			}
			else
			{
				format(string, sizeof(string), "* %s starts towing a vehicle.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }

    }
    if  (!Found)
    {
		SendClientMessage(playerid,COLOR_GREY,"There is no vehicle in range.");
    }
    return 1;
}

CMD:untow(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if (!IsATowTruck(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You are not in a tow truck.");
  	{
   		if(IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid)))
     	{
      		SendClientMessage(playerid, COLOR_GREY,"You have unhooked the vehicle that you were towing.");
			arr_Towing[playerid] = INVALID_VEHICLE_ID;
			DetachTrailerFromVehicle(GetPlayerVehicleID(playerid));
			new string[128];
            format(string, sizeof(string), "* %s stops towing a vehicle.", RPN(playerid));
			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger stops towing a vehicle.", params);
			}
			else
			{
				format(string, sizeof(string), "* %s stops towing a vehicle.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
     	}
      	else
       	{
        	SendClientMessage(playerid, COLOR_GREY,"You are currently not towing anything.");
        }
  	}
	return 1;
}

CMD:gascan(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pGas]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a gas can on you.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
    new vehicleid = GetPlayerVehicleID(playerid);
    if(Fuel[vehicleid] >= 150) return SendClientMessage(playerid, COLOR_GREY, "The gas tank is completely full.");
	SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);
	Fuel[vehicleid] = Fuel[vehicleid]+20;
	if(Fuel[vehicleid]> 150) Fuel[vehicleid] = 150;
	PlayerInfo[playerid][pGas] --;
	format(string, sizeof(string), "* %s completely turns off the vehicle and fills its tank with gas from a can.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:fuel(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
	if(!IsPlayerInRangeOfPoint(playerid, 5, 1941.7532,-1776.3621,13.6406) && !IsPlayerInRangeOfPoint(playerid, 5, 1941.7856,-1769.2583,13.6406)
	&& !IsPlayerInRangeOfPoint(playerid, 5, 1000.4276,-937.2377,42.3281) && !IsPlayerInRangeOfPoint(playerid, 5, 1007.4702,-936.3239,42.3281)
	&& !IsPlayerInRangeOfPoint(playerid, 5, 1786.9680,-1780.3038,13.5345))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You are not near a gas station.");
	    return 1;
	}
	if(Fuel[GetPlayerVehicleID(playerid)] >= 100) return SendClientMessage(playerid, COLOR_GREY, "Your vehicle's fuel tank is full.");
	if(PlayerInfo[playerid][pMoney] <= 0) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you to do that.");
    new vehicleid = GetPlayerVehicleID(playerid);
	SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);
    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
    {SetVehicleParamsEx(vehicleid, 0, 0, 0, PlayerInfo[playerid][vLocked], 0, 0, 0);}
    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
    {SetVehicleParamsEx(vehicleid, 0, 0, 0, PlayerInfo[playerid][vVLocked], 0, 0, 0);}
    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
    {SetVehicleParamsEx(vehicleid, 0, 0, 0, PlayerInfo[playerid][vBLocked], 0, 0, 0);}
    format(string, sizeof(string), "* %s completely turns the vehicle off and starts refilling it from the gas station.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SetTimerEx("RefillTimer", 1000, false, "i", playerid);
	return 1;
}

CMD:cookieshelp(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	format(string, sizeof(string), "* You have %d cookies.", PlayerInfo[playerid][pCookies]);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	SendClientMessage(playerid, COLOR_WHITE, " Full Health (2 Cookies) | Full Armor (3 Cookies) | 200 Bullets (5 Cookies)");
	SendClientMessage(playerid, COLOR_WHITE, " 50 Weed (8 Cookies) | 50 Crack (10 Cookies)");
	SendClientMessage(playerid, COLOR_LIGHTRED, " COOKIES USAGE: /usecookies [option]");
	SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	return 1;
}

CMD:usecookies(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /usecookies [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: Health | Armor | Bullets | Weed | Crack");
		return 1;
	}
	if(!strcmp(params, "health", true))
	{
	    if(PlayerInfo[playerid][pCookies] < 2) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough cookies on you for that.");
	    SetPlayerHealth(playerid, 100);
		PlayerInfo[playerid][pCookies] -= 2;
		format(string, sizeof(string), "* %s has used some cookies.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 		format(string, sizeof(string), " You have used 2 cookies for full health.");
	}
	else if(!strcmp(params, "armor", true))
	{
	    if(PlayerInfo[playerid][pCookies] < 3) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough cookies on you for that.");
	    SetPlayerArmour(playerid, 50);
	    PlayerInfo[playerid][pCookies] -= 3;
	    format(string, sizeof(string), "* %s has used some cookies.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 		format(string, sizeof(string), " You have used 2 cookies for full armor.");
	}
	else if(!strcmp(params, "bullets", true))
	{
	    if(PlayerInfo[playerid][pCookies] < 5) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough cookies on you for that.");
	    if(!IsHoldingBullets(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not holding a weapon with bullets.");
	    GiveZaiatWeapon(playerid, GetPlayerWeapon(playerid), 200);
	    PlayerInfo[playerid][pCookies] -= 5;
	    format(string, sizeof(string), "* %s has used some cookies.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 		format(string, sizeof(string), " You have used 2 cookies for 200 bullets for the weapon you are holding.");
	}
	else if(!strcmp(params, "weed", true))
	{
	    if(PlayerInfo[playerid][pCookies] < 8) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough cookies on you for that.");
	    PlayerInfo[playerid][pWeed] += 50;
	    PlayerInfo[playerid][pCookies] -= 8;
	    format(string, sizeof(string), "* %s has used some cookies.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 		format(string, sizeof(string), " You have used 2 cookies for 50 grams of weed.");
	}
	else if(!strcmp(params, "crack", true))
	{
	    if(PlayerInfo[playerid][pCookies] < 10) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough cookies on you for that.");
	    PlayerInfo[playerid][pCrack] += 50;
	    PlayerInfo[playerid][pCookies] -= 10;
	    format(string, sizeof(string), "* %s has used some cookies.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 		format(string, sizeof(string), " You have used 2 cookies for 50 grams of crack.");
	}
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:refhelp(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	format(string, sizeof(string), "* You have %d referral points.", PlayerInfo[playerid][pRefPoints]);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	SendClientMessage(playerid, COLOR_WHITE, " Referral system is a way for players to gain prizes for inviting their friends to the server.");
	SendClientMessage(playerid, COLOR_WHITE, " Prizes for referral points can you ask an administrator");
	SendClientMessage(playerid, COLOR_WHITE, " When you invite someone to the server they have to gain 4 respect points before making you their refer.");
	SendClientMessage(playerid, COLOR_WHITE, " This is an attempt to prevent players from creating new accounts and giving theirselves referral points.");
	SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	return 1;
}

CMD:refer(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHours] < 4) return SendClientMessage(playerid, COLOR_GREY, "You need to have at least 4 respect points before making someone your refer.");
	if(!PlayerInfo[playerid][pNew]) return SendClientMessage(playerid, COLOR_GREY, "You are not a new player or you've already made someone your refer.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /refer [playerid]");
	format(string, sizeof(string), "RefWarn: %s has made you their refer, you have gained a referral point.", RPN(playerid));
	SendClientMessage(playerid, COLOR_LIME, string);
	format(string, sizeof(string), "RefWarn: You have made %s your refer, he has gained a referral point.", RPN(playerb));
	SendClientMessage(playerid, COLOR_LIME, string);
	PlayerInfo[playerid][pNew] = 0;
	PlayerInfo[playerb][pRefPoints] ++;
	format(string, sizeof(string), "%s (%s) has made %s (%s) their refer.", RPN(playerid), RPIP(playerid), RPN(playerb), RPIP(playerb));
	Log("logs/referral.log", string);
	return 1;
}

CMD:viphelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	SendClientMessage(playerid, COLOR_YELLOW, "BRONZE VIP: {FFFFFF}/v /vip /vips /mech + /buyhealth /buyarmor + [VIP Lounge | Newbie Tag]");
	SendClientMessage(playerid, COLOR_YELLOW, "SILVER VIP: {FFFFFF}/buyviptoys + Bronze VIP + [2 Jobs | 2 Vehicles]");
	SendClientMessage(playerid, COLOR_YELLOW, "GOLD VIP: {FFFFFF}/vipbuddy + Silver VIP + [2 Houses]");
	SendClientMessage(playerid, COLOR_YELLOW, "Platinum VIP: {FFFFFF}/buygun + Gold VIP + [2 Businesses]");
	return 1;
}

CMD:buyarmor(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 287.2132,-177.3140,999.6060)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the VIP armor spot.");
	if(PlayerInfo[playerid][pMoney] < 1000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you. ($1000)");
	GiveZaiatMoney(playerid, -1000);
	SetPlayerArmour(playerid, 50);
	return 1;
}

CMD:buyhealth(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 285.0209,-177.3140,999.6060)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the VIP health spot.");
	if(PlayerInfo[playerid][pMoney] < 500) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you. ($500)");
	GiveZaiatMoney(playerid, -500);
	SetPlayerHealth(playerid, 100);
	return 1;
}

CMD:buygun(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not Platinum VIP.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 278.4188,-180.5654,999.6060)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the VIP Weapons Shop.");
	ShowDialog(playerid, 19);
	return 1;
}

CMD:vipbuddy(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(PlayerInfo[playerid][pVIPBuddy])
	{
	    format(string, sizeof(string), " You need to wait %d more hours before giving someone else Bronze VIP.", PlayerInfo[playerid][pVIPBuddy]);
	    SendClientMessage(playerid, COLOR_GREY, string);
	    return 1;
	}
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /vipbuddy [playerid]");
	if(PlayerInfo[playerb][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "Player is already VIP");
	PlayerInfo[playerid][pVIPBuddy] = 12;
	PlayerInfo[playerb][pVIP] = 1;
	PlayerInfo[playerb][pVIPTemp] = 60;
	format(string, sizeof(string), " You have given %s temporary Bronze VIP package for an hour.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_VIP, string);
	format(string, sizeof(string), " %s has given you temporary Bronze VIP package for an hour.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_VIP, string);
	return 1;
}

CMD:v(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && !VIPStatus) return SendClientMessage(playerid, COLOR_GREY, "The global VIP chat is currently disabled.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(VIPOff[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have the VIP chat toggled off.");
	format(string, sizeof(string), "** %s VIP %s: %s", RPVIPN(playerid), NORPN(playerid), params);
	SendVIPMessage(COLOR_VIP, string);
	return 1;
}

CMD:g(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && !GCStatus) return SendClientMessage(playerid, COLOR_GREY, "The global VIP chat is currently disabled.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /g [text]");
	if(GCTime[playerid] > 0)
	{
	    format(string, sizeof(string), "You need to wait %d more seconds before using the GC chat again.", GCTime[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	if(AntiAdv(playerid, params)) return 1;
	if(GCOff[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have the Global chat toggled off.");
	format(string, sizeof(string), "[GLOBAL CHAT] %s: %s", NORPN(playerid), params);
	SendGCMessage(COLOR_GREEN, string);
	GCTime[playerid] = 10;
	SetTimerEx("GCTimer", 1000, false, "i", playerid);
	return 1;
}

CMD:vip(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	ShowDialog(playerid, 16);
	return 1;
}

CMD:vips(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Online A:RP VIPs]");
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pVIP])
	    {
	        if(PlayerInfo[i][pVIPTemp])
	        {
		        format(string, sizeof(string), "- [%s VIP] %s [Expires in %d minutes] [VIP Buddy]", RPVIPN(i), NORPN(i), PlayerInfo[i][pVIPTemp]);
		        SendClientMessage(playerid, COLOR_VIP, string);
	        }
	        else
	        {
		        format(string, sizeof(string), "- [%s VIP] %s [Expires on: %d/%d]", RPVIPN(i), NORPN(i), PlayerInfo[i][pVIPDay], PlayerInfo[i][pVIPMonth]);
		        SendClientMessage(playerid, COLOR_VIP, string);
	        }
	    }
	}
	return 1;
}

CMD:accent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[16]", params))
	{
        SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /accent [accent]");
     	SendClientMessage(playerid, COLOR_GREY, "Available Accents: None, British, Asian , Scottish, Irish, Russian");
    	SendClientMessage(playerid, COLOR_GREY, "Available Accents: American, Spanish, Southern, Italian, Afro-American, Australian");
    	SendClientMessage(playerid, COLOR_GREY, "Available Accents: Arabic, Balkan, Canadian,  Jamaican, Israeli, African, Dutch");
    	return 1;
    }
	if(AntiAdv(playerid, params)) return 1;
	if(!strcmp(params, "None"))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You are not using any accent now.");
	}
	else if(!strcmp(params, "Asian", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Asian");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Asian'.");
     	return 1;
	}
	else if(!strcmp(params, "British", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "British");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'British'.");
     	return 1;
	}
	else if(!strcmp(params, "Scottish", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Scottish");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Scottish'.");
     	return 1;
	}
	else if(!strcmp(params, "Irish", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Irish");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Irish'.");
     	return 1;
	}
	else if(!strcmp(params, "Russian", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Russian");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Russian'.");
     	return 1;
	}
	else if(!strcmp(params, "American", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "American");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'American'.");
     	return 1;
	}
	else if(!strcmp(params, "Spanish", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Spanish");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Spanish'.");
     	return 1;
	}
	else if(!strcmp(params, "Southern", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Southern");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Southern'.");
     	return 1;
	}
	else if(!strcmp(params, "Italian", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Italian");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Italian'.");
     	return 1;
	}
	else if(!strcmp(params, "Afro-American", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Afro-American");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Afro-American'.");
     	return 1;
	}
	else if(!strcmp(params, "Australian", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Australian");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Australian'.");
     	return 1;
	}
	else if(!strcmp(params, "Arabic", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Arabic");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Arabic'.");
     	return 1;
	}
	else if(!strcmp(params, "Balkan", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Balkan");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Balkan'.");
     	return 1;
	}
	else if(!strcmp(params, "Jamaican", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Jamaican");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Jamaican'.");
     	return 1;
	}
	else if(!strcmp(params, "Canadian", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Canadian");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Canadian'.");
     	return 1;
	}
	else if(!strcmp(params, "Israeli", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Israeli");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Israeli'.");
     	return 1;
	}
	else if(!strcmp(params, "African", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "African");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'African'.");
     	return 1;
	}
	else if(!strcmp(params, "Dutch", true))
	{
	    format(PlayerInfo[playerid][pAccent], 16, "Dutch");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You've changed your accent to 'Dutch'.");
     	return 1;
	}
	return 1;
}

CMD:setaccent(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if (sscanf(params, "us[16]", playerb, params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /setaccent [playerid] [accent]");
	if(strlen(params) > 16) return SendClientMessage(playerid, COLOR_GREY, "Accent can't be longer than 16 characters.");
	if(AntiAdv(playerid, params)) return 1;
	if(!strcmp(params, "none"))
	{
	    format(PlayerInfo[playerb][pAccent], 16, "");
		format(string, sizeof(string), " You've turned %s accent off", NORPN(playerb));
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	else
	{
		format(PlayerInfo[playerb][pAccent], 16, "%s", params);
		format(string, sizeof(string), " You've setted %s accent to %s", NORPN(playerb), PlayerInfo[playerb][pAccent]);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	return 1;
}

CMD:crimes(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pWanted] >= 1)
	{
		format(string, sizeof(string), "{FF9900}Crime 1: {FFFFFF}%s", PlayerInfo[playerid][pWanted1]);
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 2)
	{
		format(string, sizeof(string), "{FF9900}Crime 2: {FFFFFF}%s", PlayerInfo[playerid][pWanted2]);
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 3)
	{
		format(string, sizeof(string), "{FF9900}Crime 3: {FFFFFF}%s", PlayerInfo[playerid][pWanted3]);
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 4)
	{
		format(string, sizeof(string), "{FF9900}Crime 4: {FFFFFF}%s", PlayerInfo[playerid][pWanted4]);
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 5)
	{
		format(string, sizeof(string), "{FF9900}Crime 5: {FFFFFF}%s", PlayerInfo[playerid][pWanted5]);
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 6)
	{
		format(string, sizeof(string), "{FF9900}Crime 6: {FFFFFF}%s", PlayerInfo[playerid][pWanted6]);
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	else
	{
		format(string, sizeof(string), "{FF9900} No Crimes Noticed");
		SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	return 1;
}


CMD:showcrimes(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /showcrimes [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	format(string, sizeof(string), "* %s shows %s their crimes list.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	if(PlayerInfo[playerid][pWanted] >= 1)
	{
		format(string, sizeof(string), "{FF9900}Crime 1: {FFFFFF}%s", PlayerInfo[playerid][pWanted1]);
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 2)
	{
		format(string, sizeof(string), "{FF9900}Crime 2: {FFFFFF}%s", PlayerInfo[playerid][pWanted2]);
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 3)
	{
		format(string, sizeof(string), "{FF9900}Crime 3: {FFFFFF}%s", PlayerInfo[playerid][pWanted3]);
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 4)
	{
		format(string, sizeof(string), "{FF9900}Crime 4: {FFFFFF}%s", PlayerInfo[playerid][pWanted4]);
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 5)
	{
		format(string, sizeof(string), "{FF9900}Crime 5: {FFFFFF}%s", PlayerInfo[playerid][pWanted5]);
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	if(PlayerInfo[playerid][pWanted] >= 6)
	{
		format(string, sizeof(string), "{FF9900}Crime 6: {FFFFFF}%s", PlayerInfo[playerid][pWanted6]);
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	else
	{
		format(string, sizeof(string), "{FF9900} No Crimes Noticed");
		SendClientMessage(playerb, COLOR_ORANGE, string);
	}
	return 1;
}

CMD:licenses(playerid, params[])
return cmd_license(playerid, params);

CMD:license(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	//if(!PlayerInfo[playerid][pCarLic]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a drivers license.");
	new text1[20];
	new text2[20];
	new text3[20];
	if(PlayerInfo[playerid][pCarLic]) { text1 = "Passed"; } else { text1 = "Not Passed"; }
	if(PlayerInfo[playerid][pFireArmsLic]) { text2 = "Passed"; } else { text2 = "Not Passed"; }
	if(PlayerInfo[playerid][pPilotLic]) { text3 = "Passed"; } else { text3 = "Not Passed"; }
	SendClientMessage(playerid, COLOR_ORANGE, "[Los Santos Department of Licenses]");
	format(string, sizeof(string), "Name: {FFFFFF}%s", RPN(playerid));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "Age: {FFFFFF}%d", PlayerInfo[playerid][pAge]);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "Driver's license: {FFFFFF}%s.", text1);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "Fire Arms's license: {FFFFFF}%s.", text2);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "Pilot license: {FFFFFF}%s.", text3);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	return 1;
}


CMD:showlicenses(playerid, params[])
return cmd_showlicense(playerid, params);

CMD:showlicense(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /showlicense [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	//if(!PlayerInfo[playerid][pCarLic]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a drivers license.");
	format(string, sizeof(string), "* %s shows %s their identity licenses.", RPN(playerid), RPN(playerb));
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
        format(string, sizeof(string), "* Stranger shows %s their identity licenses.", RPN(playerb));
	}
	else
	{
		format(string, sizeof(string), "* %s shows %s their identity licenses.", RPN(playerid), RPN(playerb));
	}
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 	new text1[20];
  	new text2[20];
  	new text3[20];
	if(PlayerInfo[playerb][pCarLic]) { text1 = "Passed"; } else { text1 = "Not Passed"; }
	if(PlayerInfo[playerid][pFireArmsLic]) { text2 = "Passed"; } else { text2 = "Not Passed"; }
	if(PlayerInfo[playerid][pPilotLic]) { text3 = "Passed"; } else { text3 = "Not Passed"; }
	SendClientMessage(playerb, COLOR_ORANGE, "[Los Santos Department of Licenses]");
	format(string, sizeof(string), "Name: {FFFFFF}%s", RPN(playerid));
	SendClientMessage(playerb, COLOR_ORANGE, string);
	format(string, sizeof(string), "Age: {FFFFFF}%d", PlayerInfo[playerid][pAge]);
	SendClientMessage(playerb, COLOR_ORANGE, string);
	format(string, sizeof(string), "Driver's license: {FFFFFF}%s.", text1);
	SendClientMessage(playerb, COLOR_ORANGE, string);
	format(string, sizeof(string), "Fire Arms's license: {FFFFFF}%s.", text2);
	SendClientMessage(playerb, COLOR_ORANGE, string);
	format(string, sizeof(string), "Pilot license: {FFFFFF}%s.", text3);
	SendClientMessage(playerb, COLOR_ORANGE, string);
	return 1;
}

CMD:getlic(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!IsPlayerInRangeOfPoint(playerid,2.0,1490.2968,1305.7004,1093.2964)) return SendClientMessage(playerid, COLOR_GREY, "You are not by the DMV desk.");
    if(PlayerInfo[playerid][pCarLic]) return SendClientMessage(playerid, COLOR_GREY, "You already have a drivers license.");
    if(LicenseTest[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have already started the drivers license test.");
    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you. ($100)");
	GiveZaiatMoney(playerid, -100);
	LicenseTest[playerid] =1;
	CP[playerid] = 1;
	SendClientMessage(playerid,COLOR_LIGHTBLUE,"* Drivers Center: Get into a car outside to begin the test.");
	return 1;
}

CMD:getpilotlic(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!IsPlayerInRangeOfPoint(playerid,2.0,1956.7323,-2183.6902,13.5469)) return SendClientMessage(playerid, COLOR_GREY, "You are not by the Enter Airport Check Desk.");
    if(PlayerInfo[playerid][pPilotLic]) return SendClientMessage(playerid, COLOR_GREY, "You already have a pilot license.");
    //if(LicenseTestP[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have already started the pilot license test.");
    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you. ($100)");
	GiveZaiatMoney(playerid, -100);
	PlayerInfo[playerid][pPilotLic] = 1;
//	LicenseTestP[playerid] =1;
	//CPFly[playerid] = 1;
	SendClientMessage(playerid,COLOR_LIGHTBLUE,"* Pilot Center: You get your pilot licenses, you can fly now.");
	return 1;
}


CMD:getfirearmslic(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not level 3+ so you can't buy it sorry");
    if(!IsPlayerInRangeOfPoint(playerid,2.0,256.98, 64.73, 1003.64)) return SendClientMessage(playerid, COLOR_GREY, "You are not by the LSPD desk.");
    if(PlayerInfo[playerid][pFireArmsLic]) return SendClientMessage(playerid, COLOR_GREY, "You already have a Fire Arms license.");
    if(PlayerInfo[playerid][pMoney] < 40000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you. ($40000)");
	GiveZaiatMoney(playerid, -40000);
	PlayerInfo[playerid][pFireArmsLic] = 1;
	SendClientMessage(playerid,COLOR_LIGHTBLUE,"* You bought a fire arms license.");
	return 1;
}

CMD:joinevent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(Event[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are already in the event.");
	if(!EventOn) return SendClientMessage(playerid, COLOR_GREY, "There's no current event happening.");
	if(EventLocked) return SendClientMessage(playerid, COLOR_GREY, "The event is locked, be faster next time.");
	PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
	PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
	GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
	GetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
	GetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
	SetPlayerPos(playerid, ePos[0], ePos[1], ePos[2]);
	SetPlayerInterior(playerid, eInt);
	SetPlayerVirtualWorld(playerid, eVW);
	for(new i=0; i<13; i++)
	{
		GetPlayerWeaponData(playerid, i, PlayerInfo[playerid][pWeapon][i], PlayerInfo[playerid][pWeaponAmmo][i]);
	}
	GunsBeingRemoved[playerid] = 1;
	ResetPlayerWeapons(playerid);
	Event[playerid] = 1;
	SendClientMessage(playerid, COLOR_LIGHTRED, "*** Please wait until the event starts and you will recieve everything set by the organizer ***");
	SendClientMessage(playerid, COLOR_LIGHTRED, "*** Your original health, armor and weapons will be refunded once you leave the event, /quitevent to leave at any time ***");
	return 1;
}

CMD:quitevent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!EventOn) return SendClientMessage(playerid, COLOR_GREY, "There's no current event happening.");
	if(!Event[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not inside the event.");
	Event[playerid] = 0;
	SetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
	SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
	SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVW]);
	SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
	SetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
	SendClientMessage(playerid, COLOR_LIGHTRED, "*** You have quit the event ***");
	GunsBeingRemoved[playerid] = 1;
	ResetPlayerWeapons(playerid);
	GunsBeingRemoved[playerid] = 1;
	for(new w = 0; w < 13; w++)
	{
	    GiveZaiatWeapon(playerid, PlayerInfo[playerid][pWeapon][w], PlayerInfo[playerid][pWeaponAmmo][w]);
	}
	return 1;
}

CMD:helpers(playerid, params[])
{
	new online, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pHelper])
	    {
	        online ++;
	    }
	}
	format(string, sizeof(string), "Online Helpers: %d", online);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pHelper])
	    {
	        format(string, sizeof(string), "- %s %s (Level %d)", RPHLN(i), RPN(i), PlayerInfo[i][pHelper]);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	}
	return 1;
}

CMD:helperhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	if(PlayerInfo[playerid][pHelper] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/h /newbie /hduty /nmute /(start/end)chat /hprison /(un)freeze /go(to/back) /sendtols");
	if(PlayerInfo[playerid][pHelper] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/fine /kick /gethere /gotoloc /hpm /spec");
	if(PlayerInfo[playerid][pHelper] >= 2) SendClientMessage(playerid, COLOR_GREEN, "Level 2: {FFFFFF}/firehelper /makehelper");
	return 1;
}

CMD:h(playerid, params[])
{
    new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHelper] && !PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/h)elperChat [text]");
	if ((nohelper) && PlayerInfo[playerid][pHelper] < 2 && PlayerInfo[playerid][pAdmin] < 1)
	{
		SendClientMessage(playerid, COLOR_GREY, "   The helper chat has been disabled!");
		return 1;
	}
	if(AntiAdv(playerid, params)) return 1;
	if(PlayerInfo[playerid][pHelper] > PlayerInfo[playerid][pAdmin]) format(string, sizeof(string), "*%s %s: {FFFFFF}%s", RPHLN(playerid), NORPN(playerid), params);
    else if(PlayerInfo[playerid][pAdmin] > PlayerInfo[playerid][pHelper])format(string, sizeof(string), "*%s %s: {FFFFFF}%s", RPALN(playerid), NORPN(playerid), params);
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
			if(PlayerInfo[i][pHelper] || PlayerInfo[i][pAdmin])
			{
		    	SendClientMessage(i, COLOR_CYAN, string);
			}
		}
	}
	// Logs
	if(PlayerInfo[playerid][pHelper] && !PlayerInfo[playerid][pAdmin]) format(string, sizeof(string), "*%s %s: %s", RPHLN(playerid), NORPN(playerid), params);
    else if(!PlayerInfo[playerid][pHelper] && PlayerInfo[playerid][pAdmin])format(string, sizeof(string), "*%s %s: %s", RPALN(playerid), NORPN(playerid), params);
	Log("logs/helperchat.log", string);
	return 1;
}

CMD:startchat(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /startchat [playerid]");
	if(!HelpTime[playerb]) return SendClientMessage(playerid, COLOR_GREY, "This player hasn't requested any help.");
	if(Chat[playerid] != -1) return SendClientMessage(playerid, COLOR_GREY, "You are already chatting with someone.");
	if(Chat[playerb] != -1) return SendClientMessage(playerid, COLOR_GREY, "Player is already chatting with someone.");
	Chat[playerid] = playerb;
	Chat[playerb] = playerid;
	format(string, sizeof(string), "* %s %s has started a chat with you, /chat to talk to him.", RPHLN(playerid), NORPN(playerid));
	SendClientMessage(playerb, COLOR_GREEN, string);
	format(string, sizeof(string), "* You have started a chat with %s, /chat to talk to him.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_GREEN, string);
	return 1;
}

CMD:endchat(playerid, params[])
{
	new string[128];
 	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(Chat[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "You are not chatting with someone.");
	new playerb = Chat[playerid];
	Chat[playerid] = -1;
	Chat[playerb] = -1;
	format(string, sizeof(string), "* %s %s has ended the chat with you.", RPHLN(playerid), NORPN(playerid));
	SendClientMessage(playerb, COLOR_GREEN, string);
	format(string, sizeof(string), "* You have ended the chat with %s.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_GREEN, string);
	return 1;
}

CMD:chat(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(Chat[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "You are not chatting with anybody.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /chat [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(PlayerInfo[playerid][pHelper]) format(string, sizeof(string), "* %s %s: {33AA33}%s", RPHLN(playerid), NORPN(playerid), params);
	else format(string, sizeof(string), "* Player %s: {33AA33}%s", RPN(playerid), params);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	SendClientMessage(Chat[playerid], COLOR_LIGHTRED, string);
	return 1;
}

CMD:speedlimit(playerid, params[])
{
	new string[128], speed;
 	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "i", speed)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /speedlimit [Max MPH]");
	if(strlen(params) > 3) return SendClientMessage(playerid, COLOR_GREY, "Speedlimit can't be longer than 3 numbers.");
	if(speed < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid MPH speed.");
	Speedlimit[playerid] = speed;
	if(speed == 0) format(string, sizeof(string), " You have turned your speed limit off.", speed);
    else format(string, sizeof(string), " You have set your speed limit to %d MPH, any vehicle you drive will not go past this limit.", speed);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:locatecar(playerid, params[])
{
	new Float:vx, Float:vy, Float:vz;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][vModel]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a vehicle.");
    if(PlayerInfo[playerid][pVVeh])
    {
        new carid;
		if(sscanf(params, "i", carid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /locatecar [1-3]");
		if(carid == 1)
		{
			GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
			SetPlayerCheckpoint(playerid, vx, vy, vz, 2);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " A marker on your GPS showing where your vehicle is has been placed. (Vehicle 1)");
		}
		else if(carid == 2)
		{
			GetVehiclePos(PlayerInfo[playerid][pVVeh], vx, vy, vz);
			SetPlayerCheckpoint(playerid, vx, vy, vz, 2);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " A marker on your GPS showing where your vehicle is has been placed. (Vehicle 2)");
		}
		else if(carid == 3)
		{
			GetVehiclePos(PlayerInfo[playerid][pBVeh], vx, vy, vz);
			SetPlayerCheckpoint(playerid, vx, vy, vz, 2);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " A marker on your GPS showing where your vehicle is has been placed. (Vehicle 3)");
		}
    }
    else
	{
		GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
		SetPlayerCheckpoint(playerid, vx, vy, vz, 2);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, " A marker on your GPS showing where your vehicle is has been placed.");
	}
	return 1;
}

CMD:buycar(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 545.6661,-1292.2437,17.2422)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the vehicles dealership.");
	if(PlayerInfo[playerid][pVIP] >= 2)
	{
		if(PlayerInfo[playerid][vModel] && PlayerInfo[playerid][vVModel] && PlayerInfo[playerid][vBModel])
		{
			format(string, sizeof(string), "You already own vehicles ID %d and %d.", PlayerInfo[playerid][pVeh], PlayerInfo[playerid][pVVeh]);
			SendClientMessage(playerid, COLOR_GREY, string);
		    return 1;
		}
		else ShowDialog(playerid, 10);
	    return 1;
	}
	if(PlayerInfo[playerid][vModel])
	{
		format(string, sizeof(string), "You already own vehicle ID %d.", PlayerInfo[playerid][pVeh]);
		SendClientMessage(playerid, COLOR_GREY, string);
	    return 1;
	}
	ShowDialog(playerid, 10);
	return 1;
}

CMD:sellcartomarket(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 545.6661,-1292.2437,17.2422)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the vehicles dealership.");
	if(!PlayerInfo[playerid][pVeh] && !PlayerInfo[playerid][pVVeh] && !PlayerInfo[playerid][pBVeh]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a vehicle.");
	if(GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pBVeh]) return SendClientMessage(playerid, COLOR_GREY, "You must be in the vehicle you wish to sell to the dealership.");
	// Start of Payback
	new price;
	// BMX ($600)\nFaggio ($4,000)\nFreeway ($6,000)\nSanchez ($4,000)\nQuad ($6,000)\nPCJ-600 ($20,000)\nFCR-900 ($25,000)
/*	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 481) price = 600;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 462) price = 400;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 463) price = 6000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 468) price = 4000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 471) price = 6000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 461) price = 20000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 521) price = 25000; // End of Bikes
	// Comet ($30,000)\nFeltzer ($26,000)\nStallion ($26,000)\nWindsor ($28,000)\nSentinel ($24,000)\nManana ($22,000)
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 480) price = 30000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 533) price = 26000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 439) price = 26000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 555) price = 28000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 405) price = 80000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 410) price = 22000; // End of Normal Vehicles
	// Huntley ($22,000)\nLandstalker ($24,000)\nSandking ($30,000)
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 579) price = 2200;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400) price = 2400;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 495) price = 3000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 457) price = 500; // End of Off-Road vehicles
	// Sultan ($60,000)\nBanshee ($65,000)\nBuffalo ($70,000)\nBullet ($90,000)\nCheetah ($80,000)\nJester ($70,000)\nTurismo ($110,000)
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) price = 6000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 429) price = 6500;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 402) price = 7000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 541) price = 9000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 415) price = 8000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) price = 7000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 451) price = 11000; // End of Sport vehicles
	// Blade($25,000)\nBroadway ($35,000)\nRemington ($30,000)\nSavanna ($25,000)\nSlamvan ($27,000)\nTornado ($24,000)\nVoodo ($30,000)\nSabre ($50,000)
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) price = 2500;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) price = 3500;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) price = 3000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) price = 2500;
    else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) price = 2700;
    else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) price = 2400;
    else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 412) price = 3000;
    else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 475) price = 4000;*/
	// All Vehicle IDs
	if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 400) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 401) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 402) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 403) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 404) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 405) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 406) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 407) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 408) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 409) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 410) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 411) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 412) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 413) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 414) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 415) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 416) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 417) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 418) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 419) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 420) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 421) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 422) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 423) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 424) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 425) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 426) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 427) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 428) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 429) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 430) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 431) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 432) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 433) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 434) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 435) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 436) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 437) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 438) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 439) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 440) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 441) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 442) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 443) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 444) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 445) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 446) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 447) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 448) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 449) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 450) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 451) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 452) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 453) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 454) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 455) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 456) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 457) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 458) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 459) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 460) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 461) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 462) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 463) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 464) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 465) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 466) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 467) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 468) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 469) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 470) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 471) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 472) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 473) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 474) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 475) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 476) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 477) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 478) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 479) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 480) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 481) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 482) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 483) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 484) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 485) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 486) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 487) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 488) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 489) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 490) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 491) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 492) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 493) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 494) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 495) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 496) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 497) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 498) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 499) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 500) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 501) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 502) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 503) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 504) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 505) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 506) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 507) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 508) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 509) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 510) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 511) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 512) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 513) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 514) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 515) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 516) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 517) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 518) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 519) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 521) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 522) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 523) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 524) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 525) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 526) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 527) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 528) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 529) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 530) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 531) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 532) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 533) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 534) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 536) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 537) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 538) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 539) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 540) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 541) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 542) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 543) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 544) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 545) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 546) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 547) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 548) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 549) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 550) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 551) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 552) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 553) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 554) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 555) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 556) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 557) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 558) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 559) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 560) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 561) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 562) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 563) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 564) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 565) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 566) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 567) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 568) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 569) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 570) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 571) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 572) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 573) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 574) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 575) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 576) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 577) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 578) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 579) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 580) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 581) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 582) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 583) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 584) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 585) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 586) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 587) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 588) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 589) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 590) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 591) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 592) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 593) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 594) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 595) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 596) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 597) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 598) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 599) price = 15000;
	else if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 600) price = 15000;

	GiveZaiatMoney(playerid, (75*price)/100);
	// End of Payback
	if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	{
		DestroyVehicle(PlayerInfo[playerid][pVeh]);
		PlayerInfo[playerid][pVeh] = 0;
	    PlayerInfo[playerid][vModel] = 0;
		PlayerInfo[playerid][vX] = 0;
		PlayerInfo[playerid][vY] = 0;
		PlayerInfo[playerid][vZ] = 0;
		PlayerInfo[playerid][vA] = 0;
		PlayerInfo[playerid][vC1] = 0;
		PlayerInfo[playerid][vC2] = 0;
 		PlayerInfo[playerid][pTWeed] = 0;
		SendClientMessage(playerid, COLOR_GREEN, " You have sold your vehicle to the dealership.");
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	{
		DestroyVehicle(PlayerInfo[playerid][pVVeh]);
		PlayerInfo[playerid][pVVeh] = 0;
	    PlayerInfo[playerid][vVModel] = 0;
		PlayerInfo[playerid][vVX] = 0;
		PlayerInfo[playerid][vVY] = 0;
		PlayerInfo[playerid][vVZ] = 0;
		PlayerInfo[playerid][vVA] = 0;
		PlayerInfo[playerid][vVC1] = 0;
		PlayerInfo[playerid][vVC2] = 0;
		PlayerInfo[playerid][pvTWeed] = 0;
		SendClientMessage(playerid, COLOR_GREEN, " You have sold your vehicle to the dealership.");
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	{
		DestroyVehicle(PlayerInfo[playerid][pBVeh]);
		PlayerInfo[playerid][pBVeh] = 0;
	    PlayerInfo[playerid][vBModel] = 0;
		PlayerInfo[playerid][vBX] = 0;
		PlayerInfo[playerid][vBY] = 0;
		PlayerInfo[playerid][vBZ] = 0;
		PlayerInfo[playerid][vBA] = 0;
		PlayerInfo[playerid][vBC1] = 0;
		PlayerInfo[playerid][vBC2] = 0;
		SendClientMessage(playerid, COLOR_GREEN, " You have sold your vehicle to the dealership.");
	}
	return 1;
}

CMD:slot(playerid, params[])
{
	new string[128];
	format(string, sizeof(string), "Slot: %d", GFVS(GetPlayerVehicleID(playerid)));
	SendClientMessage(playerid, COLOR_GREY, string);
	return 1;
}

CMD:park(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in a vehicle.");
	// Family Vehicles
	if(IsFamVehicle(GetPlayerVehicleID(playerid)) && Fam[GetPlayerVehicleID(playerid)] == PlayerInfo[playerid][pFam])
	{
	    new idx = PlayerInfo[playerid][pFam], veh = GFVS(GetPlayerVehicleID(playerid));

		GetVehiclePos(GetPlayerVehicleID(playerid), FamInfo[idx][fVehCoX][veh], FamInfo[idx][fVehCoY][veh], FamInfo[idx][fVehCoZ][veh]);
		GetVehicleZAngle(GetPlayerVehicleID(playerid), FamInfo[idx][fVehRot][veh]);
		if(FamInfo[idx][fVehType][veh])
		{
			DestroyVehicle(FamInfo[idx][fVeh][veh]);
		}
		FamInfo[idx][fVeh][veh] = CreateVehicle(FamInfo[idx][fVehType][veh], FamInfo[idx][fVehCoX][veh], FamInfo[idx][fVehCoY][veh], FamInfo[idx][fVehCoZ][veh], FamInfo[idx][fVehRot][veh], FamInfo[idx][fVehCol1][veh], FamInfo[idx][fVehCol2][veh], 12000);
        ChangeVehicleColor(FamInfo[idx][fVeh][veh], FamInfo[idx][fVehCol1][veh], FamInfo[idx][fVehCol2][veh]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have parked your family vehicle, it will always spawn here until you park it somewhere else.");
		return 1;
	}
   	// Owned Vehicles
	if(GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pBVeh]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a vehicle you can park.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have parked your vehicle, it will always spawn here until you park it somewhere else.");
	if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	{
		for(new i=0; i<14; i++)
		{
		    PlayerInfo[playerid][pVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pVeh], i);
		}
		topened[playerid] = 0;
		GetVehiclePos(PlayerInfo[playerid][pVeh],PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
		GetVehicleZAngle(PlayerInfo[playerid][pVeh],PlayerInfo[playerid][vA]);
		DestroyVehicle(PlayerInfo[playerid][pVeh]);
		PlayerInfo[playerid][pVeh] = CreateVehicle(PlayerInfo[playerid][vModel], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ],PlayerInfo[playerid][vA],PlayerInfo[playerid][vC1],PlayerInfo[playerid][vC2],32000);
		SetVehicleVirtualWorld(PlayerInfo[playerid][pVeh], GetPlayerVirtualWorld(playerid));
   		LinkVehicleToInterior(PlayerInfo[playerid][pVeh], GetPlayerInterior(playerid));
	    ChangeVehiclePaintjob(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vPJ]);
		for(new i=0; i<14; i++)
		{
		    AddVehicleComponent(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][pVehMod][i]);
		}
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	{
		for(new i=0; i<14; i++)
		{
		    PlayerInfo[playerid][pVVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pVVeh], i);
		}
		GetVehiclePos(PlayerInfo[playerid][pVVeh],PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
		GetVehicleZAngle(PlayerInfo[playerid][pVVeh],PlayerInfo[playerid][vVA]);
		DestroyVehicle(PlayerInfo[playerid][pVVeh]);
		PlayerInfo[playerid][pVVeh] = CreateVehicle(PlayerInfo[playerid][vVModel], PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ],PlayerInfo[playerid][vVA],PlayerInfo[playerid][vVC1],PlayerInfo[playerid][vVC2],32000);
		SetVehicleVirtualWorld(PlayerInfo[playerid][pVVeh], GetPlayerVirtualWorld(playerid));
   		LinkVehicleToInterior(PlayerInfo[playerid][pVVeh], GetPlayerInterior(playerid));
	    ChangeVehiclePaintjob(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVPJ]);
		for(new i=0; i<14; i++)
		{
		    AddVehicleComponent(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][pVVehMod][i]);
		}
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	{
		for(new i=0; i<14; i++)
		{
		    PlayerInfo[playerid][pBVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pBVeh], i);
		}
		GetVehiclePos(PlayerInfo[playerid][pBVeh],PlayerInfo[playerid][vBX], PlayerInfo[playerid][vBY], PlayerInfo[playerid][vBZ]);
		GetVehicleZAngle(PlayerInfo[playerid][pBVeh],PlayerInfo[playerid][vBA]);
		DestroyVehicle(PlayerInfo[playerid][pBVeh]);
		PlayerInfo[playerid][pBVeh] = CreateVehicle(PlayerInfo[playerid][vBModel], PlayerInfo[playerid][vBX], PlayerInfo[playerid][vBY], PlayerInfo[playerid][vBZ],PlayerInfo[playerid][vBA],PlayerInfo[playerid][vBC1],PlayerInfo[playerid][vBC2],32000);
		SetVehicleVirtualWorld(PlayerInfo[playerid][pBVeh], GetPlayerVirtualWorld(playerid));
   		LinkVehicleToInterior(PlayerInfo[playerid][pBVeh], GetPlayerInterior(playerid));
	    ChangeVehiclePaintjob(PlayerInfo[playerid][pBVeh], PlayerInfo[playerid][vBPJ]);
		for(new i=0; i<14; i++)
		{
		    AddVehicleComponent(PlayerInfo[playerid][pBVeh], PlayerInfo[playerid][pBVehMod][i]);
		}
	}
	return 1;
}

CMD:engine(playerid, params[])
{
    new engine, lights, alarm, doors, bonnet, boot, objective, vehicleid, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
	if(vehicleid == 509 || vehicleid == 481 || vehicleid == 510) return SendClientMessage(playerid, COLOR_GREY, "Bicycles have no engine.");
	vehicleid = GetPlayerVehicleID(playerid);
	GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
	if(!engine)
	{
	    SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
	    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	    {SetVehicleParamsEx(vehicleid, 1, lights, alarm, PlayerInfo[playerid][vLocked], bonnet, boot, objective);}
	    else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	    {SetVehicleParamsEx(vehicleid, 1, lights, alarm, PlayerInfo[playerid][vVLocked], bonnet, boot, objective);}
	    else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	    {SetVehicleParamsEx(vehicleid, 1, lights, alarm, PlayerInfo[playerid][vBLocked], bonnet, boot, objective);}
 		format(string, sizeof(string), "* %s turns the key's engine on.", RPN(playerid));
		if(PlayerInfo[playerid][pMaskOn] == 1)
		{
	        format(string, sizeof(string), "* Stranger turns the vehicle's engine on.");
		}
		else
		{
			format(string, sizeof(string), "* %s turns the vehicle's engine on.", RPN(playerid));
		}
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else
	{
	    SetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective);
	    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	    {SetVehicleParamsEx(vehicleid, 0, lights, alarm, PlayerInfo[playerid][vLocked], bonnet, boot, objective);}
	    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	    {SetVehicleParamsEx(vehicleid, 0, lights, alarm, PlayerInfo[playerid][vVLocked], bonnet, boot, objective);}
	    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	    {SetVehicleParamsEx(vehicleid, 0, lights, alarm, PlayerInfo[playerid][vBLocked], bonnet, boot, objective);}
	    format(string, sizeof(string), "* %s turns the vehicle's engine off.", RPN(playerid));
 		if(PlayerInfo[playerid][pMaskOn] == 1)
		{
	        format(string, sizeof(string), "* Stranger turns the vehicle's engine off.");
		}
		else
		{
			format(string, sizeof(string), "* %s turns the vehicle's engine off.", RPN(playerid));
		}
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	return 1;
}

CMD:tabcheck(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tabcheck[playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(Tabbed[playerb])
    {
	    format(string, sizeof(string), "%d) {FFFFFF}%s (Tabbed for %d seconds)", playerb, RPN(playerb), AltTabbed[playerb]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
    }
    else SendClientMessage(playerid, COLOR_GREY, "Player is not alt-tabbed.");
	return 1;
}

CMD:afkcheck(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tabcheck[playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(IsAFK[playerb])
    {
	    format(string, sizeof(string), "%d) {FFFFFF}%s (AFK for %d seconds)", playerb, RPN(playerb), AFK[playerb]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
    }
    else SendClientMessage(playerid, COLOR_GREY, "Player is not AFK.");
	return 1;
}

CMD:points(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    for(new idx = 0; idx < MAX_POINTS; idx++)
	{
	    format(string, sizeof(string), "%d) %s | Owned by: %s | Profit: $%d | Time Left: %d", idx+1, PointInfo[idx][pName], RFaN(PointInfo[idx][pOwner]), PointInfo[idx][pProfit], PointInfo[idx][pTime]);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	return 1;
}

CMD:familyhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    SendClientMessage(playerid, COLOR_YELLOW, "FAMILY: {FFFFFF}/f /families");
   	if(PlayerInfo[playerid][pFamRank] >= 5) SendClientMessage(playerid, COLOR_YELLOW, "FAMILY LEADER: {FFFFFF}/capture /frank /finvite /funinvite /famedit /safe");
	return 1;
}


CMD:capture(playerid, params[])
{
	new string[128], done;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pFamRank] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not a family leader.");
	for(new idx = 0; idx < MAX_POINTS; idx++)
	{
		if(IsPlayerInRangeOfPoint(playerid, 1, PointInfo[idx][pX], PointInfo[idx][pY], PointInfo[idx][pZ]))
		{
		    if(Capturing) return SendClientMessage(playerid, COLOR_GREY, "Please wait for the point capturing to cool down.");
		    format(string, sizeof(string), " %s is attempting to capture the %s.", RPN(playerid), PointInfo[idx][pName]);
		    SendNearbyMessage(playerid, 30, string, COLOR_ORANGE, COLOR_ORANGE, COLOR_ORANGE, COLOR_ORANGE, COLOR_ORANGE);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Stay in your position for 10 seconds to make the capture attempt succeed.");
            Capturing = 1;
            GetPlayerPos(playerid, Capture[0], Capture[1], Capture[2]);
            Capturer = playerid;
            CapturerFam = idx;
			SetTimerEx("CapturePoint", 10000, false, "dd", Capturer, CapturerFam);
		    done = 1;
		    break;
		}
    }
    if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a capturable point.");
	return 1;
}

CMD:frank(playerid, params[])
{
	new playerb, rank, string[128], idx = PlayerInfo[playerid][pFam];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pFamRank] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not a family leader.");
	if(sscanf(params, "ui", playerb, rank)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /frank [playerid] [rank]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't change your rank.");
	if(PlayerInfo[playerid][pFamRank] < PlayerInfo[playerb][pFamRank]) return SendClientMessage(playerid, COLOR_GREY, "You can't demote higher ranked members.");
    if(PlayerInfo[playerid][pFamRank] == PlayerInfo[playerb][pFamRank] && strcmp(RPN(playerid), FamInfo[idx][fLeader], false)) return SendClientMessage(playerid, COLOR_GREY, "You can't promote/demote same ranked members.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFam] != PlayerInfo[playerid][pFam]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your family.");
	if(rank < 1 || rank > 6) return SendClientMessage(playerid, COLOR_GREY, "Ranks are between 1 and 6.");
	if(PlayerInfo[playerb][pFamRank] == rank) return SendClientMessage(playerid, COLOR_GREY, "Player already has that rank.");
	if(PlayerInfo[playerb][pFamRank] < rank)
	{
	    PlayerInfo[playerb][pFamRank] = rank;
		format(string, sizeof(string), "You have {33AA33}promoted {33CCFF}%s to {33AA33}%s (%d){33CCFF}.", RPN(playerb), RPFaRN(playerb), rank);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), "%s has {33AA33}promoted {33CCFF}you to {33AA33}%s (%d){33CCFF}.", RPN(playerid), RPFaRN(playerb), rank);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	else if(PlayerInfo[playerb][pFamRank] > rank)
	{
	    PlayerInfo[playerb][pFamRank] = rank;
		format(string, sizeof(string), "You have {FF9900}demoted {33CCFF}%s to {FF9900}%s (%d){33CCFF}.", RPN(playerb), RPFaRN(playerb), rank);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), "%s has {FF9900}demoted {33CCFF}you to {FF9900}%s (%d){33CCFF}.", RPN(playerid), RPFaRN(playerb), rank);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	return 1;
}

CMD:families(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	for(new idx=1; idx<MAX_FAMILIES; idx++)
	{
	    format(string, sizeof(string), "%d) Name: %s | Leader: %s | Members: %d | Strikes: %d", idx, FamInfo[idx][fName], FamInfo[idx][fLeader], FamInfo[idx][fMembers], FamInfo[idx][fStrikes]);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	return 1;
}

CMD:safe(playerid, params[])
{
	new amount, string[128], options[32];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFam]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a family.");
	new idx = PlayerInfo[playerid][pFam];
	if(!IsPlayerInRangeOfPoint(playerid, 3, FamInfo[idx][fSafeX], FamInfo[idx][fSafeY], FamInfo[idx][fSafeZ])) return SendClientMessage(playerid, COLOR_GREY, "You are not near your family safe.");
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /safe [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: deposit | withdraw");
		format(string, sizeof(string), "SAFE: Money: $%d | Materials: %d | Weed: %d | Crack: %d", FamInfo[idx][fMoney], FamInfo[idx][fMats], FamInfo[idx][fWeed], FamInfo[idx][fCrack]);
		SendClientMessage(playerid, COLOR_WHITE, string);
		return 1;
	}
	if(!strcmp(params, "deposit", true, 7))
	{
	    if(sscanf(params, "s[32]s[32]i", params, options, amount))
	    {
	    	SendClientMessage(playerid, COLOR_WHITE, "USAGE: /safe deposit [item] [amount]");
			SendClientMessage(playerid, COLOR_GREY, "ITEMS: money | materials | weed | crack");
			return 1;
	    }
	    if(amount < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid amount.");
        if(!strcmp(options, "money", true, 5))
    	{
            if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
            FamInfo[idx][fMoney] += amount;
			GiveZaiatMoney(playerid, -amount);
            format(string, sizeof(string), "* %s has deposited $%d in their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
        else if(!strcmp(options, "materials", true, 9))
		{
            if(PlayerInfo[playerid][pMaterials] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much materials on you.");
            FamInfo[idx][fMats] += amount;
            PlayerInfo[playerid][pMaterials] -= amount;
            format(string, sizeof(string), "* %s has deposited %d grams of materials in their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
        else if(!strcmp(options, "weed", true, 4))
		{
            if(PlayerInfo[playerid][pWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed on you.");
            FamInfo[idx][fWeed] += amount;
            PlayerInfo[playerid][pWeed] -= amount;
            format(string, sizeof(string), "* %s has deposited %d grams of weed in their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
        else if(!strcmp(options, "crack", true, 5))
        {
            if(PlayerInfo[playerid][pCrack] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much crack on you.");
            FamInfo[idx][fCrack] += amount;
            PlayerInfo[playerid][pCrack] -= amount;
            format(string, sizeof(string), "* %s has deposited %d grams of crack in their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
        else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	}
	else if(!strcmp(params, "withdraw", true, 8))
	{
	    if(PlayerInfo[playerid][pFamRank] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(sscanf(params, "s[32]s[32]i", params, options, amount))
	    {
	    	SendClientMessage(playerid, COLOR_WHITE, "USAGE: /safe withdraw [item] [amount]");
			SendClientMessage(playerid, COLOR_GREY, "ITEMS: money | materials | weed | crack");
			return 1;
	    }
	    if(amount < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid amount.");
	    if(!strcmp(options, "money", true, 5))
	    {
            if(FamInfo[idx][fMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money in your family safe.");
            FamInfo[idx][fMoney] -= amount;
            GiveZaiatMoney(playerid, amount);
            format(string, sizeof(string), "* %s has withdrawn $%d from their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		}
		else if(!strcmp(options, "materials", true, 9))
		{
            if(FamInfo[idx][fMats] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much materials in your family safe.");
            FamInfo[idx][fMats] -= amount;
            PlayerInfo[playerid][pMaterials] += amount;
            format(string, sizeof(string), "* %s has withdrawn %d grams of materials from their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		}
		else if(!strcmp(options, "weed", true, 4))
		{
            if(FamInfo[idx][fWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed in your family safe.");
            FamInfo[idx][fWeed] -= amount;
            PlayerInfo[playerid][pWeed] += amount;
            format(string, sizeof(string), "* %s has withdrawn %d grams of weed from their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		}
        else if(!strcmp(options, "crack", true, 5))
        {
            if(FamInfo[idx][fCrack] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much crack in your family safe.");
            FamInfo[idx][fCrack] -= amount;
            PlayerInfo[playerid][pCrack] += amount;
            format(string, sizeof(string), "* %s has withdrawn %d grams of crack from their family safe.", RPN(playerid), amount);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
        else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	}
	else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	return 1;
}

CMD:f(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFam]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a family.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/f)amilychat [text]");
	if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "** [FAM] (%d) %s %s: %s", PlayerInfo[playerid][pFamRank], RPFaRN(playerid), NORPN(playerid), params);
	SendPlayerFamMessage(playerid, COLOR_CYAN, string);
	return 1;
}

CMD:famedit(playerid, params[])
{
	new string[128], option[32], idx, skin, skinid;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pFamRank] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	idx = PlayerInfo[playerid][pFam];
	if(sscanf(params, "s[32]", option))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: name | rankname | safe | motd | skin");
		return 1;
	}
    if(!strcmp(option, "name", true, 4))
    {
	    if(sscanf(params, "s[32]s[32]", option, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit name [name]");
		format(FamInfo[idx][fName], 32, "%s", params);
		format(string, sizeof(string), " You have set your family's name to {33AA33}%s", params);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), "%s's Safe", FamInfo[idx][fName]);
    	UpdateDynamic3DTextLabelText(FamInfo[idx][fText], COLOR_WHITE, string);
	}
    else if(!strcmp(option, "rankname", true, 8))
    {
        new rank;
    	if(sscanf(params, "s[32]is[32]", option, rank, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit rankname [rank] [name]");
		if(rank < 0 || rank > 6) return SendClientMessage(playerid, COLOR_GREY, "Family ranks are between 1 and 6.");
		switch(rank)
		{
		    case 1: format(FamInfo[idx][fRank1], 32, "%s", params);
		    case 2: format(FamInfo[idx][fRank2], 32, "%s", params);
		    case 3: format(FamInfo[idx][fRank3], 32, "%s", params);
			case 4: format(FamInfo[idx][fRank4], 32, "%s", params);
			case 5: format(FamInfo[idx][fRank5], 32, "%s", params);
			case 6: format(FamInfo[idx][fRank6], 32, "%s", params);
		}
		format(string, sizeof(string), " You have set your family rank %d's name to {33AA33}%s", rank, params);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    }
   	else if(!strcmp(option, "safe", true, 4))
    {
        new confirm[8];
    	if(PlayerInfo[playerid][pFamRank] < 6) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
        if(FamInfo[idx][fSafeX] != 0 && FamInfo[idx][fSafeY] != 0 && FamInfo[idx][fSafeZ] != 0)
		{
		    // SSCANF Check
		    if(sscanf(params, "s[32]s[8]", option, confirm))
		    {
		    	SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit safe confirm");
		    	SendClientMessage(playerid, COLOR_LIGHTRED, " Changing your family's safe location will cost $50,000.");
		    	return 1;
		    }
		    // Confirm Check
		    if(strcmp(confirm, "confirm", true, 8))
		    {
		    	SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit safe confirm");
		    	SendClientMessage(playerid, COLOR_LIGHTRED, " Changing your family's safe location will cost $50,000.");
		    	return 1;
		    }
		    // Money Check
		    if(PlayerInfo[playerid][pMoney] < 50000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you. ($50,000)");
		    GiveZaiatMoney(playerid, -50000);
		}
		GetPlayerPos(playerid,FamInfo[idx][fSafeX], FamInfo[idx][fSafeY], FamInfo[idx][fSafeZ]);
        DestroyDynamicPickup(FamInfo[idx][fPickup]);
	    FamInfo[idx][fPickup] = CreateDynamicPickup(1239, 1, FamInfo[idx][fSafeX], FamInfo[idx][fSafeY], FamInfo[idx][fSafeZ], -1);
		DestroyDynamic3DTextLabel(FamInfo[idx][fText]);
		format(string, sizeof(string), "%s's Safe", FamInfo[idx][fName]);
    	FamInfo[idx][fText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, FamInfo[idx][fSafeX], FamInfo[idx][fSafeY], FamInfo[idx][fSafeZ]+0.3, 15);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have set your family's safe location.");
    }
    else if(!strcmp(option, "motd", true, 4))
    {
		if(sscanf(params, "s[32]s[32]", option, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit motd [motd]");
		format(FamInfo[idx][fMOTD], 64, "%s", params);
		format(string, sizeof(string), "FAMILY MOTD: {FFFFFF}%s", FamInfo[PlayerInfo[playerid][pFam]][fMOTD]);
   		SendPlayerFamMessage(playerid, COLOR_LIGHTRED, string);
    }
    else if(!strcmp(option, "skin", true, 4))
    {
	    if(sscanf(params, "s[32]ii", option, skin, skinid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /famedit skin [skinslot] [skinid]");
		if(skin < 1 || skin > 7) return SendClientMessage(playerid, COLOR_GREY, "Skin slots are between 1 and 7.");
		skin = skin-1;
		FamInfo[idx][fSkins][skin] = skinid;
		format(string, sizeof(string), "Family: skin slot %d setted to skin %d.", skin+1, skinid);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		return 1;
	}
    else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	return 1;
}

/*CMD:updates(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    new string[128];
	SendClientMessage(playerid, COLOR_YELLOW, "______________________________________________");
	format(string, sizeof(string), "Version: %s - Updates by: %s", SERVER_GM_TEXT, SERVER_GM_UPDATER);
	SendClientMessage(playerid, COLOR_YELLOW, string);
	SendClientMessage(playerid, COLOR_WHITE, "* Added: Dynamic gates system settable by admins IG, /gatehelp for general commands.");
	SendClientMessage(playerid, COLOR_WHITE, "* Changed: Tutorial has a new camera movement style.");
	SendClientMessage(playerid, COLOR_WHITE, "* Changed: VIP bonus changed from 5 hours needed to 12 hours.");
	SendClientMessage(playerid, COLOR_YELLOW, "______________________________________________");
	return 1;
}*/

CMD:id(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /id [playerid]");
	if(!IsPlayerLoggedIn(playerb) && !IsPlayerNPC(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	format(string, sizeof(string), " %s - ID: %d", RPN(playerb), playerb);
	SendClientMessage(playerid, COLOR_GREY, string);
	return 1;
}

CMD:changepass(playerid, params[])
{
	new file[32], string[128], password[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[64]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /changepass [password]");
	//if(strlen(params) > 6) return SendClientMessage(playerid, COLOR_GREY, "Password can't be shorter than 6 characters.");
	//if(strlen(params) < 256) return SendClientMessage(playerid, COLOR_GREY, "Password can't be longer than 256 characters.");
	format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	WP_Hash(password, sizeof(password), params);
	dini_Set(file, "Password", password);
	format(string, sizeof(string), " You have changed your password to: {FF6347}%s", params);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}


/*CMD:search(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[32]", params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /search  [location]");
	    SendClientMessage(playerid, COLOR_GREY, "LOCATIONS: Off | Bank | TruckerJob | DMV | DrugsHouse | CrackLab | DrugsPickup | MaterialsPickup | MaterialsDropoff | TelecomCompany");
	    SendClientMessage(playerid, COLOR_GREY, "LOCATIONS: Dealership | FuelCompany | MechanicJob | Cityhall | MechanicJob ");

	    return 1;
	}
	if(!strcmp(params, "off", true))
	{
	     DisablePlayerCheckpoint(playerid);
	     SendClientMessage(playerid, COLOR_WHITE, "You have cleared the marker on your map.");
	}
	else if(!strcmp(params, "bank", true))
	{
	     SetPlayerCheckpoint(playerid, 1462.4095,-1011.1602,26.8438, 3);
	     SendClientMessage(playerid, COLOR_WHITE, "The bank is now marked on your map.");
	}
	else if(!strcmp(params, "mechanicjob", true))
	{
	    SetPlayerCheckpoint(playerid, 2330.0693,-2315.4709,13.5469,3);
	    SendClientMessage(playerid, COLOR_WHITE, "The Mechanic Job is now marked on your map");
	}
	else if(!strcmp(params,"truckerjob", true))
	{
	    SetPlayerCheckpoint(playerid, 919.4667,-1252.2340,16.2109, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The trucker job is now marked on your map.");
	}
	else if(!strcmp(params,"cityhall", true))
	{
	    SetPlayerCheckpoint(playerid, 1515.2551,-1666.3148,14.0469, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The cityhall is now marked on your map.");
	}
	else if(!strcmp(params,"dmv", true))
	{
	    SetPlayerCheckpoint(playerid, 2045.6119,-1908.0552,13.5469, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The dmv is now marked on your map.");
	}
	else if(!strcmp(params,"drugshouse", true))
	{
	    SetPlayerCheckpoint(playerid, 2166.1372,-1671.5070,15.0737, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The drugs house is now marked on your map.");
	}
	else if(!strcmp(params,"cracklab", true))
	{
	    SetPlayerCheckpoint(playerid, 2351.9863,-1170.1771,28.0509, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The crack lab is now marked on your map.");
	}
	else if(!strcmp(params,"drugspickup", true))
	{
	    SetPlayerCheckpoint(playerid, 2939.4932,-2051.5911,3.5480, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The drugs pickup is now marked on your map.");
	}
	else if(!strcmp(params,"materialsdropoff", true))
	{
	    SetPlayerCheckpoint(playerid, 2172.4944,-2264.0750,13.3399, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The materials dropoff is now marked on your map.");
	}
	else if(!strcmp(params,"materialspickup", true))
	{
	    SetPlayerCheckpoint(playerid, 1423.6010,-1317.9398,13.5547, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The materials pickup is now marked on your map.");
	}
	else if(!strcmp(params, "TelecomCompany", true))
	{
	    SetPlayerCheckpoint(playerid, 1154.1257,-1180.9600,32.8187, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The telecom company is now marked on your map.");
	}
	else if(!strcmp(params, "Dealership", true))
	{
	    SetPlayerCheckpoint(playerid, 545.6661,-1292.2437,17.2422, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The Vehicles Dealership is now marked on your map.");
	}
	else if(!strcmp(params, "FuelCompany", true))
	{
	    SetPlayerCheckpoint(playerid, 246.585403,1410.487182,23.370300, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The FuelCompany is now marked on your map.");
	}
	else if(!strcmp(params, "MechanicJob", true))
	{
	    SetPlayerCheckpoint(playerid, 2330.0693,-2315.4709,13.5469, 3);
	    SendClientMessage(playerid, COLOR_WHITE, "The Mechanic Job is now marked on your map.");
	}
	return 1;
}*/

CMD:search(playerid, params[])
{
 	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	ShowPlayerDialog(playerid, DIALOGGPS,DIALOG_STYLE_LIST, "GPS Locations", "Off\nBank\nMechanic Job\nTrucker Job\nCityhall\nDMV\nDrugs House\nCrack Lab\nDrugs Pickup\nMaterials Dropoff\nMaterials Pickup\nTelecom Company\nDealership\nFuel Company\nMechanic Job\nV.I.P","OK","Cancel");
	return 1;
}

CMD:searchjob(playerid, params[])
{
 	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	ShowPlayerDialog(playerid, DIALOGGPSJOB,DIALOG_STYLE_LIST, "Job Locations (Not all located)", "Off\nMechanic\nLawyer\nTrucker\nWeapons Smuggler\nWeapons Dealer\nDrugs Dealer\nDrugs Smuggler\nBodyguard\nHarvest","OK","Cancel");
	return 1;
}


CMD:drop(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[32]", params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop [item]");
		SendClientMessage(playerid, COLOR_GREY, "ITEMS: weapon | weapons | materials | weed | crack | packages | fishes");
	    return 1;
	}
	if(!strcmp(params, "weapons", true, 7))
	{
	    new confirm[8];
		if(sscanf(params, "s[32]s[8]", params, confirm)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop weapons confirm");
		if(!strcmp(confirm, "confirm", true))
		{
		    format(string, sizeof(string), "* %s throws away all their weapons.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			ResetZaiatWeapons(playerid);
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
		}
	}
	else if(!strcmp(params, "weapon", true, 6))
	{
    	if(GetPlayerWeapon(playerid) == 0) return SendClientMessage(playerid, COLOR_GREY, "You are not holding a weapon in your hand.");
	    format(string, sizeof(string), "* %s throws away their %s.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		RemoveZaiatWeapon(playerid, GetPlayerWeapon(playerid));
		PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	}
	else if(!strcmp(params, "materials", true, 9))
	{
	    new confirm[8];
		if(sscanf(params, "s[32]s[8]", params, confirm)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop materials confirm");
		if(!strcmp(confirm, "confirm", true))
		{
		    PlayerInfo[playerid][pMaterials] = 0;
		    format(string, sizeof(string), "* %s has thrown away all their materials.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
		}
	}
	else if(!strcmp(params, "weed", true, 4))
	{
	    new confirm[8];
		if(sscanf(params, "s[32]s[8]", params, confirm)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop weed confirm");
		if(!strcmp(confirm, "confirm", true))
		{
		    PlayerInfo[playerid][pWeed] = 0;
		    format(string, sizeof(string), "* %s has thrown away all their weed.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
		}
	}
	else if(!strcmp(params, "crack", true, 5))
	{
	    new confirm[8];
		if(sscanf(params, "s[32]s[8]", params, confirm)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop crack confirm");
		if(!strcmp(confirm, "confirm", true))
		{
		    PlayerInfo[playerid][pCrack] = 0;
		    format(string, sizeof(string), "* %s has thrown away all their crack.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
		}
	}
	else if(!strcmp(params, "packages", true, 8))
	{
	    new confirm[8], veh;
		if(sscanf(params, "s[32]s[8]", params, confirm)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop packages confirm");
		if(!strcmp(confirm, "confirm", true))
		{
		    PlayerInfo[playerid][pTPackages] = 0;
		    PlayerInfo[playerid][pMPackages] = 0;
		    PlayerInfo[playerid][pDPackages] = 0;
		    veh = PlayerInfo[playerid][pDeliverTruck];
		    PlayerInfo[playerid][pDeliverTruck] = -1;
		    TruckPackages[veh] = -1;
		    format(string, sizeof(string), "* %s has thrown away all their packages.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
		}
	}
	else if(!strcmp(params, "fishes", true, 6))
	{
	    new confirm[8];
		if(sscanf(params, "s[32]s[8]", params, confirm)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /drop fishes confirm");
		if(!strcmp(confirm, "confirm", true))
		{
		    for(new i=0; i<5; i++)
		    {
		    	PlayerInfo[playerid][pFish][i] = 0;
			}
		    format(string, sizeof(string), "* %s has thrown away all their fishes.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
		}
	}
	return 1;
}


CMD:pay(playerid, params[])
{
	new string[128], playerb, amount;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pay [playerid] [amount]");
	if(amount <= 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	if(amount > 2000 && PlayerInfo[playerid][pLevel] < 4) return SendClientMessage(playerid, COLOR_GREY, "You need to be level 4 to give someone more than $2000.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't pay money to yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "You must be at least level 2 to give someone money.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much on you right now.");
	GiveZaiatMoney(playerid, -amount);
	GiveZaiatMoney(playerb, amount);
	format(string, sizeof(string), "* %s takes out their wallet and gives %s some money.", RPN(playerid), RPN(playerb), amount);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), " You have given %s $%d.", RPN(playerb), amount);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has given you $%d.", RPN(playerid), amount);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "%s has given %s $%d.",RPN(playerid), RPN(playerb), amount);
	Log("logs/pay.log", string);
	return 1;
}

CMD:paycheck(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	format(string, sizeof(string), "* You have played for %d minutes in the past hour.", PlayerInfo[playerid][pMinutes]);
	if(PlayerInfo[playerid][pMinutes] < 40) SendClientMessage(playerid, COLOR_LIGHTRED, string);
	else SendClientMessage(playerid, COLOR_LIME, string);
	format(string, sizeof(string), "* You need to play for at least 40 minutes every hour to recieve a paycheck.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:wire(playerid, params[])
{
	new string[128], playerb, amount;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wire [playerid] [amount]");
	if(amount <= 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	if(PlayerInfo[playerid][pLevel] < 4) return SendClientMessage(playerid, COLOR_GREY, "You need to be level 4 to wire someone money.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't wire money to yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pBank] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much in your bank account right now.");
	PlayerInfo[playerid][pBank] -= amount;
	PlayerInfo[playerb][pBank] += amount;
	format(string, sizeof(string), " You have wired $%d to %s, your bank balance is now: $%d.", amount, RPN(playerb), PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "[Bank]: %s has wired you $%d, your bank balance is now: $%d.", RPN(playerid), amount, PlayerInfo[playerb][pBank]);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "%s has wired %s $%d", RPN(playerid), RPN(playerb), amount);
	Log("logs/pay.log", string);
	return 1;
}

CMD:withdraw(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /withdraw [amount]");
	if(amount > PlayerInfo[playerid][pBank]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money in your bank account.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	PlayerInfo[playerid][pBank] -= amount;
	GiveZaiatMoney(playerid, amount);
	format(string, sizeof(string), " You have withdrawn $%d from your bank account, your bank balance is now: $%d.", amount, PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:deposit(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deposit [amount]");
	if(amount > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	PlayerInfo[playerid][pBank] += amount;
	GiveZaiatMoney(playerid, -amount);
	format(string, sizeof(string), " You have deposited $%d into your bank account, your bank balance is now: $%d.", amount, PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:serverstats(playerid, params[])
{
	new string[128], housescreated, bizcreated, mapiconscreated, garagescreated;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_ORANGE, "- Real Life Roleplay Statistics:");
	for(new idx; idx<MAX_HOUSES; idx++)
	{
	    if(HouseInfo[idx][hLevel]) housescreated++;
	}
	format(string, sizeof(string), " %d Houses Created [MAX HOUSES = %d]", housescreated, MAX_HOUSES-1);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	for(new idx; idx<MAX_BIZ; idx++)
	{
	    if(BizInfo[idx][bType]) bizcreated++;
	}
	format(string, sizeof(string), " %d Businesses Created [MAX BIZ = %d]", bizcreated, MAX_BIZ-1);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	for(new idx; idx<MAX_GARAGES; idx++)
	{
	    if(GarageInfo[idx][gLevel]) garagescreated++;
	}
	format(string, sizeof(string), " %d Garages Created [MAX GARAGES = %d]", garagescreated, MAX_GARAGES-1);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	for(new idx; idx<MAX_MAPICONS; idx++)
	{
	    if(MapIconInfo[idx][mpType]) mapiconscreated++;
	}
	format(string, sizeof(string), " %d Mapicons Created [MAX MAPICONS = %d]", mapiconscreated, MAX_MAPICONS);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), " %d Advertisements Queued [MAX ADS = %d]", AdQueue, MAX_ADS);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	return 1;
}

CMD:reportbug(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportbug [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(strlen(params) > 128) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters limit is 128.");
	new File: file = fopen("bugs.cfg", io_append), string[128];
	format(string, sizeof(string), "[%s] %s\r\n", RPN(playerid), params);
	fwrite(file, string);
	fclose(file);
	SendClientMessage(playerid, COLOR_ORANGE, "Your bug report has been saved, scripters will check it once possible.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has reported a bug, /bugs to view it. (Inform To Alex,Garfield, or Anyother Server Manager ASAP", RPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

/*CMD:addban(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /addban [playername]");
	if(strlen(params) > 128) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters limit is 128.");
	new File: file = fopen("banlist.cfg", io_append), string[128];
	format(string, sizeof(string), "[%s] %s\r\n", RPN(playerid), params);
	fwrite(file, string);
	fclose(file);
	return 1;
}*/

CMD:reportidea(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportidea [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(strlen(params) > 128) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters limit is 128.");
	new File: file = fopen("ideas.cfg", io_append), string[128];
	format(string, sizeof(string), "[%s] %s\r\n", RPN(playerid), params);
	fwrite(file, string);
	fclose(file);
	SendClientMessage(playerid, COLOR_ORANGE, "Your idea report has been saved, scripters will check it once possible.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has reported a idea, /ideas to view it. (Inform To Alex,Garfield, or Anyother Server Manager ASAP)", NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:storm(playerid, params[])
{
	if(PlayerInfo[playerid][pFac] < 4)
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
		return 1;
	}
	new weather;
	if(sscanf(params, "d", weather)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /storm [weatherid]");

	if(weather < 0||weather > 50) { SendClientMessage(playerid, COLOR_GREY, "   Weather ID can't be below 0 or above 50!"); return 1; }
	SetWeather(weather);
	SendClientMessage(playerid, COLOR_GREY, "The Weather Forecast is changed");
	return 1;
}

CMD:factionhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a faction.");
	// SAPD
	if(IsACop(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "LSPD: {FFFFFF}/r /d /m /tazer /cuff /uncuff /detain /track /door /gate /locker /showbadge /frisk /createspike /removespike /removespikes");
	if(IsACop(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "LSPD: {FFFFFF}/checkload /siren /ticket /wanted /mdc /su /arrest /members /quitfaction /deploycade /destroycade /take /badge /checkbelt");
	if(IsACop(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "LSPD: {FFFFFF}/backup /deployflare /destroyflare /deploycone /destroycone /defuse /or /od /drag /traffic /res /placeradar /removeradar /checkspeed");
	if(PlayerInfo[playerid][pFacDivLeader]) SendClientMessage(playerid, COLOR_YELLOW, "LSPD DIVISION LEADER: {FFFFFF}/dinvite /duninvite /ram");
	if(IsACop(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "LSPD FACTION LEADER: {FFFFFF}/gov(m) /invite /uninvite /setrank /adjustrankname /setdivision /adjustdivisionname /facpay");
	// Government
	if(IsAGov(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "GOV: {FFFFFF}/r /d /showbadge /deploycade /destroycade /siren /tazer /deploycone /destroycone /or /od /members /m /placeradar /removeradar /checkspeed");
	if(IsAGov(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "GOV FACTION LEADER: {FFFFFF}/settax /taxvault /taxwithdraw /taxdeposit /gov /invite /uninvite /setrank /adjustrankname /facpay");
	// Hitman Agency
	if(IsAHitman(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "HA: {FFFFFF}/ha /contracts /profile /track /order (Jeff Church) /givehit /hitmansms /hbadge");
	if(IsAHitman(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "HA: {FFFFFF}/plant /explode /members");
	if(IsAHitman(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "HA FACTION LEADER: {FFFFFF}/invite /uninvite /setrank /adjustrankname /facpay");
	// News Agency
	if(IsAReporter(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "NA: {FFFFFF}/na /news /live /storm /members");
	if(IsAReporter(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "NA FACTION LEADER: {FFFFFF}/invite /uninvite /setrank /adjustrankname /newsvault /vaultwithdraw /facpay");
	// Leone
	if(IsALeone(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "Leone: {FFFFFF}/ofac /lcolor /members");
	if(IsALeone(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "LEONE FACTION LEADER: {FFFFFF}/invite /uninvite /setrank /adjustrankname /facpay");
	// FBI
	if(IsAFBI(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "FBI: {FFFFFF}/r /fd /m /tazer /cuff /uncuff /detain /track /locker /fbibadge /frisk /createspike /removespike /removespikes");
	if(IsAFBI(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "FBI: {FFFFFF}/checkload /siren /ticket /wanted /mdc /su /arrest /members /quitfaction /deploycade /destroycade /take /badge /checkbelt");
	if(IsAFBI(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "FBI: {FFFFFF}/fbackup /deployflare /destroyflare /deploycone /destroycone /defuse /or /fod /cuffgo /fbidoor /drag /stopdrag /ram /res /placeradar /removeradar /checkspeed");
	if(IsAFBI(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "FBI FACTION LEADER: {FFFFFF}/gov(m) /invite /uninvite /setrank /adjustrankname /facpay");
	// LSEMS
	if(IsALSEMS(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "LSEMS: {FFFFFF}/track /r /d /m /showbadge /locker /or /od /members /health /siren");
	if(IsALSEMS(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "LSEMS FACTION LEADER: {FFFFFF}/gov(m) /invite /uninvite /setrank /adjustrankname /facpay");
	// HSF
	if(IsAHSF(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "HSF: {FFFFFF}/r /d /m /showbadge /locker /or /od /tazer /members /track /siren /ticket /(un)cuff /mdc /cuffgo /arrest /drag /stopdrag /detain /placeradar /removeradar /checkspeed");
	if(IsAHSF(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "HSF: {FFFFFF}/traffic /ram /backup /res /deploycade /destroycade");
	if(IsAHSF(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "HSF FACTION LEADER: {FFFFFF}/gov(m) /invite /uninvite /setrank /adjustrankname /facpay");
	// Corleone
	if(IsACorleone(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "Corleone: {FFFFFF}/(o)fac /locker /members");
	if(IsACorleone(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "Corleone FACTION LEADER: {FFFFFF}/invite /uninvite /setrank /adjustrankname /facpay");
	// Ancelotti
	if(IsAAncelotti(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "Ancelotti: {FFFFFF}/(o)fac /members");
	if(IsAAncelotti(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "SWAT FACTION LEADER: {FFFFFF}/invite /uninvite /setrank /adjustrankname /facpay");
	// Special Weapons And Tactics
	if(IsASWAT(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "SWAT: {FFFFFF}/or /r /od /d /m /tazer /cuff /uncuff /cuffgo /track /showbadge /createspike /removespike /removespikes /drag /stopdrag /ram");
	if(IsASWAT(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "SWAT: {FFFFFF}/siren /mdc /ticket /wanted /su /arrest /deploycade /destroycade /traffic /backup /nobackup /placeradar /removeradar /checkspeed /sfbadge");
	if(IsASWAT(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "SWAT FACTION LEADER: {FFFFFF}/gov(m) /invite /uninvite /setrank /adjustrankname /facpay");
	// San Andreas Task Force
	if(IsASATF(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "SATF: {FFFFFF}/or /r /od /d /m /tazer /cuff /uncuff /cuffgo /track /showbadge /createspike /removespike /placeradar /removeradar /checkspeed /removespikes /ram");
	if(IsASATF(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "SATF: {FFFFFF}/siren /mdc /ticket /wanted /su /arrest /deploycade /destroycade /traffic /backup /nobackup /stopdrag /drag");
	if(IsASATF(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "SATF FACTION LEADER: {FFFFFF}/gov(m) /invite /uninvite /setrank /adjustrankname /facpay");
	// East Side Fellas
	if(IsAESF(playerid)) SendClientMessage(playerid, COLOR_YELLOW, "ESF: {FFFFFF}/(o)fac /locker /members");
	if(IsAESF(playerid) && PlayerInfo[playerid][pFacLeader]) SendClientMessage(playerid, COLOR_YELLOW, "ESF FACTION LEADER: {FFFFFF}/invite /uninvite /setrank /adjustrankname /facpay");
	return 1;
}

CMD:facpay(playerid, params[])
{
	new rank, amount, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "ui", rank, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /facpay [rank] [amount]");
	if(amount > 300000) return SendClientMessage(playerid, COLOR_WHITE, "Invalid Amount");
	if(amount <= 0) return SendClientMessage(playerid, COLOR_WHITE, "Invalid Amount");
    new idx = PlayerInfo[playerid][pFac];
	if(PlayerInfo[playerid][pFacLeader])
	switch(rank)
	{
	    case 0:
	    {
	    	FacInfo[idx][fPay1] = amount;
	        format(string, sizeof(string), "You have set rank 1's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 1:
	    {
	        FacInfo[idx][fPay2] = amount;
	        format(string, sizeof(string), "You have set rank 2's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 2:
	    {
	        FacInfo[idx][fPay3] = amount;
	        format(string, sizeof(string), "You have set rank 3's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 3:
	    {
	        FacInfo[idx][fPay4] = amount;
	        format(string, sizeof(string), "You have set rank 4's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
     	case 4:
	    {
	        FacInfo[idx][fPay5] = amount;
	        format(string, sizeof(string), "You have set rank 5's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 5:
	    {
	        FacInfo[idx][fPay6] = amount;
	        format(string, sizeof(string), "You have set rank 6's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 6:
	    {
	        FacInfo[idx][fPay7] = amount;
	        format(string, sizeof(string), "You have set rank 7's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 7:
	    {
	        FacInfo[idx][fPay8] = amount;
	        format(string, sizeof(string), "You have set rank 8's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 8:
	    {
	        FacInfo[idx][fPay9] = amount;
	        format(string, sizeof(string), "You have set rank 9's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 9:
	    {
	        FacInfo[idx][fPay10] = amount;
	        format(string, sizeof(string), "You have set rank 10's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 10:
	    {
	        FacInfo[idx][fPay11] = amount;
	        format(string, sizeof(string), "You have set rank 11's pay to %d", amount);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	}
	return 1;
}

/*CMD:gotosfhq(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsASWAT(playerid)) return SendClientMessage(playerid, COLOR_GREY, "This command is restricted to SWAT.");
	SetPlayerInterior(playerid, 0);
	SetPlayerVirtualWorld(playerid, 0);
	SetPlayerPos(playerid,633.0356,-571.5600,16.3359);
	SendClientMessage(playerid, COLOR_WHITE, " You have teleported to Special Force HQ.");	
	return 1;
}*/

CMD:res(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(sscanf(params, "i", playerb)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /res [playerid]");
	if(CalledCops[playerb] != 1)
	{
		SendClientMessage(playerid, COLOR_GREY, "That player has not called for assistance");
		return 1;
	}
	if(IsPlayerConnected(playerb))
	{
		CalledCops[playerb] = 0;
		format(string, sizeof(string), "[SMS FROM] Dispatch: Officer %s is responding to investigate your call. Please remain where you are, (Ph: 911)", RPN(playerid));
		SendClientMessage(playerb, COLOR_YELLOW,string);	
		format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}Officer %s is responding on the call of phone number: %d", RPN(playerid), PlayerInfo[playerb][pCellphone]);
		SendCopMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}Officer %s is responding on the call of phone number: %d", RPN(playerid), PlayerInfo[playerb][pCellphone]);
		SendFBIMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF}Officer %s is responding on the call of phone number: %d", RPN(playerid), PlayerInfo[playerb][pCellphone]);
		SendHSFMessage(COLOR_BLUE, string);
	}
	return 1;
}

CMD:firstaidkit(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerConnected(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsALSEMS(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not a LSEMS Member.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /firstaidkit [playerid]");
	if(!IsPlayerNearPlayer(playerid, playerb, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player."); 
	IsDead[playerb] = 0;
 	SetCameraBehindPlayer(playerb);
  	format(string, sizeof(string), "Medical Service %s revived you, I hope you proud on him.", RPN(playerid));
  	SendClientMessage(playerb, COLOR_GREY, string);
  	format(string, sizeof(string), "Injured Person %s has revived by you.", RPN(playerb));
  	SendClientMessage(playerid, COLOR_GREY, string);
	SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
	TogglePlayerControllable(playerb, 1);
	return 1;
}

CMD:setfightstyle(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	new playerb;
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params,"us[32]", playerb, params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setfightstyle [playerid] [1-6]");
	}
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!strcmp(params, "1", true))
	{
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
        SendClientMessage(playerb, COLOR_WHITE, " Your fightstyle have been changed by an administrator.");
     	return 1;
	}
	else if(!strcmp(params, "2", true))
	{
	    SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
	    SendClientMessage(playerb, COLOR_WHITE, " Your fightstyle have been changed by an administrator.");
     	return 1;
	}
	else if (!strcmp(params,"3",true))
	{
            SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
		    SendClientMessage(playerb, COLOR_WHITE, " Your fightstyle have been changed by an administrator.");
		    return 1;
	}
	else if(!strcmp(params, "4", true))
	{
        SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
        SendClientMessage(playerb, COLOR_WHITE, " Your fightstyle have been changed by an administrator.");
     	return 1;
	}
	else if(!strcmp(params, "5", true))
	{
	    SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
	    SendClientMessage(playerb, COLOR_WHITE, " Your fightstyle have been changed by an administrator.");
     	return 1;
	}
	else if(!strcmp(params, "6", true))
	{
	    SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
	    SendClientMessage(playerb, COLOR_WHITE, " Your fightstyle have been changed by an administrator.");
     	return 1;
	}
	return 1;
}

// LSEMS
CMD:health(playerid, params[])
{

	new string[128], giveplayerid, price;
	if(sscanf(params, "ud", giveplayerid, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /health [playerid] [price]");

	if(price < 200 || price > 1000)
	{
		SendClientMessage(playerid, COLOR_GREY, "Healing price can't below $200 or above $1,000.");
		return 1;
	}
	if (giveplayerid == playerid)
	{
		SendClientMessage(playerid, COLOR_GREY, "You can't heal yourself.");
		return 1;
	}
	if (IsPlayerConnected(giveplayerid))
	{
		new giveambu = GetPlayerVehicleID(giveplayerid);
		new playambu = GetPlayerVehicleID(playerid);
		if(IsALSEMS(playerid))//model
		{
			if ((IsAnAmbulance(playambu) && playambu == giveambu))
			{
				new Float:tempheal;
				GetPlayerHealth(giveplayerid,tempheal);
				if(tempheal >= 100.0)
				{
					SendClientMessage(playerid, COLOR_WHITE,"That person is fully healed.");
					return 1;
				}
				format(string, sizeof(string), "You healed %s for $%d.", RPN(giveplayerid),price);
				SendClientMessage(playerid, COLOR_WHITE, string);
				GiveZaiatMoney(playerid, price / 2);
				GiveZaiatMoney(giveplayerid, - (price / 2));
				PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0);
				PlayerPlaySound(giveplayerid, 1150, 0.0, 0.0, 0.0);
				SetPlayerHealth(giveplayerid, 100);
				format(string, sizeof(string), "You have been healed for -$%d.",price);
				SendClientMessage(giveplayerid, COLOR_WHITE,string);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "One of you is not in the ambulance");
				return 1;
			}
		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
			return 1;
		}
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
	}
	return 1;
}

IsAnAmbulance(carid)
{
	if(GetVehicleModel(carid) == 416)
	{
		return 1;
	}
	return 0;
}
// LSEMS ENDING


CMD:deployflare(playerid, params[])
{
	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI.");
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "You must be on foot to use this command.");
			return 1;
		}
		new string[128], Float:Position[4];
		for(new i; i<MAX_FLARES; i++)
		{
			if(Flares[i] == 0)
			{
				GetPlayerPos(playerid, Position[0], Position[1], Position[2]);
				GetPlayerFacingAngle(playerid, Position[3]);
				Flares[i] = CreateDynamicObject(18728, Position[0], Position[1], Position[2]-2.8, 0.0, 0.0, Position[3]-90.0, 0, 0, 0, 200.0);
				SetPlayerPos(playerid, Position[0], Position[1], Position[2]);
				{
					if(IsACop(playerid) && !IsAFBI(playerid))
					{
					 	format(string, sizeof(string), "LSPD/FBI: %s has created a flare.", RPN(playerid));
 						SendCopMessage(COLOR_BLUE, string);
 						SendFBIMessage(COLOR_BLUE, string);
					}
				}
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "All available flares have been deployed.");
	}
	return 1;
}

CMD:destroyflare(playerid, params[])
{
	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI.");
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "You must be on foot to use this command.");
			return 1;
		}
		new string[128], Float:Position[3];
		for(new i; i<MAX_FLARES; i++)
		{
			GetDynamicObjectPos(Flares[i], Position[0], Position[1], Position[2]);

			if(IsPlayerInRangeOfPoint(playerid, 5.0, Position[0], Position[1], Position[2]))
			{
				DestroyDynamicObject(Flares[i]);
				Flares[i] = 0;
				{
					if(IsACop(playerid) && !IsAFBI(playerid))
					{
					 	format(string, sizeof(string), "LSPD/FBI: %s has destroyed a flare.", RPN(playerid));
 						SendCopMessage(COLOR_BLUE, string);
 						SendFBIMessage(COLOR_BLUE, string);
					}
				}
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "You are not near any flare.");
	}
	return 1;
}

CMD:take(playerid, params[])
{

	   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	   	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
		new string[128], choice[32], giveplayerid, playerb;
		if(sscanf(params, "s[32]u", choice, giveplayerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "USAGE: /take [name] [playerid]");
			SendClientMessage(playerid, COLOR_GREY, "Available names: weapons, weed, crack, driverlicense, firearmslicense, pilotlicense");
			return 1;
		}
		if(strcmp(choice,"weapons",true) == 0)
		{
			if(IsPlayerConnected(giveplayerid))
			{
		 		if(!IsPlayerNearPlayer(playerid, giveplayerid, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
				{
					format(string, sizeof(string), "* Officer %s has taken away %s's weapons.", RPN(playerid), RPN(giveplayerid));
			 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
					ResetPlayerWeapons(giveplayerid);
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
				return 1;
			}
		}
		else if(strcmp(choice,"weed",true) == 0)
		{
			if(IsPlayerConnected(giveplayerid))
			{
		 		if(!IsPlayerNearPlayer(playerid, giveplayerid, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
				{
					format(string, sizeof(string), "* Officer %s has taken away %s's weed.", RPN(playerid), RPN(giveplayerid));
			 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
                    PlayerInfo[giveplayerid][pWeed] = 0;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
				return 1;
			}
		}
		else if(strcmp(choice,"crack",true) == 0)
		{
			if(IsPlayerConnected(giveplayerid))
			{
		 		if(!IsPlayerNearPlayer(playerid, giveplayerid, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
				{
					format(string, sizeof(string), "* Officer %s has taken away %s's crack.", RPN(playerid), RPN(giveplayerid));
			 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
                    PlayerInfo[giveplayerid][pCrack] = 0;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
				return 1;
			}
		}
		else if(strcmp(choice,"driverlicense",true) == 0)
		{
			if(IsPlayerConnected(giveplayerid))
			{
		 		if(!IsPlayerNearPlayer(playerid, giveplayerid, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
				{
					format(string, sizeof(string), "* Officer %s has taken away %s's driver license.", RPN(playerid), RPN(giveplayerid));
			 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
					format(string, sizeof(string), "[HQ]: Law Enforcer %s has suspended %s his/her drivers licenses", RPN(playerid), RPN(playerb));
					SendCopMessage(COLOR_BLUE,string);
					SendFBIMessage(COLOR_BLUE,string);
                    PlayerInfo[giveplayerid][pCarLic] = 0;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
				return 1;
			}
		}
		else if(strcmp(choice,"firearmslicense",true) == 0)
		{
			if(IsPlayerConnected(giveplayerid))
			{
		 		if(!IsPlayerNearPlayer(playerid, giveplayerid, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
				{
					format(string, sizeof(string), "* Officer %s has taken away %s's firearms license.", RPN(playerid), RPN(giveplayerid));
			 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
					format(string, sizeof(string), "[HQ]: Law Enforcer %s has suspended %s his/her firearms licenses", RPN(playerid), RPN(playerb));
					SendCopMessage(COLOR_BLUE,string);
					SendFBIMessage(COLOR_BLUE,string);
                    PlayerInfo[giveplayerid][pFireArmsLic] = 0;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
				return 1;
			}
		}
		else if(strcmp(choice,"pilotlicense",true) == 0)
		{
			if(IsPlayerConnected(giveplayerid))
			{
		 		if(!IsPlayerNearPlayer(playerid, giveplayerid, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
				{
					format(string, sizeof(string), "* Officer %s has taken away %s's pilot license.", RPN(playerid), RPN(giveplayerid));
			 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
					format(string, sizeof(string), "[HQ]: Law Enforcer %s has suspended %s his/her pilot licenses", RPN(playerid), RPN(playerb));
					SendCopMessage(COLOR_BLUE,string);
					SendFBIMessage(COLOR_BLUE,string);
                    PlayerInfo[giveplayerid][pPilotLic] = 0;
				}
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
				return 1;
			}
		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "   Invalid item specified.");
			return 1;
		}
		return 1;
}

CMD:killcheckpoint(playerid, params[])
{
    DisablePlayerCheckpoint(playerid);
    SendClientMessage(playerid,COLOR_WHITE,"All current checkpoints, trackers and accepted fares have been reset.");
	return 1;
}
CMD:cbk(playerid, params[])
return cmd_nobackup(playerid, params);

CMD:nobackup(playerid, params[])
{
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	{
	new string[128], sstring[128];
	if(IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid))
	{
		format(string, sizeof(string), "[BACKUP]: %s cleared his backup.", RPN(playerid));
		SendCopMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "[BACKUP]: %s cleared his backup.", RPN(playerid));
		SendFBIMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "[BACKUP]: %s cleared his backup.", RPN(playerid));
		SendHSFMessage(COLOR_BLUE, string);
		format(sstring, sizeof(sstring), "[BACKUP]: %s cleared his backup.", RPN(playerid));
		SendSWATMessage(COLOR_BLUE, sstring);
		format(sstring, sizeof(sstring), "[BACKUP]: %s cleared his backup.", RPN(playerid));
		SendSATFMessage(COLOR_BLUE, sstring);
	}
	for(new i=0;i<MAX_PLAYERS;i++)
		{
			if(NeedBackUp(i))
			{
				SetPlayerMarkerForPlayer(i, playerid, TRANSPARENT_WHITE);
   			}
		}
	}
	return 1;
}

CMD:bk(playerid, params[])
return cmd_backup(playerid, params);

CMD:backup(playerid, params[])
{
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	{
	new Float:px,Float:py,Float:pz;
	GetPlayerPos(playerid,px,py,pz);
	if(GetPlayerInterior(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't create a backup inside an interior.");
	new string[128], sstring[128];
	if(IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid))
	{
		format(string, sizeof(string), "[BACKUP]: %s is requesting immediate backup.", RPN(playerid));
		SendCopMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "[BACKUP]: %s is requesting immediate backup.", RPN(playerid));
		SendFBIMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "[BACKUP]: %s is requesting immediate backup.", RPN(playerid));
		SendHSFMessage(COLOR_BLUE, string);
		format(sstring, sizeof(sstring), "[BACKUP]: %s is requesting immediate backup.", RPN(playerid));
		SendSWATMessage(COLOR_BLUE, sstring);
		format(sstring, sizeof(sstring), "[BACKUP]: %s is requesting immediate backup.", RPN(playerid));
		SendSATFMessage(COLOR_BLUE, sstring);
		format(string, sizeof(string), "* %s has requested an immediate backup", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	for(new i=0;i<MAX_PLAYERS;i++)
		{
			if(NeedBackUp(i))
			{
				//SetPlayerCheckpoint(i,px,py,pz,5);
				SetPlayerMarkerForPlayer(i, playerid, 0x0800FFFF);
   			}
		}
	}
	return 1;
}

CMD:fbackup(playerid, params[])
{
   	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	{
	new Float:px,Float:py,Float:pz;
	GetPlayerPos(playerid,px,py,pz);
	if(GetPlayerInterior(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't create a backup inside an interior.");
	new string[128];
	if(IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid))
	{
		format(string, sizeof(string), "[BACKUP]: Stranger is requesting immediate backup.");
		SendCopMessage(COLOR_BLUE, string);
		SendFBIMessage(COLOR_BLUE, string);
		SendHSFMessage(COLOR_BLUE, string);
		format(string, sizeof(string), "* Stranger has requested an immediate backup");
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	for(new i=0;i<MAX_PLAYERS;i++)
		{
			if(NeedBackUp(i))
			{
				//SetPlayerCheckpoint(i,px,py,pz,5);
				SetPlayerMarkerForPlayer(i, playerid, 0x0800FFFF);
   			}
		}
	}
	return 1;
}

CMD:createspike(playerid, params[])
{
	new string[128], Float:Pos[4];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
   	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(PlayerInfo[playerid][pFacRank] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command. (Rank 4+)");
	GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    GetPlayerFacingAngle(playerid,Pos[3]);
 	CreateStrip(Pos[0], Pos[1], Pos[2],Pos[3]);
 	format(string, sizeof(string), "LSPD: %s has created a spike strip.", RPN(playerid));
 	SendCopMessage(COLOR_BLUE, string);
 	SendFBIMessage(COLOR_BLUE, string);
	SendSWATMessage(COLOR_BLUE, string);
	return 1;
}

CMD:removespike(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	if(PlayerInfo[playerid][pFacRank] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command. (Rank 4+)");
	DeleteClosestStrip(playerid);
	return 1;
}

CMD:removespikes(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	if(PlayerInfo[playerid][pFacRank] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command. (Rank 4+)");
	DeleteAllStrip();
 	format(string, sizeof(string), "LSPD/FBI: %s has removed all spike strips deployed by the LSPD/FBI.", RPN(playerid));
 	SendCopMessage(COLOR_BLUE, string);
 	SendFBIMessage(COLOR_BLUE, string);
	SendSWATMessage(COLOR_BLUE, string);
	return 1;
}

CMD:siren(playerid, params[])
{
	new veh, type[8], string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAGov(playerid) && !IsAHSF(playerid) && !IsALSEMS(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/Gov/LSEMS.");
   	//if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
   	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
	if(sscanf(params, "s[8]", type))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /siren [position]");
		SendClientMessage(playerid, COLOR_WHITE, "POSITIONS: inside | roof | notice | bike | off");
		return 1;
	}
	if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "This vehicle already has a siren attached.");
	veh = GetPlayerVehicleID(playerid);
	if(!strcmp(type, "inside"))
	{
		if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is already a siren attached to this vehicle.");
        Siren[veh] = 1;
        SirenObject[veh] = CreateDynamicObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
        AttachDynamicObjectToVehicle(SirenObject[veh],veh, 0.0, 0.75, 0.275, 0.0, 0.1, 0.0);
        format(string, sizeof(string), "* %s attaches a siren to the dashboard.", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        return 1;
	}
	else if(!strcmp(type, "roof"))
	{
	    if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is already a siren attached to this vehicle.");
		Siren[veh] = 2;
        SirenObject[veh] = CreateDynamicObject(18646, 10.0, 10.0, 10.0, 0, 0, 0);
        AttachDynamicObjectToVehicle(SirenObject[veh], veh, -0.43, 0.0, 0.785, 0.0, 0.1, 0.0);
		LightObject1[veh] = CreateDynamicObject(19419, 10.0, 10.0, 10.0, 0, 0, 0);
		AttachDynamicObjectToVehicle(LightObject1[veh], veh, -0.0, -0.39, 0.9, 0.0, 0.0, 0.0);
        format(string, sizeof(string), "* %s attaches a siren to the vehicle's roof.", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        return 1;
	}
	else if(!strcmp(type, "notice"))
	{
	    if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is already a siren attached to this vehicle.");
		Siren[veh] = 3;		
		SirenObject[veh] = CreateDynamicObject(1013, 10.0, 10.0, 10.0, 0, 0, 0);
		AttachDynamicObjectToVehicle(SirenObject[veh], veh, -0.5, 0.69, 0.2, 0.0, 14.0, 0.0);
		LightObject1[veh] = CreateDynamicObject( 19281, 10.0, 10.0, 10.0, 0, 0, 0);
		AttachDynamicObjectToVehicle(LightObject1[veh], veh, -1.1, 0.8, 0.4, 0.0, 0.0, 0.0);
        format(string, sizeof(string), "* %s attaches a notication light to the vehicle's side.", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        return 1;
	}
	else if(!strcmp(type, "bike"))
	{
	    if(Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is already a siren attached to this vehicle.");
		Siren[veh] = 4;		
		SirenObject[veh] = CreateDynamicObject(19292, 10.0, 10.0, 10.0, 0, 0, 0);
		AttachDynamicObjectToVehicle(SirenObject[veh], veh, 0.0, 0.69, 0.59, 0.0, 0.0, 0.0);
		LightObject1[veh] = CreateDynamicObject( 19290, 10.0, 10.0, 10.0, 0, 0, 0);
		AttachDynamicObjectToVehicle(LightObject1[veh], veh, 0.0, -1.0, 0.4, 0.0, 0.0, 0.0);
        format(string, sizeof(string), "* %s attaches the sirens to the bike.", RPN(playerid));
        SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        return 1;
	}
	else if(!strcmp(type, "off"))
	{
	    if(!Siren[veh]) return SendClientMessage(playerid, COLOR_GREY, "There is no siren attached to this vehicle.");
		Siren[veh] = 0;
		DestroyDynamicObject(SirenObject[veh]);
		DestroyDynamicObject(LightObject1[veh]);
		format(string, sizeof(string), "* %s takes the siren/light back inside.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		return 1;
	}
	return 1;
}

CMD:checkload(playerid, params[])
{
	new veh, string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	if(sscanf(params, "i", veh)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /checkload [vehicleid]");
	if(veh == INVALID_VEHICLE_ID) return SendClientMessage(playerid, COLOR_GREY, "Invalid vehicle id.");
	if(!IsPlayerNearVehicle(playerid, veh, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are not near this vehicle.");
    if(!IsTruckerVehicle(veh)) return SendClientMessage(playerid, COLOR_GREY, "This is not a trucking vehicle.");
    if(TruckPackages[veh] == -1) return SendClientMessage(playerid, COLOR_GREY, "This truck has no packages inside it.");
    playerb = TruckPackages[veh];
	format(string, sizeof(string), "* %s checks the truck's load and capacity.", RPN(playerid));
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	if(PlayerInfo[playerb][pTPackages] == 1) SendClientMessage(playerid, COLOR_LIME, " This truck is not overloaded with packages.");
	else if(PlayerInfo[playerb][pTPackages] == 2) SendClientMessage(playerid, COLOR_LIGHTRED, " This truck is overloaded with packages.");
	return 1;
}

CMD:drag(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /drag [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't drag yourself.");
	if(Drag[playerid] != -1 || Dragged[playerid] != -1) return SendClientMessage(playerid, COLOR_GREY, "You can't do that at the moment.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(IsPlayerInAnyVehicle(playerb)) return SendClientMessage(playerid, COLOR_GREY, "You can't drag someone from a vehicle.");
	if(!Cuffed[playerb] && !Tied[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player is not cuffed nor tied.");
	if(Dragged[playerb] != -1) return SendClientMessage(playerid, COLOR_GREY, "Player is already being dragged.");
	Drag[playerid] = playerb;
	Dragged[playerb] = playerid;
	format(string, sizeof(string), "* %s pulls %s and starts draggin them.", RPN(playerid), RPN(playerb));
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:stopdrag(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(Drag[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "You are not dragging anybody.");
	playerb = Drag[playerid];
	Drag[playerid] = -1;
	Dragged[playerb] = -1;
	format(string, sizeof(string), "* %s released %s and stops draggin them.", RPN(playerid), RPN(playerb));
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:hitmansms(playerid, params[])
{
    if(IsAHitman(playerid))
	{
	    new string[128];
		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a hitmen faction leader.");
		if(sscanf(params, "s[64]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hitmansms [text]");
		if(AntiAdv(playerid, params)) return 1;
		if(strlen(params) > 64) return SendClientMessage(playerid, COLOR_GREY, "You may only use 64 characters per SMS.");
       	foreach(Player, i)
		{
		    if(IsPlayerLoggedIn(i))
		    {
		        format(string, sizeof(string), "* %s's cellphone beeps once.", RPN(i));
	        	if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger's cellphone beeps once.");
				}
				else
				{
					format(string, sizeof(string), "* %s's cellphone beeps once.", RPN(i));
				}
				SendNearbyMessage(i, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        format(string, sizeof(string), "[SMS FROM] UNKNOWN: %s, (Ph: BLOCKED)", params);
		        SendClientMessage(i, COLOR_YELLOW, string);
		        PlayerPlaySound(i, 1052, 0.0, 0.0, 0.0);
	        }
		}
		format(string, sizeof(string), "[%s]: %s", RPN(playerid), params);
		Log("logs/hitmansms.log", string);
	}
	return 1;
}

CMD:hbadge(playerid, params[])
{
    if(IsAHitman(playerid))
	{
        if(IsPlayerConnected(playerid))
		{
        	if(isnull(params)) {
        	    SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________________________");
            	SendClientMessage(playerid, COLOR_WHITE, "{6347AA}[Error]:{FFFFFF} /hbadge [name]");
            	SendClientMessage(playerid, COLOR_WHITE, "Available names:LSPD , Government, FBI, Leone, LSEMS, HSF, None");
            	SendClientMessage(playerid, COLOR_WHITE, "Please remember, abuse will result in immediate perma-facban.");
            	SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________________________");
            	return 1;
        	}
			if(strcmp(params,"lspd",true) == 0)
			{
	        	SetPlayerColor(playerid,TRANSPARENT_LSPD);
				SendClientMessage(playerid, COLOR_YELLOW, "You have put on your badge, and will now appear as a LSPD(Los Santos Police Department.) Member.");
			}
			else if(strcmp(params,"government",true) == 0)
			{
	        	SetPlayerColor(playerid,TRANSPARENT_WHITE);
				SendClientMessage(playerid, COLOR_WHITE, "You have put on your badge, and will now appear as a Government(Government.) Member.");
			}
			else if(strcmp(params,"fbi",true) == 0)
			{
	        	SetPlayerColor(playerid,TRANSPARENT_FBI);
				SendClientMessage(playerid, COLOR_WHITE, "You have put on your badge, and will now appear as a SANews(San Andreas News Agency) Member.");
			}
			else if(strcmp(params,"leone",true) == 0)
			{
	        	SetPlayerColor(playerid,TRANSPARENT_BROWN);
				SendClientMessage(playerid, COLOR_WHITE, "You have put on your badge, and will now appear as an Leone Member.");
			}
			else if(strcmp(params,"lsems",true) == 0)
			{
	        	SetPlayerColor(playerid,TRANSPARENT_MEDIC);
				SendClientMessage(playerid, COLOR_WHITE, "You have put on your badge, and will now appear as an Emergency Service Member.");
			}
			else if(strcmp(params,"hsf",true) == 0)
			{
	        	SetPlayerColor(playerid,TRANSPARENT_HSF);
				SendClientMessage(playerid, COLOR_WHITE, "You have put on your badge, and will now appear as an Highland Security Firm Member.");
			}
			else if(strcmp(params,"none",true) == 0)
			{
				SetPlayerColor(playerid,TRANSPARENT_WHITE);
				SendClientMessage(playerid, COLOR_YELLOW, "You have taken off your badge, and will now appear as a civilian.");
			}

		}
	}
    return 1;
}

CMD:contract(playerid, params[])
{
	new string[128], playerb, amount, detail[62];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "uis[62]", playerb, amount, detail)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /contract [playerid] [amount] [details]");
	if(IsAHitman(playerid)) return SendClientMessage(playerid, COLOR_GREY, "No... just no motherfucker!");
	if(PlayerInfo[playerid][pLevel] < 1) return SendClientMessage(playerid, COLOR_GREY, "You mus be at least level 1 to make a contract on someone.");
	if(amount < 3000 || amount > 50000) return SendClientMessage(playerid, COLOR_GREY, "Contracts are between $3000 and $50,000.");
	if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much on you at the moment.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't contract yourself.");
	if(PlayerInfo[playerb][pLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "You can't contract people under level 3.");
	//if(!strcmp(RPN(playerid), PlayerInfo[playerb][pContractBy], false)) return SendClientMessage(playerid, COLOR_GREY, "You have already placed a contract on this player.");
	if(PlayerInfo[playerb][pContract] >= 150000) return SendClientMessage(playerid, COLOR_GREY, "Player has the maximum contract amount on his head already.");
	PlayerInfo[playerb][pContract] += amount;
	format(PlayerInfo[playerb][pContractBy], 32, "%s", RPN(playerid));
	strmid(PlayerInfo[playerb][pContractDetail], detail, 0, strlen(detail), 32);
	GiveZaiatMoney(playerid, -amount);
	format(string, sizeof(string), "HitmanWarn: %s has placed a contract on %s for $%d, Details: %s", RPN(playerid), RPN(playerb), amount, detail);
	SendHitmanMessage(COLOR_YELLOW, string);
	format(string, sizeof(string), "HitmanWarn: %s has placed a contract on %s for $%d, Details: %s", NORPN(playerid), NORPN(playerb), amount, detail);
	SendAdminMessage(COLOR_DARKRED, 3, string);
	Log("logs/contract.log", string);
	return 1;
}

CMD:order(playerid, params[])
{
	if(IsAHitman(playerid))
	{
	   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(!IsPlayerInRangeOfPoint(playerid, 2, 2233.4729,-1333.2303,23.9815) && !IsPlayerInRangeOfPoint(playerid, 2, 1628.7523,-1903.4075,13.5532)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Hitman Agency HQ.");
		if(sscanf(params, "s[32]", params))
		{
			SendClientMessage(playerid, COLOR_WHITE, "USAGE: /order [item]");
			SendClientMessage(playerid, COLOR_GREY, "ITEMS: Knife ($100) | Shotgun ($200) | Deagle ($2000) | MP5 ($500)");
			SendClientMessage(playerid, COLOR_GREY, "ITEMS: Sniper ($7000) | Scope ($5000) | Vest ($1000) | Firstaid ($500)");
		    return 1;
		}
		if(!strcmp(params, "knife", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		    GiveZaiatWeapon(playerid, 4, 1);
		    GiveZaiatMoney(playerid, -100);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Knife.");
		}
		else if(!strcmp(params, "deagle", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 2000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		    GiveZaiatWeapon(playerid, 24, 500);
		    GiveZaiatMoney(playerid, -2000);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Desert Eagle.");
		}
		else if(!strcmp(params, "shotgun", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		    GiveZaiatWeapon(playerid, 25, 500);
		    GiveZaiatMoney(playerid, -200);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Shotgun.");
		}
		else if(!strcmp(params, "mp5", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 500) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		    GiveZaiatWeapon(playerid, 29, 500);
		    GiveZaiatMoney(playerid, -500);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a MP5.");
		}
		else if(!strcmp(params, "sniper", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 7000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		    GiveZaiatWeapon(playerid, 34, 200);
		    GiveZaiatMoney(playerid, -7000);
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Sniper.");
		}
		else if(!strcmp(params, "scope", true))
		{
	 		if(PlayerInfo[playerid][pMoney] < 5000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
			GiveZaiatMoney(playerid, -5000);
			PlayerInfo[playerid][pScope] ++;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Scope.");
		}
		 else if(!strcmp(params, "vest", true))
		{
			if(PlayerInfo[playerid][pMoney] < 1000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
			GiveZaiatMoney(playerid, -1000);
            SetPlayerArmour(playerid, 50.0);
	    	SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Vest.");
		}
		 else if(!strcmp(params, "firstaid", true))
		{
	  		if(PlayerInfo[playerid][pMoney] < 500) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
			GiveZaiatMoney(playerid, -500);
      	    SetPlayerHealth(playerid, 100.0);
  	 	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have purchased a Firstaid.");
		}
	}
	return 1;
}

CMD:profile(playerid, params[])
{
	if(IsAHitman(playerid))
	{
	    new string[128], playerb, gender[8];
	   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /profile [playerid]");
		if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
		if(PlayerInfo[playerb][pGender] == 1) format(gender, sizeof(gender), "Male");
		else if(PlayerInfo[playerb][pGender] == 2) format(gender, sizeof(gender), "Female");
	    SendClientMessage(playerid, COLOR_ORANGE, "[Hitman Agency Profiles Database]:");
	    format(string, sizeof(string), "Name: {FFFFFF}%s", RPN(playerb));
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    format(string, sizeof(string), "Age: {FFFFFF}%d", PlayerInfo[playerb][pAge]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    format(string, sizeof(string), "Gender: {FFFFFF}%s", gender);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    format(string, sizeof(string), "Faction: {FFFFFF}%s", RPFNEx(playerb));
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    format(string, sizeof(string), "Rank: {FFFFFF}%s (%d)", RPFRN(playerb), PlayerInfo[playerb][pFacRank]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    format(string, sizeof(string), "Family: {FFFFFF}%s", RPFaN(playerb));
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    format(string, sizeof(string), "Rank: {FFFFFF}%s (%d)", RPFaRN(playerb), PlayerInfo[playerb][pFamRank]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	}
	return 1;
}

CMD:contracts(playerid, params[])
{
	if(IsAHitman(playerid) || PlayerInfo[playerid][pAdmin] >= 1)
	{
		new string[128];
	   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	    SendClientMessage(playerid, COLOR_ORANGE, "[Hitman Agency Contracts List]:");
	    foreach(Player, i)
	    {
	        if(IsPlayerLoggedIn(i))
	        {
	            if(PlayerInfo[i][pContract])
	            {
	                format(string, sizeof(string), "{FF9900}%d) {FFFFFF}%s {FF9900}| Amount: {FFFFFF}%d {FF9900}| By: {FFFFFF}%s {FF9900}", i, NORPN(i), PlayerInfo[i][pContract], PlayerInfo[i][pContractBy]);
	                SendClientMessage(playerid, COLOR_WHITE, string);
	                format(string, sizeof(string), "{FF9900}Details: {FFFFFF}%s", PlayerInfo[i][pContractDetail]);
	                SendClientMessage(playerid, COLOR_WHITE, string);
	            }
	        }
	    }
	}
	return 1;
}

CMD:ha(playerid, params[])
{
	if(IsAHitman(playerid))
	{
		new string[128];
   		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ha [text]");
	    if(AntiAdv(playerid, params)) return 1;
	    format(string, sizeof(string), "** [HA] (%d) %s %s: %s", PlayerInfo[playerid][pFacRank], RPFRN(playerid), NORPN(playerid), params);
		SendPlayerFactionMessage(playerid, 0, COLOR_LIGHTGREEN, string);
		Log("logs/HA.log", string);
	}
	return 1;
}

CMD:givehit(playerid, params[])
{
	if(IsAHitman(playerid))
	{
		new string[128], playerb, hitman;
   		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	    if(sscanf(params, "uu", hitman, playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givehit [hitmanid] [contractid]");
		if(!PlayerInfo[playerb][pContract]) return SendClientMessage(playerid, COLOR_GREY, "Invalid contract id.");
		if(!IsAHitman(hitman)) return SendClientMessage(playerid, COLOR_GREY, "Player is not a hitman.");
		if(Hitman[hitman] != -1) return SendClientMessage(playerid, COLOR_GREY, "Hitman is already assigned to a contract.");
		Hitman[hitman] = playerb;
		format(string, sizeof(string), "HitmanWarn: %s has assigned %s to the contract on %s's head.", NORPN(playerid), NORPN(hitman), NORPN(playerb));
		SendHitmanMessage(COLOR_YELLOW, string);
		SendClientMessage(playerid, COLOR_WHITE, " You can cancel the contract using '/cancel contract)'.");
	}
	return 1;
}

CMD:taxvault(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAGov(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	//if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
    if(GetPlayerVirtualWorld(playerid) != 27934) return SendClientMessage(playerid, COLOR_GREY, "You are not inside the Tax Vault.");
	format(string, sizeof(string), "[Bank Statement]: The state's tax vault contains $%d.", TaxMoney);
	SendClientMessage(playerid, COLOR_DARKRED, string);
	return 1;
}

CMD:taxwithdraw(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAGov(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	//if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
	if(GetPlayerVirtualWorld(playerid) != 27934) return SendClientMessage(playerid, COLOR_GREY, "You are not inside the Tax Vault.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /taxwithdraw [amount]");
	if(amount > TaxMoney) return SendClientMessage(playerid, COLOR_GREY, "The tax vault doesn't have that much money inside it.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	TaxMoney -= amount;
	GiveZaiatMoney(playerid, amount);
	format(string, sizeof(string), "[Bank Warning]: %s has withdrawn $%d from the tax vault, amount left: $%d.", RPN(playerid), amount, TaxMoney);
	SendPlayerFactionMessage(playerid, 0, COLOR_DARKRED, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has withdrawn $%d from the tax vault, amount left: $%d.", RPN(playerid), amount, TaxMoney);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/taxvault.log", string);
	return 1;
}

CMD:taxdeposit(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAGov(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	//if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
	if(GetPlayerVirtualWorld(playerid) != 27934) return SendClientMessage(playerid, COLOR_GREY, "You are not inside the Tax Vault.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /taxdeposit [amount]");
	//if(amount > TaxMoney) return SendClientMessage(playerid, COLOR_GREY, "The tax vault doesn't have that much money inside it.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	TaxMoney += amount;
	GiveZaiatMoney(playerid, -amount);
	format(string, sizeof(string), "[Bank Warning]: %s has deposit $%d from the tax vault, new amount left: $%d.", RPN(playerid), amount, TaxMoney);
	SendPlayerFactionMessage(playerid, 0, COLOR_DARKRED, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deposit $%d from the tax vault, new amount left: $%d.", RPN(playerid), amount, TaxMoney);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/taxvault.log", string);
	return 1;
}

CMD:settax(playerid, params[])
{
	new string[128], percent;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAGov(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "i", percent)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /settax [percent]");
	if(percent < 0 || percent > 100) return SendClientMessage(playerid, COLOR_GREY, "Percent is between 0 and 100.");
	TempTaxPercent = percent;
	TaxRequester = playerid;
	SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your tax percent change request has been sent to online admins, wait for them to approve/deny.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has requested to change the tax percent to %d. (/approve) (/deny)", RPN(playerid), percent);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:deploycade(playerid, params[])
{
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI/HSF.");
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "You must be on foot to use this command.");
			return 1;
		}
		new string[128], Float:Position[4];
		for(new i; i<MAX_BARRICADES; i++)
		{
			if(Barricade[i] == 0)
			{
				GetPlayerPos(playerid, Position[0], Position[1], Position[2]);
				GetPlayerFacingAngle(playerid, Position[3]);
				Barricade[i] = CreateDynamicObject(978, Position[0], Position[1], Position[2], 0.0, 0.0, Position[3]+180.0, -1, -1, -1, 200.0);
				SetPlayerPos(playerid, Position[0], Position[1], Position[2]+1);
				{
					if(IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid))
					{
					 	format(string, sizeof(string), "LSPD/FBI/GOV/HSF %s has created a barricade.", RPN(playerid));
 						SendCopMessage(COLOR_BLUE, string);
 						SendFBIMessage(COLOR_BLUE, string);
 						SendGovMessage(COLOR_BLUE, string);
					}
				}
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "All available barriers have been deployed.");
	}
	return 1;
}

CMD:destroycade(playerid, params[])
{
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI/HSF.");
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "You must be on foot to use this command.");
			return 1;
		}
		new string[128], Float:Position[3];
		for(new i; i<MAX_BARRICADES; i++)
		{
			GetDynamicObjectPos(Barricade[i], Position[0], Position[1], Position[2]);

			if(IsPlayerInRangeOfPoint(playerid, 5.0, Position[0], Position[1], Position[2]))
			{
				DestroyDynamicObject(Barricade[i]);
				Barricade[i] = 0;
				{
					if(IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid))
					{
					 	format(string, sizeof(string), "LSPD/GOV/FBI/HSF %s has destroyed a barricade.", RPN(playerid));
 						SendCopMessage(COLOR_BLUE, string);
 						SendFBIMessage(COLOR_BLUE, string);
 						SendGovMessage(COLOR_BLUE, string);
					}
				}
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "You are not near any barricades.");
	}
	return 1;
}

CMD:deploycone(playerid, params[])
{
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI.");
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "You must be on foot to use this command.");
			return 1;
		}
		new string[128], Float:Position[4];
		for(new i; i<MAX_CONES; i++)
		{
			if(Cones[i] == 0)
			{
				GetPlayerPos(playerid, Position[0], Position[1], Position[2]);
				GetPlayerFacingAngle(playerid, Position[3]);
				Cones[i] = CreateDynamicObject(1238, Position[0], Position[1], Position[2]-0.5, 0.0, 0.0, Position[3]+80.0, -1, -1, -1, 200.0);
				SetPlayerPos(playerid, Position[0], Position[1], Position[2]);
				{
					if(IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid))
					{
					 	format(string, sizeof(string), "LSPD/GOV/FBI: %s has created a cone.", RPN(playerid));
 						SendCopMessage(COLOR_BLUE, string);
 						SendFBIMessage(COLOR_BLUE, string);
 						SendGovMessage(COLOR_BLUE, string);
					}
				}
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "All available cones have been deployed.");
	}
	return 1;
}

CMD:destroycone(playerid, params[])
{
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI.");
	{
		if(IsPlayerInAnyVehicle(playerid))
		{
			SendClientMessage(playerid, COLOR_GREY, "You must be on foot to use this command.");
			return 1;
		}
		new string[128], Float:Position[3];
		for(new i; i<MAX_CONES; i++)
		{
			GetDynamicObjectPos(Cones[i], Position[0], Position[1], Position[2]);

			if(IsPlayerInRangeOfPoint(playerid, 5.0, Position[0], Position[1], Position[2]))
			{
				DestroyDynamicObject(Cones[i]);
				Cones[i] = 0;
				{
					if(IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid))
					{
					 	format(string, sizeof(string), "LSPD/GOV/FBI: %s has destroyed a cone.", RPN(playerid));
 						SendCopMessage(COLOR_BLUE, string);
 						SendFBIMessage(COLOR_BLUE, string);
 						SendGovMessage(COLOR_BLUE, string);
					}
				}
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "You are not near any cone.");
	}
	return 1;
}

CMD:m(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsAGov(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/LSEMS/HSF/GOV.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/m)egaphone [text]");
	if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "[%s %s:o< %s]", RPFN(playerid), RPN(playerid), params);
	SendNearbyMessage(playerid, 40, string, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW);
	return 1;
}

CMD:su(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "us[64]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /su [playerid] [charge]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(IsACop(playerb) && !IsAFBI(playerb) && !IsAHSF(playerb)) return SendClientMessage(playerid, COLOR_GREY, "You can't charge an LSPD Officer/FBI/HSF.");
	if(PlayerInfo[playerb][pWanted] >= 6) return SendClientMessage(playerid, COLOR_GREY, "Player has the maximum wanted level possible.");
	AddZaiatWantedLevel(playerb, params);
	PlayerPlaySound(playerid,1054,0.0,0.0,0.0);
	PlayerPlaySound(playerb,1054,0.0,0.0,0.0);
	format(string, sizeof(string), " You have commited a Crime ( %s ). Reporter: %s.", params, RPN(playerid));
	SendClientMessage(playerb, COLOR_LIGHTRED, string);
	format(string, sizeof(string), "LSPD/FBI/HSF: %s has charged %s for '%s'.", RPN(playerid), RPN(playerb), params);
	foreach(Player, i)
	{
	    if(IsACop(i) && !IsAFBI(playerid))
	    {
	        SendClientMessage(i, COLOR_BLUE, string);
	        PlayCrimeReportForPlayer(i, playerb, 19);
	    }
	}
	return 1;
}

CMD:ticket(playerid, params[])
{
	new string[128], playerb, amount;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "uis[32]", playerb, amount, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ticket [playerid] [amount] [reason]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(amount < 0 || amount > 50000) return SendClientMessage(playerid, COLOR_GREY, "Tickets are between $0 and $50000.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	TicketBy[playerb] = playerid;
	TicketPrice[playerid][playerb] = amount;
	format(string, sizeof(string), "* %s takes out a pen and tickets book, writes down a ticket then hands it to %s.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), " You have given %s a ticket for $%d, reason: %s", RPN(playerb), amount, params);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has given you a ticket for $%d, reason: %s", RPN(playerid), amount, params);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	SendClientMessage(playerb, COLOR_WHITE, "(/accept ticket) to pay the ticket.");
	return 1;
}

CMD:wanted(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsASWAT(playerid) && !IsASATF(playerid) && PlayerInfo[playerid][pJob] != JOB_LAWYER && PlayerInfo[playerid][pVIPJob] != JOB_LAWYER) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer nor a Lawyer.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Wanted List]:");
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pWanted])
	    {
	        format(string, sizeof(string), "%d) %s | Wanted Level: %d", i, RPN(i), PlayerInfo[i][pWanted]);
	        SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:mdc(playerid, params[])
{
	new playerb, string[138], gender[8];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /mdc [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	//if(!PlayerInfo[playerb][pWanted]) return SendClientMessage(playerid, COLOR_GREY, "Player is not wanted.");
	// Gender
	if(PlayerInfo[playerb][pGender] == 1) format(gender, sizeof(gender), "Male");
	else if(PlayerInfo[playerb][pGender] == 2) format(gender, sizeof(gender), "Female");
	new text1[20];
	new text2[20];
	new text3[20];
	if(PlayerInfo[playerb][pCarLic]) { text1 = "Passed"; } else { text1 = "Not Passed"; }
	if(PlayerInfo[playerb][pFireArmsLic]) { text2 = "Passed"; } else { text2 = "Not Passed"; }
	if(PlayerInfo[playerb][pPilotLic]) { text3 = "Passed"; } else { text3 = "Not Passed"; }
	SendClientMessage(playerid, COLOR_ORANGE, "[MDC - Mobile Data Computer]:");
	format(string, sizeof(string), "{FF9900}Name: {FFFFFF}%s {FF9900}| Gender: {FFFFFF}%s {FF9900}| Age: {FFFFFF}%d {FF9900}| Wanted Level: {FFFFFF}%d", RPN(playerb), gender, PlayerInfo[playerb][pAge], PlayerInfo[playerb][pWanted]);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "{FF9900}Driver License: {FFFFFF}%s", text1);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "{FF9900}Firearms License: {FFFFFF}%s", text2);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "{FF9900}Pilot License: {FFFFFF}%s", text3);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	if(PlayerInfo[playerb][pWanted] >= 1){format(string, sizeof(string), "{FF9900}Crime 1: {FFFFFF}%s", PlayerInfo[playerb][pWanted1]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWanted] >= 2){format(string, sizeof(string), "{FF9900}Crime 2: {FFFFFF}%s", PlayerInfo[playerb][pWanted2]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWanted] >= 3){format(string, sizeof(string), "{FF9900}Crime 3: {FFFFFF}%s", PlayerInfo[playerb][pWanted3]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWanted] >= 4){format(string, sizeof(string), "{FF9900}Crime 4: {FFFFFF}%s", PlayerInfo[playerb][pWanted4]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWanted] >= 5){format(string, sizeof(string), "{FF9900}Crime 5: {FFFFFF}%s", PlayerInfo[playerb][pWanted5]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWanted] >= 6){format(string, sizeof(string), "{FF9900}Crime 6: {FFFFFF}%s", PlayerInfo[playerb][pWanted6]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	return 1;
}

CMD:ram(playerid, params[])
{
	if(IsAPDFBIHGGOV(playerid))
	{
		new string[128];
		for(new i = 0; i < sizeof(HouseInfo); i++)
		{
			if (IsPlayerInRangeOfPoint(playerid,3,HouseInfo[i][hX], HouseInfo[i][hY], HouseInfo[i][hZ]))
			{
				format(string, sizeof(string), "* %s breaches the door, and enters.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				if(HouseInfo[i][hLevel] == 1)
				{
					SetPlayerPos(playerid, 243.9951,304.9418,999.1484);
			        SetPlayerFacingAngle(playerid, 267.0980);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 1);
				}
				else if(HouseInfo[i][hLevel] == 2)
				{
					SetPlayerPos(playerid, 2259.6702,-1135.8542,1050.6328);
			        SetPlayerFacingAngle(playerid, 267.3974);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 10);
				}
				else if(HouseInfo[i][hLevel] == 3)
				{
					SetPlayerPos(playerid, 2308.8254,-1212.8070,1049.0234);
			        SetPlayerFacingAngle(playerid, 359.8550);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 6);
				}
				else if(HouseInfo[i][hLevel] == 4)
				{
					SetPlayerPos(playerid, 260.7436,1237.5563,1084.2578);
			        SetPlayerFacingAngle(playerid, 1.6415);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 9);
				}
				else if(HouseInfo[i][hLevel] == 5)
				{
					SetPlayerPos(playerid, -42.5742,1405.6521,1084.4297);
	     			SetPlayerFacingAngle(playerid, 359.1347);
	     			SetCameraBehindPlayer(playerid);
	     			SetPlayerInterior(playerid, 8);
				}
				else if(HouseInfo[i][hLevel] == 6)
				{
					SetPlayerPos(playerid, 2468.6787,-1698.2617,1013.5078);
			        SetPlayerFacingAngle(playerid, 89.1791);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 2);
				}
				else if(HouseInfo[i][hLevel] == 7)
				{
					SetPlayerPos(playerid, 2365.2183,-1135.4014,1050.8750);
			        SetPlayerFacingAngle(playerid, 359.8550);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 8);
				}
				else if(HouseInfo[i][hLevel] == 8)
				{
					SetPlayerPos(playerid, 2270.1270,-1210.4855,1047.5625);
			        SetPlayerFacingAngle(playerid, 89.4224);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 10);
				}
				else if(HouseInfo[i][hLevel] == 9)
				{
					SetPlayerPos(playerid, 2324.4424,-1149.2057,1050.7101);
			        SetPlayerFacingAngle(playerid, 0.7248);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 12);
				}
				else if(HouseInfo[i][hLevel] == 10)
				{
					SetPlayerPos(playerid, 83.0863,1322.3020,1083.8662);
			        SetPlayerFacingAngle(playerid, 359.5183);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 9);
				}
				else if(HouseInfo[i][hLevel] == 11)
				{
					SetPlayerPos(playerid, 1327.1052,-1071.0226,3458.9060);
					SetPlayerFacingAngle(playerid, 359.5183);
					SetCameraBehindPlayer(playerid);
					SetPlayerInterior(playerid, 0);
					GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
					TogglePlayerControllable(playerid, 0);
					SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
					PlayerInfo[playerid][pSpawnFreeze] = 1;
				}
				GameTextForPlayer(playerid, "~r~Breached the door", 3000, 1);
				SetPlayerVirtualWorld(playerid, i+500);
			}
		}
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You not part of a LEO faction.");
		return 1;
	}
	return 1;
}

/*CMD:arrest(playerid, params[])
{
	new playerb, time, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty."); // 1659.12,-1706.57,15.61
	if(!IsPlayerInRangeOfPoint(playerid, 2, ap[0], ap[1], ap[2]) && !IsPlayerInRangeOfPoint(playerid, 2, 1659.12,-1706.57,15.61)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the arrest point.");
	if(sscanf(params, "u", playerb, time)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /arrest [playerid] [time]");
	if(time < 1 || time > 30) { SendClientMessage(playerid, COLOR_GREY, "Jail time can't be below 1 or above 30 minutes - take the person to prison for more time."); return 1; }
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pWanted]) return SendClientMessage(playerid, COLOR_GREY, "Player is not wanted.");
	if(IsACop(playerb) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't arrest an LSPD Officer/FBI.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	format(string, sizeof(string), "LSPD: %s has been arrested by %s.", RPN(playerb), RPN(playerid));
	foreach(Player, i)
	{
	    if(IsACop(i) && !IsAFBI(playerid))
	    {
	        SendClientMessage(i, COLOR_BLUE, string);
	    }
	}
	SetPlayerColor(playerb, TRANSPARENT_PURPLE);
	PlayerInfo[playerb][pArrested] ++;
	PlayerInfo[playerb][pPrison] = 1;
	PlayerInfo[playerb][pPrisonTime] = time; //PlayerInfo[playerb][pWanted]*300
	if(PlayerInfo[playerb][pVIP] >= 2) PlayerInfo[playerb][pPrisonTime] = PlayerInfo[playerb][pPrisonTime]/2;
	ClearZaiatWantedLevels(playerb);
	SetPlayerInterior(playerb, 1);
	new RandomCell = random(sizeof(RandomPrison));
	SetPlayerFacingAngle(playerb, RandomPrison[RandomCell][3]);
	TogglePlayerControllable(playerb, 0);
	SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
 	SetPlayerPos(playerb, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
 	SetCameraBehindPlayer(playerb);
	format(string, sizeof(string), " You have been arrested by an officer for %d minutes (%d seconds)", PlayerInfo[playerb][pPrisonTime]/60, PlayerInfo[playerb][pPrisonTime]);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	RemovePlayerAttachedObject(playerb, 0);
	SetPlayerSpecialAction(playerb, SPECIAL_ACTION_NONE);
	// Clearing robbery
 	if(BankRobber[playerb])
    {
	    new Rob = BankRobber[playerb]-1;
	    DisablePlayerCheckpoint(playerb);
		BankRobbersCount --;
		format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
		DeliverMoney[playerb] = 0;
		//
		foreach(Player, i)
		{
		    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
		    {
				if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
				else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
				else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
				else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
				else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
			}
		}
		format(string, sizeof(string), "** %s has been arrested and has failed the robbery. **", RPN(playerb));
		SendRobberyMessage(COLOR_LIGHTRED, string);
		SendCopMessage(COLOR_LIGHTRED, string);
		SendFBIMessage(COLOR_LIGHTRED, string);
		BankRobber[playerb] = 0;
		if(BankRobbersCount == 0)
		{
			TextDrawHideForAll(Area5);
			TextDrawHideForAll(Textdraw1);
			TextDrawHideForAll(Textdraw2);
			TextDrawHideForAll(Textdraw3);
			TextDrawHideForAll(Textdraw4);
			TextDrawHideForAll(Textdraw5);
			BankRobbery = 0;
			RobberyStarted = 0;
			format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
			SendClientMessageToAll(COLOR_YELLOW, string);
			TotalRobbers = 0;
			new copsonline;
			foreach(Player, i)
			{
			    if(IsACop(i)) copsonline++;
			}
			foreach(Player, i)
			{
			    if(IsACop(i))
			    {
					new Saved = (TotalRobbers*500000-(TotalStolen*500000));
					GiveZaiatMoney(i, Saved/copsonline);
					format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
					SendClientMessage(i, COLOR_LIME, string);
			    }
			}
		}
    }
	return 1;
}*/

CMD:arrest(playerid, params[])
{
	new playerb, time, string[128], RandomCell;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, ap[0], ap[1], ap[2]) && !IsPlayerInRangeOfPoint(playerid, 2, 1659.12,-1706.57,15.61) && !IsPlayerInRangeOfPoint(playerid, 2, 1800.5121,-1717.1593,13.5293) && !IsPlayerInRangeOfPoint(playerid, 2, 1511.5458,-1469.1791,9.5000)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the arrest point.");
	//if(!IsPlayerNearPlayer(playerid, playerb, 3)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	//if(!IsPlayerNearPlayer(playerid, playerb, 4)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(sscanf(params, "uis[64]", playerb, time, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /arrest [playerid] [time] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(time == 0)
	{
	    if(!PlayerInfo[playerb][pPrison]) return SendClientMessage(playerid, COLOR_GREY, "Player is not prisoned.");
//	    if(!PlayerInfo[playerb][pPrison] = 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to release this person.");
	    ClearZaiatWantedLevels(playerb);
	    SetPlayerColor(playerb, TRANSPARENT_WHITE);
	    PlayerInfo[playerb][pPrison] = 0;
		PlayerInfo[playerb][pPrisonTime] = time;
		format(PlayerInfo[playerb][pPrisonReason], 64, "");
		format(PlayerInfo[playerb][pPrisonBy], 32, "");
		SetPlayerInterior(playerb, 0);
		SetPlayerVirtualWorld(playerb, 0);
		RandomCell = random(sizeof(RandomPrison));
		SetPlayerFacingAngle(playerb, 88.5042);
		SetPlayerPos(playerb, 1548.8394,-1669.6111,13.5656);
		SetCameraBehindPlayer(playerb);
		format(string, sizeof(string), "{006480}[Arrest]{0296BF} %s has been released by %s, reason: %s", RPN(playerb), RPN(playerid), params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		Log("logs/arrest.log", string);
		//SendClientMessage(playerb, COLOR_LIGHTBLUE, " You have been released by an administrator, try to be a better player.");
		TogglePlayerControllable(playerb, 1);
	}
	else
	{
	    ClearZaiatWantedLevels(playerb);
		SetPlayerColor(playerb, TRANSPARENT_PURPLE);
		PlayerInfo[playerb][pArrested] ++;
		PlayerInfo[playerb][pPrison] = 1;
		PlayerInfo[playerb][pPrisonTime] = time*60;
		format(PlayerInfo[playerb][pPrisonReason], 64, "%s", params);
		format(PlayerInfo[playerb][pPrisonBy], 32, "%s", RPN(playerid));
		SetPlayerInterior(playerb, 2);
		SetPlayerVirtualWorld(playerb, 1);
		RandomCell = random(sizeof(RandomPrison));
		SetPlayerFacingAngle(playerb, RandomPrison[RandomCell][3]);
		TogglePlayerControllable(playerb, 0);
		SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
		SetPlayerPos(playerb, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
		SetCameraBehindPlayer(playerb);
		format(string, sizeof(string), "{006480}[Arrest]{0296BF} %s has been arrested by %s, reason: %s", RPN(playerb), RPN(playerid), params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		Log("logs/arrest.log", string);
		//format(string, sizeof(string), " You have been prisoned by an administrator for %d minutes (%d seconds)", PlayerInfo[playerb][pPrisonTime]/60, PlayerInfo[playerb][pPrisonTime]);
		//SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
		GameTextForPlayer(playerb, "~w~Loading Objects", 3500, 3);
		TogglePlayerControllable(playerb, 0);
        SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
        PlayerInfo[playerb][pSpawnFreeze] = 1;
        // Clearing robbery
		if(BankRobber[playerb])
		{
		    new Rob = BankRobber[playerb]-1;
		    DisablePlayerCheckpoint(playerb);
			BankRobbersCount --;
			format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
			DeliverMoney[playerb] = 0;
			//
			foreach(Player, i)
			{
			    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
			    {
					if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
					else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
					else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
					else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
					else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
				}
			}
			format(string, sizeof(string), "** %s has been arrested and has failed the robbery. **", RPN(playerb));
			SendRobberyMessage(COLOR_LIGHTRED, string);
			SendCopMessage(COLOR_LIGHTRED, string);
			SendFBIMessage(COLOR_LIGHTRED, string);
			BankRobber[playerb] = 0;
			if(BankRobbersCount == 0)
			{
				TextDrawHideForAll(Area5);
				TextDrawHideForAll(Textdraw1);
				TextDrawHideForAll(Textdraw2);
				TextDrawHideForAll(Textdraw3);
				TextDrawHideForAll(Textdraw4);
				TextDrawHideForAll(Textdraw5);
				BankRobbery = 0;
				RobberyStarted = 0;
				format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
				SendClientMessageToAll(COLOR_YELLOW, string);
				TotalRobbers = 0;
				new copsonline;
				foreach(Player, i)
				{
				    if(IsACop(i)) copsonline++;
				    if(IsAHSF(i)) copsonline++;
				    if(IsAFBI(i)) copsonline++;
				}
				foreach(Player, i)
				{
				    if(IsACop(i))
				    {
						new Saved = (TotalRobbers*50000-(TotalStolen*50000));
						GiveZaiatMoney(i, Saved/copsonline);
						//format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
						//SendClientMessage(i, COLOR_LIME, string);
				    }
				}
			}
		}
	}
	RemovePlayerAttachedObject(playerb, 0);
	SetPlayerSpecialAction(playerb, SPECIAL_ACTION_NONE);
	return 1;
}

CMD:jobhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "JOB: {FFFFFF} /skill /join /quitjob");
	if(PlayerInfo[playerid][pJob] == JOB_MECHANIC && PlayerInfo[playerid][pVIPJob] == JOB_MECHANIC) SendClientMessage(playerid, COLOR_YELLOW, "MECHANIC: {FFFFFF}/mech");
	if(PlayerInfo[playerid][pJob] == JOB_LAWYER || PlayerInfo[playerid][pVIPJob] == JOB_LAWYER) SendClientMessage(playerid, COLOR_YELLOW, "TRUCKER: {FFFFFF}/free /defend /wanted");
	if(PlayerInfo[playerid][pJob] == JOB_TRUCKER || PlayerInfo[playerid][pVIPJob] == JOB_TRUCKER) SendClientMessage(playerid, COLOR_YELLOW, "TRUCKER: {FFFFFF}/loadpackages /deliverpackages");
	if(PlayerInfo[playerid][pJob] == JOB_WDEALER || PlayerInfo[playerid][pVIPJob] == JOB_WDEALER) SendClientMessage(playerid, COLOR_YELLOW, "WEAPONS DEALER: {FFFFFF}/sellgun /sellmats /creategun");
	if(PlayerInfo[playerid][pJob] == JOB_WSMUGGLER || PlayerInfo[playerid][pVIPJob] == JOB_WSMUGGLER) SendClientMessage(playerid, COLOR_YELLOW, "WEAPONS SMUGGLER: {FFFFFF}/getmats /dropmats /sellmats");
	if(PlayerInfo[playerid][pJob] == JOB_DDEALER || PlayerInfo[playerid][pVIPJob] == JOB_DDEALER) SendClientMessage(playerid, COLOR_YELLOW, "DRUGS DEALER: {FFFFFF}/buyweed /buycrack /sellweed /sellcrack");
	if(PlayerInfo[playerid][pJob] == JOB_DSMUGGLER || PlayerInfo[playerid][pVIPJob] == JOB_DSMUGGLER) SendClientMessage(playerid, COLOR_YELLOW, "DRUGS SMUGGLER: {FFFFFF}/getweed /dropweed /getcrack /dropcrack");
   	if(PlayerInfo[playerid][pJob] == JOB_BODYGUARD || PlayerInfo[playerid][pVIPJob] == JOB_BODYGUARD) SendClientMessage(playerid, COLOR_YELLOW, "BODYGUARD: {FFFFFF}/vest");
    if(PlayerInfo[playerid][pJob] == JOB_BOXER || PlayerInfo[playerid][pVIPJob] == JOB_BOXER) SendClientMessage(playerid, COLOR_YELLOW, "BOXER: {FFFFFF}/fight");
	if(PlayerInfo[playerid][pJob] == JOB_THIEF || PlayerInfo[playerid][pVIPJob] == JOB_THIEF) SendClientMessage(playerid, COLOR_YELLOW, "THIEF: {FFFFFF}/rob");
	return 1;
}
CMD:jobs(playerid, params[])
{
    SendClientMessage(playerid, COLOR_YELLOW, "JOB: {FFFFFF} For Their Commands use /jobhelp then /skill  Mechanic,Lawyer,Trucker,WeaponsDealer,WeaponsSmuggler,Drug Dealer,Drug Smuggler,Bodyguard,Boxer,Theif");
    return 1;
}
CMD:bid(playerid, params[])
{
	new boxer, amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(GetPlayerInterior(playerid) != 5 || GetPlayerVirtualWorld(playerid) != 1) return SendClientMessage(playerid, COLOR_GREY, "You are not inside the ganton gym.");
	if(!BoxingMatch) return SendClientMessage(playerid, COLOR_GREY, "There is no boxing match going on.");
	if(!BoxTime) return SendClientMessage(playerid, COLOR_GREY, "The boxing match has already started.");
	if(BidAmount[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have already placed your bid for this match.");
	if(sscanf(params, "ii", boxer, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bid [boxer] [amount]");
	if(boxer < 1 || boxer > 2) return SendClientMessage(playerid, COLOR_GREY, "Boxers are between 1 and 2.");
	if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
	if(amount < 500) return SendClientMessage(playerid, COLOR_GREY, "Minimum bid is $500.");
	BoxerBid[boxer] += amount;
	BidAmount[playerid] = amount;
	BidBoxer[playerid] = boxer;
	GiveZaiatMoney(playerid, -amount);
	format(string, sizeof(string), "Boxing Ring: %s has placed a $%d bid on %s.", RPN(playerid), amount, RPN(Boxer[boxer]));
	SendGymMessage(COLOR_WHITE, string);
    return 1;
}

CMD:fight(playerid, params[]) //skin 80 and 81
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_BOXER && PlayerInfo[playerid][pVIPJob] != JOB_BOXER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Boxer.");
	if(GetPlayerInterior(playerid) != 5 || GetPlayerVirtualWorld(playerid) != 1) return SendClientMessage(playerid, COLOR_GREY, "You are not inside the ganton gym.");
	if(GetPlayerSkin(playerid) != 80 && GetPlayerSkin(playerid) != 81) return SendClientMessage(playerid, COLOR_GREY, "You are not wearing a boxing uniform.");
	if(GetPlayerFightingStyle(playerid) != FIGHT_STYLE_BOXING) return SendClientMessage(playerid, COLOR_GREY, "You must use the boxing fighting style to fight (ID: 80 81)");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fight [playerid]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't fight yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 3)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
    if(BoxingMatch) return SendClientMessage(playerid, COLOR_GREY, "Another boxing match is going on.");
	format(string, sizeof(string), " You have offered %s a boxing fight.", RPN(playerb));
	SendClientMessage(playerid, COLOR_LIME, string);
	format(string, sizeof(string), " %s has offered you a boxing fight. (/accept fight) (/cancel fight)", RPN(playerid));
	SendClientMessage(playerb, COLOR_LIME, string);
	BoxBy[playerb] = playerid;
    return 1;
}

forward robtimer(playerid);
public robtimer(playerid)
{
	robtime[playerid] = 0;
}

forward BoxCountDown(playerid, playerb);
public BoxCountDown(playerid, playerb)
{
	new string[64];
	ResetPlayerWeapons(playerid);
	ResetPlayerWeapons(playerb);
	if(BoxTime <= 0)
	{
		GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~r~Fight!", 1000, 3);
		GameTextForPlayer(playerb, "~n~~n~~n~~n~~n~~n~~n~~n~~r~Fight!", 1000, 3);
	    PlayerPlaySound(playerid, 1057, 0, 0, 0);
	    PlayerPlaySound(playerb, 1057, 0, 0, 0);
	    TogglePlayerControllable(playerb, 1);
		TogglePlayerControllable(playerid, 1);
		SendGymMessage(COLOR_WHITE, "Boxing Ring: The boxing match has started.");
	}
	else
	{
		format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Starting in: ~w~%d", BoxTime);
		GameTextForPlayer(playerid, string, 1000, 3);
		GameTextForPlayer(playerb, string, 1000, 3);
		if(BoxTime == 3 || BoxTime == 2 || BoxTime == 1)
		{
		    PlayerPlaySound(playerid, 1056, 0, 0, 0);
		    PlayerPlaySound(playerb, 1056, 0, 0, 0);
		}
		BoxTime --;
		BoxTimer = SetTimerEx("BoxCountDown", 1000, false, "ii", playerid, playerb);
	}
	return 1;
}

CMD:vest(playerid, params[])
{
	new playerb, price, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_BODYGUARD && PlayerInfo[playerid][pVIPJob] != JOB_BODYGUARD) return SendClientMessage(playerid, COLOR_GREY, "You are not a Bodyguard.");
	if(sscanf(params, "ui", playerb, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /vest [playerid] [price]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't vest yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(price < 50 || price > 500) return SendClientMessage(playerid, COLOR_GREY, "Price is between 50 and 500.");
	if(Boxing[playerb]) return SendClientMessage(playerid, COLOR_GREY, "You can't sell someone a vest in a boxing match.");
	VestPrice[playerid][playerb] = price;
	VestBy[playerb] = playerid;
	format(string, sizeof(string), " You have offered %s a vest for $%d.", RPN(playerb), price);
	SendClientMessage(playerid, COLOR_LIME, string);
	format(string, sizeof(string), " Bodyguard %s has offered you a vest for $%d. (/accept vest) (/cancel vest)", RPN(playerid), price);
    SendClientMessage(playerb, COLOR_LIME, string);
	return 1;
}

CMD:free(playerid, params[])
{
	new playerb, price, string[128];
    if(FreeTimeout[playerid])
    {
        format(string, sizeof(string), "You have to wait %d more seconds before freeing someone.", FreeTimeout[playerid]);
        SendClientMessage(playerid, COLOR_GREY, string);
        return 1;
    }
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_LAWYER && PlayerInfo[playerid][pVIPJob] != JOB_LAWYER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Lawyer.");
	if(sscanf(params, "ui", playerb, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /free [playerid] [price]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't free yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pPrison]) return SendClientMessage(playerid, COLOR_GREY, "Player is not prisoned.");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from your client.");
	if(price < 100 || price > 1000) return SendClientMessage(playerid, COLOR_GREY, "Price is between 100 and 2000.");
	if(RPJS(playerid, JOB_LAWYER) < 100) FreeTime[playerb] = 1;
	else if(RPJS(playerid, JOB_LAWYER) < 300) FreeTime[playerb] = 2;
	else if(RPJS(playerid, JOB_LAWYER) < 700) FreeTime[playerb] = 3;
	else if(RPJS(playerid, JOB_LAWYER) < 1200) FreeTime[playerb] = 4;
	else if(RPJS(playerid, JOB_LAWYER) >= 1200) FreeTime[playerb] = 5;
	FreePrice[playerid][playerb] = price;
	FreeBy[playerb] = playerid;
	format(string, sizeof(string), " You have offered %s to reduce their prison sentence by %d minutes for $%d.", RPN(playerb), FreeTime[playerb], price);
	SendClientMessage(playerid, COLOR_LIME, string);
	format(string, sizeof(string), " Lawyer %s has offered to reduce your prison sentence by %d minute for $%d. (/accept free) (/cancel free)", RPN(playerid), FreeTime[playerb], price);
    SendClientMessage(playerb, COLOR_LIME, string);
	return 1;
}

CMD:defend(playerid, params[])
{
	new playerb, price, string[128];
    if(DefendTimeout[playerid])
    {
        format(string, sizeof(string), "You have to wait %d more seconds before defending someone.", DefendTimeout[playerid]);
        SendClientMessage(playerid, COLOR_GREY, string);
        return 1;
    }
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_LAWYER && PlayerInfo[playerid][pVIPJob] != JOB_LAWYER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Lawyer.");
	if(sscanf(params, "ui", playerb, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /defend [playerid] [price]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't defend yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pWanted]) return SendClientMessage(playerid, COLOR_GREY, "Player is not wanted.");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from your client.");
	if(price < 100 || price > 1000) return SendClientMessage(playerid, COLOR_GREY, "Price is between 100 and 2000.");
	DefendBy[playerb] = playerid;
	DefendPrice[playerid][playerb] = price;
	format(string, sizeof(string), " You have offered %s to defend them $%d.", RPN(playerb), price);
	SendClientMessage(playerid, COLOR_LIME, string);
	format(string, sizeof(string), " Lawyer %s has offered to a defend you for $%d. (/accept defend) (/cancel defend)", RPN(playerid), price);
    SendClientMessage(playerb, COLOR_LIME, string);
	return 1;
}
CMD:mech(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_MECHANIC && PlayerInfo[playerid][pVIPJob] != JOB_MECHANIC) return SendClientMessage(playerid, COLOR_GREY, "You are not a mechanic.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be in a vehicle to use your mechanic tools.");
	ShowDialog(playerid, 9);
	return 1;
}

CMD:give(playerid, params[])
{
	new string[128], playerb, amount = PlayerInfo[playerid][pWeed] && PlayerInfo[playerid][pCrack] && PlayerInfo[playerid][pMaterials];
	if(sscanf(params, "us[32]d", playerb, params, amount))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /give [playerid] [type] [amount]");
		SendClientMessage(playerid, COLOR_GREY, "TYPES: Weed | Crack | Material");
		return 1;
	}
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You can't give anything to someone from this disatance.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(IsPlayerCuffed(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
    if(!strcmp(params, "Weed", true))
	{
	    if(amount > PlayerInfo[playerid][pWeed] || amount < 1) return SendClientMessage(playerid, COLOR_GREY, "   You don't have that much.");
	    PlayerInfo[playerid][pWeed] = PlayerInfo[playerid][pWeed] -amount;
	    PlayerInfo[playerb][pWeed] = PlayerInfo[playerb][pWeed] +amount;
	    format(string, sizeof(string), "* %s takes out a bag of Weed and hands it to %s.", RPN(playerid), RPN(playerb));
	    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    format(string, sizeof(string), " You have given %s %d of Weed.", RPN(playerb), amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    format(string, sizeof(string), " %s has given you %d of Weed.", RPN(playerid), amount);
	    SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	if(!strcmp(params, "Crack", true))
	{
	    if(amount > PlayerInfo[playerid][pCrack] || amount < 1) return SendClientMessage(playerid, COLOR_GREY, "   You don't have that much.");
	    PlayerInfo[playerid][pCrack] = PlayerInfo[playerid][pCrack] -amount;
	    PlayerInfo[playerb][pCrack] = PlayerInfo[playerb][pCrack] +amount;
	    format(string, sizeof(string), "* %s takes out a bag of Ccaine and hands it to %s.", RPN(playerid), RPN(playerb));
	    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    format(string, sizeof(string), " You have given %s %d of Crack.", RPN(playerb), amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    format(string, sizeof(string), " %s has given you %d of Crack.", RPN(playerid), amount);
        SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	if(!strcmp(params, "Material", true))
	{
	    if(amount > PlayerInfo[playerid][pMaterials] || amount < 1) return SendClientMessage(playerid, COLOR_GREY, "   You don't have that much.");
	    PlayerInfo[playerid][pMaterials] = PlayerInfo[playerid][pMaterials] -amount;
	    PlayerInfo[playerb][pMaterials] = PlayerInfo[playerb][pMaterials] +amount;
	    format(string, sizeof(string), "* %s takes out a bag of Materials and hands it to %s.", RPN(playerid), RPN(playerb));
	    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    format(string, sizeof(string), " You have given %s %d of Materials.", RPN(playerb), amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    format(string, sizeof(string), " %s has given you %d of Materials.", RPN(playerid), amount);
        SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	return 1;
}

CMD:creategun(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid) || PlayerInfo[playerid][pPrison])
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(PlayerInfo[playerid][pJob] != JOB_WDEALER && PlayerInfo[playerid][pVIPJob] != JOB_WDEALER) return SendClientMessage(playerid, COLOR_GREY, "You are not a weapons dealer.");
	new string[128];
	if(sscanf(params, "s[32]", params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /creategun [weapon]");
	    SendClientMessage(playerid, COLOR_GREY, "LEVEL 1: Flowers (25) | GolfClub (50) | Shovel (50) | Bat (50) | Katana (50)");
	    SendClientMessage(playerid, COLOR_GREY, "LEVEL 1: SDPistol (100) | Shotgun (200)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 2) SendClientMessage(playerid, COLOR_GREY, "LEVEL 2: MP5 (500) | Rifle (750)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 3) SendClientMessage(playerid, COLOR_GREY, "LEVEL 3: Deagle (2000)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 4) SendClientMessage(playerid, COLOR_GREY, "LEVEL 4: AK47 (4000)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 5) SendClientMessage(playerid, COLOR_GREY, "LEVEL 5: Sniper (7000)");
	    return 1;
	}
    if(!strcmp(params, "flowers", true, 7))
    {
        if(PlayerInfo[playerid][pMaterials] < 25) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 14, 5);
		PlayerInfo[playerid][pMaterials] -=25;
		format(string, sizeof(string), "* %s has created flowers from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "golfclub", true, 8))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 2, 5);
		PlayerInfo[playerid][pMaterials] -=50;
		format(string, sizeof(string), "* %s has created a golf club from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "shovel", true, 6))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 6, 5);
		PlayerInfo[playerid][pMaterials] -=50;
		format(string, sizeof(string), "* %s has created a shovel from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
	else if(!strcmp(params, "bat", true, 3))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 5, 5);
		PlayerInfo[playerid][pMaterials] -=50;
		format(string, sizeof(string), "* %s has created a baseball bat from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "katana", true, 6))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
        GiveZaiatWeapon(playerid, 8, 5);
        PlayerInfo[playerid][pMaterials] -=50;
        format(string, sizeof(string), "* %s has created a katana from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "sdpistol", true, 7))
    {
		if(PlayerInfo[playerid][pMaterials] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 23, 5);
		PlayerInfo[playerid][pMaterials] -=100;
		format(string, sizeof(string), "* %s has created a silenced pistol from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
    else if(!strcmp(params, "shotgun", true, 7))
    {
		if(PlayerInfo[playerid][pMaterials] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 25, 5);
		PlayerInfo[playerid][pMaterials] -=200;
		format(string, sizeof(string), "* %s has created a shotgun from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
  	else if(!strcmp(params, "rifle", true, 5))
    {
        if(strval(RPJL(playerid, JOB_WDEALER)) < 2) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
        if(PlayerInfo[playerid][pMaterials] < 750) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 33, 5);
		PlayerInfo[playerid][pMaterials] -=750;
		format(string, sizeof(string), "* %s has created a rifle from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
    else if(!strcmp(params, "mp5", true, 3))
    {
		if(strval(RPJL(playerid, JOB_WDEALER)) < 2) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
		if(PlayerInfo[playerid][pMaterials] < 500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 29, 5);
		PlayerInfo[playerid][pMaterials] -=500;
		format(string, sizeof(string), "* %s has created an MP5 from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "deagle", true, 6))
    {
        if(strval(RPJL(playerid, JOB_WDEALER)) < 3) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
        if(PlayerInfo[playerid][pMaterials] < 2000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 24, 5);
		PlayerInfo[playerid][pMaterials] -=2000;
		format(string, sizeof(string), "* %s has created a desert eagle from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "ak47", true, 4))
    {
		if(strval(RPJL(playerid, JOB_WDEALER)) < 4) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
		if(PlayerInfo[playerid][pMaterials] < 4000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 30, 5);
		PlayerInfo[playerid][pMaterials] -=4000;
		format(string, sizeof(string), "* %s has created an AK-47 from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(params, "sniper", true, 6))
    {
		if(strval(RPJL(playerid, JOB_WDEALER)) < 5) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
		if(PlayerInfo[playerid][pMaterials] < 7000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		GiveZaiatWeapon(playerid, 34, 5);
		PlayerInfo[playerid][pMaterials] -=7000;
		format(string, sizeof(string), "* %s has created a sniper rifle from materials.", RPN(playerid));
    	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "Invalid weapon name.");
        return 1;
    }
	return 1;
}

CMD:sellgun(playerid, params[])
{
	new string[128], playerb, price, weapon[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_WDEALER && PlayerInfo[playerid][pVIPJob] != JOB_WDEALER) return SendClientMessage(playerid, COLOR_GREY, "You are not a weapons dealer.");
	if(sscanf(params, "us[32]i", playerb, weapon, price))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellgun [playerid] [weapon] [price]");
	    SendClientMessage(playerid, COLOR_GREY, "LEVEL 1: Flowers (25) | GolfClub (50) | Shovel (50) | Bat (50) | Katana (50)");
	    SendClientMessage(playerid, COLOR_GREY, "LEVEL 1: SDPistol (100) | Shotgun (200) | MM9 (125)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 2) SendClientMessage(playerid, COLOR_GREY, "LEVEL 2: MP5 (500) | Rifle (750)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 3) SendClientMessage(playerid, COLOR_GREY, "LEVEL 3: Deagle (2000)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 4) SendClientMessage(playerid, COLOR_GREY, "LEVEL 4: AK47 (4000)");
	    if(strval(RPJL(playerid, JOB_WDEALER)) >= 5) SendClientMessage(playerid, COLOR_GREY, "LEVEL 5: Sniper (7000)");
	    return 1;
	}
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't sell weapons to yourself, use /creategun.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "You must be at least level 2 to sell weapons.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
    if(!strcmp(weapon, "flowers", true, 7))
    {
        if(PlayerInfo[playerid][pMaterials] < 25) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 14;
    }
    else if(!strcmp(weapon, "9mm", true, 8))
    {
        if(PlayerInfo[playerid][pMaterials] < 125) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 22;
    }
    else if(!strcmp(weapon, "golfclub", true, 8))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 2;
    }
    else if(!strcmp(weapon, "shovel", true, 6))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 6;
    }
	else if(!strcmp(weapon, "bat", true, 3))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 5;
    }
    else if(!strcmp(weapon, "katana", true, 6))
    {
        if(PlayerInfo[playerid][pMaterials] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
        BeenOfferedWeapon[playerb] = 8;
    }
    else if(!strcmp(weapon, "sdpistol", true, 7))
    {
		if(PlayerInfo[playerid][pMaterials] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 23;
	}
    else if(!strcmp(weapon, "shotgun", true, 7))
    {
		if(PlayerInfo[playerid][pMaterials] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 25;
	}
  	else if(!strcmp(weapon, "rifle", true, 5))
    {
        if(strval(RPJL(playerid, JOB_WDEALER)) < 2) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
        if(PlayerInfo[playerid][pMaterials] < 750) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 33;
	}
    else if(!strcmp(weapon, "mp5", true, 3))
    {
		if(strval(RPJL(playerid, JOB_WDEALER)) < 2) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
		if(PlayerInfo[playerid][pMaterials] < 500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 29;
    }
    else if(!strcmp(weapon, "deagle", true, 6))
    {
        if(strval(RPJL(playerid, JOB_WDEALER)) < 3) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
        if(PlayerInfo[playerid][pMaterials] < 2000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 24;
    }
    else if(!strcmp(weapon, "ak47", true, 4))
    {
		if(strval(RPJL(playerid, JOB_WDEALER)) < 4) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
		if(PlayerInfo[playerid][pMaterials] < 4000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 30;
    }
    else if(!strcmp(weapon, "sniper", true, 6))
    {
		if(strval(RPJL(playerid, JOB_WDEALER)) < 5) return SendClientMessage(playerid, COLOR_GREY, "Your Weapons Dealer level is too low to sell this weapon.");
		if(PlayerInfo[playerid][pMaterials] < 7000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough materials for this weapon.");
		BeenOfferedWeapon[playerb] = 34;
    }
    else
    {
        SendClientMessage(playerid, COLOR_GREY, "Invalid weapon name.");
        return 1;
    }
    SellWeaponTo[playerid] = playerb;
	BuyWeaponFrom[playerb] = playerid;
	BuyWeaponPrice[playerb] = price;
	format(string, sizeof(string), " You have offered %s to sell them a %s for $%d.", RPN(playerb), RWN(BeenOfferedWeapon[playerb]), price);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has offered to sell you a %s for $%d. (/accept weapon) (/cancel weapon)", RPN(playerid), RWN(BeenOfferedWeapon[playerb]), price);
    SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:sellmats(playerid, params[])
{
	new string[128], playerb, amount, price;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] != JOB_WSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_WSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a weapons smuggler/dealer.");
	if(sscanf(params, "uii", playerb, amount, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellmats [playerid] [amount] [price]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't sell materials to yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "You must be at least level 2 to sell materials.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(PlayerInfo[playerid][pMaterials] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much materials on you.");
	if(SellMaterialsTo[playerid] == playerb) return SendClientMessage(playerid, COLOR_GREY, "You have already offered that player to sell them materials.");
	if(price <= 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid materials price.");
	// Clearing old buyer
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
		    if(SellMaterialsTo[playerid] == i && BuyMaterialsFrom[i] == playerid)
		    {
		        BuyMaterialsFrom[i] = -1; BuyMaterialsAmount[i] = 0; BuyMaterialsPrice[i] = 0; BeenOfferedMaterials[i] = 0;
		    }
		}
	}
	// New buyer
	SellMaterialsTo[playerid] = playerb;
	BuyMaterialsFrom[playerb] = playerid;
	BuyMaterialsAmount[playerb] = amount;
	BuyMaterialsPrice[playerb] = price;
	BeenOfferedMaterials[playerb] = 1;
	format(string, sizeof(string), " You have offered %s to sell them %d materials for $%d.", RPN(playerb), amount, price);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has offered to sell you %d materials for $%d. (/accept materials) (/cancel materials)", RPN(playerid), amount, price);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:househelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "HOUSE: {FFFFFF}/buyhouse /heal");
	if(PlayerInfo[playerid][pHouse] || PlayerInfo[playerid][pVHouse]) SendClientMessage(playerid, COLOR_YELLOW, "HOUSE OWNER: {FFFFFF}/hdeposit /hwithdraw /lock /houseupgrade /sellhousetomarket");
	return 1;
}

// Sell house to Player Begini

// Sell house to Player Endi

CMD:hwithdraw(playerid, params[])
{
	new string[128], option[32], amount;
	new idx = PlayerInfo[playerid][pHouse];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pHouse] && !PlayerInfo[playerid][pVHouse]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a house.");
    if(GetPlayerVirtualWorld(playerid)-500 != idx && !PlayerInfo[playerid][pVHouse]) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your house.");
    if(GetPlayerVirtualWorld(playerid)-500 != idx && PlayerInfo[playerid][pVHouse])
	{
		idx = PlayerInfo[playerid][pVHouse];
	    if(GetPlayerVirtualWorld(playerid)-500 != idx) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your house.");
	}
    if(sscanf(params, "s[32]", option))
    {
        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe withdraw [item]");
        SendClientMessage(playerid, COLOR_GREY, "ITEMS: 1) money | 2) weapon | 3) weed | 4) crack");
        format(string, sizeof(string), "SAFE: $%d | %d Weed | %d Crack", HouseInfo[idx][hMoney], HouseInfo[idx][hWeed], HouseInfo[idx][hCrack]);
		SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), "SAFE: Weapon 1: %s (%d Ammo) | Weapon 2: %s (%d Ammo) | Weapon 3: %s (%d Ammo)", RWN(HouseInfo[idx][hGun][0]), HouseInfo[idx][hGunAmmo][0], RWN(HouseInfo[idx][hGun][1]), HouseInfo[idx][hGunAmmo][1], RWN(HouseInfo[idx][hGun][2]), HouseInfo[idx][hGunAmmo][2]);
        SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), "SAFE: Weapon 4: %s (%d Ammo) | Weapon 5: %s (%d Ammo)", RWN(HouseInfo[idx][hGun][3]), HouseInfo[idx][hGunAmmo][3], RWN(HouseInfo[idx][hGun][4]), HouseInfo[idx][hGunAmmo][4]);
        SendClientMessage(playerid, COLOR_WHITE, string);
		return 1;
    }
    if(!strcmp(option, "money", true, 5))
    {
    	if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe withdraw money [amount]");
     	if(HouseInfo[idx][hMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money in your house vault.");
    	HouseInfo[idx][hMoney] -= amount;
     	GiveZaiatMoney(playerid, amount);
     	format(string, sizeof(string), "* %s opens their vault, takes $%d and closes it.", RPN(playerid), amount);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(option, "weapon", true, 4))
    {
     	if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe withdraw weapon [slot]");
        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Weapon slots are between 1 and 5.");
        amount = amount-1;
        if(!HouseInfo[idx][hGun][amount]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a weapon in this slot.");
        GiveZaiatWeapon(playerid, HouseInfo[idx][hGun][amount], HouseInfo[idx][hGunAmmo][amount]);
		format(string, sizeof(string), "* %s opens their vault, takes a %s closes it.", RPN(playerid), RWN(HouseInfo[idx][hGun][amount]));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
     	HouseInfo[idx][hGun][amount] = 0;
		HouseInfo[idx][hGunAmmo][amount] = 0;
    }
    else if(!strcmp(option, "weed", true, 4))
    {
  	 	if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe withdraw weed [amount]");
    	if(HouseInfo[idx][hWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed in your house vault.");
    	HouseInfo[idx][hWeed] -= amount;
    	PlayerInfo[playerid][pWeed] += amount;
    	format(string, sizeof(string), "* %s opens their vault, takes %d grams of weed and closes it.", RPN(playerid), amount);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
    else if(!strcmp(option, "crack", true, 4))
    {
    	if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe withdraw crack [amount]");
    	if(HouseInfo[idx][hCrack] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much crack in your house vault.");
    	HouseInfo[idx][hCrack] -= amount;
    	PlayerInfo[playerid][pCrack] += amount;
   	 	format(string, sizeof(string), "* %s opens their vault, takes %d grams of crack and closes it.", RPN(playerid), amount);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    }
	return 1;
}


CMD:hdeposit(playerid, params[])
{
	new string[128], option[32], amount, done;
	new idx = PlayerInfo[playerid][pHouse];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pHouse] && !PlayerInfo[playerid][pVHouse]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a house.");
    if(GetPlayerVirtualWorld(playerid)-500 != idx && !PlayerInfo[playerid][pVHouse]) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your house.");
    if(GetPlayerVirtualWorld(playerid)-500 != idx && PlayerInfo[playerid][pVHouse])
	{
		idx = PlayerInfo[playerid][pVHouse];
	    if(GetPlayerVirtualWorld(playerid)-500 != idx) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your house.");
	}
	if(sscanf(params, "s[32]", option))
    {
        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe deposit [item]");
        SendClientMessage(playerid, COLOR_GREY, "ITEMS: money | weapon | weed | crack");
        format(string, sizeof(string), "SAFE: $%d | %d Weed | %d Crack", HouseInfo[idx][hMoney], HouseInfo[idx][hWeed], HouseInfo[idx][hCrack]);
		SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), "SAFE: Weapon 1: %s (%d Ammo) | Weapon 2: %s (%d Ammo) | Weapon 3: %s (%d Ammo)", RWN(HouseInfo[idx][hGun][0]), HouseInfo[idx][hGunAmmo][0], RWN(HouseInfo[idx][hGun][1]), HouseInfo[idx][hGunAmmo][1], RWN(HouseInfo[idx][hGun][2]), HouseInfo[idx][hGunAmmo][2]);
        SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), "SAFE: Weapon 4: %s (%d Ammo) | Weapon 5: %s (%d Ammo)", RWN(HouseInfo[idx][hGun][3]), HouseInfo[idx][hGunAmmo][3], RWN(HouseInfo[idx][hGun][4]), HouseInfo[idx][hGunAmmo][4]);
        SendClientMessage(playerid, COLOR_WHITE, string);
		return 1;
    }
	if(sscanf(params, "s[32]", option))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe deposit [item]");
		SendClientMessage(playerid, COLOR_GREY, "ITEMS: 1) money | 2) weapon | 3) weed | 4) crack");
		return 1;
	}
	if(!strcmp(option, "money", true, 5))
	{
		if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe deposit money [amount]");
		if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		HouseInfo[idx][hMoney] += amount;
		GiveZaiatMoney(playerid, -amount);
		format(string, sizeof(string), "* %s opens their vault, puts $%d inside and closes it.", RPN(playerid), amount);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(!strcmp(option, "weapon", true, 4))
	{
		if(!GetPlayerWeapon(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not holding a weapon in your hand.");
		new tw[2], w[2];
		for(new i=0; i<13; i++)
		{
 			GetPlayerWeaponData(playerid, i, tw[0], tw[1]);
			if(tw[0] == GetPlayerWeapon(playerid))
			{
				w[0] = tw[0];
				w[1] = tw[1];
			}
		}
		if(!HouseInfo[idx][hGun][0])
		{
			HouseInfo[idx][hGun][0] = w[0];
			HouseInfo[idx][hGunAmmo][0] = w[1];
			done = 1;
		}
		else if(!HouseInfo[idx][hGun][1])
		{
			HouseInfo[idx][hGun][1] = w[0];
			HouseInfo[idx][hGunAmmo][1] = w[1];
			done = 1;
		}
		else if(!HouseInfo[idx][hGun][2])
		{
			HouseInfo[idx][hGun][2] = w[0];
			HouseInfo[idx][hGunAmmo][2] = w[1];
			done = 1;
		}
		else if(!HouseInfo[idx][hGun][3])
		{
			HouseInfo[idx][hGun][3] = w[0];
			HouseInfo[idx][hGunAmmo][3] = w[1];
			done = 1;
		}
		else if(!HouseInfo[idx][hGun][4])
		{
			HouseInfo[idx][hGun][4] = w[0];
			HouseInfo[idx][hGunAmmo][4] = w[1];
			done = 1;
		}
		if(done)
		{
			format(string, sizeof(string), "* %s opens their vault, puts a %s inside and closes it.", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			RemoveZaiatWeapon(playerid, w[0]);
		}
		else SendClientMessage(playerid, COLOR_GREY, "Your house vault can't contain any more weapons.");
	}
	else if(!strcmp(option, "weed", true, 4))
	{
		if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe deposit weed [amount]");
		if(PlayerInfo[playerid][pWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much weed on you.");
		HouseInfo[idx][hWeed] += amount;
		PlayerInfo[playerid][pWeed] -= amount;
		format(string, sizeof(string), "* %s opens their vault, puts %d grams of weed inside and closes it.", RPN(playerid), amount);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(!strcmp(option, "crack", true, 4))
	{
		if(sscanf(params, "s[32]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsafe deposit crack [amount]");
		if(PlayerInfo[playerid][pCrack] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much crack on you.");
		HouseInfo[idx][hCrack] += amount;
		PlayerInfo[playerid][pCrack] -= amount;
		format(string, sizeof(string), "* %s opens their vault, puts %d grams of crack inside and closes it.", RPN(playerid), amount);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	return 1;
}

CMD:sellcartoplayer(playerid, params[])
{
 	new string[128], playerb, price;
 	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "id", playerb, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellcartoplayer [playerid] [price]");
 	if(price < 1) return SendClientMessage(playerid, COLOR_GREY, "Price must be higher than 0.");
  	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can not use this command on yourself.");
	if(GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pBVeh]) return SendClientMessage(playerid, COLOR_GREY, "You must be in the vehicle you wish to sell to another player.");
	VehicleOffer[playerb] = playerid;
	//VehicleId[playerb] = d;
	VehiclePrice[playerb] = price;
	if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	{
			format(string, sizeof(string), "* You offered %s to buy this %s for $%d.", NORPN(playerb), RVN(GetVehicleModel(PlayerInfo[playerid][pVeh])), price);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), "* %s has offered you their %s for $%d, (type /accept car) to buy.", RPN(playerid), RVN(GetVehicleModel(PlayerInfo[playerid][pVeh])), price);
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	{
			format(string, sizeof(string), "* You offered %s to buy this %s for $%d.", NORPN(playerb), RVN(GetVehicleModel(PlayerInfo[playerid][pVVeh])), price);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), "* %s has offered you their %s for $%d, (type /accept car) to buy.", RPN(playerid), RVN(GetVehicleModel(PlayerInfo[playerid][pVVeh])), price);
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	{
			format(string, sizeof(string), "* You offered %s to buy this %s for $%d.", NORPN(playerb), RVN(GetVehicleModel(PlayerInfo[playerid][pBVeh])), price);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), "* %s has offered you their %s for $%d, (type /accept car) to buy.", NORPN(playerid), RVN(GetVehicleModel(PlayerInfo[playerid][pBVeh])), price);
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	else
	{
			SendClientMessage(playerid, COLOR_GREY, "You are not in a vehicle that you own.");
			return 1;
	}
    return 1;
}

/*CMD:sellcartoplayer(playerid, params[])
{
	new playerb, price, Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "ui[128]", playerb, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellcartoplayer [playerid] [price]");
	if(!IsPlayerNearPlayer(playerid, playerb, 7)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the other player.");
	if(!PlayerInfo[playerid][pVeh] && !PlayerInfo[playerid][pVVeh] && !PlayerInfo[playerid][pBVeh]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a vehicle.");
	if(GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pVVeh] && GetPlayerVehicleID(playerid) != PlayerInfo[playerid][pBVeh]) return SendClientMessage(playerid, COLOR_GREY, "You must be in the vehicle you wish to sell to another player.");
	if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	{
		// Give playerb the players vehicle (who bought the vehicle)
	    PlayerInfo[playerb][pVeh] = CreateVehicle(PlayerInfo[playerid][pVeh], x, y, z, 0,0, 0, 12000);
		SetVehicleParamsEx(PlayerInfo[playerb][pVeh], 0, 0, 0, 1, 0, 0, 0);
		PlayerInfo[playerb][vLocked] = 1;
		PlayerInfo[playerb][vModel] = PlayerInfo[playerid][pVeh];
		GetVehiclePos(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
		GetVehicleZAngle(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vVA]);
		PlayerInfo[playerb][vC1] = 0;
		PlayerInfo[playerb][vC2] = 0;
		// Delete the players vehicle (who sold his vehicle)
		DestroyVehicle(PlayerInfo[playerid][pVeh]);
		PlayerInfo[playerid][pVeh] = 0;
	    PlayerInfo[playerid][vModel] = 0;
		PlayerInfo[playerid][vX] = 0;
		PlayerInfo[playerid][vY] = 0;
		PlayerInfo[playerid][vZ] = 0;
		PlayerInfo[playerid][vA] = 0;
		PlayerInfo[playerid][vC1] = 0;
		PlayerInfo[playerid][vC2] = 0;
 		PlayerInfo[playerid][pTWeed] = 0;
		SendClientMessage(playerid, COLOR_GREEN, " You have sold your vehicle to another player.");
		SendClientMessage(playerb, COLOR_GREEN, " You have bought a vehicle from another player.");
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	{
		DestroyVehicle(PlayerInfo[playerid][pVVeh]);
		PlayerInfo[playerid][pVVeh] = 0;
	    PlayerInfo[playerid][vVModel] = 0;
		PlayerInfo[playerid][vVX] = 0;
		PlayerInfo[playerid][vVY] = 0;
		PlayerInfo[playerid][vVZ] = 0;
		PlayerInfo[playerid][vVA] = 0;
		PlayerInfo[playerid][vVC1] = 0;
		PlayerInfo[playerid][vVC2] = 0;
		PlayerInfo[playerid][pvTWeed] = 0;
		SendClientMessage(playerid, COLOR_GREEN, " You have sold your vehicle to another player.");
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	{
		DestroyVehicle(PlayerInfo[playerid][pBVeh]);
		PlayerInfo[playerid][pBVeh] = 0;
	    PlayerInfo[playerid][vBModel] = 0;
		PlayerInfo[playerid][vBX] = 0;
		PlayerInfo[playerid][vBY] = 0;
		PlayerInfo[playerid][vBZ] = 0;
		PlayerInfo[playerid][vBA] = 0;
		PlayerInfo[playerid][vBC1] = 0;
		PlayerInfo[playerid][vBC2] = 0;
		SendClientMessage(playerid, COLOR_GREEN, " You have sold your vehicle to another player.");
	}
	return 1;
}*/


CMD:carhelp(playerid, params[])
return cmd_vehhelp(playerid, params);

CMD:vehhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "VEHICLES DEALERSHIP: {FFFFFF}/buycar");
	SendClientMessage(playerid, COLOR_YELLOW, "REGULAR VEHICLES: {FFFFFF}/engine /lights");
	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh] || PlayerInfo[playerid][pBVeh]) SendClientMessage(playerid, COLOR_YELLOW, "OWNED VEHICLES: {FFFFFF}/lock /trunk /bonnet /sellcartomarket /tbalance /tdeposit /twithdraw /cartow");
	return 1;
}

CMD:bizhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "BUSINESS: {FFFFFF}/buybiz");
	if(PlayerInfo[playerid][pBiz] || PlayerInfo[playerid][pVBiz]) SendClientMessage(playerid, COLOR_YELLOW, "BUSINESS OWNER: {FFFFFF}/vault /lock /buyproducts /sellbiztomarket");
	return 1;
}

CMD:cellphonehelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "PHONE: {FFFFFF}/call /sms /hangup /pickup /speakerphone");
	return 1;
}

CMD:notehelp(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "NOTE: {FFFFFF}/shownotes /deletenote /createnote");
	return 1;
}

CMD:skill(playerid, params[])
{
	new string[128], left;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "i", strval(params)))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /skill [skill]");
		SendClientMessage(playerid, COLOR_GREY, "SKILLS: 1) Mechanic | 2) Lawyer | 3) Trucker | 4) Fisher | 5) Weapons Dealer | 6) Weapons Smuggler");
        SendClientMessage(playerid, COLOR_GREY, "SKILLS: 7) Drugs Dealer | 8) Drugs Smuggler | 9) Boxer");
		return 1;
	}
	// L1: 0 | L2: 100 | L3: 300 | L4: 700 | L5: 1200
	if(strval(params) == 9) format(params, 4, "11");
	if(RPJS(playerid, strval(params)) < 100) left = 100 - RPJS(playerid, strval(params));
	else if(RPJS(playerid, strval(params)) < 300) left = 300 - RPJS(playerid, strval(params));
	else if(RPJS(playerid, strval(params)) < 700) left = 700 - RPJS(playerid, strval(params));
	else if(RPJS(playerid, strval(params)) < 1200) left = 1200 - RPJS(playerid, strval(params));
	if(strval(params) == 1)
	{
	    format(string, sizeof(string), "** Mechanic Level: %s. (You need to repair/refill %d more vehicles to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	if(strval(params) == 2)
	{
	    format(string, sizeof(string), "** Lawyer Level: %s. (You need to defend/free %d more players to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	else if(strval(params) == 3)
	{
	    format(string, sizeof(string), "** Trucker Level: %s. (You need to deliver %d more packages to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	else if(strval(params) == 4)
	{
	    format(string, sizeof(string), "** Fisher Level: %s. (You need to fish %d more fishes to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
    else if(strval(params) == 5)
	{
	    format(string, sizeof(string), "** Weapons Dealer Level: %s. (You need to sell %d more weapons to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	else if(strval(params) == 6)
	{
	    format(string, sizeof(string), "** Weapons Smuggler Level: %s. (You need to deliver %d more materials to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	else if(strval(params) == 7)
	{
	    format(string, sizeof(string), "** Drugs Dealer Level: %s. (You need to sell %d more drugs to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	else if(strval(params) == 8)
	{
	    format(string, sizeof(string), "** Drugs Smuggle Level: %s. (You need to smuggle %d more packages to level up) **", RPJL(playerid, strval(params)), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	else if(strval(params) == 11)
	{
		format(string, sizeof(string), "** Boxer Level: %s. (You need to win %d more fights to level up) **", RPJL(playerid, JOB_BOXER), left);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	return 1;
}


CMD:sellweed(playerid, params[])
{
	new playerb, string[128], amount, price, maxweed;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DDEALER && PlayerInfo[playerid][pVIPJob] != JOB_DDEALER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Dealer.");
	if(sscanf(params, "uii", playerb, amount, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellweed [playerid] [amount] [price]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't sell weed to yourself.");
	if(WeedSeller[playerb] == playerid) SendClientMessage(playerid, COLOR_GREY, "You have already offered this player to buy weed.");
	if(PlayerInfo[playerid][pWeed] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that amount of weed on you.");
	if(strval(RPJL(playerb, JOB_DDEALER)) == 1) maxweed = 10;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 2) maxweed = 15;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 3) maxweed = 20;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 4) maxweed = 25;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 5) maxweed = 30;
	if(PlayerInfo[playerb][pWeed] + amount > maxweed) return SendClientMessage(playerid, COLOR_GREY, "Player can't hold that amount of weed at the moment.");
	WeedSeller[playerb] = playerid;
	WeedPrice[playerid][playerb] = price;
	WeedAmount[playerid][playerb] = amount;
	format(string, sizeof(string), " You have offered %s %d grams of weed for $%d.", RPN(playerb), amount, price);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has offered you %d grams of weed for $%d. (/accept weed) (/deny weed)", RPN(playerb), amount, price);
    SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:sellcrack(playerid, params[])
{
	new playerb, string[128], amount, price, maxcrack;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DDEALER && PlayerInfo[playerid][pVIPJob] != JOB_DDEALER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Dealer.");
	if(sscanf(params, "uii", playerb, amount, price)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellcrack [playerid] [amount] [price]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't sell crack to yourself.");
	if(CrackSeller[playerb] == playerid) SendClientMessage(playerid, COLOR_GREY, "You have already offered this player to buy crack.");
	if(PlayerInfo[playerid][pCrack] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that amount of Crack on you.");
	if(strval(RPJL(playerb, JOB_DDEALER)) == 1) maxcrack = 10;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 2) maxcrack = 15;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 3) maxcrack = 20;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 4) maxcrack = 25;
   	else if(strval(RPJL(playerb, JOB_DDEALER)) == 5) maxcrack = 30;
	if(PlayerInfo[playerb][pCrack] + amount > maxcrack) return SendClientMessage(playerid, COLOR_GREY, "Player can't hold that amount of crack at the moment.");
	CrackSeller[playerb] = playerid;
	CrackPrice[playerid][playerb] = price;
	CrackAmount[playerid][playerb] = amount;
	format(string, sizeof(string), " You have offered %s %d grams of crack for $%d.", RPN(playerb), amount, price);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has offered you %d grams of crack for $%d. (/accept crack) (/deny crack)", RPN(playerb), amount, price);
    SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:buyweed(playerid, params[])
{
	new amount, maxweed, string[128];
	if(strval(RPJL(playerid, JOB_DDEALER)) == 1) maxweed = 10;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 2) maxweed = 15;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 3) maxweed = 20;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 4) maxweed = 25;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 5) maxweed = 30;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DDEALER && PlayerInfo[playerid][pVIPJob] != JOB_DDEALER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Dealer.");
   	if(!IsPlayerInRangeOfPoint(playerid, 2, 323.0012,1118.5720,1083.8828)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Weed Pickup.");
   	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buyweed [amount]");
   	if(amount < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid weed amount.");
   	if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
   	if(amount > Weed) return SendClientMessage(playerid, COLOR_GREY, "The Drugs House doesn't have that amount of weed at the moment.");
    if(PlayerInfo[playerid][pWeed] + amount > maxweed) return SendClientMessage(playerid, COLOR_GREY, "You can't hold that much weed at the moment.");
    GiveZaiatMoney(playerid, -amount*50);
    if(PointInfo[1][pOwner])
    {
		new idx = PointInfo[1][pOwner];
		FamInfo[idx][fMoney] += amount*50;
		PointInfo[1][pProfit] += amount*50;
    }
    PlayerInfo[playerid][pWeed] += amount;
	Weed -= amount;
	format(string, sizeof(string), "Weed Pickup\n{FFFF00}/buyweed to get weed\nAvailable Stock: %d/2000", Weed);
	UpdateDynamic3DTextLabelText(WeedText, COLOR_RED, string);
    format(string, sizeof(string), "* %s has bought %d grams of weed for $%d.", RPN(playerid), amount, amount*50);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:buycrack(playerid, params[])
{
	new amount, maxcrack, string[128];
	if(strval(RPJL(playerid, JOB_DDEALER)) == 1) maxcrack = 10;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 2) maxcrack = 15;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 3) maxcrack= 20;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 4) maxcrack = 25;
   	else if(strval(RPJL(playerid, JOB_DDEALER)) == 5) maxcrack = 30;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DDEALER && PlayerInfo[playerid][pVIPJob] != JOB_DDEALER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Dealer.");
   	if(!IsPlayerInRangeOfPoint(playerid, 2, 2345.3992,-1185.6423,1027.9766)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Crack Pickup.");
   	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buycrack [amount]");
   	if(amount < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid crack amount.");
   	if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
   	if(amount > Crack) return SendClientMessage(playerid, COLOR_GREY, "The Crack Lab doesn't have that amount of crack at the moment.");
    if(PlayerInfo[playerid][pCrack] + amount > maxcrack) return SendClientMessage(playerid, COLOR_GREY, "You can't hold that much crack at the moment.");
    GiveZaiatMoney(playerid, -amount*50);
    if(PointInfo[2][pOwner])
    {
		new idx = PointInfo[2][pOwner];
		FamInfo[idx][fMoney] += amount*50;
		PointInfo[2][pProfit] += amount*50;
    }
    PlayerInfo[playerid][pCrack] += amount;
	Crack -= amount;
	format(string, sizeof(string), "Crack Pickup\n{FFFF00}/buycrack to get crack\nAvailable Stock: %d/2000", Crack);
	UpdateDynamic3DTextLabelText(CrackText, COLOR_RED, string);
    format(string, sizeof(string), "* %s has bought %d grams of crack for $%d.", RPN(playerid), amount, amount*50);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:getweed(playerid, params[])
{
	new string[128], packages;
	if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 100) packages = 5;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 300) packages = 10;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 700) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 1200) packages = 20;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] >= 1200) packages = 25;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_DSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Smuggler.");
	if(PlayerInfo[playerid][pDPackages]) return SendClientMessage(playerid, COLOR_GREY, "You already have packages.");
	if(!IsPlayerInRangeOfPoint(playerid, 3, 2941.2471,-2053.3892,3.5480)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Weed Packages Pickup.");
   	if(PlayerInfo[playerid][pMoney] < packages*10) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
	PlayerInfo[playerid][pDPackages] = 1;
    GiveZaiatMoney(playerid, -(packages*10));
    if(PointInfo[0][pOwner])
    {
		new idx = PointInfo[0][pOwner];
		FamInfo[idx][fMoney] += packages*10;
		PointInfo[0][pProfit] += packages*10;
    }
    format(string, sizeof(string), "* %s has loaded %d weed packages from the pickup.", RPN(playerid), packages);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have loaded {FF6347}%d weed{33CCFF} packages for {FF6347}$%d{33CCFF}, deliver them to the Weed Dropoff. (Checkpoint)", packages, packages*10);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    SetPlayerCheckpoint(playerid,2178.5518,-1660.4418,14.9644,3);
    AntiTP[playerid] = 1;
    AntiTPTimer[playerid] = SetTimerEx("AntiTPHacks", 30000, false, "d", playerid);
	return 1;
}

CMD:dropweed(playerid, params[])
{
	new string[128], packages, oldj, newj;
	if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 100) packages = 5;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 300) packages = 10;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 700) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 1200) packages = 20;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] >= 1200) packages = 25;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_DSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Smuggler.");
   	if(!IsPlayerInRangeOfPoint(playerid, 3, 2178.5518,-1660.4418,14.9644)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Weed Dropoff.");
    AntiTPCheck(playerid);
	if(PlayerInfo[playerid][pDPackages] != 1) return SendClientMessage(playerid, COLOR_GREY, "You have no weed packages on you.");
	if(Weed >= 2000) return SendClientMessage(playerid, COLOR_GREY, "The Drugs House can't hold any more weed at the moment.");
	PlayerInfo[playerid][pDPackages] = 0;
	oldj = strval(RPJL(playerid, JOB_DSMUGGLER));
	PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] ++;
	newj = strval(RPJL(playerid, JOB_DSMUGGLER));
	Weed += packages;
	if(Weed > 2000) Weed = 2000;
	GiveZaiatMoney(playerid, packages*40);
	if(PointInfo[1][pOwner])
    {
		new idx = PointInfo[1][pOwner];
		FamInfo[idx][fMoney] += packages*40;
		PointInfo[1][pProfit] += packages*40;
    }
	format(string, sizeof(string), "Weed Pickup\n{FFFF00}/buyweed to get weed\nAvailable Stock: %d/2000", Weed);
	UpdateDynamic3DTextLabelText(WeedText, COLOR_RED, string);
    format(string, sizeof(string), "* %s has dropped %d weed packages in the dropoff and collected $%d.", RPN(playerid), packages, packages*40);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have delivered {FF6347}%d{33CCFF} packages for {FF6347}$%d{33CCFF}.", packages, packages*40);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	if(oldj < newj)
	{
	    format(string, sizeof(string), "** Your Drugs Smuggler level is now %d, you can now carry %d packages. **", newj, newj*5);
		SendClientMessage(playerid, COLOR_YELLOW, string);
	}

	return 1;
}


CMD:getcrack(playerid, params[])
{
	new string[128], packages;
	if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 100) packages = 5;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 300) packages = 10;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 700) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 1200) packages = 20;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] >= 1200) packages = 25;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_DSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Smuggler.");
	if(PlayerInfo[playerid][pDPackages]) return SendClientMessage(playerid, COLOR_GREY, "You already have packages.");
	if(!IsPlayerInRangeOfPoint(playerid, 3, 2941.1660,-2050.1772,3.5480)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Crack Packages Pickup.");
   	if(PlayerInfo[playerid][pMoney] < packages*10) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
	PlayerInfo[playerid][pDPackages] = 2;
    GiveZaiatMoney(playerid, -(packages*10));
    if(PointInfo[0][pOwner])
    {
		new idx = PointInfo[0][pOwner];
		FamInfo[idx][fMoney] += packages*10;
		PointInfo[0][pProfit] += packages*10;
    }
    format(string, sizeof(string), "* %s has loaded %d crack packages from the pickup.", RPN(playerid), packages);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have loaded {FF6347}%d crack{33CCFF} packages for {FF6347}$%d{33CCFF}, deliver them to the Crack Dropoff. (Checkpoint)", packages, packages*10);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    SetPlayerCheckpoint(playerid,2354.7354,-1170.1056,28.0475,3);
    AntiTPTimer[playerid] = SetTimerEx("AntiTPHacks", 30000, false, "d", playerid);
	return 1;
}

CMD:dropcrack(playerid, params[])
{
	new string[128], packages, oldj, newj;
	if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 100) packages = 5;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 300) packages = 10;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 700) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] < 1200) packages = 20;
	else if(PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] >= 1200) packages = 25;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_DSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_DSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Drugs Smuggler.");
   	if(!IsPlayerInRangeOfPoint(playerid, 3, 2354.7354,-1170.1056,28.0475)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Crack Dropoff.");
    AntiTPCheck(playerid);
	if(PlayerInfo[playerid][pDPackages] != 2) return SendClientMessage(playerid, COLOR_GREY, "You have no crack packages on you.");
	if(Crack >= 2000) return SendClientMessage(playerid, COLOR_GREY, "The Crack Lab can't hold any more crack at the moment.");
	PlayerInfo[playerid][pDPackages] = 0;
	oldj = strval(RPJL(playerid,JOB_DSMUGGLER));
	PlayerInfo[playerid][pJobSkill][JOB_DSMUGGLER] ++;
	newj = strval(RPJL(playerid,JOB_DSMUGGLER));
	Crack += packages;
	if(Crack > 2000) Crack = 2000;
	GiveZaiatMoney(playerid, packages*40);
	if(PointInfo[2][pOwner])
    {
		new idx = PointInfo[2][pOwner];
		FamInfo[idx][fMoney] += packages*40;
		PointInfo[2][pProfit] += packages*40;
    }
	format(string, sizeof(string), "Crack Pickup\n{FFFF00}/buycrack to get crack\nAvailable Stock: %d/2000", Crack);
	UpdateDynamic3DTextLabelText(CrackText, COLOR_RED, string);
    format(string, sizeof(string), "* %s has dropped %d crack packages in the dropoff and collected $%d.", RPN(playerid), packages, packages*40);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have delivered {FF6347}%d{33CCFF} packages for {FF6347}$%d{33CCFF}.", packages, packages*40);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	if(oldj < newj)
	{
	    format(string, sizeof(string), "** Your Drugs Smuggler level is now %d, you can now carry %d packages. **", newj, newj*5);
		SendClientMessage(playerid, COLOR_YELLOW, string);
	}

	return 1;
}


CMD:getmats(playerid, params[])
{
	new string[128], packages;
	if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 100) packages = 5;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 300) packages = 10;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 700) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 1200) packages = 20;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] >= 1200) packages = 25;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_WSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_WSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Weapons Smuggler.");
	if(PlayerInfo[playerid][pMPackages]) return SendClientMessage(playerid, COLOR_GREY, "You already have packages.");
   	if(!IsPlayerInRangeOfPoint(playerid, 3, 1423.6010,-1317.9398,13.5547)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Materials Pickup.");
   	if(PlayerInfo[playerid][pMoney] < packages*25) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
	PlayerInfo[playerid][pMPackages] = 1;
    GiveZaiatMoney(playerid, -(packages*25));
    if(PointInfo[3][pOwner])
    {
		new idx = PointInfo[3][pOwner];
		FamInfo[idx][fMoney] += packages*25;
		PointInfo[3][pProfit] += packages*25;
    }
    format(string, sizeof(string), "* %s has loaded %d materials packages from the pickup.", RPN(playerid), packages);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have loaded {FF6347}%d materials{33CCFF} packages for {FF6347}$%d{33CCFF}, deliver them to the Materials Dropoff. (Checkpoint)", packages, packages*25);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    SetPlayerCheckpoint(playerid,2172.5471,-2264.2207,13.3416,3);
    AntiTPTimer[playerid] = SetTimerEx("AntiTPHacks", 30000, false, "d", playerid);
	return 1;
}

CMD:dropmats(playerid, params[])
{
	new string[128], packages, oldj, newj;
	if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 100) packages = 5;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 300) packages = 10;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 700) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] < 1200) packages = 20;
	else if(PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] >= 1200) packages = 25;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_WSMUGGLER && PlayerInfo[playerid][pVIPJob] != JOB_WSMUGGLER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Weapons Smuggler.");
   	if(!IsPlayerInRangeOfPoint(playerid, 3, 2172.5471,-2264.2207,13.3416)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Materials Dropoff.");
	AntiTPCheck(playerid);
	if(!PlayerInfo[playerid][pMPackages]) return SendClientMessage(playerid, COLOR_GREY, "You have no packages on you.");
	PlayerInfo[playerid][pMaterials] += packages*25;
	if(PointInfo[4][pOwner])
    {
		new idx = PointInfo[4][pOwner];
		FamInfo[idx][fMoney] += packages*25;
		PointInfo[4][pProfit] += packages*25;
    }
	PlayerInfo[playerid][pMPackages] = 0;
	oldj = strval(RPJL(playerid,JOB_WSMUGGLER));
	PlayerInfo[playerid][pJobSkill][JOB_WSMUGGLER] ++;
	newj = strval(RPJL(playerid,JOB_WSMUGGLER));
    format(string, sizeof(string), "* %s has dropped %d materials packages in the dropoff.", RPN(playerid), packages*25);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have collected {FF6347}%d materials{33CCFF} from the drop off.", packages*25);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	if(oldj < newj)
	{
	    format(string, sizeof(string), "** Your Weapons Smuggler level is now %d, you can now carry %d packages. **", newj, newj*5);
		SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	return 1;
}

CMD:loadpackages(playerid, params[])
{
	new string[128], packages;
	// L1: 0 | L2: 100 | L3: 300 | L4: 700 | L5: 1200
	if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 100) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 300) packages = 25;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 700) packages = 40;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 1200) packages = 60;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] >= 1200) packages = 70;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_TRUCKER && PlayerInfo[playerid][pVIPJob] != JOB_TRUCKER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Trucker.");
   	if(PlayerInfo[playerid][pTPackages] == 2) return SendClientMessage(playerid, COLOR_GREY, "You already have overloaded packages.");
	if(!IsPlayerInAnyVehicle(playerid) || !IsTruckerVehicle(GetPlayerVehicleID(playerid)) || !IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You are not in a Trucker vehicle or you have no trailer attached.");
   	if(!IsPlayerInRangeOfPoint(playerid, 5, 924.1837,-1222.2682,16.9766)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a packages pickup.");
   	if(PlayerInfo[playerid][pMoney] < packages*5) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
	PlayerInfo[playerid][pTPackages] ++;
    GiveZaiatMoney(playerid, -(packages*5));
    PlayerInfo[playerid][pDeliverTruck] = GetPlayerVehicleID(playerid);
	TruckPackages[GetPlayerVehicleID(playerid)] = playerid;
    format(string, sizeof(string), "* %s has loaded %d products packages from the pickup.", RPN(playerid), packages);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have loaded {FF6347}%d products{33CCFF} packages for {FF6347}$%d{33CCFF}, deliver them to the dropoff. (Checkpoint)", packages, packages*5);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    if(PlayerInfo[playerid][pTPackages] != 2)
    {
        SendClientMessage(playerid, COLOR_WHITE, "You can overload packages by typing /loadpackages again, cops will be notified though.");
    }
    SetPlayerCheckpoint(playerid, 2222.5107,-2682.7368,13.5409, 2);
    if(PlayerInfo[playerid][pTPackages] == 2)
    {
	    SendClientMessage(playerid, COLOR_LIGHTRED, "* You have overloaded packages, the Police Department has been notified as a result.");
	    SendCopMessage(COLOR_BLUE, "Products Depot: A truck has overloaded packages and is on it way to the dropoff now.");
	    SendFBIMessage(COLOR_BLUE, "Products Depot: A truck has overloaded packages and is on it way to the dropoff now.");
	    SendHSFMessage(COLOR_BLUE, "Products Depot: A truck has overloaded packages and is on it way to the dropoff now.");
    }
	return 1;
}

CMD:deliverpackages(playerid, params[])
{
	new string[128], packages, oldj, newj, price;
	// L1: 0 | L2: 100 | L3: 300 | L4: 700 | L5: 1200
	if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 100) packages = 15;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 300) packages = 25;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 700) packages = 40;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] < 1200) packages = 60;
	else if(PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] >= 1200) packages = 70;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pJob] != JOB_TRUCKER && PlayerInfo[playerid][pVIPJob] != JOB_TRUCKER) return SendClientMessage(playerid, COLOR_GREY, "You are not a Trucker.");
	if(!IsPlayerInAnyVehicle(playerid) || !IsTruckerVehicle(GetPlayerVehicleID(playerid)) || !IsTrailerAttachedToVehicle(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You are not in a Trucker vehicle or you have no trailer attached.");
   	if(!PlayerInfo[playerid][pTPackages]) return SendClientMessage(playerid, COLOR_GREY, "You have no packages on you.");
   	if(PlayerInfo[playerid][pDeliverTruck] != GetPlayerVehicleID(playerid)) return SendClientMessage(playerid, COLOR_GREY, "This is not the vehicle that your packages were loaded to.");
   	if(!IsPlayerInRangeOfPoint(playerid, 5, 2222.5107,-2682.7368,13.5409)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a packages dropoff.");
	if(Products >= 20000) return SendClientMessage(playerid, COLOR_GREY, "The dropoff can't hold anymore products at the moment.");
	oldj = strval(RPJL(playerid,JOB_TRUCKER));
	PlayerInfo[playerid][pJobSkill][JOB_TRUCKER] ++;
	Products += packages;
	if(Products > 20000) Products = 20000;
	newj = strval(RPJL(playerid,JOB_TRUCKER));
	if(PlayerInfo[playerid][pTPackages] == 1) {price = packages*200;}
	else if(PlayerInfo[playerid][pTPackages] == 2) {price = packages*400;}
    GiveZaiatMoney(playerid, price);
    PlayerInfo[playerid][pDeliverTruck] = -1;
    TruckPackages[GetPlayerVehicleID(playerid)] = -1;
    format(string, sizeof(string), "* %s has delivered %d products packages to the dropoff.", RPN(playerid), PlayerInfo[playerid][pTPackages]*5);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "* You have delivered {FF6347}%d products{33CCFF} packages for {FF6347}$%d{33CCFF}", PlayerInfo[playerid][pTPackages]*5, price);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    if(oldj < newj)
	{
	    format(string, sizeof(string), "** Your Trucker level is now %d, you can now carry %d packages. **", newj, newj*5);
		SendClientMessage(playerid, COLOR_YELLOW, string);
	}
	format(string, sizeof(string), "Packages Dropoff\n{FFFF00}/deliverpackages to deliver crates\nAvailable Products: %d/20000", Products);
	UpdateDynamic3DTextLabelText(ProductsText, COLOR_RED, string);
	PlayerInfo[playerid][pTPackages] = 0;
	return 1;
}

CMD:join(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pJob] && PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You already have a job, /quitjob then try again.");
   	if(PlayerInfo[playerid][pJob] && PlayerInfo[playerid][pVIPJob] && PlayerInfo[playerid][pVIP] >= 2) return SendClientMessage(playerid, COLOR_GREY, "You already have two jobs, /quitjob then try again.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /join confirm");
	if(!strcmp(params, "confirm", true))
	{
	    if(IsPlayerInRangeOfPoint(playerid, 2, 2330.0693,-2315.4709,13.5469))
	    {
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_MECHANIC;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_MECHANIC;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Mechanic {33CCFF}job, type /jobhelp to view your job commands.");
	    }
	    else if(IsPlayerInRangeOfPoint(playerid, 2, 1380.8300,-1088.7698,27.3844))
	    {
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_LAWYER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_LAWYER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Lawyer {33CCFF}job, type /jobhelp to view your job commands.");
	    }
		else if(IsPlayerInRangeOfPoint(playerid, 2, 919.4667,-1252.2340,16.2109))
		{
			if(PlayerInfo[playerid][pHours] < 4) return SendClientMessage(playerid, COLOR_GREY, "You must have at least 4 (Respect) play hours, /stats to check it.");
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_TRUCKER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_TRUCKER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Trucker {33CCFF}job, type /jobhelp to view your job commands.");
		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 1415.4907,-1301.0790,13.5449))
		{
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_WSMUGGLER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_WSMUGGLER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Weapons Smuggler {33CCFF}job, type /jobhelp to view your job commands.");
		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 2165.2358,-2271.5012,13.3413))
		{
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_WDEALER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_WDEALER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Weapons Dealer {33CCFF}job, type /jobhelp to view your job commands.");
		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 2178.5518,-1660.4418,14.9644))
		{
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_DDEALER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_DDEALER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Drugs Dealer {33CCFF}job, type /jobhelp to view your job commands.");
		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 2354.7354,-1170.1056,28.0475))
		{
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_DSMUGGLER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_DSMUGGLER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Drugs Smuggler {33CCFF}job, type /jobhelp to view your job commands.");
		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 2227.9976,-1718.2604,13.5321))
		{
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_BODYGUARD;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_BODYGUARD;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Bodyguard {33CCFF}job, type /jobhelp to view your job commands.");

		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 765.9518,15.2308,1000.6991))
		{
		    if(GetPlayerFightingStyle(playerid) != FIGHT_STYLE_BOXING) return SendClientMessage(playerid, COLOR_GREY, "You must use the boxing fighting style to become a boxer.");
			if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_BOXER;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_BOXER;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Boxer {33CCFF}job, type /jobhelp to view your job commands.");
			new rand = random(2);
			if(rand == 0) {SetPlayerSkin(playerid, 80); PlayerInfo[playerid][pModel] = 80;}
			else if(rand == 1) {SetPlayerSkin(playerid, 81); PlayerInfo[playerid][pModel] = 81;}
		}
		else if(IsPlayerInRangeOfPoint(playerid, 2, 363.7841,-1557.3545,32.9076))
		{
		    if(!PlayerInfo[playerid][pJob]) PlayerInfo[playerid][pJob] = JOB_THIEF;
		    else if(PlayerInfo[playerid][pVIP] >= 2) PlayerInfo[playerid][pVIPJob] = JOB_THIEF;
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have joined the {FF6347}Thief {33CCFF}job, type /jobhelp to view your job commands.");

		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY, "You are not near a job location.");
		}
	}
	return 1;
}

CMD:quitjob(playerid, params[])
{
	new string[128], jobid;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pJob] && PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You don't have a job.");
 	if(PlayerInfo[playerid][pVIP] >= 2)
	{
		if(sscanf(params, "is[8]", jobid, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /quitjob [1-2] confirm");
		if(jobid == 1 && !PlayerInfo[playerid][pJob]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a job at this slot.");
		if(jobid == 2 && !PlayerInfo[playerid][pVIPJob]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a job at this slot.");
	}
	else if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /quitjob confirm");
	if(!strcmp(params, "confirm", true))
	{
	    if(PlayerInfo[playerid][pVIP] >= 2)
	    {
	        if(jobid == 1)
	        {
		        format(string, sizeof(string), "* You have quit the {FF6347}%s {33CCFF}job.", RPJN(playerid));
				SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		    	PlayerInfo[playerid][pJob] = JOB_NONE;
	        }
			else if(jobid == 2)
			{
		        format(string, sizeof(string), "* You have quit the {FF6347}%s {33CCFF}job.", RPVJN(playerid));
				SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		    	PlayerInfo[playerid][pVIPJob] = JOB_NONE;
			}
	        return 1;
	    }
	    format(string, sizeof(string), "* You have quit the {FF6347}%s {33CCFF}job.", RPJN(playerid));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    PlayerInfo[playerid][pJob] = JOB_NONE;
	}
	return 1;
}

CMD:houseupgrade(playerid, params[])
{
	new string[128], idx = PlayerInfo[playerid][pHouse], price;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pHouse]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a house.");
	if(!PlayerInfo[playerid][pVHouse])
	{
	    if(!IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ])) return SendClientMessage(playerid, COLOR_GREY, "You are not near your house.");
	}
	else
	{
	    new done;
   	    if(!IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
 		{
	 		done ++;
	   	    idx = PlayerInfo[playerid][pVHouse];
	   	    if(!IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ])) done ++;
		}
		if(done == 2) return SendClientMessage(playerid, COLOR_GREY, "You are not near your house.");

	}
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /houseupgrade confirm");
	if(HouseInfo[idx][hLevel] >= 11) return SendClientMessage(playerid, COLOR_GREY, "Your house already has the maximum level possible.");
	if(!strcmp(params, "confirm", true))
	{
	    if(!PlayerInfo[playerid][pVIP])price = 500000;
	    if(PlayerInfo[playerid][pVIP] == 1) price = 375000;
	    else if(PlayerInfo[playerid][pVIP] == 2) price = 250000;
	    else if(PlayerInfo[playerid][pVIP] == 3) price = 125000;
	    else if(PlayerInfo[playerid][pVIP] == 4) price = 75000;
		if(PlayerInfo[playerid][pMoney] < price)
		{
		    format(string, sizeof(string), "You need $%d to upgrade your house.", price);
			SendClientMessage(playerid, COLOR_GREY, string);
			return 1;
		}
		HouseInfo[idx][hLevel] ++;
		GiveZaiatMoney(playerid, -price);
		format(string, sizeof(string), " You have upgraded your house to level %d.", HouseInfo[idx][hLevel]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
		UpdateDynamic3DTextLabelText(HouseInfo[idx][hText], COLOR_WHITE, string);
	}
	return 1;
}

/*CMD:bizupgrade(playerid, params[])
{
	new string[128], idx = PlayerInfo[playerid][pBiz];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pBiz]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a business.");
    if(GetPlayerVirtualWorld(playerid)-100 != idx) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your business.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bizupgrade confirm");
	if(BizInfo[idx][bLevel] >= 5) return SendClientMessage(playerid, COLOR_GREY, "Your business already has the maximum level possible.");
	if(!strcmp(params, "confirm", true))
	{
	    // L1: 0 | L2: 100 | L3: 300 | L4: 700 | L5: 1200
	    if(strval(RPBL(playerid)) == 1 && RPBS(playerid) >= 100) {BizInfo[idx][bLevel]++; SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have upgraded your business to level 2.");}
	    else if(strval(RPBL(playerid)) == 2 && RPBS(playerid) >= 300) {BizInfo[idx][bLevel]++; SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have upgraded your business to level 3.");}
	    else if(strval(RPBL(playerid)) == 3 && RPBS(playerid) >= 700) {BizInfo[idx][bLevel]++; SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have upgraded your business to level 4.");}
	    else if(strval(RPBL(playerid)) == 4 && RPBS(playerid) >= 1200) {BizInfo[idx][bLevel]++; SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have upgraded your business to level 5.");}
	    else
		{
		    if(strval(RPBL(playerid)) == 1) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 100 -RPBS(playerid));
		    else if(strval(RPBL(playerid)) == 2) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 300 -RPBS(playerid));
		    else if(strval(RPBL(playerid)) == 3) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 700 -RPBS(playerid));
		    else if(strval(RPBL(playerid)) == 4) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 1200 -RPBS(playerid));
			SendClientMessage(playerid, COLOR_GREY, string);
		}
	}
	return 1;
}*/

CMD:vault(playerid, params[])
{
	new value, string[128];
	new idx = PlayerInfo[playerid][pBiz];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pBiz] && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a busines.");
    if(GetPlayerVirtualWorld(playerid)-100 != idx && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your business.");
    if(GetPlayerVirtualWorld(playerid)-100 != idx && PlayerInfo[playerid][pVBiz])
	{
		idx = PlayerInfo[playerid][pVBiz];
	    if(GetPlayerVirtualWorld(playerid)-100 != idx) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your business.");
	}
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /vault [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: withdraw | deposit");
		return 1;
	}
	if(!strcmp(params, "withdraw", false, 8))
	{
	    if(sscanf(params, "s[32]i", params, value))
	    {
	        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /vault withdraw [amount]");
	        format(string, sizeof(string), "Current Vault Money: $%d", BizInfo[idx][bMoney]);
	        SendClientMessage(playerid, COLOR_GREY, string);
			return 1;
	    }
	    if(value > BizInfo[idx][bMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have this much money in your business vault.");
	    BizInfo[idx][bMoney] -= value;
	    GiveZaiatMoney(playerid, value);
	    format(string, sizeof(string), "* %s has withdrawn money from their business vault.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		format(string, sizeof(string), " You have withdrawn $%d from your business vault, amount left: $%d", value, BizInfo[idx][bMoney]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	else if(!strcmp(params, "deposit", false, 7))
	{
	    if(sscanf(params, "s[32]i", params, value))
	    {
	        SendClientMessage(playerid, COLOR_WHITE, "USAGE: /vault deposit [amount]");
	        format(string, sizeof(string), "Current Vault Money: $%d", BizInfo[idx][bMoney]);
	        SendClientMessage(playerid, COLOR_GREY, string);
			return 1;
	    }
	    if(value > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have this much money on you.");
	    BizInfo[idx][bMoney] += value;
	    GiveZaiatMoney(playerid, -value);
	    format(string, sizeof(string), "* %s has deposited money to their business vault.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		format(string, sizeof(string), " You have deposited $%d to your business vault, current amount: $%d", value, BizInfo[idx][bMoney]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	return 1;
}

CMD:buyproducts(playerid, params[])
{
	new amount, price, string[128];
	new idx = PlayerInfo[playerid][pBiz];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pBiz] && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a business.");
    if(GetPlayerVirtualWorld(playerid)-100 != idx && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your business.");
    if(GetPlayerVirtualWorld(playerid)-100 != idx && PlayerInfo[playerid][pVBiz])
	{
		idx = PlayerInfo[playerid][pVBiz];
	    if(GetPlayerVirtualWorld(playerid)-100 != idx) return SendClientMessage(playerid, COLOR_GREY, "You are not inside your business.");
	}
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buyproducts [amount]");
	if(amount < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid products amount.");
	if(Products < amount)
	{
	    format(string, sizeof(string), "The products dropoff currently has %d products only.", Products);
	    SendClientMessage(playerid, COLOR_GREY, string);
	    return 1;
	}
	price = amount*20;
    if(PlayerInfo[playerid][pMoney] < price)
	{
	    format(string, sizeof(string), "You don't have that much money on you. ($%d)", price);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	if(BizInfo[idx][bProducts]+amount > 500) return SendClientMessage(playerid, COLOR_GREY, "Your business can't hold that much products.");
    GiveZaiatMoney(playerid, -price);
    BizInfo[idx][bProducts] += amount;
    Products -= amount;
    format(string, sizeof(string), "* %s has purchased %d products for $%d.", RPN(playerid), amount, price);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	format(string, sizeof(string), "Packages Dropoff\n{FFFF00}/deliverpackages to deliver crates\nAvailable Products: %d/20000", Products);
	UpdateDynamic3DTextLabelText(ProductsText, COLOR_RED, string);
	return 1;
}

CMD:lights(playerid, param[])
{
	new string[128], idx;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
    idx = GetPlayerVehicleID(playerid);
    new engine, lights, alarm, doors, bonnet, boot, objective;
	GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
	if(!lights)
	{
	    SetVehicleParamsEx(idx, engine, 1, alarm, doors, bonnet, boot, objective);
	    format(string, sizeof(string), "* %s turns their vehicle's lights on.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		GameTextForPlayer(playerid, "~g~Lights On", 3500, 3);
	}
	else
	{
	    SetVehicleParamsEx(idx, engine, 0, alarm, doors, bonnet, boot, objective);
	    format(string, sizeof(string), "* %s turns their vehicle's lights off.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		GameTextForPlayer(playerid, "~r~Lights Off", 3500, 3);
	}
	return 1;
}

CMD:trunk(playerid, params[])
{
	new string[128], done, idx, vehicleid;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(IsABike(GetVehicleModel(vehicleid)))
	{
 		SendClientMessage(playerid, COLOR_GREY, "You can't use this command on a bike.");
	}
	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh] || PlayerInfo[playerid][pBVeh])
    {
        new Float:vx, Float:vy, Float:vz;
	    GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(!boot)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, 1, objective);
			    format(string, sizeof(string), "* %s opens their vehicle's trunk.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Trunk Opened", 3500, 3);
				topened[playerid] = 1;
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, 0, objective);
			    format(string, sizeof(string), "* %s closes their vehicle's trunk.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Trunk Closed", 3500, 3);
				topened[playerid] = 0;
			}
			done = 1;
			return 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pVVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pVVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(!boot)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, 1, objective);
			    format(string, sizeof(string), "* %s opens their vehicle's trunk.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Trunk Opened", 3500, 3);
				topened[playerid] = 1;
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, 0, objective);
			    format(string, sizeof(string), "* %s closes their vehicle's trunk.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Trunk Closed", 3500, 3);
				topened[playerid] = 0;
			}
			done = 1;
	    }
	    if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a vehicle you own.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You don't own any vehicle.");
	    return 1;
	}

	return 1;
}

CMD:bonnet(playerid, params[])
{
	new string[128], done, idx, vehicleid;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
//	if(GetVehicleModel(vehicleid) == 481 || GetVehicleModel(vehicleid) == 509 || GetVehicleModel(vehicleid) == 510 || GetVehicleModel(vehicleid) == 522 || GetVehicleModel(vehicleid) == 521 || GetVehicleModel(vehicleid) == 461 || GetVehicleModel(vehicleid) == 468 || GetVehicleModel(vehicleid) == 463)
//	{
//		return SendClientMessage(playerid,COLOR_WHITE,"This command can't be used in this vehicle.");
//	}
	if(IsABike(GetVehicleModel(vehicleid)))
	{
 		SendClientMessage(playerid, COLOR_GREY, "You can't use thsi command on a bike.");
	}
	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh] || PlayerInfo[playerid][pBVeh])
    {
        new Float:vx, Float:vy, Float:vz;
	    GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(!bonnet)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, 1, boot, objective);
			    format(string, sizeof(string), "* %s opens their vehicle's bonnet.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Trunk Opened", 3500, 3);
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, 0, boot, objective);
			    format(string, sizeof(string), "* %s closes their vehicle's bonnet.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Trunk Closed", 3500, 3);
			}
			done = 1;
			return 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pVVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 4, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pVVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(!bonnet)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, 1, boot, objective);
			    format(string, sizeof(string), "* %s opens their vehicle's bonnet.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Trunk Opened", 3500, 3);
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, doors, 0, boot, objective);
			    format(string, sizeof(string), "* %s closes their vehicle's bonnet.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Trunk Closed", 3500, 3);
			}
			done = 1;
	    }
	    if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a vehicle you own.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You don't own any vehicle.");
	    return 1;
	}

	return 1;
}

CMD:lock(playerid, params[])
{
	new string[128], idx, done, lockdone;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pBiz])
	{
		if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[PlayerInfo[playerid][pBiz]][bX], BizInfo[PlayerInfo[playerid][pBiz]][bY], BizInfo[PlayerInfo[playerid][pBiz]][bZ]))
	    {
	        if(!BizInfo[PlayerInfo[playerid][pBiz]][bStatus])
	        {
		        BizInfo[PlayerInfo[playerid][pBiz]][bStatus] = 1;
				format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", PlayerInfo[playerid][pBiz], RBT(PlayerInfo[playerid][pBiz]), BizInfo[PlayerInfo[playerid][pBiz]][bOwner], RBS(PlayerInfo[playerid][pBiz]));
	            UpdateDynamic3DTextLabelText(BizInfo[PlayerInfo[playerid][pBiz]][bText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their business keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Business Unlocked", 3500, 3);
			}
			else if(BizInfo[PlayerInfo[playerid][pBiz]][bStatus])
	        {
		        BizInfo[PlayerInfo[playerid][pBiz]][bStatus] = 0;
				format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", PlayerInfo[playerid][pBiz], RBT(PlayerInfo[playerid][pBiz]), BizInfo[PlayerInfo[playerid][pBiz]][bOwner], RBS(PlayerInfo[playerid][pBiz]));
	            UpdateDynamic3DTextLabelText(BizInfo[PlayerInfo[playerid][pBiz]][bText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their business keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Business Locked", 3500, 3);
			}
			done = 1;
			lockdone = 1;
	    }
    }
    if(PlayerInfo[playerid][pVBiz] && !done)
	{
	    idx = PlayerInfo[playerid][pVBiz];
		if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]))
	    {
	        if(!BizInfo[idx][bStatus])
	        {
		        BizInfo[idx][bStatus] = 1;
				format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
	            UpdateDynamic3DTextLabelText(BizInfo[idx][bText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their business keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Business Unlocked", 3500, 3);
			}
			else if(BizInfo[idx][bStatus])
	        {
		        BizInfo[idx][bStatus] = 0;
				format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
	            UpdateDynamic3DTextLabelText(BizInfo[idx][bText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their business keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Business Locked", 3500, 3);
			}
			done = 1;
			lockdone = 1;
	    }
    }
 	if(PlayerInfo[playerid][pHouse])
	{
	    idx = PlayerInfo[playerid][pHouse];
	    if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
	    {
	        if(!HouseInfo[PlayerInfo[playerid][pHouse]][hStatus])
	        {
		        HouseInfo[PlayerInfo[playerid][pHouse]][hStatus] = 1;
				format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
	            UpdateDynamic3DTextLabelText(HouseInfo[PlayerInfo[playerid][pHouse]][hText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their house keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~House Unlocked", 3500, 3);
			}
			else if(HouseInfo[PlayerInfo[playerid][pHouse]][hStatus])
	        {
		        HouseInfo[PlayerInfo[playerid][pHouse]][hStatus] = 0;
				format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
	            UpdateDynamic3DTextLabelText(HouseInfo[PlayerInfo[playerid][pHouse]][hText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their house keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~House Locked", 3500, 3);
			}
			done = 1;
			lockdone = 1;
		}
	}
	if(PlayerInfo[playerid][pVHouse] && !done)
	{
		idx = PlayerInfo[playerid][pVHouse];
		if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
	    {
	        if(!HouseInfo[PlayerInfo[playerid][pVHouse]][hStatus])
	        {
		        HouseInfo[PlayerInfo[playerid][pVHouse]][hStatus] = 1;
				format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
	            UpdateDynamic3DTextLabelText(HouseInfo[PlayerInfo[playerid][pVHouse]][hText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their house keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~House Unlocked", 3500, 3);
			}
			else if(HouseInfo[PlayerInfo[playerid][pVHouse]][hStatus])
	        {
		        HouseInfo[PlayerInfo[playerid][pVHouse]][hStatus] = 0;
				format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
	            UpdateDynamic3DTextLabelText(HouseInfo[PlayerInfo[playerid][pVHouse]][hText], COLOR_WHITE, string);
		        format(string, sizeof(string), "* %s takes out their house keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~House Locked", 3500, 3);
			}
			lockdone = 1;
			return 1;
		}
	}
	if(PlayerInfo[playerid][pVeh] || PlayerInfo[playerid][pVVeh] || PlayerInfo[playerid][pBVeh])
    {
        new Float:vx, Float:vy, Float:vz;
	    GetVehiclePos(PlayerInfo[playerid][pVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 5, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(doors)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, 0, bonnet, boot, objective);
			    PlayerInfo[playerid][vLocked] = 0;
			    format(string, sizeof(string), "* %s takes out their vehicle keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Vehicle Unlocked", 3500, 3);
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, 1, bonnet, boot, objective);
			    PlayerInfo[playerid][vLocked] = 1;
			    format(string, sizeof(string), "* %s takes out their vehicle keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Vehicle Locked", 3500, 3);
			}
			lockdone = 1;
			return 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pVVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 5, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pVVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(doors)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, 0, bonnet, boot, objective);
			    PlayerInfo[playerid][vVLocked] = 0;
			    format(string, sizeof(string), "* %s takes out their vehicle keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Vehicle Unlocked", 3500, 3);
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, 1, bonnet, boot, objective);
			    PlayerInfo[playerid][vVLocked] = 1;
			    format(string, sizeof(string), "* %s takes out their vehicle keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Vehicle Locked", 3500, 3);
			}
			lockdone = 1;
			return 1;
	    }
	    GetVehiclePos(PlayerInfo[playerid][pBVeh], vx, vy, vz);
	    if(IsPlayerInRangeOfPoint(playerid, 5, vx, vy, vz))
	    {
	        idx = PlayerInfo[playerid][pBVeh];
	        new engine, lights, alarm, doors, bonnet, boot, objective;
			GetVehicleParamsEx(idx, engine, lights, alarm, doors, bonnet, boot, objective);
			if(doors)
			{

			    SetVehicleParamsEx(idx, engine, lights, alarm, 0, bonnet, boot, objective);
			    PlayerInfo[playerid][vBLocked] = 0;
			    format(string, sizeof(string), "* %s takes out their vehicle keys and unlocks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~g~Vehicle Unlocked", 3500, 3);
			}
			else
			{
			    SetVehicleParamsEx(idx, engine, lights, alarm, 1, bonnet, boot, objective);
			    PlayerInfo[playerid][vBLocked] = 1;
			    format(string, sizeof(string), "* %s takes out their vehicle keys and locks it.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				GameTextForPlayer(playerid, "~r~Vehicle Locked", 3500, 3);
			}
			lockdone = 1;
	    }
	    return 1;
    }
    if(!lockdone)
	{
	    SendClientMessage(playerid, COLOR_GREY, "You are not near something you can lock/unlock.");
	}
	return 1;
}

// Garage CMDS
CMD:gotogarage(playerid, params[])
{
    new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotogarage [garageid]");
	if(!GarageInfo[idx][gLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid garage id.");
	SetPlayerPos(playerid, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]);
	format(string, sizeof(string), " You have teleported to garage ID %d.", idx);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:ggused(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Used Garages]:");
	for(new idx=1; idx<MAX_GARAGES; idx++)
	{
	    if(GarageInfo[idx][gLevel])
	    {
			format(string, sizeof(string), "ID: %d | Owner: %s | Price: %d", idx, GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:buygarage(playerid, params[])
{
	new string[128], done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pGarage]) return SendClientMessage(playerid, COLOR_GREY, "You already own a garage.");
	for(new idx=1; idx<MAX_GARAGES; idx++)
	{
	    if(IsPlayerInRangeOfPoint(playerid, 3, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]))
	    {
			if(!strcmp("The State", GarageInfo[idx][gOwner], false))
			{
			    if(PlayerInfo[playerid][pMoney] < GarageInfo[idx][gPrice]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to buy this garage.");
				GiveZaiatMoney(playerid, -GarageInfo[idx][gPrice]);
				if(PlayerInfo[playerid][pGarage]) PlayerInfo[playerid][pGarage] = idx;
				else PlayerInfo[playerid][pGarage] = idx;
			    format(GarageInfo[idx][gOwner], 32, "%s", RPNU(playerid));
			    format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner]);
				UpdateDynamic3DTextLabelText(GarageInfo[idx][gText], COLOR_WHITE, string);
				SendClientMessage(playerid, COLOR_GREEN, " You have successfully bought a garage.");
				format(string, sizeof(string), "%s has bought garage id %d.", RPN(playerid), idx);
				Log("logs/garage.log", string);
				idx = MAX_GARAGES;
				done = 1;
			}
			if(idx == MAX_GARAGES-1 && !done)
			{
			    SendClientMessage(playerid, COLOR_GREY, "This garage is owned by someone else.");
			}
	    }
	    if(idx == MAX_GARAGES-1 && !done)
	    {
	        SendClientMessage(playerid, COLOR_GREY, "You are not near a buyable garage.");
	    }
	}
	return 1;
}

CMD:sellgaragetomarket(playerid, params[])
{
	new string[128], done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pGarage] && !PlayerInfo[playerid][pVHouse]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a house.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellgaragetomarket confirm");
	if(!strcmp(params, "confirm", true))
	{
	    new idx = PlayerInfo[playerid][pGarage];
	    if(IsPlayerInRangeOfPoint(playerid, 2, GarageInfo[PlayerInfo[playerid][pGarage]][gX], GarageInfo[PlayerInfo[playerid][pGarage]][gY], GarageInfo[PlayerInfo[playerid][pGarage]][gZ]))
	    {
	        GiveZaiatMoney(playerid, (75*GarageInfo[PlayerInfo[playerid][pGarage]][gPrice])/100);
		    format(GarageInfo[PlayerInfo[playerid][pGarage]][gOwner], 32, "The State");
		    format(string, sizeof(string), "ID: %d\nHouse (Lvl: %d)\nOwner: %s\nStatus: For Sale\nPrice: $%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
		    UpdateDynamic3DTextLabelText(GarageInfo[PlayerInfo[playerid][pGarage]][gText], COLOR_WHITE, string);
		    PlayerInfo[playerid][pGarage] = 0;
		    SendClientMessage(playerid, COLOR_GREEN, " You have successfully sold your house to The State. (75 percent of the original price was paid back)");
            format(string, sizeof(string), "%s has sold house id %d to the market.", RPN(playerid), idx);
			Log("logs/garage.log", string);
			done = 1;
	    }
		if(!done)
		{
  			idx = PlayerInfo[playerid][pVHouse];
		    if(IsPlayerInRangeOfPoint(playerid, 3, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]))
		    {
		        GiveZaiatMoney(playerid, (75*GarageInfo[idx][gPrice])/100);
			    format(GarageInfo[idx][gOwner], 32, "The State");
			    format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\nStatus: For Sale\n"CWE"$%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
			    UpdateDynamic3DTextLabelText(GarageInfo[idx][gText], COLOR_WHITE, string);
			    SendClientMessage(playerid, COLOR_GREEN, " You have successfully sold your garage to The State. (75 percent of the original price was paid back)");
	            format(string, sizeof(string), "%s has sold garage id %d to the market.", RPN(playerid), idx);
				Log("logs/garage.log", string);
				done = 1;
		    }
		}
	    if(!done)
	    {
	        SendClientMessage(playerid, COLOR_GREY, "You are not near your garage.");
	        return 1;
	    }
    }
	return 1;
}

CMD:creategarage(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	for(new idx=1; idx<MAX_GARAGES; idx++)
	{
	    if(!GarageInfo[idx][gLevel])
		{
		    // Getting Garage Setup
		    new Float:X, Float:Y, Float:Z;
		    GetPlayerPos(playerid, X, Y, Z);
		    // Making Garage
		    GarageInfo[idx][gLevel] = 1;
		    GarageInfo[idx][gPrice] = 99999999;
		    format(GarageInfo[idx][gOwner], 32, "The State");
		    GarageInfo[idx][gX] = X;
		    GarageInfo[idx][gY] = Y;
		    GarageInfo[idx][gZ] = Z;
		    GarageInfo[idx][gPickup] = CreateDynamicPickup(1277, 1, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ], 0);
            format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\nStatus: For Sale\n"CWE"$%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
			GarageInfo[idx][gText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]+0.3, 15);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created garage ID %d.", RPN(playerid), idx);
			SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/garage.log", string);
			idx = MAX_GARAGES;
		}
	}
	return 1;
}

CMD:deletegarage(playerid, params[])
{
	new id, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deletegarage [garageid]");
	if(!GarageInfo[id][gLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid garage id.");
    foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && PlayerInfo[i][pGarage] == id)
		{
		    PlayerInfo[i][pGarage] = 0;
		    format(string, sizeof(string), " Administrator %s has deleted your garage.", RPN(playerid));
			SendClientMessage(i, COLOR_WHITE, string);
		}
	}
	if(!strcmp("The State", GarageInfo[id][gOwner]))
	{
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted garage ID %d.", RPN(playerid), id);
	}
	else
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's garage. (ID %d)", RPN(playerid), GarageInfo[id][gOwner], id);
	}
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/garage.log", string);
	GarageInfo[id][gLevel] = 0;
    GarageInfo[id][gPrice] = 0;
    format(GarageInfo[id][gOwner], 32, "");
    GarageInfo[id][gX] = 0;
    GarageInfo[id][gY] = 0;
    GarageInfo[id][gZ] = 0;
    DestroyDynamicPickup(GarageInfo[id][gPickup]);
    DestroyDynamic3DTextLabel(GarageInfo[id][gText]);
	return 1;
}

CMD:ggedit(playerid, params[])
{
	new bizid, string[128], input;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ggedit [option] [garageid]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: location | price | level");
		return 1;
	}
	if(!strcmp(params, "location", true, 8))
	{
	    if(sscanf(params, "s[32]i", params, bizid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ggedit location [house]");
        new idx = bizid;
        if(!GarageInfo[bizid][gLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid garage id.");
		GetPlayerPos(playerid, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]);
		DestroyDynamicPickup(GarageInfo[idx][gPickup]);
    	GarageInfo[idx][gPickup] = CreateDynamicPickup(1277, 1, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ], 0);
		DestroyDynamic3DTextLabel(GarageInfo[idx][gText]);
        if(!strcmp("The State", GarageInfo[idx][gOwner])) format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\nStatus: For Sale\n"CWE"$%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
		else format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner]);
		GarageInfo[idx][gText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]+0.3, 15);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has changed garage ID %d's location.", RPN(playerid), bizid);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/garage.log", string);
	}
	else if(!strcmp(params, "price", true, 5))
	{
    	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ggedit price [garage] [price]");
        new idx = bizid;
		if(!GarageInfo[idx][gLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid garage id.");
		if(strcmp("The State", GarageInfo[bizid][gOwner])) return SendClientMessage(playerid, COLOR_GREY, "You can't edit the price of owned garage.");
	    GarageInfo[bizid][gPrice] = input;
	    format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\nStatus: For Sale\n"CWE"$%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
		UpdateDynamic3DTextLabelText(GarageInfo[bizid][gText], COLOR_WHITE, string);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set Garage ID %d's price to $%d.", RPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/garage.log", string);
	}
	else if(!strcmp(params, "level", true, 5))
	{
		if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ggedit level [garageid] [level]");
        new idx = bizid;
    	//if(!GarageInfo[bizid][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid garage id.");
    	if(input < 1 || input > 10) return SendClientMessage(playerid, COLOR_GREY, "Levels are between 1 and 10.");
	    GarageInfo[bizid][gLevel] = input;
        if(!strcmp("The State", GarageInfo[idx][gOwner])) format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\nStatus: For Sale\n"CWE"$%d", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner], GarageInfo[idx][gPrice]);
		else format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)\n"COE"\n"COE"Owner"CWE" %s", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner]);
		UpdateDynamic3DTextLabelText(GarageInfo[bizid][gText], COLOR_WHITE, string);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set garage ID %d's level to %d.", RPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/garage.log", string);
	}
	return 1;
}
// End Garage CMDS

CMD:buyhouse(playerid, params[])
{
	new string[128], done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pHouse] && PlayerInfo[playerid][pVHouse] && PlayerInfo[playerid][pVIP] >= 3) return SendClientMessage(playerid, COLOR_GREY, "You already own two houses.");
	if(PlayerInfo[playerid][pHouse] && PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You already own a house.");
	for(new idx=1; idx<MAX_HOUSES; idx++)
	{
	    if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
	    {
			if(!strcmp("The State", HouseInfo[idx][hOwner], false))
			{
			    if(PlayerInfo[playerid][pMoney] < HouseInfo[idx][hPrice]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to buy this house.");
				GiveZaiatMoney(playerid, -HouseInfo[idx][hPrice]);
				if(PlayerInfo[playerid][pHouse]) PlayerInfo[playerid][pVHouse] = idx;
				else PlayerInfo[playerid][pHouse] = idx;
			    format(HouseInfo[idx][hOwner], 32, "%s", RPNU(playerid));
			    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
				UpdateDynamic3DTextLabelText(HouseInfo[idx][hText], COLOR_WHITE, string);
				SendClientMessage(playerid, COLOR_GREEN, " You have successfully bought a house.");
				SendClientMessage(playerid, COLOR_WHITE, " Type /househelp to view your house commands.");
				format(string, sizeof(string), "%s has bought house id %d.", RPN(playerid), idx);
				Log("logs/house.log", string);
				idx = MAX_HOUSES;
				done = 1;
			}
			if(idx == MAX_HOUSES-1 && !done)
			{
			    SendClientMessage(playerid, COLOR_GREY, "This house is owned by someone else.");
			}
	    }
	    if(idx == MAX_HOUSES-1 && !done)
	    {
	        SendClientMessage(playerid, COLOR_GREY, "You are not near a buyable house.");
	    }
	}
	return 1;
}

CMD:sellhousetomarket(playerid, params[])
{
	new string[128], done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHouse] && !PlayerInfo[playerid][pVHouse]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a house.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellhousetomarket confirm");
	if(!strcmp(params, "confirm", true))
	{
	    new idx = PlayerInfo[playerid][pHouse];
	    if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[PlayerInfo[playerid][pHouse]][hX], HouseInfo[PlayerInfo[playerid][pHouse]][hY], HouseInfo[PlayerInfo[playerid][pHouse]][hZ]))
	    {
	        GiveZaiatMoney(playerid, (75*HouseInfo[PlayerInfo[playerid][pHouse]][hPrice])/100);
			HouseInfo[PlayerInfo[playerid][pHouse]][hStatus] = 0;
		    format(HouseInfo[PlayerInfo[playerid][pHouse]][hOwner], 32, "The State");
		    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
		    UpdateDynamic3DTextLabelText(HouseInfo[PlayerInfo[playerid][pHouse]][hText], COLOR_WHITE, string);
		    PlayerInfo[playerid][pHouse] = 0;
		    SendClientMessage(playerid, COLOR_GREEN, " You have successfully sold your house to The State. (75 percent of the original price was paid back)");
            format(string, sizeof(string), "%s has sold house id %d to the market.", RPN(playerid), idx);
			Log("logs/house.log", string);
			done = 1;
	    }
		if(!done)
		{
  			idx = PlayerInfo[playerid][pVHouse];
		    if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
		    {
		        GiveZaiatMoney(playerid, (75*HouseInfo[idx][hPrice])/100);
				HouseInfo[idx][hStatus] = 0;
			    format(HouseInfo[idx][hOwner], 32, "The State");
			    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
			    UpdateDynamic3DTextLabelText(HouseInfo[idx][hText], COLOR_WHITE, string);
			    PlayerInfo[playerid][pVHouse] = 0;
			    SendClientMessage(playerid, COLOR_GREEN, " You have successfully sold your house to The State. (75 percent of the original price was paid back)");
	            format(string, sizeof(string), "%s has sold house id %d to the market.", RPN(playerid), idx);
				Log("logs/house.log", string);
				done = 1;
		    }
		}
	    if(!done)
	    {
	        SendClientMessage(playerid, COLOR_GREY, "You are not near your house.");
	        return 1;
	    }
    }
	return 1;
}

CMD:buybiz(playerid, params[])
{
	new string[128], done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pBiz] && PlayerInfo[playerid][pVBiz] && PlayerInfo[playerid][pVIP] >= 4) return SendClientMessage(playerid, COLOR_GREY, "You already own two businesses.");
	if(PlayerInfo[playerid][pBiz] && PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "You already own a business.");
	for(new idx=1; idx<MAX_BIZ; idx++)
	{
	    if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]))
	    {
			if(!strcmp("The State", BizInfo[idx][bOwner], false))
			{
			    if(PlayerInfo[playerid][pMoney] < BizInfo[idx][bPrice]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to buy this business.");
				GiveZaiatMoney(playerid, -BizInfo[idx][bPrice]);
				if(PlayerInfo[playerid][pBiz]) PlayerInfo[playerid][pVBiz] = idx;
				else PlayerInfo[playerid][pBiz] = idx;
			    format(BizInfo[idx][bOwner], 32, "%s", RPNU(playerid));
			    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
				UpdateDynamic3DTextLabelText(BizInfo[idx][bText], COLOR_WHITE, string);
				SendClientMessage(playerid, COLOR_GREEN, " You have successfully bought a business.");
				SendClientMessage(playerid, COLOR_WHITE, " Type /bizhelp to view your business commands.");
				format(string, sizeof(string), "%s has bought business id %d.", RPN(playerid), idx);
				Log("logs/business.log", string);
				idx = MAX_BIZ;
				done = 1;
			}
			if(idx == MAX_BIZ-1 && !done)
			{
			    SendClientMessage(playerid, COLOR_GREY, "This business is owned by someone else.");
			}
	    }
	    if(idx == MAX_BIZ-1 && !done)
	    {
	        SendClientMessage(playerid, COLOR_GREY, "You are not near a buyable business.");
	    }
	}
	return 1;
}



CMD:sellbiztomarket(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pBiz] && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a business.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sellbiztomarket confirm");
	if(!strcmp(params, "confirm", true))
	{
	    new done;
	    if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[PlayerInfo[playerid][pBiz]][bX], BizInfo[PlayerInfo[playerid][pBiz]][bY], BizInfo[PlayerInfo[playerid][pBiz]][bZ]))
	    {
	        GiveZaiatMoney(playerid, (75*BizInfo[PlayerInfo[playerid][pBiz]][bPrice])/100);
			BizInfo[PlayerInfo[playerid][pBiz]][bStatus] = 0;
		    format(BizInfo[PlayerInfo[playerid][pBiz]][bOwner], 32, "The State");
		    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", PlayerInfo[playerid][pBiz], RBT(PlayerInfo[playerid][pBiz]), BizInfo[PlayerInfo[playerid][pBiz]][bOwner], BizInfo[PlayerInfo[playerid][pBiz]][bPrice]);
		    UpdateDynamic3DTextLabelText(BizInfo[PlayerInfo[playerid][pBiz]][bText], COLOR_WHITE, string);
		    SendClientMessage(playerid, COLOR_GREEN, " You have successfully sold your business to The State. (75 percent of original price was paid back)");
            format(string, sizeof(string), "%s has sold business id %d to the market.", RPN(playerid), PlayerInfo[playerid][pBiz]);
			Log("logs/business.log", string);
			PlayerInfo[playerid][pBiz] = 0;
			done = 1;
	    }
	    if(!done)
	    {
	        new idx = PlayerInfo[playerid][pVBiz];
   	 		if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]))
		    {
		        GiveZaiatMoney(playerid, (75*BizInfo[idx][bPrice])/100);
				BizInfo[idx][bStatus] = 0;
			    format(BizInfo[idx][bOwner], 32, "The State");
			    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, RBT(idx), BizInfo[idx][bOwner], BizInfo[idx][bPrice]);
			    UpdateDynamic3DTextLabelText(BizInfo[idx][bText], COLOR_WHITE, string);
			    SendClientMessage(playerid, COLOR_GREEN, " You have successfully sold your business to The State. (75 percent of original price was paid back)");
	            format(string, sizeof(string), "%s has sold business id %d to the market.", RPN(playerid), idx);
				Log("logs/business.log", string);
				PlayerInfo[playerid][pVBiz] = 0;
				done = 1;
		    }
	    }
		if(!done)
	    {
	        SendClientMessage(playerid, COLOR_GREY, "You are not near your business.");
	        return 1;
	    }
    }
	return 1;
}

CMD:o(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && !OOCStatus) return SendClientMessage(playerid, COLOR_GREY, "The global OOC chat is currently disabled.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/o)oc [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(PlayerInfo[playerid][pAdmin]) format(string, sizeof(string), "(( {FF6347}%s %s: {E0FFFF}%s ))", RPALN(playerid), NORPN(playerid), params);
	else if(PlayerInfo[playerid][pHelper]) format(string, sizeof(string), "(( {01FCFF}%s %s: {E0FFFF}%s ))", RPHLN(playerid), NORPN(playerid), params);
	else format(string, sizeof(string), "(( %s: %s ))", NORPN(playerid), params);
	SendClientMessageToAll(COLOR_OOC, string);
	Log("logs/chat.log", string);
	return 1;
}

CMD:n(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_GREY, "Use /newbie instead of /n, this is to prevent mischats.");
	return 1;
}

CMD:newb(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_GREY, "Use /newbie instead of /newb, this is to prevent mischats.");
	return 1;
}

CMD:newbie(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && !NewbieStatus) return SendClientMessage(playerid, COLOR_GREY, "The newbie chat is currently disabled.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /newbie [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(NewbieTime[playerid] > 0)
	{
	    format(string, sizeof(string), "You need to wait %d more seconds before using the newbie chat again.", NewbieTime[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	if(PlayerInfo[playerid][pNMute]) return SendClientMessage(playerid, COLOR_GREY, "You are muted from the newbie channel.");
	format(string, sizeof(string), "** Newbie %s: %s", NORPN(playerid), params);
	if(PlayerInfo[playerid][pVIP]) format(string, sizeof(string), "** %s VIP %s: %s", RPVIPN(playerid), NORPN(playerid), params);
	if(PlayerInfo[playerid][pHelper]) format(string, sizeof(string), "** %s %s: %s", RPHLN(playerid), NORPN(playerid), params);
	if(PlayerInfo[playerid][pAdmin]) format(string, sizeof(string), "** %s %s: %s", RPALN(playerid), NORPN(playerid), params);
	if(PlayerInfo[playerid][pOldskool]) format(string, sizeof(string), "** Oldskool %s: %s", NORPN(playerid), params);
	if(PlayerInfo[playerid][pLoyalTag] && !PlayerInfo[playerid][pLoyal]) format(string, sizeof(string), "** Loyal %s: %s", NORPN(playerid), params);
	if(!PlayerInfo[playerid][pHelper] && !PlayerInfo[playerid][pAdmin]) NewbieTime[playerid] = 40;
	SendClientMessageToAll(COLOR_NEWBIE, string);
	Log("logs/newbie.log", string);
	SetTimerEx("NewbieTimer", 1000, false, "i", playerid);
	return 1;
}

CMD:gate(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    // Dynamic Gates
    for(new idx=1; idx<MAX_GATES; idx++)
	{
	    if(GateInfo[idx][gModel] && IsPlayerInRangeOfPoint(playerid, 15, GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ]))
	    {
	        if(strlen(GateInfo[idx][gPassword]))
	        {
	            if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gate [password]");
	            if(strcmp(params, GateInfo[idx][gPassword])) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate password.");
	            if(!GateInfo[idx][gStatus])
		        {
		            GateInfo[idx][gStatus] = 1;
		            MoveDynamicObject(GateInfo[idx][gGate], GateInfo[idx][gOX], GateInfo[idx][gOY], GateInfo[idx][gOZ], GateInfo[idx][gSpeed]);
		            SetDynamicObjectRot(GateInfo[idx][gGate], GateInfo[idx][gORX], GateInfo[idx][gORY], GateInfo[idx][gORZ]);
		        }
		        else
		        {
		            GateInfo[idx][gStatus] = 0;
		            MoveDynamicObject(GateInfo[idx][gGate], GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], GateInfo[idx][gSpeed]);
		            SetDynamicObjectRot(GateInfo[idx][gGate], GateInfo[idx][gCRX], GateInfo[idx][gCRY], GateInfo[idx][gCRZ]);
		        }
	        }
	        else
	        {
		        if(!GateInfo[idx][gStatus])
		        {
		            GateInfo[idx][gStatus] = 1;
		            MoveDynamicObject(GateInfo[idx][gGate], GateInfo[idx][gOX], GateInfo[idx][gOY], GateInfo[idx][gOZ], GateInfo[idx][gSpeed]);
		            SetDynamicObjectRot(GateInfo[idx][gGate], GateInfo[idx][gORX], GateInfo[idx][gORY], GateInfo[idx][gORZ]);
		        }
		        else
		        {
		            GateInfo[idx][gStatus] = 0;
		            MoveDynamicObject(GateInfo[idx][gGate], GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], GateInfo[idx][gSpeed]);
		            SetDynamicObjectRot(GateInfo[idx][gGate], GateInfo[idx][gCRX], GateInfo[idx][gCRY], GateInfo[idx][gCRZ]);
		        }
	        }
	        idx = MAX_GATES;
	        return 1;
	    }
	}
    // Static Gates
	if(IsALSEMS(playerid) && IsPlayerInRangeOfPoint(playerid, 15, 1811.59, -1795.36, 13.87)) // LSEMS Barrier
	{
	    if(!LSEMSBarrierStatus)
	    {
	        LSEMSBarrierStatus = 1;
	        MoveObject(fdgate1,1811.59, -1782.96, 13.87,5);
			MoveObject(fdgate2,1811.59, -1808.19, 13.87,5);
	    }
	    else
	    {
	        LSEMSBarrierStatus = 0;
			MoveObject(fdgate1,1811.59, -1791.36, 13.87, 2.5);
			MoveObject(fdgate2,1811.59, -1799.77, 13.87, 2.5);
	    }
	    return 1;	
	}
	if(IsACop(playerid) && IsPlayerInRangeOfPoint(playerid, 8, 1544.7363,-1627.0232,13.3672)) // LSPD Barrier
	{
	    if(!SAPDBarrierStatus)
	    {
	        SAPDBarrierStatus = 1;
	        MoveDynamicObject(SAPDBarrier, 1544.6943359375, -1630.73046875, 13.27956199646+0.0001, 0.0002, 0, 0, 90);
	    }
	    else
	    {
	        SAPDBarrierStatus = 0;
	        MoveDynamicObject(SAPDBarrier, 1544.6943359375, -1630.73046875, 13.27956199646-0.0001, 0.0003, 0, 90, 90);
	    }
	    return 1;
	}
	else if(IsACop(playerid) && IsPlayerInRangeOfPoint(playerid, 8, 1588.4501,-1638.5692,13.3672)) // SAPD Gate
	{
	   	if(!SAPDGateStatus)
	    {
	        SAPDGateStatus = 1;
	        MoveDynamicObject(SAPDGate, 1588.6501464844, -1638.0750732422, 6.2343215942383, 3);
	    }
	    else
	    {
	        SAPDGateStatus = 0;
	        MoveDynamicObject(SAPDGate, 1588.6428222656, -1638.02734375, 15.240161895752, 3);
	    }
	    return 1;
	}
	else if(IsAReporter(playerid) && IsPlayerInRangeOfPoint(playerid, 8, 778.0338,-1385.0182,13.7254)) // NA Gate 1
	{
	    if(!SAGateStatus1)
	    {
	        SAGateStatus1 = 1;
	        MoveDynamicObject(SAGate1, 770.497985, -1384.939453, 14.392275, 3);
	    }
	    else
	    {
	        SAGateStatus1 = 0;
	        MoveDynamicObject(SAGate1, 777.457580, -1384.939453, 14.392275, 3);
	    }
	}
	else if(IsAReporter(playerid) && IsPlayerInRangeOfPoint(playerid, 8, 777.5819,-1330.1381,13.5500)) // NA Gate 2
	{
	    if(!SAGateStatus2)
	    {
	        SAGateStatus2 = 1;
	        MoveDynamicObject(SAGate2, 783.026306, -1330.353393, 14.167037, 3);
	    }
	    else
	    {
	        SAGateStatus2 = 0;
	        MoveDynamicObject(SAGate2, 778.548583, -1330.212890, 14.167037, 3);
	    }
	}
	else SendClientMessage(playerid, COLOR_GREY, "You aren't near a gate you can open.");
	return 1;
}

CMD:fbidoor(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an FBI Agent.");
	if(IsPlayerInRangeOfPoint(playerid, 3, 1558.970703125, -1677.9114990234, 1722.1081542969) || IsPlayerInRangeOfPoint(playerid, 3, 1552.7789306641, -1691.4653320313, 1722.1081542969))
	{
	    if(!FBILobbyStatus) // SAPD LOBBY
	    {
     		MoveObject(fbidoor1,1558.1387939453, -1677.8883056641, 1722.1081542969,1.50);
     		MoveObject(fbidoor2,1562.7950439453, -1677.8798828125, 1722.1081542969,1.50);
    		MoveObject(fbidoor3,1549.6147460938, -1691.4772949219, 1722.1081542969,1.50);
     		MoveObject(fbidoor4,1554.2923583984, -1691.4328613281, 1722.1081542969,1.50);
	    	format(string, sizeof(string), "* %s puts their finger on the scanner and opens the lobby door.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
     		FBILobbyStatus = 1;
		}
	    else if(FBILobbyStatus)
	    {
			MoveObject(fbidoor1,1558.970703125, -1677.9114990234, 1722.1081542969,1.50);
     		MoveObject(fbidoor2,1561.9755859375, -1677.8798828125, 1722.1081542969,1.50);
			MoveObject(fbidoor3,1550.4266357422, -1691.5009765625, 1722.1081542969,1.50);
   			MoveObject(fbidoor4,1553.4294433594, -1691.4515380859, 1722.1081542969,1.50);
			format(string, sizeof(string), "* %s %s puts their finger on the scanner and closes the lobby doors.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
   			FBILobbyStatus = 0;
	    }
	}
	return 1;
}

CMD:door(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer.");
	if(IsPlayerInRangeOfPoint(playerid, 3, 246.381317,72.578338,1003.706604) || IsPlayerInRangeOfPoint(playerid, 3, 246.381317,72.292190,1003.706604))
	{
	    if(!SAPDLobbyStatus) // SAPD LOBBY
	    {
	        MoveDynamicObject(SAPDLobby[0], 247.3080, 72.3000, 1003.6700, 1.50);
	    	MoveDynamicObject(SAPDLobby[1], 245.480, 72.5750, 1003.6650, 1.50);
	    	MoveDynamicObject(SAPDLobby[2], 247.888, 72.4500, 1003.7000, 1.50);
	    	MoveDynamicObject(SAPDLobby[3], 244.908, 72.4500, 1003.7000, 1.50);
	    	format(string, sizeof(string), "* %s puts their finger on the scanner and opens the lobby door.", RPN(playerid));
    		if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger puts their finger on the scanner and opens the lobby door.");
			}
			else
			{
				format(string, sizeof(string), "* %s puts their finger on the scanner and opens the lobby door.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SAPDLobbyStatus = 1;
         	SetTimer("SAPDLobbyTimer", 3000, false);
	    }
	    else if(SAPDLobbyStatus)
	    {
	    	MoveDynamicObject(SAPDLobby[0], 246.4050, 72.3000, 1003.6700, 1.50);
	    	MoveDynamicObject(SAPDLobby[1], 246.4050, 72.5750, 1003.6650, 1.50);
	    	MoveDynamicObject(SAPDLobby[2], 246.9850, 72.4500, 1003.7000, 1.50);
	    	MoveDynamicObject(SAPDLobby[3], 245.8330, 72.4500, 1003.7000, 1.50);
			format(string, sizeof(string), "* %s %s puts their finger on the scanner and closes the lobby door.", RPN(playerid));
 			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger puts their finger on the scanner and closes the lobby door.");
			}
			else
			{
				format(string, sizeof(string), "* %s puts their finger on the scanner and closes the lobby door.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SAPDLobbyStatus = 0;
	    }
	}
	else if(IsPlayerInRangeOfPoint(playerid, 3, 259.105194,90.812126,1002.584350) || IsPlayerInRangeOfPoint(playerid, 3, 258.843353,90.840599,1002.584350))
	{
	    if(!SAPDCellsStatus) // SAPD CELLS
	    {
	        MoveDynamicObject(SAPDCells[0], 259.105194,91.844230,1002.584350, 1.50);
	    	MoveDynamicObject(SAPDCells[1], 258.843353,89.812141,1002.584350, 1.50);
	    	MoveDynamicObject(SAPDCells[2], 258.949157,92.435539,1002.528625, 1.50);
	    	MoveDynamicObject(SAPDCells[3], 258.949157,89.254486,1002.528625, 1.50);
	    	format(string, sizeof(string), "* %s puts their finger on the scanner and opens the cells door.", RPN(playerid));
   			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger puts their finger on the scanner and opens the cells door.");
			}
			else
			{
				format(string, sizeof(string), "* %s puts their finger on the scanner and opens the cells door.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SAPDCellsStatus = 1;
         	SetTimer("SAPDCellsTimer", 3000, false);
	    }
	    else if(SAPDCellsStatus)
	    {
	    	MoveDynamicObject(SAPDCells[0], 259.105194,90.812126,1002.584350, 1.50);
	    	MoveDynamicObject(SAPDCells[1], 258.843353,90.840599,1002.584350, 1.50);
	    	MoveDynamicObject(SAPDCells[2], 258.949157,91.412040,1002.528625, 1.50);
	    	MoveDynamicObject(SAPDCells[3], 258.949157,90.292076,1002.528625, 1.50);
			format(string, sizeof(string), "* %s puts their finger on the scanner and closes the cells door.", RPN(playerid));
  			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger puts their finger on the scanner and closes the cells door.");
			}
			else
			{
				format(string, sizeof(string), "* %s puts their finger on the scanner and closes the cells door.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SAPDCellsStatus = 0;
	    }
	}
	else if(IsPlayerInRangeOfPoint(playerid, 0.7, 255.494674,85.290985,1002.445312)) // SAPD Cells Office Left
	{
	    if(!SAPDOfficeStatus[0])
	    {
	        SAPDOfficeStatus[0] = 1;
	        MoveDynamicObject(SAPDOffice[0], 255.494674,85.290985,1005.445312, 3, 0, 0, 0);
	    }
	    else if(SAPDOfficeStatus[0])
	    {
	        SAPDOfficeStatus[0] = 0;
	        MoveDynamicObject(SAPDOffice[0], 255.494674,85.290985,1002.445312, 3, 0, 0, 0);
	    }
	}
	else if(IsPlayerInRangeOfPoint(playerid, 0.7, 254.380661,85.286033,1002.445312)) // SAPD Cells Office Right
	{
		if(!SAPDOfficeStatus[1])
	    {
	        SAPDOfficeStatus[1] = 1;
	        MoveDynamicObject(SAPDOffice[1], 254.380661,85.286033,1005.445312, 3, 0, 0, 180);
	    }
	    else if(SAPDOfficeStatus[1])
	    {
	        SAPDOfficeStatus[1] = 0;
	        MoveDynamicObject(SAPDOffice[1], 254.380661,85.286033,1002.445312, 3, 0, 0, 180);
	    }
	}
	else if(IsPlayerInRangeOfPoint(playerid, 3, 222.1266,69.7867,1005.0391))
	{
	    if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not the SAPD Chief.");
	    if(!SAPDChiefStatus) // Chief's Office
	    {
	       	MoveDynamicObject(SAPDChief[0], 222.331802,70.714004,1005.079895, 1.50);
	    	MoveDynamicObject(SAPDChief[1], 222.002853,68.871803,1005.072875, 1.50);
         	MoveDynamicObject(SAPDChief[2], 222.120773,71.322158,1005.128601, 1.50);
	    	MoveDynamicObject(SAPDChief[3], 222.120773,68.324714,1005.128601, 1.50);
	    	format(string, sizeof(string), "* %s puts their finger on the scanner and opens the office door.", RPN(playerid));
   			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger puts their finger on the scanner and opens the office door.");
			}
			else
			{
				format(string, sizeof(string), "* %s puts their finger on the scanner and opens the office door.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SAPDChiefStatus = 1;
	    }
	    else if(SAPDChiefStatus)
	    {
	    	MoveDynamicObject(SAPDChief[0], 222.281802,69.786598,1005.079895, 1.50);
	    	MoveDynamicObject(SAPDChief[1], 222.002853,69.801109,1005.072875, 1.50);
	    	MoveDynamicObject(SAPDChief[2], 222.120773,70.343833,1005.128601, 1.50);
	    	MoveDynamicObject(SAPDChief[3], 222.120773,69.220504,1005.128601, 1.50);
			format(string, sizeof(string), "* %s puts their finger on the scanner and closes the office door.", RPN(playerid));
  			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger puts their finger on the scanner and closes the office door.");
			}
			else
			{
				format(string, sizeof(string), "* %s puts their finger on the scanner and closes the officer door.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SAPDChiefStatus = 0;
	    }
	}
	else
	{
	    return SendClientMessage(playerid, COLOR_GREY, "You are not near a door you can open.");
	}
	return 1;
}

CMD:frisk(playerid, params[])
{
	new playerb, string[128], weaps, weapons[13][2];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	//if(!IsACop(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an SAPD Oficer.");
	if(sscanf(params,"u",playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /frisk [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 3)) return SendClientMessage(playerid, COLOR_GREY, "You can't frisk someone from that distance.");
	//if(!IsPlayerCuffed(playerb) && !Tied[playerb] && GetPlayerSpecialAction(playerb) != SPECIAL_ACTION_HANDSUP) return SendClientMessage(playerid, COLOR_GREY, "Player is not cuffed, tied nor has their hands up.");
	SendClientMessage(playerid, COLOR_GREEN, "____________________________");
	format(string, sizeof(string), "*** %s's Items ***", RPN(playerb));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), " Money ($%d)", PlayerInfo[playerb][pMoney]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	if(PlayerInfo[playerb][pMaterials]) {format(string, sizeof(string), " Materials (%d)", PlayerInfo[playerb][pMaterials]); SendClientMessage(playerid, COLOR_WHITE, string);}
	if(PlayerInfo[playerb][pWeed]) {format(string, sizeof(string), " Weed (%d)", PlayerInfo[playerb][pWeed]); SendClientMessage(playerid, COLOR_WHITE, string);}
	if(PlayerInfo[playerb][pCrack]) {format(string, sizeof(string), " Crack(%d)", PlayerInfo[playerb][pCrack]); SendClientMessage(playerid, COLOR_WHITE, string);}
	format(string, sizeof(string), "*** %s's Weapons ***", RPN(playerb));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	for(new i=0; i<13; i++)
	{
       	GetPlayerWeaponData(playerb, i, weapons[i][0], weapons[i][1]);
        if(weapons[i][0] != PlayerInfo[playerb][pWeapon][i] && weapons[i][1] != 0)
        {
	        format(string, sizeof(string), " %s (Ammo: %d) (Hacked)", RWN(weapons[i][0]), weapons[i][1]);
	        SendClientMessage(playerid, COLOR_MEDIC, string);
	        weaps++;
        }
        else if(weapons[i][0] == PlayerInfo[playerb][pWeapon][i] && weapons[i][0] != 0)
        {
            format(string, sizeof(string), " %s (Ammo: %d)", RWN(PlayerInfo[playerb][pWeapon][i]), weapons[i][1]);
	        SendClientMessage(playerid, COLOR_MEDIC, string);
	        weaps++;
        }
	}
	if(weaps == 0) return SendClientMessage(playerid, COLOR_MEDIC, "None");
	format(string, sizeof(string), "* %s has frisked %s.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}



/*CMD:showbadge(playerid, params[])
{
	new playerb, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI/LSEMS/HSF Official.");
	if(sscanf(params,"u",playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /showbadge [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You can't flash your badge to someone from that distance.");
	if(IsACop(playerid)) SendClientMessage(playerb, COLOR_BLUE, "[Los Santos Police Department(LSPD)]");
	else if(IsAGov(playerid)) SendClientMessage(playerb, COLOR_BLUE, "[San Andreas Government(GOV)]");
	else if(IsAFBI(playerid)) SendClientMessage(playerb, COLOR_BLUE, "[Federal Bureau of Investigation(FBI)]");
	else if(IsALSEMS(playerid)) SendClientMessage(playerb, COLOR_BLUE, "[Los Santos Emergency Service(LSEMS)]");
	else if(IsAHSF(playerid)) SendClientMessage(playerb, COLOR_BLUE, "[Highland Security Firm(HSF)]");
	format(string, sizeof(string), " - Under the Authority of the City of San Andreas.");
	SendClientMessage(playerb, COLOR_ORANGE, string);
	format(string, sizeof(string), " Name: {FFFFFF}%s", RPN(playerid));
	SendClientMessage(playerb, COLOR_BLUE, string);
	format(string, sizeof(string), " Rank: {FFFFFF}%s", RPFRN(playerid));
	SendClientMessage(playerb, COLOR_BLUE, string);
	if(IsACop(playerid)) SendClientMessage(playerb, COLOR_ORANGE, " - Official has the authority to arrest.");
	else if(IsAGov(playerid)) SendClientMessage(playerb, COLOR_ORANGE, " - Official has the authority to assist an arrest.");
	else if(IsAFBI(playerid)) SendClientMessage(playerb, COLOR_ORANGE, " - Official has the authority to arrest.");
	else if(IsALSEMS(playerid)) SendClientMessage(playerb, COLOR_ORANGE, " - Not allowed to arrest.");
	else if(IsAHSF(playerid)) SendClientMessage(playerb, COLOR_ORANGE, " - Official has the authority to assist an arrest.");
	format(string, sizeof(string), "* %s flashes their badge to %s.", RPN(playerid), RPN(playerb));
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
        format(string, sizeof(string), "* Stranger flashes their badge to %s.", RPN(playerb));
	}
	else
	{
		format(string, sizeof(string), "* %s flashes their badge to %s.", RPN(playerid), RPN(playerb));
	}
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}*/

CMD:showbadge(playerid, params[])
{
	new playerb, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/LSEMS/HSF Official.");
	if(sscanf(params,"u",playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /showbadge [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You can't flash your badge to someone from that distance.");
	format(string, sizeof(string), "* %s flashes their badge to %s.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerb, COLOR_ORANGE, "=========================================================");
	SendClientMessage(playerb, COLOR_WHITE, "San Andreas Government");
	SendClientMessage(playerb, COLOR_WHITE, "Employee Identification Card");
	SendClientMessage(playerb, COLOR_WHITE, "");
	if(IsACop(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} Los Santos Police Department");
	else if(IsAGov(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} San Andreas Government");
	else if(IsAFBI(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} Federal Bureau of Investigation");
	else if(IsALSEMS(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} Los Santos Emergency Service");
	else if(IsAHSF(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} Highland Security Firm");
	else if(IsASWAT(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} Special Weapons And Tactics");
	else if(IsASATF(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} San Andreas Task Force");
	format(string, sizeof(string), "{33AA33}Name: {FFFFFF}%s", RPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{33AA33}Rank: {FFFFFF}%s", RPFRN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	if(IsACop(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to arrest.");
	else if(IsAGov(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to assist an arrest.");
	else if(IsAFBI(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to arrest.");
	else if(IsALSEMS(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Not allowed to arrest.");
	else if(IsAHSF(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to arrest.");
	else if(IsASWAT(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to arrest (With Suspect Transfer).");
	else if(IsASATF(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to arrest (With Suspect Transfer).");
	SendClientMessage(playerb, COLOR_ORANGE, "=========================================================");
	return 1;
}

CMD:fbibadge(playerid, params[])
{
	new playerb, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an FBI");
	if(sscanf(params,"u",playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fbibadge [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "You can't flash your badge to someone from that distance.");
	format(string, sizeof(string), "* %s flashes their badge to %s.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerb, COLOR_ORANGE, "=========================================================");
	SendClientMessage(playerb, COLOR_WHITE, "San Andreas Government");
	SendClientMessage(playerb, COLOR_WHITE, "Employee Identification Card");
	SendClientMessage(playerb, COLOR_WHITE, "");
	if(IsAFBI(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Department:{2641FE} Federal Bureau of Investigation");
	SendClientMessage(playerb, COLOR_WHITE, "{33AA33}Name: {FFFFFF}Stranger");
	format(string, sizeof(string), "{33AA33}Rank: {FFFFFF}%s", RPFRN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	if(IsAFBI(playerid)) SendClientMessage(playerb, COLOR_WHITE, "Official has the authority to arrest.");
	SendClientMessage(playerb, COLOR_ORANGE, "=========================================================");
	return 1;
}

CMD:vehicleregister(playerid, params[])
{
	if(PlayerInfo[playerid][pLevel] < 7) return SendClientMessage(playerid, COLOR_GREY, "You are not a level 7 player (So this system won't be abused)");
	if(!IsPlayerInRangeOfPoint(playerid, 3, 366.4916,158.6417,1008.3828)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near Vehicle Registration Place.");
	ShowDialog(playerid, 550);
	return 1;
}

CMD:locker(playerid, params[]) // 1354.43, -1511.62, 587.38
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(IsACop(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 2.7,256.2174,77.3295,1004.0344)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
	    ShowDialog(playerid, 5);
	}
	else if(IsAFBI(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 4, 1566.59,-1672.69,1723.10)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
  		ShowDialog(playerid, 89);
	}
	else if(IsAHSF(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 4, 1539.4260,-1597.2885,-25.5641)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
  		ShowDialog(playerid, 300);
	}
	else if(IsACorleone(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 4, -147.4102,-4069.0005,1554.6260)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
  		ShowDialog(playerid, 350);
	}
	else if(IsALeone(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 4, -2160.2671,639.9796,1057.5861)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
  		ShowDialog(playerid, 350);
	}
	else if(IsAGov(playerid))
	{
	    //if(PlayerInfo[playerid][pFacRank] != 0) return SendClientMessage(playerid, COLOR_GREY, "Only bodyguards can access the lockers. (Rank 0)");
		if(!IsPlayerInRangeOfPoint(playerid, 2, 352.1964,173.3516,1025.7891)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
		SetPlayerArmour(playerid, 100);
  		SetPlayerHealth(playerid, 100);
		GiveZaiatWeapon(playerid, 24, 500);
		GiveZaiatWeapon(playerid, 31, 500);
		GiveZaiatWeapon(playerid, 29, 200);
		PlayerInfo[playerid][pFacDuty] = 1;
		format(string, sizeof(string), "* %s grabs a Desert Eagle and an MP5, M4 from the lockers.", RPN(playerid), params);
	 	if(PlayerInfo[playerid][pMaskOn] == 1)
		{
	        format(string, sizeof(string), "* Stranger grabs a Desert Eagle and an MP5, M4 from the lockers.");
		}
		else
		{
			format(string, sizeof(string), "* %s grabs a Desert Eagle and an MP5, M4 from the lockers.", RPN(playerid), params);
		}
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(IsALSEMS(playerid))
	{
		    //if(PlayerInfo[playerid][pFacRank] != 0) return SendClientMessage(playerid, COLOR_GREY, "Only bodyguards can access the lockers. (Rank 0)");
		if(!IsPlayerInRangeOfPoint(playerid, 7, 1351.8174,-1515.3602,587.3859)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
		SetPlayerArmour(playerid, 50);
  		SetPlayerHealth(playerid, 100);
		GiveZaiatWeapon(playerid, 24, 50);
		GiveZaiatWeapon(playerid, 9, 50);
		GiveZaiatWeapon(playerid, 17, 50);
		GiveZaiatWeapon(playerid, 42, 5000);
		PlayerInfo[playerid][pFacDuty] = 1;
		SetPlayerColor(playerid, TRANSPARENT_MEDIC);
		format(string, sizeof(string), "* %s grabs his/her medical equipment from the lockers.", RPN(playerid), params);
	 	if(PlayerInfo[playerid][pMaskOn] == 1)
		{
	        format(string, sizeof(string), "* Stranger grabs his/her medical equipment from the lockers.");
		}
		else
		{
			format(string, sizeof(string), "* %s grabs his/her medical equipment from the lockers.", RPN(playerid), params);
		}
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(IsAReporter(playerid))
	{
	    if(!IsPlayerInRangeOfPoint(playerid, 2, 1203.1322,-751.8103,1073.1819)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
		ShowDialog(playerid, 27);
	}
	else if(IsASWAT(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 2.7,223.3083,186.9299,1003.0313)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
	    ShowDialog(playerid, 763);
	}
	else if(IsASATF(playerid))
	{
		if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER) return SendClientMessage(playerid, COLOR_GREY, "Your not in a vehicle for your equipment (Passenger Seat)");
	    ShowDialog(playerid, 850);
	}
	else if(IsAESF(playerid))
	{
		if(!IsPlayerInRangeOfPoint(playerid, 2.7,1280.7146,-815.3420,1085.6328)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
	    ShowDialog(playerid, 350);
	}
	else SendClientMessage(playerid, COLOR_GREY, "You are not near a locker you can open.");
	return 1;
}

CMD:gov(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsALSEMS(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Officer/Government/FBI/HSF Official.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/gov)ernment announcement [text]");
	if(AntiAdv(playerid, params)) return 1;
	SendClientMessageToAll(COLOR_LIGHTBLUE, "=============== Government News Announcement ===============");
	format(string, sizeof(string), "» [%s] %s %s: %s **", RPFN(playerid), RPFRN(playerid), RPN(playerid), params);
	SendClientMessageToAll(COLOR_COE, string);
	SendClientMessageToAll(COLOR_LIGHTBLUE, "==========================================================");
	return 1;
}

CMD:govm(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsALSEMS(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Officer/Government/FBI/HSF Official.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/govm)ernment announcement [text]");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "** [%s] %s %s: %s **", RPFN(playerid), RPFRN(playerid), RPN(playerid), params);
	SendClientMessageToAll(COLOR_COE, string);
	return 1;
}


CMD:track(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAHitman(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsALSEMS(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF/LSEMS.");
	//if(IsACop(playerid) && !PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(Tracking[playerid] != -1)
	{
	    playerb = Tracking[playerid];
	    Tracking[playerid] = -1;
	    SetPlayerMarkerForPlayer(playerid, playerb, GetPlayerColor(playerb));
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, " You shut your tracker down.");
	    return 1;
	}
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /track [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pCellphone]) return SendClientMessage(playerid, COLOR_GREY, "Player has no cellphone.");
	if(PhoneOff[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player has their phone turned off.");
	if(GetPlayerInterior(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is in an interior.");
	if(GetPlayerVirtualWorld(playerb) != GetPlayerVirtualWorld(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Player is in another virtual world.");
	// Tracking
    Tracking[playerid] = playerb;
    format(string, sizeof(string), " You turned your tracker on. (Tracking: %s)", RPN(playerb));
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    SetPlayerMarkerForPlayer(playerid, playerb, MARKER_LIGHTBLUE);
	return 1;
}



CMD:detain(playerid, params[])
{
	new playerb, seatid, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(sscanf(params, "ui", playerb, seatid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /detain [playerid] [seatid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You can't detain someone from this disatance.");
	if(!IsPlayerCuffed(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not cuffed.");
	if(!IsCruiser(LastCar[playerid])) return SendClientMessage(playerid, COLOR_GREY, "You need an LSPD/FBI/HSF crusier to detain someone in.");
	if(seatid < 2 || seatid > 3) return SendClientMessage(playerid, COLOR_GREY, "You can only detain people in seats 2 and 3.");
	PutPlayerInVehicle(playerb, LastCar[playerid], seatid);
	format(string, sizeof(string), "* %s grabs %s from their cuffs and throws him inside the LSPD/FBI cruiser.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:cuffgo(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cuffgo [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	GameTextForPlayer(playerb, "~r~Cuffed", 3500, 3);
    format(string, sizeof(string), "* %s reaches their hands and grabs %s's cuffs", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	ClearAnimations(playerb);
	TogglePlayerControllable(playerb, 1);
	return 1;
}

CMD:cuff(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cuff [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(!IsPlayerTazed(playerb) && GetPlayerSpecialAction(playerb) != SPECIAL_ACTION_HANDSUP) return SendClientMessage(playerid, COLOR_GREY, "Player is not tazed nor has their hands up.");
	// /me Message & Animation
	GameTextForPlayer(playerb, "~r~Cuffed", 3500, 3);
    format(string, sizeof(string), "* %s pulls a pair of steel cuffs from their belt and puts %s's hands inside them.", RPN(playerid), RPN(playerb));
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
 		format(string, sizeof(string), "* Stranger pulls a pair of steel cuffs from their belt and puts %s's hands inside them.", RPN(playerb));
	}
	else
	{
		format(string, sizeof(string), "* %s pulls a pair of steel cuffs from their belt and puts %s's hands inside them.", RPN(playerid), RPN(playerb));
	}
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	ClearAnimations(playerb);
	//ApplyAnimation(playerb,"ped","cower",1,1,0,0,0,0,1);
	// Custom Freeze
	TogglePlayerControllable(playerb, 0);
	//ApplyAnimation(playerb,"ped","cower",1,1,0,0,0,0,1);
	SetPlayerAttachedObject(playerb, 0, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
    SetPlayerSpecialAction(playerb,SPECIAL_ACTION_CUFFED);
	// Tazed Setting
	TogglePlayerTazed(playerb, 0);
	TogglePlayerCuffed(playerb, 1);
	// Cuff Timeout
	CuffTimeout[playerb] = 9000;
	KillTimer(TazeCountDown[playerb]);
	CuffCountDown[playerb] = SetTimerEx("CuffTimer", 1000, true, "d", playerb);
	return 1;
}


CMD:uncuff(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /uncuff [playerid]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't uncuff yourself.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	if(!IsPlayerCuffed(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not cuffed");
	if(IsPlayerTied(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is tied.");
	CuffTimeout[playerb] = 0;
	format(string, sizeof(string), "* %s reaches to %s and uncuffs them.", RPN(playerid), RPN(playerb));
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
 		format(string, sizeof(string), "* Stranger reaches to %s and uncuffs them.", RPN(playerb));
	}
	else
	{
		format(string, sizeof(string), "* %s reaches to %s and uncuffs them.", RPN(playerid), RPN(playerb));
	}
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	TogglePlayerTazed(playerb, 0);
	TogglePlayerCuffed(playerb, 0);
	Uncuffed[playerb] = 1;
	KillTimer(CuffCountDown[playerid]);
	RemovePlayerAttachedObject(playerb, 0);
	SetPlayerSpecialAction(playerb, SPECIAL_ACTION_NONE);
	TogglePlayerControllable(playerb, 1);
	return 1;
}


CMD:tazer(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAGov(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/Government/HSF.");
	//if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't use this command while being in a vehicle.");
	if(!Tazer[playerid])
	{
	    Tazer[playerid] = 1;
	    format(string, sizeof(string), "* %s takes out their tazer from their holster and loads it.", RPN(playerid));
	    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    if(PlayerInfo[playerid][pWeapon][2] == 24)
	    {
			ReplaceTazer[playerid] = 1;
			GetPlayerWeaponData(playerid, 2, OldGun[playerid], OldAmmo[playerid]);
			SendClientMessage(playerid, COLOR_WHITE, "Your desert eagle will be given back when you holster your tazer.");
	    }
	    GunsBeingRemoved[playerid] = 1;
	    RemoveZaiatWeapon(playerid, 24);
	    GunsBeingRemoved[playerid] = 1;
	    GiveZaiatWeapon(playerid, 23, 500);
	    GunsBeingRemoved[playerid] = 1;
    }
    else
    {
        Tazer[playerid] = 0;
        RemoveZaiatWeapon(playerid, 23);
   		format(string, sizeof(string), "* %s unloads their tazer and puts it back to their holster.", RPN(playerid));
	    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    if(ReplaceTazer[playerid])
        {

            ReplaceTazer[playerid] = 0;
            GunsBeingRemoved[playerid] = 1;
            GiveZaiatWeapon(playerid, OldGun[playerid], OldAmmo[playerid]);
            GunsBeingRemoved[playerid] = 1;
            OldGun[playerid] = 0;
            OldAmmo[playerid] = 0;
            SendClientMessage(playerid, COLOR_WHITE, "You have recieved your desert eagle back as you've holstered your tazer.");
        }
    }
	return 1;
}

CMD:next(playerid, params[])
{
	new family = PlayerInfo[playerid][pFam];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!fskin[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not choosing a family skin.");
	if(pskin[playerid] >= 6)
	{
		pskin[playerid] = 0;
		SetPlayerSkin(playerid, FamInfo[family][fSkins][pskin[playerid]]);
	}
	else
	{
		SetPlayerSkin(playerid, FamInfo[family][fSkins][pskin[playerid]+1]);
		pskin[playerid] ++;
	}
	return 1;
}

CMD:done(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!fskin[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not choosing a family skin.");
    if(GetPlayerSkin(playerid) == 0) return SendClientMessage(playerid, COLOR_GREY, "This skin slot is empty, choose another one.");
	PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have chosen your family skin.");
	fskin[playerid] = 0; pskin[playerid] = 0;
    TogglePlayerControllable(playerid, 1);
    return 1;
}


CMD:accept(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /accept [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: faction | materials | weapon | family | free");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: defend | weed | crack | ticket | vest | fight");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: live | car");
		return 1;
	}
	if(!strcmp(params, "faction", true))
	{
	    if(!Invited[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You haven't been invited to a faction.");
	    {
            new idx = PlayerInfo[playerid][pFac];
	    	FacInfo[idx][facMembers] ++;
			PlayerInfo[playerid][pFac] = Faction[playerid];
			PlayerInfo[playerid][pFacRank] = 0;
			PlayerInfo[playerid][pFacLeader] = 0;
			PlayerInfo[playerid][pFacDiv] = 0;
			PlayerInfo[playerid][pFacDivLeader] = 0;
			Invited[playerid] = 0;
			Faction[playerid] = 0;
			format(string, sizeof(string), " You have accepted %s's invitation to join the {33AA33}%s {33CCFF}faction.", RPN(Inviter[playerid]), RPFNEx(playerid));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has accepted your faction invitation.", RPN(playerid));
			SendClientMessage(Inviter[playerid], COLOR_LIGHTBLUE, string);
			return 1;
	    }
	}
	else if(!strcmp(params, "family", true))
	{
	    if(!fInvited[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You haven't been invited to a family.");
	    {
	        new idx = Family[playerid];
			PlayerInfo[playerid][pFam] = Family[playerid];
			PlayerInfo[playerid][pFamRank] = 1;
			FamInfo[idx][fMembers] ++;
			fInvited[playerid] = 0;
			Family[playerid] = 0;
			format(string, sizeof(string), " You have accepted %s's invitation to join the {33AA33}%s {33CCFF}family.", RPN(fInviter[playerid]), FamInfo[idx][fName]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has accepted your family invitation.", RPN(playerid));
			SendClientMessage(fInviter[playerid], COLOR_LIGHTBLUE, string);
			TogglePlayerControllable(playerid, 0);
			new family = PlayerInfo[playerid][pFam]; fskin[playerid] = 1; pskin[playerid] = 0;
			SetPlayerSkin(playerid, FamInfo[family][fSkins][0]);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " Type /next for the next family skin, type /done to choose a skin.");
			return 1;
	    }
	}
	else if(!strcmp(params, "materials", true))
	{
	    if(BeenOfferedMaterials[playerid])
	    {
			new playerb = BuyMaterialsFrom[playerid];
		    new amount = BuyMaterialsAmount[playerid];
		    new price = BuyMaterialsPrice[playerid];
		    if(PlayerInfo[playerb][pMaterials] < amount)
			{
			    SellMaterialsTo[playerb] = -1;
				BuyMaterialsFrom[playerid] = -1;
				BuyMaterialsAmount[playerid] = 0;
				BuyMaterialsPrice[playerid] = 0;
				BeenOfferedMaterials[playerid] = 0;
				SendClientMessage(playerid, COLOR_GREY, "That player doesn't have that much materials on them.");
				SendClientMessage(playerb, COLOR_GREY, "The trade has been cancelled as you don't have the materials you offered.");
				return 1;
			}
			if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much on you right now.");
			if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
			PlayerInfo[playerid][pMaterials] += amount;
			PlayerInfo[playerb][pMaterials] -= amount;
			GiveZaiatMoney(playerid, -price);
			GiveZaiatMoney(playerb, price);
			format(string, sizeof(string), "* %s takes out a bag of materials, hands it to %s and takes $%d from him", RPN(playerb), RPN(playerid), price);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			format(string, sizeof(string), " You have bought %d materials for $%d from %s.", amount, price, RPN(playerb));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has bought %d materials for $%d from you.", RPN(playerid), amount, price);
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
			SellMaterialsTo[playerb] = -1;
			BuyMaterialsFrom[playerid] = -1;
			BuyMaterialsAmount[playerid] = 0;
			BuyMaterialsPrice[playerid] = 0;
			BeenOfferedMaterials[playerid] = 0;
			return 1;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you materials.");
		    return 1;
		}
	}
	else if(!strcmp(params, "weapon", true))
	{
	    if(BeenOfferedWeapon[playerid])
	    {
			new playerb = BuyWeaponFrom[playerid], price = BuyWeaponPrice[playerid], materials;
		    if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much on you right now.");
			if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
			// Seller Materials
			if(BeenOfferedWeapon[playerid] == 14) materials = 25;
			else if(BeenOfferedWeapon[playerid] == 2) materials = 50;
			else if(BeenOfferedWeapon[playerid] == 6) materials = 50;
			else if(BeenOfferedWeapon[playerid] == 5) materials = 50;
			else if(BeenOfferedWeapon[playerid] == 8) materials = 50;
			else if(BeenOfferedWeapon[playerid] == 23) materials = 100;
			else if(BeenOfferedWeapon[playerid] == 25) materials = 200;
			else if(BeenOfferedWeapon[playerid] == 29) materials = 500;
			else if(BeenOfferedWeapon[playerid] == 33) materials = 750;
			else if(BeenOfferedWeapon[playerid] == 24) materials = 2000;
			else if(BeenOfferedWeapon[playerid] == 30) materials = 4000;
			else if(BeenOfferedWeapon[playerid] == 31) materials = 4500;
			else if(BeenOfferedWeapon[playerid] == 27) materials = 6500;
			else if(BeenOfferedWeapon[playerid] == 34) materials = 7000;

			// The deal
			if(PlayerInfo[playerb][pMaterials] < materials)
			{
			    SellWeaponTo[playerb] = -1;
				BuyWeaponFrom[playerid] = -1;
				BuyWeaponPrice[playerid] = 0;
				BeenOfferedWeapon[playerid] = 0;
				SendClientMessage(playerid, COLOR_GREY, "That player doesn't have the materials needed for that weapon");
				SendClientMessage(playerb, COLOR_GREY, "The trade has been cancelled as you don't have enough materials for the weapon you offered.");
			    return 1;
			}
			PlayerInfo[playerb][pJobSkill][JOB_WDEALER] ++;
			GiveZaiatMoney(playerid, -price);
			GiveZaiatMoney(playerb, price);
			PlayerInfo[playerb][pMaterials] -= materials;
			GiveZaiatWeapon(playerid, BeenOfferedWeapon[playerid], 5);
			format(string, sizeof(string), "* %s takes out a %s, hands it to %s and takes $%d from him", RPN(playerb), RWN(BeenOfferedWeapon[playerid]), RPN(playerid), price);
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			format(string, sizeof(string), " You have bought a %s for $%d from %s.", RWN(BeenOfferedWeapon[playerid]), price, RPN(playerb));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has bought a %s for $%d from you.", RPN(playerid), RWN(BeenOfferedWeapon[playerid]), price);
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
			SellWeaponTo[playerb] = -1;
			BuyWeaponFrom[playerid] = -1;
			BuyWeaponPrice[playerid] = 0;
			BeenOfferedWeapon[playerid] = 0;
			return 1;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you a weapon.");
		    return 1;
		}
	}
	else if(!strcmp(params, "free", true))
	{
		if(!PlayerInfo[playerid][pPrison]) return SendClientMessage(playerid, COLOR_GREY, "You are not prisoned.");
		if(FreeBy[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to free you.");
		GiveZaiatMoney(playerid, -FreePrice[FreeBy[playerid]][playerid]);
		GiveZaiatMoney(FreeBy[playerid], FreePrice[FreeBy[playerid]][playerid]);
		PlayerInfo[FreeBy[playerid]][pJobSkill][JOB_LAWYER] ++;
		FreeTimeout[FreeBy[playerid]] = 60;
		if(PlayerInfo[playerid][pMoney] < FreePrice[FreeBy[playerid]][playerid]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		PlayerInfo[playerid][pPrisonTime] -= FreeTime[playerid]*60;
		SetTimerEx("FreeTimer", 1000, false, "i", FreeBy[playerid]);
		format(string, sizeof(string), " Lawyer %s has reduced your prison sentence by %d for $%d.", RPN(FreeBy[playerid]), FreeTime[playerid], FreePrice[FreeBy[playerid]][playerid]);
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " You have reduced %s's prison sentence by %d for $%d.", RPN(playerid), FreeTime[playerid], FreePrice[FreeBy[playerid]][playerid]);
	    SendClientMessage(FreeBy[playerid], COLOR_LIME, string);
	    FreePrice[FreeBy[playerid]][playerid] = 0;
		FreeBy[playerid] = -1;
		FreeTime[playerid] = 0;
		return 1;
	}
	else if(!strcmp(params, "defend", true))
	{
		new playerb = DefendBy[playerid];
		if(!PlayerInfo[playerid][pWanted]) return SendClientMessage(playerid, COLOR_GREY, "You are not wanted.");
		if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to defend you.");
		GiveZaiatMoney(playerid, -DefendPrice[playerb][playerid]);
		GiveZaiatMoney(playerb, DefendPrice[playerb][playerid]);
		PlayerInfo[playerb][pJobSkill][JOB_LAWYER] ++;
		DefendTimeout[DefendBy[playerid]] = 60;
		if(PlayerInfo[playerid][pMoney] < DefendPrice[playerb][playerid]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		PlayerInfo[playerid][pWanted] --;
		SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)-1);
		SetTimerEx("DefendTimer", 1000, false, "i", playerb);
		format(string, sizeof(string), " Lawyer %s has defended you for one crime for $%d.", RPN(playerb), DefendPrice[playerb][playerid]);
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " You have defended %s's for one crime $%d.", RPN(playerid), DefendPrice[playerb][playerid]);
	    SendClientMessage(playerb, COLOR_LIME, string);
        DefendPrice[playerb][playerid] = 0;
		DefendBy[playerid] = -1;
		return 1;
	}
	else if(!strcmp(params, "weed", true))
	{
		new seller = WeedSeller[playerid];
		if(seller == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you weed.");
		if(!IsPlayerNearPlayer(playerid, seller, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	    if(PlayerInfo[seller][pWeed] < WeedAmount[seller][playerid])
		{
		    WeedSeller[playerid] = -1;
			WeedPrice[seller][playerid] = 0;
			WeedAmount[seller][playerid] = 0;
			SendClientMessage(playerid, COLOR_GREY, "That player doesn't have that much weed on them.");
			SendClientMessage(seller, COLOR_GREY, "The trade has been cancelled as you don't have the weed you offered.");
			return 1;
		}
		if(WeedPrice[seller][playerid] > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		GiveZaiatMoney(playerid, -WeedPrice[seller][playerid]);
		GiveZaiatMoney(seller, WeedPrice[seller][playerid]);
		PlayerInfo[seller][pWeed] -= WeedAmount[seller][playerid];
		PlayerInfo[playerid][pWeed] += WeedAmount[seller][playerid];
		PlayerInfo[seller][pJobSkill][JOB_DDEALER] ++;
		format(string, sizeof(string), "* %s takes out a pack of weed, hands it to %s and takes $%d from him", RPN(seller), RPN(playerid), WeedPrice[seller][playerid]);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		format(string, sizeof(string), " You have bought %d grams of weed $%d from %s.", WeedAmount[seller][playerid], WeedPrice[seller][playerid], RPN(seller));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has bought %d grams of weed for $%d from you.", RPN(playerid), WeedAmount[seller][playerid], WeedPrice[seller][playerid]);
		SendClientMessage(seller, COLOR_LIGHTBLUE, string);
		WeedSeller[playerid] = -1;
		WeedPrice[seller][playerid] = 0;
		WeedAmount[seller][playerid] = 0;
	}
	else if(!strcmp(params, "crack", true))
	{
		new seller = CrackSeller[playerid];
		if(seller == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you crack.");
		if(!IsPlayerNearPlayer(playerid, seller, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	    if(PlayerInfo[seller][pCrack] < CrackAmount[seller][playerid])
		{
		    CrackSeller[playerid] = -1;
			CrackPrice[seller][playerid] = 0;
			CrackAmount[seller][playerid] = 0;
			SendClientMessage(playerid, COLOR_GREY, "That player doesn't have that much crack on them.");
			SendClientMessage(seller, COLOR_GREY, "The trade has been cancelled as you don't have the crack you offered.");
			return 1;
		}
		if(CrackPrice[seller][playerid] > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		GiveZaiatMoney(playerid, -CrackPrice[seller][playerid]);
		GiveZaiatMoney(seller, CrackPrice[seller][playerid]);
		PlayerInfo[seller][pCrack] -= CrackAmount[seller][playerid];
		PlayerInfo[playerid][pCrack] += CrackAmount[seller][playerid];
		PlayerInfo[seller][pJobSkill][JOB_DDEALER] ++;
		format(string, sizeof(string), "* %s takes out a pack of crack, hands it to %s and takes $%d from him", RPN(seller), RPN(playerid), CrackPrice[seller][playerid]);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		format(string, sizeof(string), " You have bought %d grams of crack $%d from %s.", CrackAmount[seller][playerid], CrackPrice[seller][playerid], RPN(seller));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has bought %d grams of crack for $%d from you.", RPN(playerid), CrackAmount[seller][playerid], CrackPrice[seller][playerid]);
		SendClientMessage(seller, COLOR_LIGHTBLUE, string);
		CrackSeller[playerid] = -1;
		CrackPrice[seller][playerid] = 0;
		CrackAmount[seller][playerid] = 0;
	}
	else if(!strcmp(params, "ticket", true))
	{
		new playerb = TicketBy[playerid];
		if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has written you a ticket.");
	    new amount = TicketPrice[playerb][playerid];
	    if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
		if(PlayerInfo[playerid][pMoney] < amount) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
		GiveZaiatMoney(playerid, -amount);
		GiveZaiatMoney(playerb, amount);
		format(string, sizeof(string), "* %s takes the ticket from %s and gives him some money.", RPN(playerid), RPN(playerb));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		format(string, sizeof(string), " You have paid $%d to %s for the ticket.", amount, RPN(playerb));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has paid $%d to you for the ticket.", RPN(playerid), amount);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
		TicketBy[playerid] = -1;
		TicketPrice[playerb][playerid] = 0;
	}
	else if(!strcmp(params, "vest", true))
	{
	    new playerb = VestBy[playerid], Float:A;
        if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered you a vest.");
        if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
   		if(Boxing[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't buy a vest in a boxing match.");
        new price = VestPrice[playerb][playerid];
        if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
        if(A > 50)
		{
			SendClientMessage(playerid, COLOR_GREY, "Your armor is already over 50.");
			SendClientMessage(playerb, COLOR_GREY, "Player's vest is already over 50, your offer has been cancelled.");
			VestPrice[playerb][playerid] = 0;
			VestBy[playerb] = -1;
			return 1;
		}
		GetPlayerArmour(playerid, A);
		GiveZaiatMoney(playerid, -price);
		GiveZaiatMoney(playerb, price);
		SetPlayerArmour(playerid, 50);
		format(string, sizeof(string), " You have paid $%d to %s for the vest.", price, RPN(playerb));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has paid $%d to you for the vest.", RPN(playerid), price);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	    VestPrice[playerb][playerid] = 0;
		VestBy[playerb] = -1;
	}
	else if(!strcmp(params, "fight", true))
	{
	    if(GetPlayerSkin(playerid) != 80 && GetPlayerSkin(playerid) != 81) return SendClientMessage(playerid, COLOR_GREY, "You are not wearing a boxing uniform.");
        if(GetPlayerFightingStyle(playerid) != FIGHT_STYLE_BOXING) return SendClientMessage(playerid, COLOR_GREY, "You must use the boxing fighting style to fight.");
		new playerb = BoxBy[playerid];
		if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered you a fight.");
		if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
		if(BoxingMatch) return SendClientMessage(playerid, COLOR_GREY, "Another boxing match is going on.");
		// Setting Boxers
		Boxer[1] = playerb;
		pBoxer[playerb] = 1;
		Boxer[2] = playerid;
		pBoxer[playerid] = 2;
		// Setting them to boxing
		Boxing[playerb] = 1;
		Boxing[playerid] = 1;
		// Ending the boxing offer
		BoxBy[playerb] = -1;
		BoxBy[playerid] = -1;
		// Setting Their HP & Armor
		SetPlayerHealth(playerb, 100);
		SetPlayerArmour(playerb, 0);
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 0);
		// Setting their positions
		SetPlayerPos(playerb, 763.1202,2.4917,1001.5942); // Boxer 1 spot
		SetPlayerFacingAngle(playerb, 136.4230);
		SetCameraBehindPlayer(playerb);
	    SetPlayerPos(playerid, 758.5969,-1.9768,1001.5942); // Boxer 2 spot
	    SetPlayerFacingAngle(playerid, 315.0247);
	    SetCameraBehindPlayer(playerid);
	    // Freezing them
	    TogglePlayerControllable(playerb, 0);
		TogglePlayerControllable(playerid, 0);
		// Setting global box countdown
		BoxTime = 40;
		BoxingMatch = 1;
		// Timer to unfreeze them
		SetTimerEx("BoxCountDown", 1000, false, "ii", playerid, playerb);
		// Global Message
		SendClientMessageToAll(COLOR_WHITE, "Boxing News: A boxing match is starting in 40 seconds, place your bets in ganton gym.");
		// Removing Weapons
		SendClientMessage(playerb, COLOR_LIGHTRED, " You will recieve your weapons after the match.");
		SendClientMessage(playerid, COLOR_LIGHTRED, " You will recieve your weapons after the match.");
	}
	else if(!strcmp(params, "live", true))
	{
		new playerb = LiveBy[playerid];
		if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered you a live news conference.");
		LiveBy[playerid] = -1;
		LiveRequest[playerb] = 0;
		Live[playerid] = 1;
		Live[playerb] = 1;
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now on air, you can speak on live news using your normal chat.");
		SendClientMessage(playerb, COLOR_LIGHTBLUE, "You are now on air, you can speak on live news using your normal chat. (/live to end the conference)");
	}
	else if(!strcmp(params, "car", true))
	{
	    new playerb, Float:x, Float:y, Float:z;
		GetPlayerPos(playerid, x, y, z);
		if(VehicleOffer[playerid] < 999)
		{
		    if(IsPlayerConnected(VehicleOffer[playerid]))
			{
			    if(GetPlayerMoney(playerid) > VehiclePrice[playerid])
				{
						if(GetPlayerVehicleID(playerb) == PlayerInfo[playerb][pVeh])
						{
							if(!IsPlayerNearPlayer(playerid, playerb, 7)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from the car dealer.");
							SendClientMessage(playerid, COLOR_GREEN, " Car Sell to player funiction is not working yet");
							SendClientMessage(playerb, COLOR_GREEN, " Car Sell to player funiction is not working yet");
                            VehicleOffer[playerid] = 999;
                            VehiclePrice[playerid] = 0;
						}
						else if(GetPlayerVehicleID(playerb) == PlayerInfo[playerb][pVVeh])
						{
							if(!IsPlayerNearPlayer(playerid, playerb, 7)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from the car dealer.");
							SendClientMessage(playerid, COLOR_GREEN, " Car Sell to player funiction is not working yet");
							SendClientMessage(playerb, COLOR_GREEN, " Car Sell to player funiction is not working yet");
                            VehicleOffer[playerid] = 999;
                            VehiclePrice[playerid] = 0;
						}
						else if(GetPlayerVehicleID(playerb) == PlayerInfo[playerb][pBVeh])
						{
							if(!IsPlayerNearPlayer(playerid, playerb, 7)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from the car dealer.");
							SendClientMessage(playerid, COLOR_GREEN, " Car Sell to player funiction is not working yet");
							SendClientMessage(playerb, COLOR_GREEN, " Car Sell to player funiction is not working yet");
                            VehicleOffer[playerid] = 999;
                            VehiclePrice[playerid] = 0;
						}
						else
						{
						    SendClientMessage(playerid, COLOR_GREY, "Player is not in the vehicle that he offered you.");
							return 1;
						}
				}
				else
				{
					SendClientMessage(playerid, COLOR_GREY, "You can't afford the car!");
					return 1;
				}
			}
		}
		else
		{
			SendClientMessage(playerid, COLOR_GREY, "Nobody offered to buy a car.");
		    return 1;
		}

	}
	return 1;
}


CMD:cancel(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cancel [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: faction | materials | weapon | family | free");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: defend | weed | crack | ticket | vest | fight");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: live | contract | car");
		return 1;
	}
	if(!strcmp(params, "faction", true))
	{
	    if(!Invited[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You haven't been invited to a faction.");
	    {
			PlayerInfo[playerid][pFac] = 0;
			PlayerInfo[playerid][pFacRank] = 0;
			PlayerInfo[playerid][pFacLeader] = 0;
			PlayerInfo[playerid][pFacDiv] = 0;
			PlayerInfo[playerid][pFacDivLeader] = 0;
			Invited[playerid] = 0;
			Faction[playerid] = 0;
			format(string, sizeof(string), " You have cancelled %s's faction invitation.", RPN(Inviter[playerid]));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has cancelled your faction invitation.", RPN(playerid));
			SendClientMessage(Inviter[playerid], COLOR_LIGHTBLUE, string);
	    }
	}
	else if(!strcmp(params, "family", true))
	{
	    if(!fInvited[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You haven't been invited to a family.");
	    {
			PlayerInfo[playerid][pFam] = 0;
			PlayerInfo[playerid][pFamRank] = 0;
			fInvited[playerid] = 0;
			Family[playerid] = 0;
			format(string, sizeof(string), " You have cancelled %s's family invitation.", RPN(fInviter[playerid]));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has cancelled your family invitation.", RPN(playerid));
			SendClientMessage(fInviter[playerid], COLOR_LIGHTBLUE, string);
	    }
	}
	else if(!strcmp(params, "materials", true))
	{
	    if(BeenOfferedMaterials[playerid])
	    {
			new playerb = BuyMaterialsFrom[playerid];
			if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
			format(string, sizeof(string), " You have cancelled %d's materials offer.", RPN(playerb));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has cancelled your materials offer.", RPN(playerid));
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
			SellMaterialsTo[playerb] = -1;
			BuyMaterialsFrom[playerid] = -1;
			BuyMaterialsAmount[playerid] = 0;
			BuyMaterialsPrice[playerid] = 0;
			BeenOfferedMaterials[playerid] = 0;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you materials.");
		    return 1;
		}
	}
	else if(!strcmp(params, "weapon", true))
	{
		if(BeenOfferedWeapon[playerid])
	    {
			new playerb = BuyWeaponFrom[playerid];
			if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
			format(string, sizeof(string), " You have cancelled %s's weapon offer.", RPN(playerb));
			SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
			format(string, sizeof(string), " %s has cancelled your weapon offer.", RPN(playerid));
			SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
			SellWeaponTo[playerb] = -1;
			BuyWeaponFrom[playerid] = -1;
			BuyWeaponPrice[playerid] = 0;
			BeenOfferedWeapon[playerid] = 0;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you a weapon.");
		    return 1;
		}
	}
	else if(!strcmp(params, "free", true))
	{
		if(!PlayerInfo[playerid][pPrison]) return SendClientMessage(playerid, COLOR_GREY, "You are not prisoned.");
		if(FreeBy[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to free you.");
		format(string, sizeof(string), " You have cancelled %s's prison sentence reducing offer.", RPN(FreeBy[playerid]));
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " %s has cancelled your prison sentence reducing offer.", RPN(playerid));
	    SendClientMessage(FreeBy[playerid], COLOR_LIME, string);
		FreeTime[playerid] = 0;
		FreePrice[FreeBy[playerid]][playerid] = 0;
		FreeBy[playerid] = -1;
	}
	else if(!strcmp(params, "defend", true))
	{
		if(!PlayerInfo[playerid][pWanted]) return SendClientMessage(playerid, COLOR_GREY, "You are not wanted.");
		if(DefendBy[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to defend you.");
		format(string, sizeof(string), " You have cancelled %s's defend offer.", RPN(DefendBy[playerid]));
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " %s has cancelled your defend request.", RPN(playerid));
	    SendClientMessage(DefendBy[playerid], COLOR_LIME, string);
		DefendPrice[DefendBy[playerid]][playerid] = 0;
		DefendBy[playerid] = -1;
	}
	else if(!strcmp(params, "weed", true))
	{
		new seller = WeedSeller[playerid];
		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(seller == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you weed.");
		format(string, sizeof(string), " You have cancelled %s's weed offer.", RPN(seller));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has cancelled your weed offer.", RPN(playerid));
		SendClientMessage(seller, COLOR_LIGHTBLUE, string);
		WeedSeller[playerid] = -1;
		WeedPrice[seller][playerid] = 0;
		WeedAmount[seller][playerid] = 0;
	}
    else if(!strcmp(params, "crack", true))
	{
		new seller = CrackSeller[playerid];
		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(seller == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered to sell you crack.");
		format(string, sizeof(string), " You have cancelled %s's crack offer.", RPN(seller));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has cancelled your crack offer.", RPN(playerid));
		SendClientMessage(seller, COLOR_LIGHTBLUE, string);
		CrackSeller[playerid] = -1;
		CrackPrice[seller][playerid] = 0;
		CrackAmount[seller][playerid] = 0;
	}
	else if(!strcmp(params, "contract", true))
	{
		if(IsAHitman(playerid))
		{
    	   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
			if(Hitman[playerid] == -1) return SendClientMessage(playerid, COLOR_GREY, "You are not assigned to any contracts.");
			format(string, sizeof(string), "HitmanWarn: %s has cancelled their contract assignment on %s's head.", RPN(playerid), RPN(Hitman[playerid]));
			SendHitmanMessage(COLOR_YELLOW, string);
			Hitman[playerid] = -1;
		}
	}
	else if(!strcmp(params, "vest", true))
	{
	    new playerb = VestBy[playerid];
	    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
        if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered you a vest.");
        if(!IsPlayerNearPlayer(playerid, playerb, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
		format(string, sizeof(string), " You have cancelled %s's vest offer.", RPN(playerb));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), " %s has cancelled your vest offer.", RPN(playerid));
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	    VestPrice[playerb][playerid] = 0;
		VestBy[playerb] = -1;
	}
	else if(!strcmp(params, "fight", true))
	{
		new playerb = BoxBy[playerid];
		if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered you a fight.");
        format(string, sizeof(string), " You have canceled %s's boxing match offer.", RPN(playerb));
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " %s has cancelled your boxing match offer.", RPN(playerid));
		SendClientMessage(playerb, COLOR_LIME, string);
		// Ending the boxing offer
		BoxBy[playerid] = -1;
	}
	else if(!strcmp(params, "live", true))
	{
		new playerb = LiveBy[playerid];
		if(playerb == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has offered you a live news conference.");
		LiveBy[playerid] = -1;
		LiveRequest[playerb] = 0;
		Live[playerid] = 0;
		Live[playerb] = 0;
		format(string, sizeof(string), " You have canceled %s's live news conference.", RPN(playerb));
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " %s has canceled your live news conference.", RPN(playerid));
		SendClientMessage(playerb, COLOR_LIME, string);
	}
	else if(!strcmp(params, "car", true))
	{
		VehicleOffer[playerid] = 999;
		VehiclePrice[playerid] = 0;
		//VehicleId[playerid] = -1;
	}
	return 1;
}

CMD:uninvite(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /invite [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFac] != PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your faction.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't uninvite yourself.");
	new idx = PlayerInfo[playerid][pFac];
	FacInfo[idx][facMembers] --;
	PlayerInfo[playerb][pFac] = 0;
	PlayerInfo[playerb][pFacRank] = 0;
	PlayerInfo[playerb][pFacLeader] = 0;
	PlayerInfo[playerb][pFacDuty] = 0;
	SetPlayerColor(playerb, TRANSPARENT_WHITE);
	format(string, sizeof(string), " You have kicked %s out of the {33AA33}%s {33CCFF}faction.", RPN(playerb), RPFNEx(playerid));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has kicked you out of the {33AA33}%s {33CCFF}faction, you are now a civilian.", RPN(playerid), RPFNEx(playerid));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:fackick(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pFacMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fackick [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in a faction.");
	SetPlayerColor(playerb, TRANSPARENT_WHITE);
	format(string, sizeof(string), " You have kicked %s out of the {33AA33}%s {33CCFF}faction.", NORPN(playerb), RPFNEx(playerb));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " Administrator %s has kicked you out of the {33AA33}%s {33CCFF}faction, you are now a civilian.", NORPN(playerid), RPFNEx(playerb));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	new idx = PlayerInfo[playerid][pFac];
	FacInfo[idx][facMembers] --;
	PlayerInfo[playerb][pFac] = 0;
	PlayerInfo[playerb][pFacRank] = 0;
	PlayerInfo[playerb][pFacLeader] = 0;
	PlayerInfo[playerb][pFacDuty] = 0;
	return 1;
}


CMD:finvite(playerid, params[])
{
	new playerb, string[128], idx = PlayerInfo[playerid][pFam];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pFamRank] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not a family leader.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /finvite [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFam]) return SendClientMessage(playerid, COLOR_GREY, "Player is already in a family.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't invite yourself.");
	// Inviting
	fInvited[playerb] = 1;
	fInviter[playerb] = playerid;
	Family[playerb] = idx;
	format(string, sizeof(string), " You have invited %s to join the {33AA33}%s {33CCFF}family.", RPN(playerb), FamInfo[idx][fName]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has invited you to join the {33AA33}%s {33CCFF}family. (/accept family) (/cancel family)", RPN(playerid), FamInfo[idx][fName]);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:funinvite(playerid, params[])
{
	new playerb, string[128], idx = PlayerInfo[playerid][pFam];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pFamRank] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not a family leader.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fuinvite [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFam] != PlayerInfo[playerid][pFam]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your family.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't unnvite yourself.");
	if(!strcmp(RPN(playerb), FamInfo[idx][fLeader], false)) return SendClientMessage(playerid, COLOR_GREY, "You cannot uninvite the family leader.");
	PlayerInfo[playerb][pFam] = 0;
	PlayerInfo[playerb][pFamRank] = 0;
	FamInfo[idx][fMembers] --;
	format(string, sizeof(string), " You have kicked %s out of the {33AA33}%s {33CCFF}family.", RPN(playerb), FamInfo[idx][fName]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has kicked you out of the {33AA33}%s {33CCFF}family.", RPN(playerid), FamInfo[idx][fName]);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);

	return 1;
}

CMD:invite(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /invite [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is already in a faction.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't invite yourself.");
	// Inviting
	Invited[playerb] = 1;
	Inviter[playerb] = playerid;
	Faction[playerb] = PlayerInfo[playerid][pFac];
	format(string, sizeof(string), " You have invited %s to join the {33AA33}%s {33CCFF}faction.", RPN(playerb), RPFNEx(playerid));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), " %s has invited you to join the {33AA33}%s {33CCFF}faction. (/accept faction) (/cancel faction)", RPN(playerid), RPFNEx(playerid));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:setrank(playerid, params[])
{
	new playerb, rank, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "ui", playerb, rank)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setrank [playerid] [rank]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't change your rank.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFac] != PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your faction.");
	if(rank < 0 || rank > 10) return SendClientMessage(playerid, COLOR_GREY, "Ranks are between 0 and 10.");
	if(PlayerInfo[playerb][pFacRank] == rank) return SendClientMessage(playerid, COLOR_GREY, "Player already has that rank.");
	if(PlayerInfo[playerb][pFacRank] < rank)
	{
	    PlayerInfo[playerb][pFacRank] = rank;
		format(string, sizeof(string), "You have {33AA33}promoted {33CCFF}%s to {33AA33}%s (%d){33CCFF}.", RPN(playerb), RPFRN(playerb), rank);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), "%s has {33AA33}promoted {33CCFF}you to {33AA33}%s (%d){33CCFF}.", RPN(playerid), RPFRN(playerb), rank);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	else if(PlayerInfo[playerb][pFacRank] > rank)
	{
	    PlayerInfo[playerb][pFacRank] = rank;
		format(string, sizeof(string), "You have {FF9900}demoted {33CCFF}%s to {FF9900}%s (%d){33CCFF}.", RPN(playerb), RPFRN(playerb), rank);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		format(string, sizeof(string), "%s has {FF9900}demoted {33CCFF}you to {FF9900}%s (%d){33CCFF}.", RPN(playerid), RPFRN(playerb), rank);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	}
	return 1;
}

CMD:adjustrankname(playerid, params[])
{
	new rank, name[32], string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a faction leader.");
	if(sscanf(params, "is[32]", rank, name)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /adjustrankname [rank] [name]");
	switch(rank)
	{
	    case 0:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank0], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 0's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 1:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank1], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 1's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 2:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank2], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 2's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 3:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank3], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 3's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 4:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank4], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 4's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 5:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank5], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 5's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 6:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank6], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 6's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 7:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank7], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 7's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 8:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank8], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 8's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 9:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank9], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 9's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 10:
	    {
	        format(FacInfo[PlayerInfo[playerid][pFac]][fRank10], 32, "%s", name);
	        format(string, sizeof(string), "You have set rank 10's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	}
	return 1;
}

CMD:dinvite(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	//if(!PlayerInfo[playerid][pFacDivLeader] && !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a division leader.");
	if(!PlayerInfo[playerid][pFacDivLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a division leader.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dinvite");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFac] != PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your faction.");
	if(PlayerInfo[playerb][pFacDiv]) return SendClientMessage(playerid, COLOR_GREY, "Player is already in a division.");
	PlayerInfo[playerb][pFacDiv] = PlayerInfo[playerid][pFacDiv];
	PlayerInfo[playerb][pFacDivLeader] = 0;
	format(string, sizeof(string), "You have assigned %s to the {33AA33}%s {33CCFF}division.", RPN(playerb), RPFDN(playerb));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "%s has assigned you to the {33AA33}%s {33CCFF}division.", RPN(playerid), RPFDN(playerb));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:duninvite(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFacDivLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a division leader.");
	//if(!PlayerInfo[playerid][pFacDivLeader] && !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not a division leader.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dinvite");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFac] != PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your faction.");
	if(PlayerInfo[playerb][pFacDiv] != PlayerInfo[playerid][pFacDiv]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in in your division.");
	PlayerInfo[playerb][pFacDiv] = 0;
	PlayerInfo[playerb][pFacDivLeader] = 0;
	format(string, sizeof(string), "You have removed %s from the {33AA33}%s {33CCFF}division.", RPN(playerb), RPFDN(playerb));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "%s has removed you from to the {33AA33}%s {33CCFF}division.", RPN(playerid), RPFDN(playerb));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:setdivision(playerid, params[])
{
	new playerb, division, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD faction leader.");
	if(sscanf(params, "ui", playerb, division))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: setdivision [playerid] [division]");
		format(string, sizeof(string), "DIVISIONS: 1) %s | 2) %s | 3) %s | 4) %s | 5) %s", FacInfo[1][fDiv1], FacInfo[1][fDiv2], FacInfo[1][fDiv3], FacInfo[1][fDiv4], FacInfo[1][fDiv5]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pFac] != PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your faction.");
	if(division < 0 || division > 5) return SendClientMessage(playerid, COLOR_GREY, "Divisions are between 1 and 5.");
	if(PlayerInfo[playerb][pFacDiv] == division) return SendClientMessage(playerid, COLOR_GREY, "Player is already in a division.");
    PlayerInfo[playerb][pFacDiv] = division;
    PlayerInfo[playerb][pFacDivLeader] = division;
	format(string, sizeof(string), "You have assigned %s to lead the {33AA33}%s {33CCFF}division.", RPN(playerb), RPFDN(playerb));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "%s has assigned you to lead the {33AA33}%s {33CCFF}division.", RPN(playerid), RPFDN(playerb));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:adjustdivisionname(playerid, params[])
{
	new division, name[8], string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD faction leader.");
	if(sscanf(params, "is[32]", division, name)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /adjustdivisionname [division] [name]");
	switch(division)
	{
	    case 1:
	    {
	        FacInfo[1][fDiv1] = name;
	        format(string, sizeof(string), "You have set division 1's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 2:
	    {
	        FacInfo[1][fDiv2] = name;
	        format(string, sizeof(string), "You have set division 2's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 3:
	    {
	        FacInfo[1][fDiv3] = name;
	        format(string, sizeof(string), "You have set division 3's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 4:
	    {
	        FacInfo[1][fDiv4] = name;
	        format(string, sizeof(string), "You have set division 4's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	    case 5:
	    {
	        FacInfo[1][fDiv5] = name;
	        format(string, sizeof(string), "You have set division 5's name to %s", name);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    }
	}
	return 1;
}


/*CMD:admins(playerid, params[])
{
	new online, string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	{
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin])
		    {
		        online ++;
		    }
		}
		format(string, sizeof(string), "{4985d7}[Server Staff] {a7c2e6}- Administrators:");
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin])
		    {
		     	if(!aDuty[i])
	 			{
	 			    format(file, sizeof(file), "users/%s.ini",RPNU(i));
				 	format(string, sizeof(string), "- %s %s (ID: %d){FF0000} [Off-Duty]", RPALN(i), playerid, NORPN(i));
				}
		     	else
	 			{
	 			    format(file, sizeof(file), "users/%s.ini",RPNU(i));
					format(string, sizeof(string), "- %s %s (ID: %d){00C41A} [On-Duty]", RPALN(i), playerid, NORPN(i));
				}
		        SendClientMessage(playerid, COLOR_WHITE, string);
		    }
		}
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pHelper])
		    {
		        online ++;
		    }
		}
		format(string, sizeof(string), "{4985d7}[Server Staff] {a7c2e6}- Helpers:");
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pHelper])
		    {
	 			    format(file, sizeof(file), "users/%s.ini",RPNU(i));
					format(string, sizeof(string), "- %s %s (ID: %d)", RPHLN(i), playerid, NORPN(i));
					SendClientMessage(playerid, COLOR_WHITE, string);
		    }
		}
	}
	return 1;
}*/

CMD:admins(playerid, params[])
{
	new online, string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1)
	{
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin] && aDuty[i])
		    {
		        online ++;
		    }
		}
		format(string, sizeof(string), "On-Duty Admins: %d", online);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin] && aDuty[i])
		    {
		     	format(string, sizeof(string), "- [Level: %d] %s", PlayerInfo[i][pAdmin], NORPN(i));
		     	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		    }
		}
	}
	else
	{
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin])
		    {
		        online ++;
		    }
		}
		format(string, sizeof(string), "Online Admins: %d", online);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin])
		    {
		     	if(!aDuty[i])
	 			{
	 			    format(file, sizeof(file), "users/%s.ini",RPNU(i));
				 	format(string, sizeof(string), "- [Level: %d] %s [Admin Name: %s]", PlayerInfo[i][pAdmin], NORPN(i), dini_Get(file, "AdminName"));
				}
		     	else
	 			{
	 			    format(file, sizeof(file), "users/%s.ini",RPNU(i));
					format(string, sizeof(string), "- [Level: %d] %s [RP Name: %s]", PlayerInfo[i][pAdmin], NORPN(i), dini_Get(file, "OldName"));
				}
				if(PlayerInfo[i][pGangMod]) strcat(string, " [Gang Mod]");
				if(PlayerInfo[i][pFacMod]) strcat(string, " [Fac Mod]");
				if(PlayerInfo[i][pDoorMod]) strcat(string, " [Door Mod]");
				if(PlayerInfo[i][pBizMod]) strcat(string, " [Biz Mod]");
				if(PlayerInfo[i][pHouseMod]) strcat(string, " [House Mod]");
				if(PlayerInfo[i][pGameAffairs]) strcat(string, " [Game Affairs]");
		        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		    }
		}
	}
	return 1;
}

CMD:members(playerid, params[])
{
	new string[128], online;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pFac])
	{
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pFac] == PlayerInfo[playerid][pFac])
		    {
		        online ++;
		    }
		}
		format(string, sizeof(string), "Online Faction Members: %d", online);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pFac] == PlayerInfo[playerid][pFac])
		    {
		        if(PlayerInfo[i][pFacLeader])
		        {
		            if(PlayerInfo[playerid][pFacLeader] && PlayerInfo[i][pFacDiv]) format(string, sizeof(string), "- [Leader] [%s] [%s (%d)] %s", RPFDN(i), RPFRN(i), PlayerInfo[i][pFacRank], NORPN(i));
		            else format(string, sizeof(string), "- [Leader] [%s (%d)] %s", RPFRN(i), PlayerInfo[i][pFacRank], NORPN(i));
		            if(PlayerInfo[playerid][pFac] == 3) format(string, sizeof(string), "- [Leader] [%s (%d)] %s (Success: %d | Fail: %d)", RPFRN(i), PlayerInfo[i][pFacRank], NORPN(i), PlayerInfo[i][pCSuccess], PlayerInfo[i][pCFail]);
		        }
		        else
		        {
		            if(PlayerInfo[playerid][pFacLeader] && PlayerInfo[i][pFacDiv]) format(string, sizeof(string), "- [%s] [%s (%d)] %s", RPFDN(i), RPFRN(i), PlayerInfo[i][pFacRank], NORPN(i));
		            else format(string, sizeof(string), "- [%s (%d)] %s", RPFRN(i), PlayerInfo[i][pFacRank], NORPN(i));
  					if(PlayerInfo[playerid][pFac] == 3) format(string, sizeof(string), "- [%s (%d)] %s (Success: %d | Fail: %d)", RPFRN(i), PlayerInfo[i][pFacRank], NORPN(i), PlayerInfo[i][pCSuccess], PlayerInfo[i][pCFail]);

				}
		        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		    }
		}
	}
	if(PlayerInfo[playerid][pFam])
	{
	    online = 0;
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pFam] == PlayerInfo[playerid][pFam])
		    {
		        online ++;
		    }
		}
		format(string, sizeof(string), "Online Family Members: %d", online);
		SendClientMessage(playerid, COLOR_ORANGE, string);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pFam] == PlayerInfo[playerid][pFam])
		    {
	            format(string, sizeof(string), "- [%s (%d)] %s", RPFaRN(i), PlayerInfo[i][pFamRank], NORPN(i));
		        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		    }
		}
	}
	return 1;
}

CMD:quitfaction(playerid, params[])
{
	new string[128], faction[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFac]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a faction.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /quitfaction confirm");
	if(!strcmp(params, "confirm", true))
	{
		// Detecting Faction
		if(PlayerInfo[playerid][pFac] == 1) format(faction, sizeof(faction), "Los Santos Police Department");
		else if(PlayerInfo[playerid][pFac] == 2) format(faction, sizeof(faction), "Government");
		else if(PlayerInfo[playerid][pFac] == 3) format(faction, sizeof(faction), "Hitman Agency");
		else if(PlayerInfo[playerid][pFac] == 4) format(faction, sizeof(faction), "News Agency");
		else if(PlayerInfo[playerid][pFac] == 5) format(faction, sizeof(faction), "Leone");
		else if(PlayerInfo[playerid][pFac] == 6) format(faction, sizeof(faction), "Federal Bureau of Investigation");
		else if(PlayerInfo[playerid][pFac] == 7) format(faction, sizeof(faction), "Los Santos Emergency Service");
		else if(PlayerInfo[playerid][pFac] == 8) format(faction, sizeof(faction), "Highland Security Firm");
		else if(PlayerInfo[playerid][pFac] == 9) format(faction, sizeof(faction), "Corleone");
		else if(PlayerInfo[playerid][pFac] == 10) format(faction, sizeof(faction), "The Ancelotti Family");
		else if(PlayerInfo[playerid][pFac] == 11) format(faction, sizeof(faction), "Special Weapons And Tactics");
		else if(PlayerInfo[playerid][pFac] == 12) format(faction, sizeof(faction), "San Andreas Task Force");
		else if(PlayerInfo[playerid][pFac] == 13) format(faction, sizeof(faction), "East Side Fellas");
 		new idx = PlayerInfo[playerid][pFac];
		// Quitting Faction
		FacInfo[idx][facMembers] --;
		SetPlayerColor(playerid, TRANSPARENT_WHITE);
		PlayerInfo[playerid][pFac] = 0;
		PlayerInfo[playerid][pFacRank] = 0;
		PlayerInfo[playerid][pFacLeader] = 0;
		format(string, sizeof(string), " You have quit the {33AA33}%s {33CCFF}faction, you are now a civilian.", faction);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	return 1;
}

CMD:quitfamily(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pFam]) return SendClientMessage(playerid, COLOR_GREY, "You are not in a  family.");
	if(sscanf(params, "s[8]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /quitfamily confirm");
	if(!strcmp(params, "confirm", true))
	{
	    new idx = PlayerInfo[playerid][pFam];
		format(string, sizeof(string), " You have quit the {33AA33}%s {33CCFF}family.", FamInfo[idx][fName]);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		FamInfo[idx][fMembers] --;
		PlayerInfo[playerid][pFam] = 0;
		PlayerInfo[playerid][pFamRank] = 0;
	}
	return 1;
}

CMD:na(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAReporter(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not a news reporter.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /na [text]");
	if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "** [NA] (%d) %s %s: %s", PlayerInfo[playerid][pFacRank], RPFRN(playerid), NORPN(playerid), params);
	SendPlayerFactionMessage(playerid, 0, COLOR_LIGHTGREEN, string);
	Log("logs/NA.log", string);
	return 1;
}

CMD:news(playerid, params[])
{
	new string[128];
	if(!IsAReporter(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not a news reporter.");
	if(!IsNewsVehicle(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You are not in a news vehicle.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /news [text]");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "** [News] %s: %s", NORPN(playerid), params);
	SendClientMessageToAll(COLOR_ORANGE, string);
	Log("logs/news.log", string);
	return 1;
}

CMD:newsvault(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAReporter(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not a news reporter.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 1202.8289,-762.5840,1073.1819)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the News Agency Vault.");
	format(string, sizeof(string), "[News Agency Vault]: The vault contains $%d.", NewsMoney);
	SendClientMessage(playerid, COLOR_DARKRED, string);
	return 1;
}

CMD:vaultwithdraw(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsAReporter(playerid) || !PlayerInfo[playerid][pFacLeader]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 1202.8289,-762.5840,1073.1819)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the News Agency Vault.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /vaultwithdraw [amount]");
	if(amount > NewsMoney) return SendClientMessage(playerid, COLOR_GREY, "The vault doesn't have that much money inside it.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	NewsMoney -= amount;
	GiveZaiatMoney(playerid, amount);
	format(string, sizeof(string), "[News Agency Warning]: %s has withdrawn $%d from the vault, amount left: $%d.", NORPN(playerid), amount, NewsMoney);
	SendPlayerFactionMessage(playerid, 0, COLOR_DARKRED, string);
	Log("logs/newsvault.log", string);
	return 1;
}

CMD:live(playerid, params[])
{
	new string[128], playerb;
	if(!IsAReporter(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not a news reporter.");
	if(!IsNewsVehicle(GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, COLOR_GREY, "You are not in a news vehicle.");
	if(Live[playerid])
	{
	    foreach(Player, i)
	    {
	        if(Live[i] && i != playerid) playerb = i;
	    }
	    Live[playerid] = 0;
	    Live[playerb] = 0;
	    LiveConference = 0;
	    SendClientMessage(playerid, COLOR_LIGHTRED, "You have ended the live news conference.");
	    SendClientMessage(playerb, COLOR_LIGHTRED, "The live news conference has ended.");
	}
	else
	{
	    if(LiveRequest[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have already offered someone a live news conference.");
	    if(LiveConference) return SendClientMessage(playerid, COLOR_GREY, "Another live news conference is already being held.");
		if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /live [playerid]");
		if(playerb == playerid) return SendClientMessage(playerid, COLOR_GREY, "You can't offer yourself to a live news conference.");
		if(LiveBy[playerb] != -1) return SendClientMessage(playerid, COLOR_GREY, "Player has been already offered a live news conference.");
		LiveBy[playerb] = playerid;
		LiveRequest[playerid] = 1;
		format(string, sizeof(string), " You have offered %s a live news conference.", RPN(playerb));
		SendClientMessage(playerid, COLOR_LIME, string);
		format(string, sizeof(string), " News Reporter %s has offered you a live news conference. (/accept live) (/cancel live)", RPN(playerid));
		SendClientMessage(playerb, COLOR_LIME, string);
	}
	return 1;
}

CMD:or(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI/LSEMS/HSF Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/or)adio [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(PlayerInfo[playerid][pFacDiv]){format(string, sizeof(string), "(( [OOC] [%s] %s %s: %s ))", RPFDN(playerid), RPFRN(playerid), NORPN(playerid), params);}
	else {format(string, sizeof(string), "(( [OOC] %s %s: %s ))", RPFRN(playerid), NORPN(playerid), params);}
	SendPlayerFactionMessage(playerid, 0, COLOR_RADIO, string);
	if(IsACop(playerid)) Log("logs/SAPD.log", string);
	else if(IsAGov(playerid)) Log ("logs/GOV.log", string);
	else if(IsAFBI(playerid)) Log ("logs/FBI.log", string);
	else if(IsALSEMS(playerid)) Log ("logs/LSEMS.log", string);
	else if(IsAHSF(playerid)) Log ("logs/HSF.log", string);
	else if(IsASWAT(playerid)) Log ("logs/SWAT.log", string);
	else if(IsASATF(playerid)) Log ("logs/SATF.log", string);
	format(string, sizeof(string), "(OOC RADIO) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	return 1;
}


CMD:r(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAGov(playerid) && !IsAFBI(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/Government/FBI/LSEMS/HSF Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/r)adio [text]");
	//if(AntiAdv(playerid, params)) return 1;
	if(PlayerInfo[playerid][pFacDiv]){format(string, sizeof(string), "** [%s] %s %s: %s", RPFDN(playerid), RPFRN(playerid), NORPN(playerid), params);}
	else {format(string, sizeof(string), "** %s %s: %s", RPFRN(playerid), NORPN(playerid), params);}
	SendPlayerFactionMessage(playerid, 0, COLOR_RADIO, string);
	if(IsACop(playerid)) Log("logs/SAPD.log", string);
	else if(IsAGov(playerid)) Log ("logs/GOV.log", string);
	else if(IsAFBI(playerid)) Log ("logs/FBI.log", string);
	else if(IsALSEMS(playerid)) Log ("logs/LSEMS.log", string);
	else if(IsAHSF(playerid)) Log ("logs/HSF.log", string);
	else if(IsASWAT(playerid)) Log ("logs/SWAT.log", string);
	else if(IsASATF(playerid)) Log ("logs/SATF.log", string);
	format(string, sizeof(string), "(IC RADIO) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	return 1;
}

CMD:d(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAGov(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Officer/Government/LSEMS/HSF Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/d)epartments radio [text]");
	//if(AntiAdv(playerid, params)) return 1;
	// Raido Message
	format(string, sizeof(string), "** [%s] %s %s: %s", RPFN(playerid),  RPFRN(playerid), NORPN(playerid), params);
	foreach(Player, i)
	{
	    if(IsACop(i) || IsAGov(i) || IsAFBI(i) || IsALSEMS(i) || IsAHSF(i) || IsASWAT(i) || IsASATF(i))
	    {
			SendClientMessage(i, COLOR_DEPTRADIO, string);
	    }
	}
	format(string, sizeof(string), "(DEPARTMENT RADIO) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	Log("logs/departments.log", string);
	return 1;
}

CMD:od(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsACop(playerid) && !IsAGov(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Officer/Government/LSEMS/HSF Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/od)epartments radio [text]");
	if(AntiAdv(playerid, params)) return 1;
	// Raido Message
	format(string, sizeof(string), "(( [OOC] [%s] %s %s: %s ))", RPFN(playerid),  RPFRN(playerid), NORPN(playerid), params);
	foreach(Player, i)
	{
	    if(IsACop(i) || IsAGov(i) || IsAFBI(i) || IsALSEMS(i) || IsAHSF(i) || IsASWAT(i) || IsASATF(i))
	    {
			SendClientMessage(i, COLOR_DEPTRADIO, string);
	    }
	}
	format(string, sizeof(string), "(OOC DEPARTMENT RADIO) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	Log("logs/departments.log", string);
	return 1;
}

CMD:fd(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an FBI Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/fd)epartments radio [text]");
	if(AntiAdv(playerid, params)) return 1;
	// Raido Message
	format(string, sizeof(string), "** [%s] %s Stranger: %s", RPFN(playerid),  RPFRN(playerid), params);
	foreach(Player, i)
	{
	    if(IsACop(i) || IsAGov(i) || IsAFBI(i) || IsALSEMS(i) || IsAHSF(i) || IsASWAT(i) || IsASATF(i))
	    {
			SendClientMessage(i, COLOR_DEPTRADIO, string);
	    }
	}
	format(string, sizeof(string), "(DEPARTMENT RADIO) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	Log("logs/departments.log", string);
	return 1;
}

CMD:fod(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an FBI Official.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/fod)epartments radio [text]");
	if(AntiAdv(playerid, params)) return 1;
	// Raido Message
	format(string, sizeof(string), "(( [OOC] [%s] %s Stranger: %s ))", RPFN(playerid),  RPFRN(playerid), params);
	foreach(Player, i)
	{
	   if(IsACop(i) || IsAGov(i) || IsAFBI(i) || IsALSEMS(i) || IsAHSF(i) || IsASWAT(i) || IsASATF(i))
	    {
			SendClientMessage(i, COLOR_DEPTRADIO, string);
	    }
	}
	format(string, sizeof(string), "(OOC DEPARTMENT RADIO) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	Log("logs/departments.log", string);
	return 1;
}

CMD:badge(playerid, params[])
{
		if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI Agent/HSF.");
        if(strcmp(params, "on", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "You not anymore undercover");
			if(!IsACop(playerid)) SetPlayerColor(playerid, TRANSPARENT_LSPD);
			else if(!IsAFBI(playerid)) SetPlayerColor(playerid, TRANSPARENT_FBI);
			else if(!IsAHSF(playerid)) SetPlayerColor(playerid, TRANSPARENT_HSF);
        }
        else if(strcmp(params, "off", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "You now undercover");
			SetPlayerColor(playerid, TRANSPARENT_WHITE);
		}
        else return SendClientMessage(playerid, TRANSPARENT_WHITE, "USAGE: /badge (off, on).");
    	return 1;
}

CMD:sfbadge(playerid, params[])
{
		if(!IsASWAT(playerid)) return SendClientMessage(playerid, COLOR_GREY, "SWAT Restricted");
        if(strcmp(params, "on", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "You not anymore undercover");
			SetPlayerColor(playerid, TRANSPARENT_SWAT);
        }
        else if(strcmp(params, "off", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "You now undercover");
			SetPlayerColor(playerid, TRANSPARENT_WHITE);
		}
        else return SendClientMessage(playerid, TRANSPARENT_WHITE, "USAGE: /sfbadge (off, on).");
    	return 1;
}

CMD:lcolor(playerid, params[])
{
		if(PlayerInfo[playerid][pFac] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
        if(strcmp(params, "on", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "Faction Color Leone On");
			SetPlayerColor(playerid, TRANSPARENT_BROWN);
        }
        else if(strcmp(params, "off", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "Faction Color Leone Off");
			SetPlayerColor(playerid, TRANSPARENT_WHITE);
		}
        else return SendClientMessage(playerid, TRANSPARENT_WHITE, "USAGE: /lcolor (off, on).");
    	return 1;
}



//CMD:lcolor(playerid, params[])
//{
//	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
//   	if(!IsALeone(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in a criminal faction.");
//	{
//		SetPlayerColor(playerid, COLOR_GOLD);
//	}
//	return 1;
//}

CMD:ofac(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsALeone(playerid) && !IsACorleone(playerid) && !IsAAncelotti(playerid) && !IsAESF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in a criminal faction.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ofac [text]");
	if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "(( [OOC] Faction (%d) %s %s: %s ))", PlayerInfo[playerid][pFacRank], RPFRN(playerid), RPN(playerid), params);
	SendPlayerFactionMessage(playerid, 0, COLOR_YELLOW, string);
	format(string, sizeof(string), "(OOC FAC) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	Log("logs/Leone.log", string);
	Log("logs/Corleone.log", string);
	Log("logs/Ancelotti.log", string);
	Log("logs/ESF.log", string);
	return 1;
}

CMD:fac(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(!IsALeone(playerid) && !IsACorleone(playerid) && !IsAAncelotti(playerid) && !IsAESF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in a criminal faction.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fac [text]");
	if(AntiAdv(playerid, params)) return 1;
    format(string, sizeof(string), "[IC] Faction (%d) %s %s: %s", PlayerInfo[playerid][pFacRank], RPFRN(playerid), RPN(playerid), params);
	SendPlayerFactionMessage(playerid, 0, COLOR_YELLOW, string);
	format(string, sizeof(string), "(FAC) %s",params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,15.0,5000);
	Log("logs/Leone.log", string);
	Log("logs/Corleone.log", string);
	Log("logs/Ancelotti.log", string);
	Log("logs/ESF.log", string);
	return 1;
}

CMD:rolldice(playerid, params[])
{
	new string[128], val1, val2;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pDice]) return SendClientMessage(playerid, COLOR_GREY, "You have no dice on you.");
	val1 = 1+random(6);
	val2 = 1+random(6);
    format(string, sizeof(string), "* %s rolls a pair of dice on the floor, the first dice shows %d while the other shows %d.", RPN(playerid), val1, val2);
	SendNearbyMessage(playerid, 4, string, COLOR_GREEN, COLOR_GREEN, COLOR_GREEN, COLOR_GREEN, COLOR_GREEN);
	return 1;
}

CMD:list(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 1 && BizInfo[idx][bType] != 2 && BizInfo[idx][bType] != 3 && BizInfo[idx][bType] != 4 && BizInfo[idx][bType] != 6 && BizInfo[idx][bType] != 7 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a business.");
	if(BizInfo[idx][bType] == 1)
	{
	    format(string, sizeof(string), "** %s's 24/7 Market menu list **", BizInfo[idx][bOwner]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
		if(BizInfo[idx][bLevel] >= 1) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 1: Cellphone ($100) | Phonebook ($50) | Dice ($20) | Cigar ($100)");
		if(BizInfo[idx][bLevel] >= 2) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 2: Speedometer ($200) | Sprunk ($30) | Spraycan ($100) | Rope ($60)");
		if(BizInfo[idx][bLevel] >= 3) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 3: Blindfold ($60) | WalkieTalkie ($200) | Smartphone($500)");
		if(BizInfo[idx][bLevel] >= 4) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 4: Camera ($300) | GasCan ($100)");
		//if(BizInfo[idx][bLevel] >= 5) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 5: Radio ($300)");
	}
	else if(BizInfo[idx][bType] == 3)
	{
	    format(string, sizeof(string), "** %s's Ammunation menu list **", BizInfo[idx][bOwner]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
		if(BizInfo[idx][bLevel] >= 1) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 1: 1) Shotgun Ammo ($400) | 2) Rifle Ammo ($2000)");
		if(BizInfo[idx][bLevel] >= 4) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 2: 3) Gun Ammo ($800)");
		if(BizInfo[idx][bLevel] >= 2) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 3: 4) Light-Machinegun Ammo ($1200)");
		if(BizInfo[idx][bLevel] >= 3) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 4: 5) Heavy-Machinegun Ammo ($2200)");
		if(BizInfo[idx][bLevel] >= 5) SendClientMessage(playerid, COLOR_WHITE, "UPGRADE 5: 6) Vest ($1000)");
	}
	else if(BizInfo[idx][bType] == 4)
	{
	    format(string, sizeof(string), "** %s's Club menu list **", BizInfo[idx][bOwner]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
		SendClientMessage(playerid, COLOR_WHITE, "1) Sprunk ($50) | 2) Beer ($100) | 3) Vodka ($200)");
	}
	else if(BizInfo[idx][bType] == 6)
	{
	    format(string, sizeof(string), "** %s's Fast Food menu list **", BizInfo[idx][bOwner]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
		SendClientMessage(playerid, COLOR_WHITE, "1) Small Meal ($10) | 2) Medium Meal ($30) | 3) Big Meal ($50)");
	}
	else if(BizInfo[idx][bType] == 7)
	{
	    format(string, sizeof(string), "** %s's Casino menu list **", BizInfo[idx][bOwner]);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
		SendClientMessage(playerid, COLOR_WHITE, "1) Dice");
	}
	return 1;
}


/*CMD:speedo(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pSpeedo]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a speedometer.");
	if(!Speedo[playerid])
	{
	    Speedo[playerid] = 1;
	    format(string, sizeof(string), "You have turned your speedometer {33AA33}on{33CCFF}.");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	else
	{
	    Speedo[playerid] = 0;
	    format(string, sizeof(string), "You have turned your speedometer {FF9900}off{33CCFF}.");
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	return 1;
}*/


CMD:sms(playerid, params[])
{
	new number, string[128], text[64],done;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a cellphone yet.");
	if(sscanf(params, "is[64]", number, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sms [number] [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(PhoneOff[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Your phone is turned off.");
	if(number == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid phone number.");
	if(!strlen(text)) return SendClientMessage(playerid, COLOR_GREY, "You haven't entered any text to SMS.");
	if(strlen(text) > 64) return SendClientMessage(playerid, COLOR_GREY, "You may only use 64 characters per SMS.");
	format(string, sizeof(string), "* %s takes out their cellphone and starts pressing some keys.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
		{
		    if(PlayerInfo[i][pCellphone] == number)
		    {
		        if(PhoneOff[i]) return SendClientMessage(playerid, COLOR_GREY, "Player has their phone turned off.");
		        format(string, sizeof(string), "* %s's cellphone beeps once.", RPN(i));
	        	if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger's cellphone beeps once.");
				}
				else
				{
					format(string, sizeof(string), "* %s's cellphone beeps once.", RPN(i));
				}
				SendNearbyMessage(i, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        format(string, sizeof(string), "[SMS TO] %s: %s, (Ph: %d)", RPN(i), text, number);
		        SendClientMessage(playerid, COLOR_YELLOW, string);
		        format(string, sizeof(string), "[SMS FROM] %s: %s, (Ph: %d)", RPN(playerid), text, PlayerInfo[playerid][pCellphone]);
		        SendClientMessage(i, COLOR_YELLOW, string);
		        GiveZaiatMoney(playerid, -1);
		        TaxMoney += 1;
				done = 1;
				PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
				PlayerPlaySound(i, 1052, 0.0, 0.0, 0.0);
				new log[256];
				format(log, sizeof(log), "%s to %s: %s", RPN(playerid), RPN(i), text);
				Log("logs/sms.log", log);
				foreach(Player, x)
				{
				    if(PlayerInfo[x][pAdmin] >= 1 && SMSes[x] && x != playerid && x != i)
				    {
				        format(log, sizeof(log), "[SMS] %s to %s: %s", RPN(playerid), RPN(i), text);
				        SendClientMessage(x, COLOR_YELLOW, log);
				    }
				}
		    }
	    }
	}
	if(done != 1)
	{
	    SendClientMessage(playerid, COLOR_GREY, "Number is not currently available.");
	}
	return 1;
}

CMD:call(playerid, params[])
{
	new number, string[128], done;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a cellphone.");
	if(!PlayerInfo[playerid][pCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a simcard.");
	if(sscanf(params, "i", number)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /call [number]");
	if(PhoneOff[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Your phone is turned off.");
	if(Calling[playerid] || BeingCalled[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are already on a call.");
	if(number == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid phone number.");
	format(string, sizeof(string), "* %s takes out their cellphone and starts calling a number.", RPN(playerid));
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
        format(string, sizeof(string), "* Stranger takes out their cellphone and starts calling a number.");
	}
	else
	{
		format(string, sizeof(string), "* %s takes out their cellphone and starts calling a number.", RPN(playerid));
	}
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	if(number == 911)
	{
	    Calling[playerid] = 1;
	    Call911[playerid] = 1;
	    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
	    SendClientMessage(playerid, COLOR_YELLOW, "[Cellphone]: You are connected to the LSPD emergency line, please explain your emergency.");
	}
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pCellphone] == number)
	    {
	        if(PhoneOff[i]) return SendClientMessage(playerid, COLOR_GREY, "Player has their phone turned off.");
	        if(BeingCalled[i] || Calling[i]) return SendClientMessage(playerid, COLOR_GREY, "Number busy.");
	        Calling[playerid] = 1;
	        BeingCalled[i] = 1;
	        Called[playerid] = i;
			Caller[i] = playerid;
			SendClientMessage(playerid, COLOR_ORANGE, " The cellphone is ringing, wait for someone to pickup.");
   			format(string, sizeof(string), "* %s's cellphone starts ringing.", RPN(i));
		   	if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger's cellphone starts ringing.");
			}
			else
			{
				format(string, sizeof(string), "* %s's cellphone starts ringing.", RPN(i));
			}
			SendNearbyMessage(i, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			format(string, sizeof(string), " [Cellphone]: Incoming call from %s, Ph: %d", RPN(playerid), PlayerInfo[playerid][pCellphone]);
			SendClientMessage(i, COLOR_YELLOW, string);
			SendClientMessage(i, COLOR_WHITE, " Type /pickup to answer or /hangup to cancel the incoming call.");
			done = 1;
			SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
	    }
	}
	if(done != 1)
	{
	    SendClientMessage(playerid, COLOR_GREY, "Number is not currently available.");
	}
	return 1;
}

CMD:takenameonoff(playerid, params[])
{
	new giveplayerid;
	if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /takenameonoff [playerid]");

    if(PlayerInfo[playerid][pAdmin] < 3)
	{
		if(IsPlayerConnected(giveplayerid))
		{
	   		if(PlayerInfo[giveplayerid][pMask] > 0)
    		{
				new string[128];
	    	    PlayerInfo[giveplayerid][pMask] = 0;
	    	    PlayerInfo[giveplayerid][pMaskOn] = 0;
	     	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has taken %s's name on/off permissions away from him/her.", NORPN(playerid), NORPN(giveplayerid));
			    SendClientMessage(playerid, COLOR_DARKRED, string);
   			}
   			else
   			{
	   		    SendClientMessage(playerid, COLOR_GREY, "That players doesn't have a mask!");
			}
		}
		else
		{
   			SendClientMessage(playerid, COLOR_GREY, "That player is not connected.");
		}
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	}
	return 1;
}

CMD:removenameonff(playerid, params[])
{
	new string[128], giveplayerid;
	if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /removenameonff [playerid]");

    if(PlayerInfo[playerid][pAdmin] < 3)
    {
		if(giveplayerid != INVALID_PLAYER_ID)
		{
		    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's name on/off permissions.", NORPN(playerid), NORPN(giveplayerid));
			SendClientMessage(playerid, COLOR_DARKRED, string);
		    if(PlayerInfo[giveplayerid][pMaskOn] > 0)
           	{
            	PlayerInfo[giveplayerid][pMaskOn] = 0;
				return 1;
   			}
		}
		else
		{
  			SendClientMessage(playerid, COLOR_GREY, "That player is not connected.");
		}
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	}
	return 1;
}

CMD:givenameonoff(playerid, params[])
{
	if (PlayerInfo[playerid][pAdmin] < 3)
	{
		new string[128], giveplayerid;
		if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "{6347AA}[Error]:{FFFFFF} /givenameonoff [playerid]");

		if(IsPlayerConnected(giveplayerid))
		{
			PlayerInfo[giveplayerid][pMask] =1;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s gave %s's permissions for name on/off.",NORPN(playerid) ,NORPN(giveplayerid));
			SendClientMessage(playerid, COLOR_DARKRED, string);
		}
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	}
	return 1;
}

CMD:listmasked(playerid, params[]) {
    if(PlayerInfo[playerid][pAdmin] < 2) {

    	new
			szMessage[36 + MAX_PLAYER_NAME];

	    SendClientMessage(playerid,COLOR_WHITE,"Listing all Masked players...");
	    foreach(Player, i) if(PlayerInfo[i][pMaskOn] == 1) {
			format(szMessage,sizeof(szMessage),"*Masked Player - %s (ID %d)", RPN(i), i);
			if(PlayerInfo[i][pAdmin] >= 1) SendClientMessage(playerid,COLOR_RED,szMessage);
			else SendClientMessage(playerid,COLOR_GREY,szMessage);
  		}
   	}
    else SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	return 1;
}

CMD:p(playerid, params[])
{
	return cmd_pickup(playerid, params);
}
CMD:pickup(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a cellphone.");
	if(!BeingCalled[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Nobody is caling you.");
	format(string, sizeof(string), "* %s answers their cellphone.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_ORANGE, " You have picked up the line.");
	SendClientMessage(Caller[playerid], COLOR_ORANGE, " They pickedup the line.");
	Calling[Caller[playerid]] = 2;
	BeingCalled[playerid] = 2;
	SetTimerEx("PhoneCall", 1000, false, "d", Caller[playerid]);
	return 1;
}

CMD:cb(playerid, params[]) return cmd_checkbelt(playerid, params);

CMD:checkbelt(playerid, params[])
{
	new giveplayerid;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI.");
	if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /checkbelt [playerid]");

    if(GetPlayerState(giveplayerid) == PLAYER_STATE_ONFOOT)
	{
        SendClientMessage(playerid,COLOR_GREY,"That player is not in any vehicle!");
        return 1;
    }
    if(!IsPlayerNearPlayer(playerid, giveplayerid, 2)) return SendClientMessage(playerid, COLOR_GREY, "You are too far away from that player.");
	{
		new string[128];
        new stext[4];
        if(Seatbelt[giveplayerid] == 0) { stext = "off"; }
        else { stext = "on"; }
        if(IsABike(GetPlayerVehicleID(playerid)))
		{
            format(string, sizeof(string), "%s's helmet is currently %s." , RPN(giveplayerid) , stext);
            SendClientMessage(playerid,COLOR_WHITE,string);

            format(string, sizeof(string), "* %s looks at %s, checking to see if they are wearing a helmet.", RPN(playerid), RPN(giveplayerid));
		 	SendNearbyMessage(playerid, 20, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
        else
		{
            format(string, sizeof(string), "%s's seat belt is currently %s." , RPN(giveplayerid) , stext);
            SendClientMessage(playerid,COLOR_WHITE,string);

            format(string, sizeof(string), "* %s peers through the window at %s, checking to see if they are wearing a seatbelt.", RPN(playerid), RPN(giveplayerid));
		 	SendNearbyMessage(playerid, 20, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
        }
    }
    return 1;
}

CMD:sb(playerid, params[])
return cmd_seatbelt(playerid, params);

CMD:seatbelt(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(IsPlayerInAnyVehicle(playerid) == 0)
	{
        SendClientMessage(playerid, COLOR_GREY, "You are not in a vehicle!");
        return 1;
    }
	new string[50 + MAX_PLAYER_NAME];
    if(IsPlayerInAnyVehicle(playerid) == 1 && Seatbelt[playerid] == 0)
	{
        Seatbelt[playerid] = 1;
        if(IsABike(GetPlayerVehicleID(playerid)))
		{
            format(string, sizeof(string), "* %s reaches for their helmet, and puts it on.", RPN(playerid));
			SetPlayerAttachedObject(playerid, 1, 18645, 2, 0.059999, 0.019999, 0.000000, 88.000000, 82.000000, 0.000000);
            SendClientMessage(playerid, COLOR_WHITE, "You have put on your helmet.");
        }
        else
		{
            format(string, sizeof(string), "* %s reaches for their seatbelt, and buckles it up.", RPN(playerid));
			SetPlayerAttachedObject( playerid, 2, 18634, 7,0.000000, 0.100000, 0.350000, -35.224993, 45.215000, 1.500000, 5.000000,1.500000, 1.500000,0xAFAFAFAA );
            SendClientMessage(playerid, COLOR_WHITE, "You have put on your seatbelt.");
        }

    }
    else if(IsPlayerInAnyVehicle(playerid) == 1 && Seatbelt[playerid] == 1)
	{
        Seatbelt[playerid] = 0;
        if(IsABike(GetPlayerVehicleID(playerid)))
		{
            format(string, sizeof(string), "* %s reaches for their helmet, and takes it off.", RPN(playerid));
	  		RemovePlayerAttachedObject(playerid, 1);
            SendClientMessage(playerid, COLOR_WHITE, "You have taken off your helmet.");
        }
        else
		{
            format(string, sizeof(string), "* %s reaches for their seatbelt, and unbuckles it.", RPN(playerid));
			for(new i;i<5;i++) RemovePlayerAttachedObject(playerid,i);
            SendClientMessage(playerid, COLOR_WHITE, "You have taken off your seatbelt.");
        }
    }
	SendNearbyMessage(playerid, 20, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    return 1;
}

CMD:hangup(playerid, params[])
{
    new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first before using this command.");
    if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_LIGHTRED, "You don't own a cellphone.");
    if(!BeingCalled[playerid] && !Calling[playerid]) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are not on a call and nobody is calling you.");
    format(string, sizeof(string), "%s puts their cellphone away.", RPN(playerid));
    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    SendClientMessage(playerid, COLOR_ORANGE, "You have hung up the line.");
    if(BeingCalled[playerid]) SendClientMessage(Caller[playerid], COLOR_ORANGE, "They hung up the line. ([cellphone] still? /hangup once more)");
    else if(Calling[playerid]) SendClientMessage(Called[playerid], COLOR_ORANGE, "They hung up the line. ([cellphone] still? /hangup once more)");
    //
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
    if(Calling[playerid])
    {
        SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
        format(string, sizeof(string), "[Cellphone] Phone call lasted for %d seconds, price: $%d", CallTime[playerid], CallTime[playerid]*20/100);
        SendClientMessage(playerid, COLOR_YELLOW, string);
        GiveZaiatMoney(playerid, -(CallTime[playerid]*20/100));
        TaxMoney += (CallTime[playerid]*20/100);
        Calling[playerid] = 0;
        BeingCalled[playerid] = 0;
        Caller[playerid] = -1;
        CallTime[playerid] = 0;
        Called[playerid] = -1;
    }
    else if(BeingCalled[playerid])
    {
        SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
        Calling[playerid] = 0;
        BeingCalled[playerid] = 0;
        Caller[playerid] = -1;
        CallTime[playerid] = 0;
        Called[playerid] = -1;
    }
    else if(Calling[Caller[playerid]])
    {
        SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
        format(string, sizeof(string), "[Cellphone] Phone call lasted for %d seconds, price: $%d", CallTime[Caller[playerid]], CallTime[Caller[playerid]]*20/100);
        SendClientMessage(Caller[playerid], COLOR_YELLOW, string);
        GiveZaiatMoney(Caller[playerid], -(CallTime[Caller[playerid]]*20/100));
        TaxMoney += (CallTime[Caller[playerid]]*20/100);
        Calling[Called[playerid]] = 0;
        BeingCalled[Called[playerid]] = 0;
        Caller[Called[playerid]] = -1;
        CallTime[Called[playerid]] = 0;
        Called[Called[playerid]] = -1;
    }
    return 1;
}

/*
NEW / OLD FIX
CMD:hangup(playerid, params[])
{
    new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first before using this command.");
    if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_LIGHTRED, "You don't own a cellphone.");
    if(!BeingCalled[playerid] && !Calling[playerid]) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are not on a call and nobody is calling you.");
    format(string, sizeof(string), "%s puts their cellphone away.", RPN(playerid));
    SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
    SendClientMessage(playerid, COLOR_ORANGE, "You have hung up the line.");
    if(BeingCalled[playerid]) SendClientMessage(Caller[playerid], COLOR_ORANGE, "They hung up the line.");
    else if(Calling[playerid]) SendClientMessage(Called[playerid], COLOR_ORANGE, "They hung up the line.");
    //
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
    if(Calling[playerid])
    {
        SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
        format(string, sizeof(string), "[Cellphone] Phone call lasted for %d seconds, price: $%d", CallTime[playerid], CallTime[playerid]*20/100);
        SendClientMessage(playerid, COLOR_YELLOW, string);
        GiveZaiatMoney(playerid, -(CallTime[playerid]*20/100));
        TaxMoney += (CallTime[playerid]*20/100);
        Calling[playerid] = 0;
        BeingCalled[playerid] = 0;
        Caller[playerid] = -1;
        CallTime[playerid] = 0;
        Called[playerid] = -1;
    }
    else if(BeingCalled[playerid])
    {
        SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
        Calling[playerid] = 0;
        BeingCalled[playerid] = 0;
        Caller[playerid] = -1;
        CallTime[playerid] = 0;
        Called[playerid] = -1;
    }
    else if(Calling[Caller[playerid]])
    {
        SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
        format(string, sizeof(string), "[Cellphone] Phone call lasted for %d seconds, price: $%d", CallTime[Caller[playerid]], CallTime[Caller[playerid]]*20/100);
        SendClientMessage(Caller[playerid], COLOR_YELLOW, string);
        GiveZaiatMoney(Caller[playerid], -(CallTime[Caller[playerid]]*20/100));
        TaxMoney += (CallTime[Caller[playerid]]*20/100);
        Calling[Called[playerid]] = 0;
        BeingCalled[Called[playerid]] = 0;
        Caller[Called[playerid]] = -1;
        CallTime[Called[playerid]] = 0;
        Called[Called[playerid]] = -1;
    }
    return 1;
}

OLD /hangup
CMD:hangup(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a cellphone.");
	if(!BeingCalled[playerid] && !Calling[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on a call or is anybody calling you.");
	format(string, sizeof(string), "* %s puts their cellphone away.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_ORANGE, " You have hungup the line.");
	if(BeingCalled[playerid]) SendClientMessage(Caller[playerid], COLOR_ORANGE, " They hungup the line (bug? 2x /hangup).");
    else if(Calling[playerid]) SendClientMessage(Called[playerid], COLOR_ORANGE, " They hungup the line (bug? 2x /hangup).");
    if(Call911[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't hangup on a 911 call.");
	//
	SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
	Calling[playerid] = 0;
	BeingCalled[playerid] = 0;
	Caller[playerid] = -1;
	CallTime[playerid] = 0;
	Called[playerid] = -1;
	Calling[Called[playerid]] = 0;
	BeingCalled[Called[playerid]] = 0;
	Caller[Called[playerid]] = -1;
	CallTime[Called[playerid]] = 0;
	Called[Called[playerid]] = -1;
	Calling[Called[playerid]] = 0;
	BeingCalled[Called[playerid]] = 0;
	Caller[Called[playerid]] = -1;
	CallTime[Called[playerid]] = 0;
	Called[Called[playerid]] = -1;
	Calling[playerid] = 0;
	BeingCalled[playerid] = 0;
	Caller[playerid] = -1;
	CallTime[playerid] = 0;
	Called[playerid] = -1;
	if(Calling[playerid])
	{
	    SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
	    format(string, sizeof(string), "[Cellphone] Phonecall lasted for %d seconds, price: $%d", CallTime[playerid], CallTime[playerid]*10/100);
	    SendClientMessage(playerid, COLOR_YELLOW, string);
	    GiveZaiatMoney(playerid, -(CallTime[playerid]*10/100));
	    TaxMoney += (CallTime[playerid]*10/100);
	    Calling[playerid] = 0;
	    BeingCalled[playerid] = 0;
		Caller[playerid] = -1;
		CallTime[playerid] = 0;
		Called[playerid] = -1;
	    Calling[Called[playerid]] = 0;
	    BeingCalled[Called[playerid]] = 0;
		Caller[Called[playerid]] = -1;
		CallTime[Called[playerid]] = 0;
		Called[Called[playerid]] = -1;
	}
	else if(Calling[Caller[playerid]])
	{
	    SetPlayerSpecialAction(Called[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
	    format(string, sizeof(string), "[Cellphone] Phonecall lasted for %d seconds, price: $%d", CallTime[Caller[playerid]], CallTime[Caller[playerid]]*10/100);
	    SendClientMessage(Caller[playerid], COLOR_YELLOW, string);
	    GiveZaiatMoney(Caller[playerid], -(CallTime[Caller[playerid]]*10/100));
	    TaxMoney += (CallTime[Caller[playerid]]*10/100);
	    Calling[Called[playerid]] = 0;
	    BeingCalled[Called[playerid]] = 0;
		Caller[Called[playerid]] = -1;
		CallTime[Called[playerid]] = 0;
		Called[Called[playerid]] = -1;
	    Calling[playerid] = 0;
	    BeingCalled[playerid] = 0;
		Caller[playerid] = -1;
		CallTime[playerid] = 0;
		Called[playerid] = -1;
	}
	return 1;
}
*/

forward DownloadTimer(playerid, songid);
public DownloadTimer(playerid, songid)
{
	if(IsPlayerLoggedIn(playerid))
	{
	    if(GetProgressBarValue(Download[playerid]) >= 100)
	    {
	    	HideProgressBarForPlayer(playerid, Download[playerid]);
	    	if(songid == 1) SendClientMessage(playerid, COLOR_ORANGE, "[Smartphone]: You have successfully downloaded 'Champaigne Showers - LMFAO'.");
			else if(songid == 2) SendClientMessage(playerid, COLOR_ORANGE, "[Smartphone]: You have successfully downloaded 'Club can't Handle Me - David Guetta'.");
			TaxMoney += 50;
			GiveZaiatMoney(playerid, -50);
			PlayerInfo[playerid][pSong][songid] = 1;
	    }
	    else
	    {
	    	SetProgressBarValue(Download[playerid], GetProgressBarValue(Download[playerid])+1);
	    	UpdateProgressBar(Download[playerid], playerid);
	    	SetTimerEx("DownloadTimer", 300, false, "ii", playerid, songid);
	    }
	}
	return 1;
}

CMD:smartphone(playerid, params[])
{
	new id, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHasCellphone] != 2) return SendClientMessage(playerid, COLOR_GREY, "You don't own a smartphone.");
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /smartphone [options]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: browse | download | music | advertise");
		return 1;
	}
	if(!strcmp(params, "browse", true, 6))
	{
	    if(!PlayerInfo[playerid][pInternet]) return SendClientMessage(playerid, COLOR_GREY, "Your smartphone's internet service is not currently running.");
		ShowDialog(playerid, 8);
		format(string, sizeof(string), "* %s opens the web browser via their smartphone.", RPN(playerid));
		SendNearbyMessage(playerid, 4, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		return 1;
	}
	if(!strcmp(params, "download", true, 8))
	{
	    if(!PlayerInfo[playerid][pInternet]) return SendClientMessage(playerid, COLOR_GREY, "Your smartphone's internet service is not currently running.");
	    if(sscanf(params, "s[32]i", params, id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /smartphone download [songid]");
	    if(id == 1) SendClientMessage(playerid, COLOR_ORANGE, "[Smartphone]: You are currently downloading 'Champaigne Showers - LMFAO', please wait until the download is over.");
	    else if(id == 2) SendClientMessage(playerid, COLOR_ORANGE, "[Smartphone]: You are currently downloading 'Club can't Handle Me - David Guetta', please wait until the download is over.");
		else return SendClientMessage(playerid, COLOR_GREY, "Invalid music id.");
		ShowProgressBarForPlayer(playerid, Download[playerid]);
		SetProgressBarValue(Download[playerid], 0);
	    SetTimerEx("DownloadTimer", 300, false, "ii", playerid, id);
	    format(string, sizeof(string), "* %s starts downloading a song via their smartphone.", RPN(playerid));
		SendNearbyMessage(playerid, 4, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    return 1;
	}
	else if(!strcmp(params, "music", true, 5))
	{
	    if(sscanf(params, "s[32]i", params, id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /smartphone music [songid] (0 = off)");
        if(!PlayerInfo[playerid][pSong][id] && id != 0) return SendClientMessage(playerid, COLOR_GREY, "You don't have that song on your smartphone, download it first.");
		switch(id)
		{
		    case 0: {StopAudioStreamForPlayer(playerid); return 1;}
		    case 1: SendClientMessage(playerid, COLOR_ORANGE, "[Smartphone]: Currently playing 'Champaigne Showers - LMFAO'");
		    case 2: SendClientMessage(playerid, COLOR_ORANGE, "[Smartphone]: Currently playing 'Club can't Handle Me - David Guetta'");
		}
		if(id == 0)format(string, sizeof(string), "* %s takes off their headset and stops the song being played on their smartphone.", RPN(playerid));
		else format(string, sizeof(string), "* %s puts on their headset and plays a song via their smartphone.", RPN(playerid));
		SendNearbyMessage(playerid, 4, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		format(string, sizeof(string), "http://ngcraft.nl/music/english/%d.mp3", id);
		PlayAudioStreamForPlayer(playerid, string);
        return 1;
	}
	else if(!strcmp(params, "advertise", true, 9))
	{
	    if(!PlayerInfo[playerid][pInternet]) return SendClientMessage(playerid, COLOR_GREY, "Your smartphone's internet service is not currently running.");
		ShowDialog(playerid, 15);
	}
	else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	return 1;
}


CMD:internet(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a smartphone.");
    if(!PlayerInfo[playerid][pInternet])
    {
        if(PlayerInfo[playerid][pMoney] < 150) return SendClientMessage(playerid, COLOR_GREY, "You need $150 to activate the internet service.");
        GiveZaiatMoney(playerid, -150);
        TaxMoney += 150;
        PlayerInfo[playerid][pInternet] = 1;
        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have {33CCFF}activated {33CCFF}your smartphone's internet service.");
        SendClientMessage(playerid, COLOR_WHITE, " You will be charged $50 each paycheck for the internet service, you was also charged $150 for service activation.");
    }
    else
    {
        PlayerInfo[playerid][pInternet] = 0;
        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have {FF9900}deactivated {33CCFF}your smartphone's internet service.");
    }
	return 1;
}

CMD:buysim(playerid, params[])
{
	new string[128], number, File:file = fopen("cellphones.cfg", io_read);
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pHasCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You don't own a cellphone yet.");
	if(!IsPlayerInRangeOfPoint(playerid, 2, 1154.1257,-1180.9600,32.8187)) return SendClientMessage(playerid, COLOR_GREY, "You are not at the Telecom Company.");
	if(sscanf(params, "i", number)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buysim [desired number]");
	if(number == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid phone number.");
	if(number == 911) return SendClientMessage(playerid, COLOR_GREY, "Invalid phone number.");
    if(PlayerInfo[playerid][pCellphone] == number) return SendClientMessage(playerid, COLOR_GREY, "You already have this phone number.");
	new idx = 1;
	while(fread(file, string))
	{
	    if(strval(string) == number) return SendClientMessage(playerid, COLOR_GREY, "This number is already registered.");
	    if(strval(string) == PlayerInfo[playerid][pCellphone])
	    {
			fdeleteline("cellphones.cfg", idx);
	    }
	    idx ++;
	}
	fclose(file);
	file = fopen("cellphones.cfg", io_append);
	format(string, sizeof(string), "%d\r\n", number);
	fwrite(file, string);
	fclose(file);
	format(string, sizeof(string), "* %s has bought a new sim card.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	if(!PlayerInfo[playerid][pCellphone])
	{
	    SendClientMessage(playerid, COLOR_WHITE, " The company gave you the sim card for free as it's your first.");
	    SendClientMessage(playerid, COLOR_WHITE, " You can use /call and /sms now.");
	}
	else
	{
		GiveZaiatMoney(playerid, -500);
		TaxMoney += 500;
	    SendClientMessage(playerid, COLOR_WHITE, " The company has charged you $500 for changing your sim card.");
	}
	PlayerInfo[playerid][pCellphone] = number;
	return 1;
}

CMD:wt(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pWT]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a WalkieTalkie.");
	if(PlayerInfo[playerid][pWTC] == 0) return SendClientMessage(playerid, COLOR_GREY, "Your WalkieTalkie is turned off.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wt [text]");
	if(AntiAdv(playerid, params)) return 1;
	foreach(Player, i)
	{
		if(PlayerInfo[playerid][pWTC] == PlayerInfo[i][pWTC])
		{
			format(string, sizeof(string), "** WalkieTalkie %s: %s **", RPN(playerid), params);
			SendClientMessage(i, COLOR_NEWS, string);
		}
	}
	SetPlayerChatBubble(playerid,params,COLOR_WHITE,20.0,5000);
	return 1;
}

CMD:wtc(playerid, params[])
{
	new string[128], channel;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pWT]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a WalkieTalkie.");
	if(sscanf(params, "i", channel)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wtc [channel]");
	PlayerInfo[playerid][pWTC] = channel;
	if(channel == 0) format(string, sizeof(string), " You have turned your WalkieTalkie off.");
	else format(string, sizeof(string), " You have adjust your WalkieTalkie's channel to %d Hz.", channel);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:blindfold(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pBlindfold]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a blindfold.");
	if(sscanf(params, "u",  playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /blindfold [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to blindfold someone.");
	if(GetPlayerVehicleID(playerid) != GetPlayerVehicleID(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your vehicle.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not the vehicle driver.");
	if(!IsPlayerTied(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not tied.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't blindfold yourself.");
	Blindfolded[playerb] = 1;
	PlayerInfo[playerid][pBlindfold]--;
	SetPlayerCameraPos(playerb, -833.5241,-1358.8575,86.9054);
	SetPlayerCameraLookAt(playerb, -833.5241,-1358.8575,0);
	GameTextForPlayer(playerb, "~r~Blindfolded", 2500, 3);
	format(string, sizeof(string), "* %s takes out a blindfold and puts it on %s's eyes.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_WHITE, " Type /unblindfold to remove the blindfold on someone's eyes.");
	return 1;
}

CMD:unblindfold(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u",  playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unblindfold [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to blindfold someone.");
	if(GetPlayerVehicleID(playerid) != GetPlayerVehicleID(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your vehicle.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not the vehicle driver.");
	if(!Blindfolded[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player is not blindfolded.");
	if(playerid == playerb && Tied[playerid] == 1) return SendClientMessage(playerid, COLOR_GREY, "You can't unblindfold yourself while being tied.");
	Blindfolded[playerb] = 0;
	SetCameraBehindPlayer(playerb);
	GameTextForPlayer(playerb, "~G~Unblindfolded", 2500, 3);
	format(string, sizeof(string), "* %s takes out a blindfold and puts it on %s's eyes.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_WHITE, " Type /unblindfold to remove the blindfold on someone's eyes.");
	return 1;
}

CMD:eject(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u",  playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /eject [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to tie someone.");
	if(GetPlayerVehicleID(playerid) != GetPlayerVehicleID(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your vehicle.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not the vehicle driver.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't  eject yourself.");
	RemovePlayerFromVehicle(playerb);
	format(string, sizeof(string), "* %s has thrown %s out of the vehicle.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}


CMD:tie(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pRope]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a rope.");
	if(sscanf(params, "u",  playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tie [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to tie someone.");
	if(GetPlayerVehicleID(playerid) != GetPlayerVehicleID(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not in your vehicle.");
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not the vehicle driver.");
	if(IsPlayerTied(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is already tied.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't tie yourself.");
	TogglePlayerTied(playerb, 1);
	PlayerInfo[playerid][pRope]--;
	TogglePlayerControllable(playerb, 0);
	SetCameraBehindPlayer(playerb);
	GameTextForPlayer(playerb, "~r~Tied", 2500, 3);
	format(string, sizeof(string), "* %s takes out a rope and ties %s after a strong resistance.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_WHITE, " Type /untie to untie someone.");
	return 1;
}

CMD:untie(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "u",  playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /untie [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!IsPlayerTied(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is not tied.");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't untie yourself.");
	TogglePlayerTied(playerb, 0);
	TogglePlayerControllable(playerb, 1);
	SetCameraBehindPlayer(playerb);
	GameTextForPlayer(playerb, "~g~Untied", 2500, 3);
	format(string, sizeof(string), "* %s takes out a knife and cuts the rope around %s.", RPN(playerid), RPN(playerb));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:colorcar(playerid, params[])
{
	new string[128], col1, col2;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pSpray]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a spraycan.");
	if(sscanf(params, "ii", col1, col2)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /colorcar [color1] [color2]");
	if(col1 < 0 || col1 > 255 || col2 < 0 || col2 > 255) return SendClientMessage(playerid, COLOR_GREY, "Colors are between 1 and 255.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to color it.");
	ChangeVehicleColor(GetPlayerVehicleID(playerid), col1, col2);
	if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
	{
	    PlayerInfo[playerid][vC1] = col1;
	    PlayerInfo[playerid][vC2] = col2;
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
	{
	    PlayerInfo[playerid][vVC1] = col1;
	    PlayerInfo[playerid][vVC2] = col2;
	}
	else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
	{
	    PlayerInfo[playerid][vBC1] = col1;
	    PlayerInfo[playerid][vBC2] = col2;
	}
	else if(GetPlayerVehicleID(playerid) == FamInfo[playerid][fVeh])
	{
	    FamInfo[playerid][fVehCol1] = col1;
	    FamInfo[playerid][fVehCol2] = col2;
	}
	PlayerInfo[playerid][pSpray] --;
	format(string, sizeof(string), "* %s has changed the color of the vehicle he's inside.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:paintcar(playerid, params[])
{
	new string[128], col1;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pSpray]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a spraycan.");
	if(sscanf(params, "ii", col1)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /paintcar [paintjobid]");
	if(col1 < -1 || col1 > 6) return SendClientMessage(playerid, COLOR_GREY, "Paintjobs are between 0 and 6.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to paint it.");
	ChangeVehiclePaintjob(GetPlayerVehicleID(playerid), col1);
	PlayerInfo[playerid][vPJ] = col1;
	PlayerInfo[playerid][pSpray] --;
	format(string, sizeof(string), "* %s has changed the paintjob of the vehicle he's inside.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:buyviptoys(playerid, params[])
{
	new option, index, model, string[128];
	if(PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(!IsPlayerInRangeOfPoint(playerid, 2, 278.4188,-175.9247,999.6060)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the VIP Toys shop.");
	if(sscanf(params, "ii", option, index))
	{
		ShowPlayerDialog(playerid, 9182, DIALOG_STYLE_MSGBOX, "USAGE: /buyviptoys [model] [slot (0-9)]", "Hair (1-5) | Laser (6-11) | Headphones (12-15) | Guitar (16)\nTopHat (17) | Motorcycle Helmets (18-22) | Smoke Puff (23) \n\nBronze VIP: Slots 0~3 (4 Slots)\nSilver VIP: Slots 0~5 (6 Slots)\nGold VIP: Slots 0~7 (8 Slots)\nPlatinum VIP: Slots 0~9 (10 Slots)", "Close", "Close");
	    return 1;
	}
	if(option < 1 || option > 85) return SendClientMessage(playerid, COLOR_GREY, "Toys are between 1 and 75.");
	if(index < 0 || index > 9) return SendClientMessage(playerid, COLOR_GREY, "Slots are between 0 and 9.");
	if(index > 1 && PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 2 slots.");
	if(index > 3 && PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 4 slots.");
	if(index > 5 && PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 6 slots.");
	if(index > 7 && PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 8 slots.");
	switch(option)
	{
	    case 1 : model = 18640; case 2 : model = 18975; case 3 : model = 19077; case 4 : model = 19136; case 5 : model = 19274;
	    case 6 : model = 18643; case 7 : model = 19080; case 8 : model = 19081; case 9 : model = 19082; case 10: model = 19083;
	    case 11: model = 19084; case 12: model = 19421; case 13: model = 19422; case 14: model = 19423; case 15: model = 19424;
	    case 16: model = 19317; case 17: model = 19352; case 18: model = 18645; case 19: model = 18976; case 20: model = 18977;
		case 21: model = 18978; case 22: model = 18979; case 23: model = 18675;
	}
	if(PlayerInfo[playerid][pMoney] < 300) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
	PlayerInfo[playerid][pToyModel][index] = model;
	GiveZaiatMoney(playerid, -300);
	format(string, sizeof(string), "* %s has bought a VIP toy.", RPN(playerid), params);
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 	SendClientMessage(playerid, COLOR_WHITE, " You can view and edit your toys using /toys.");
	return 1;
}

CMD:buypolicetoys(playerid, params[])
{
	new option, index, model;
	if(!IsACop(playerid) && !IsAHSF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not a LSPD Officer / HSF.");
    if(!IsPlayerInRangeOfPoint(playerid, 2.2,1542.8075,-1600.6082,-25.5641) && !IsPlayerInRangeOfPoint(playerid, 2.2,253.2935,76.9233,1003.6406)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the Police Accessories shop.");
	if(sscanf(params, "ii", option, index))
	{
		ShowPlayerDialog(playerid, 9183, DIALOG_STYLE_MSGBOX, "USAGE: /buypolicetoys [model] [slot (0-9)]", "Police Vest(1) | SWAT Helmet(2) | Police Shield(3) | Tazer (4) | Police Radio (5)\n\nBronze VIP: Slots 0~3 (4 Slots)\nSilver VIP: Slots 0~5 (6 Slots)\nGold VIP: Slots 0~7 (8 Slots)\nPlatinum VIP: Slots 0~9 (10 Slots)", "Close", "Close");
	    return 1;
	}
	if(option < 1 || option > 5) return SendClientMessage(playerid, COLOR_GREY, "Toys are between 1 and 75.");
	if(index < 0 || index > 9) return SendClientMessage(playerid, COLOR_GREY, "Slots are between 0 and 9.");
	if(index > 1 && PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 2 slots.");
	if(index > 3 && PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 4 slots.");
	if(index > 5 && PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 6 slots.");
	if(index > 7 && PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 8 slots.");
	switch(option)
	{
	    case 1 : model = 19142; case 2 : model = 19141; case 3 : model = 18637; case 4 : model = 18642; case 5 : model = 330;
	}
	PlayerInfo[playerid][pToyModel][index] = model;
 	SendClientMessage(playerid, COLOR_WHITE, " You can view and edit your toys using /toys.");
	return 1;
}

/*CMD:buytoys(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 2 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a Clothes Shop.");
	if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
	ShowDialog(playerid, 303);
    //ShowModelSelectionMenu(playerid, toylist, "Toys");
	return 1;
}*/

CMD:buytoys(playerid, params[])
{
	new option, index, model, idx = GetPlayerVirtualWorld(playerid)-100, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 2 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a Clothes Shop.");
	if(sscanf(params, "ii", option, index))
	{
		ShowPlayerDialog(playerid, 9182, DIALOG_STYLE_MSGBOX, "USAGE: /buytoys [model] [slot (0-9)]", "Glasses (1-30) | Watches (31-45) | Bandanas (46-65) | Hats (66-75)\nMasks (76-85) | BlackHat (86) | Cigar (87) | Bass Guitar (88)\n\nRegular Players: Slots 0~1 (2 Slots)\nBronze VIP: Slots 0~3 (4 Slots)\nSilver VIP: Slots 0~5 (6 Slots)\nGold VIP: Slots 0~7 (8 Slots)\nPlatinum VIP: Slots 0~9 (10 Slots)", "Close", "Close");
	    return 1;
	}
	if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
	if(option < 1 || option > 88) return SendClientMessage(playerid, COLOR_GREY, "Toys are between 1 and 88.");
	if(index < 0 || index > 9) return SendClientMessage(playerid, COLOR_GREY, "Slots are between 0 and 9.");
	if(index > 1 && PlayerInfo[playerid][pVIP] < 1) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 2 slots.");
	if(index > 3 && PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 4 slots.");
	if(index > 5 && PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 6 slots.");
	if(index > 7 && PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "You need to have a higher VIP level to use more than 8 slots.");
	switch(option)
	{
	    case 1 : model = 19006; case 2 : model = 19007; case 3 : model = 19008; case 4 : model = 19009; case 5 : model = 19010; // Glasses
	    case 6 : model = 19011; case 7 : model = 19012; case 8 : model = 19013; case 9 : model = 19014; case 10: model = 19015;
	    case 11: model = 19016; case 12: model = 19017; case 13: model = 19018; case 14: model = 19019; case 15: model = 19020;
	    case 16: model = 19021; case 17: model = 19022; case 18: model = 19023; case 19: model = 19024; case 20: model = 19025;
	    case 21: model = 19026; case 22: model = 19027; case 23: model = 19028; case 24: model = 19029; case 25: model = 19030;
	    case 26: model = 19031; case 27: model = 19032; case 28: model = 19033; case 29: model = 19034; case 30: model = 19035;
	    case 31: model = 19039; case 32: model = 19040; case 33: model = 19041; case 34: model = 19042; case 35: model = 19043; // Watches
	    case 36: model = 19044; case 37: model = 19045; case 38: model = 19046; case 39: model = 19047; case 40: model = 19048;
	    case 41: model = 19049; case 42: model = 19050; case 43: model = 19051; case 44: model = 19052; case 45: model = 19053;
	    case 46: model = 18891; case 47: model = 18892; case 48: model = 18893; case 49: model = 18894; case 50: model = 18895; // Bandanas
	    case 51: model = 18896; case 52: model = 18897; case 53: model = 18898; case 54: model = 18899; case 55: model = 18900;
	    case 56: model = 18901; case 57: model = 18902; case 58: model = 18903; case 59: model = 18904; case 60: model = 18905;
	    case 61: model = 18906; case 62: model = 18907; case 63: model = 18908; case 64: model = 18909; case 65: model = 18910;
	    case 66: model = 18926; case 67: model = 18927; case 68: model = 18928; case 69: model = 18929; case 70: model = 18930; // Hats
	    case 71: model = 18931; case 72: model = 18932; case 73: model = 18933; case 74: model = 18934; case 75: model = 18935;
	    case 76: model = 18911; case 77: model = 18912; case 78: model = 18913; case 79: model = 18914; case 80: model = 18915; // Masks
	    case 81: model = 18916; case 82: model = 18917; case 83: model = 18918; case 84: model = 18919; case 85: model = 18920;
	    case 86: model = 18639; case 87: model = 1485; case 88: model = 19317;
	}
	if(PlayerInfo[playerid][pMoney] < 300) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
	PlayerInfo[playerid][pToyModel][index] = model;
	GiveZaiatMoney(playerid, -300);
	format(string, sizeof(string), "* %s has bought a toy for $300.", RPN(playerid), params);
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
 	SendClientMessage(playerid, COLOR_WHITE, " You can view and edit your toys using /toys.");
	return 1;
}

CMD:toys(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	ShowDialog(playerid, 23);
	return 1;
}


CMD:lsemsclothes(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsALSEMS(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSEMS.");
	if(!IsPlayerInRangeOfPoint(playerid, 2.7,1357.1293,-1509.0496,587.3859)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your clothes locker.");
	ShowModelSelectionMenu(playerid, lsemsskinlist, "Select Skin");
	return 1;
}

CMD:buyclothes(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 2 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a Clothes Shop.");
	if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
	ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
	return 1;
}


CMD:buyclothesold(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100, string[128], skin;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 2 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a Clothes Shop.");
	if(sscanf(params, "i", skin)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buyclothesold [skinid]");
	if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
	if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
//	if(skin < 1 || skin > 300) return SendClientMessage(playerid, COLOR_GREY, "Vehicles are between 1 and 300.");
	if(skin < 0 || skin > 299 || skin == 0 || skin == 274 || skin == 275 || skin == 276 || skin == 277  || skin == 278 || skin == 279 || skin == 280 || skin == 281 || skin == 282 || skin == 283
	|| skin == 284 || skin == 285 || skin == 286 || skin == 287 || skin == 288) return SendClientMessage(playerid, COLOR_GREY, "Invalid skin id.");
	PlayerInfo[playerid][pModel] = skin;
	SetPlayerSkin(playerid, skin);
	BizInfo[idx][bMoney] += 1000;
	BizInfo[idx][bProducts] --;
	GiveZaiatMoney(playerid, -1000);
	format(string, sizeof(string), "* %s has bought new clothes for $1000.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:buy(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100, string[128], type, price;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 1 && BizInfo[idx][bType] != 2 && BizInfo[idx][bType] != 3 && BizInfo[idx][bType] != 4 && BizInfo[idx][bType] != 6 && BizInfo[idx][bType] != 7 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside a business.");
	if(BizInfo[idx][bType] == 1)
	{
		if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buy [item]");
		if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
		if(!strcmp(params, "cellphone", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pHasCellphone] = 1;
			BizInfo[idx][bMoney] += 100;
			BizInfo[idx][bProducts] --;
			BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -100);
			format(string, sizeof(string), "* %s has bought a cellphone for $100.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can get a sim card from the Telecom Company.");
		}
		if(!strcmp(params, "phonebook", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pPhonebook] = 1;
		    BizInfo[idx][bMoney] += 50;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -50);
			format(string, sizeof(string), "* %s has bought an electronic phonebook for $50.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /phonebook to find someone's number.");
		}
		if(!strcmp(params, "dice", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 20) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pDice] = 1;
		    BizInfo[idx][bMoney] += 20;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -20);
			format(string, sizeof(string), "* %s has bought a pair of special dice for $20.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /rolldice to roll a dice.");
		}
		if(!strcmp(params, "cigar", true))
		{
		    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pCigar] = 5;
		    BizInfo[idx][bMoney] += 100;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -100);
			format(string, sizeof(string), "* %s has bought 5 cuban cigars for $100.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /smoke to smoke a cigar.");
		}
		// Level 2: Speedometer | Sprunk | Spraycan | Rope
		if(!strcmp(params, "speedometer", true))
		{
		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
			if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pSpeedo] = 1;
		    BizInfo[idx][bMoney] += 200;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -200);
			format(string, sizeof(string), "* %s has bought a speedometer for $200.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /tog to toggle speedometer on/off.");
		}
		if(!strcmp(params, "sprunk", true))
		{
		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 30) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pSprunk] = 5;
		    BizInfo[idx][bMoney] += 30;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -30);
			format(string, sizeof(string), "* %s has bought 5 redbull cans for $30.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /sprunk to drink a sprunk can.");
		}
		if(!strcmp(params, "spraycan", true))
		{
		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pSpray] = 10;
		    BizInfo[idx][bMoney] += 100;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -100);
			format(string, sizeof(string), "* %s has bought a duko spraycan $100.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /colorcar & /paintcar to color/paint a car.");
		}
		if(!strcmp(params, "rope", true))
		{
		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 60) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pRope] = 5;
		    BizInfo[idx][bMoney] += 60;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -60);
			format(string, sizeof(string), "* %s has bought 5 strong ropes for $60.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /tie to tie someone.");
		}
		// Level 3: Blindfold | WalkieTalkie
		if(!strcmp(params, "blindfold", true))
		{
		    if(BizInfo[idx][bLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	    	if(PlayerInfo[playerid][pMoney] < 60) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pBlindfold] = 5;
		    BizInfo[idx][bMoney] += 60;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -60);
			format(string, sizeof(string), "* %s has bought 5 blindfolds for $600.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /blindfold to blindfold someone.");
		}
		if(!strcmp(params, "walkietalkie", true))
		{
		    if(BizInfo[idx][bLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pWT] = 1;
		    BizInfo[idx][bMoney] += 200;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -200);
			format(string, sizeof(string), "* %s has bought a WalkieTalkie for $200.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /wtc to adjust the WalkieTalkie's channel, /wt to talk on it.");
		}
		if(!strcmp(params, "smartphone", true))
		{
		    if(BizInfo[idx][bLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pHasCellphone] = 2;
		    BizInfo[idx][bMoney] += 500;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -500);
			format(string, sizeof(string), "* %s has bought a smartphone for $500.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /smartphone to view your new cellphone commands.");
		}
		// Level 4: Camera | Gas
		if(!strcmp(params, "camera", true))
		{
		    if(BizInfo[idx][bLevel] < 4) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 300) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
			GiveZaiatWeapon(playerid, 43, 999999);
		    BizInfo[idx][bMoney] += 300;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -300);
			format(string, sizeof(string), "* %s has bought a professional camera for $300.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can start taking photos using your camera.");
		}
		if(!strcmp(params, "gascan", true))
		{
		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pGas] = 1;
		    BizInfo[idx][bMoney] += 100;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -100);
			format(string, sizeof(string), "* %s has bought a gas can for $100.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /gascan inside a vehicle anywhere now.");
		}
		// Level 5: Radio
		/*if(!strcmp(params, "radio", true))
		{
		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This 24/7 Market doesn't have this product yet.");
	        if(PlayerInfo[playerid][pMoney] < 600) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		    PlayerInfo[playerid][pRadio] = 1;
		    BizInfo[idx][bMoney] += 600;
		    BizInfo[idx][bProducts] --;
		    BizInfo[idx][bSold] ++;
			GiveZaiatMoney(playerid, -600);
			format(string, sizeof(string), "* %s has bought a radio for $600.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			SendClientMessage(playerid, COLOR_WHITE, " You can use /music to play music using your radio.");
		}*/
	}
	else if(BizInfo[idx][bType] == 3)
	{
		if(sscanf(params, "i", type)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buy [type]");
		if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
		if(type == 1) price = 400;
		else if(type == 2) price = 2000;
		else if(type == 3) price = 800;
		else if(type == 4) price = 1200;
		else if(type == 5) price = 2200;
		else if(type == 6) price = 1000;
		if(type < 1 || type > 6) return SendClientMessage(playerid, COLOR_GREY, "Products are between 1 and 6");
		if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		switch(type)
		{
		    case 1:
		    {
				if(GetPlayerWeapon(playerid) != 25 && GetPlayerWeapon(playerid) != 26 && GetPlayerWeapon(playerid) != 27) return SendClientMessage(playerid, COLOR_GREY, "You are not holding the right weapon for this type of ammo.");
				if(GetPlayerWeapon(playerid) == 25) GiveZaiatWeapon(playerid, 25, 120);
				if(GetPlayerWeapon(playerid) == 26) GiveZaiatWeapon(playerid, 26, 120);
				if(GetPlayerWeapon(playerid) == 27) GiveZaiatWeapon(playerid, 27, 120);
				format(string, sizeof(string), "* %s has bought 120 shotgun bullets for $%d.", RPN(playerid), price);
		    }
		    case 2:
		    {
				if(GetPlayerWeapon(playerid) != 33 && GetPlayerWeapon(playerid) != 34) return SendClientMessage(playerid, COLOR_GREY, "You are not holding the right weapon for this type of ammo.");
				if(GetPlayerWeapon(playerid) == 33) GiveZaiatWeapon(playerid, 33, 200);
				if(GetPlayerWeapon(playerid) == 34) GiveZaiatWeapon(playerid, 34, 200);
				format(string, sizeof(string), "* %s has bought 100 rifle bullets for $%d.", RPN(playerid), price);
		    }
		    case 3:
		    {
       		    if(BizInfo[idx][bLevel] < 2) return SendClientMessage(playerid, COLOR_GREY, "This Ammunation doesn't have this product yet.");
				if(GetPlayerWeapon(playerid) != 22 && GetPlayerWeapon(playerid) != 23 && GetPlayerWeapon(playerid) != 24) return SendClientMessage(playerid, COLOR_GREY, "You are not holding the right weapon for this type of ammo.");
				if(GetPlayerWeapon(playerid) == 22) GiveZaiatWeapon(playerid, 22, 120);
				if(GetPlayerWeapon(playerid) == 23) GiveZaiatWeapon(playerid, 23, 120);
				if(GetPlayerWeapon(playerid) == 24) GiveZaiatWeapon(playerid, 24, 120);
				format(string, sizeof(string), "* %s has bought 120 gun bullets for $%d.", RPN(playerid), price);
		    }
		    case 4:
		    {
       		    if(BizInfo[idx][bLevel] < 3) return SendClientMessage(playerid, COLOR_GREY, "This Ammunation doesn't have this product yet.");
				if(GetPlayerWeapon(playerid) != 28 && GetPlayerWeapon(playerid) != 29 && GetPlayerWeapon(playerid) != 32) return SendClientMessage(playerid, COLOR_GREY, "You are not holding the right weapon for this type of ammo.");
				if(GetPlayerWeapon(playerid) == 28) GiveZaiatWeapon(playerid, 28, 200);
				if(GetPlayerWeapon(playerid) == 29) GiveZaiatWeapon(playerid, 29, 200);
				if(GetPlayerWeapon(playerid) == 32) GiveZaiatWeapon(playerid, 32, 200);
				format(string, sizeof(string), "* %s has bought 200 light-machinegun bullets for $%d.", RPN(playerid), price);
		    }
		    case 5:
		    {
		   	 	if(BizInfo[idx][bLevel] < 4) return SendClientMessage(playerid, COLOR_GREY, "This Ammunation doesn't have this product yet.");
				if(GetPlayerWeapon(playerid) != 30 && GetPlayerWeapon(playerid) != 31) return SendClientMessage(playerid, COLOR_GREY, "You are not holding the right weapon for this type of ammo.");
				if(GetPlayerWeapon(playerid) == 30) GiveZaiatWeapon(playerid, 30, 200);
				if(GetPlayerWeapon(playerid) == 31) GiveZaiatWeapon(playerid, 31, 200);
				format(string, sizeof(string), "* %s has bought 200 heavy-machinegun bullets for $%d.", RPN(playerid), price);
		    }
		    case 6:
		    {
		        if(BizInfo[idx][bLevel] < 5) return SendClientMessage(playerid, COLOR_GREY, "This Ammunation doesn't have this product yet.");
		        new Float:Armour; GetPlayerArmour(playerid, Armour);
		        if(Armour >= 80) return SendClientMessage(playerid, COLOR_GREY, "You don't need a vest.");
				SetPlayerArmour(playerid, 80);
				format(string, sizeof(string), "* %s has bought a vest for $%d.", RPN(playerid), price);
		    }
		}
		GiveZaiatMoney(playerid, -price);
		BizInfo[idx][bMoney] += price;
		BizInfo[idx][bProducts] --;
		BizInfo[idx][bSold] ++;
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		return 1;
	}
	else if(BizInfo[idx][bType] == 4)
	{
		if(sscanf(params, "i", type)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buy [type]");
		if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
		if(type == 1) price = 50;
		else if(type == 2) price = 100;
		else if(type == 3) price = 200;
		if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		switch(type)
		{
		    case 1:
		    {
		        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
		        format(string, sizeof(string), "* %s has bought a sprunk can $%d.", RPN(playerid), price);
		    }
		    case 2:
		    {
		        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
		        format(string, sizeof(string), "* %s has bought a bottle of beer for $%d.", RPN(playerid), price);
		    }
		    case 3:
		    {
				SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_WINE);
		        format(string, sizeof(string), "* %s has bought a bottle of vodka for $%d.", RPN(playerid), price);
		    }
		}
		GiveZaiatMoney(playerid, -price);
		BizInfo[idx][bMoney] += price;
		BizInfo[idx][bProducts] --;
		BizInfo[idx][bSold] ++;
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(BizInfo[idx][bType] == 6)
	{
		if(sscanf(params, "i", type)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buy [type]");
		if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
		if(type == 1) price = 10;
		else if(type == 2) price = 30;
		else if(type == 3) price = 50;
		if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		new Float:pH;
		switch(type)
		{
		    case 1:
		    {
		        GetPlayerHealth(playerid, pH);
		        SetPlayerHealth(playerid, pH+20);
		        GetPlayerHealth(playerid, pH);
		        if(pH > 100) SetPlayerHealth(playerid, 100);
		        format(string, sizeof(string), "* %s has bought a small meal for $%d.", RPN(playerid), price);
		    }
		    case 2:
		    {
		        GetPlayerHealth(playerid, pH);
		        SetPlayerHealth(playerid, pH+40);
		        GetPlayerHealth(playerid, pH);
		        if(pH > 100) SetPlayerHealth(playerid, 100);
		        format(string, sizeof(string), "* %s has bought a medium meal for $%d.", RPN(playerid), price);
		    }
		    case 3:
		    {
		        SetPlayerHealth(playerid, 100);
		        format(string, sizeof(string), "* %s has bought a large meal for $%d.", RPN(playerid), price);
		    }
		}
		GiveZaiatMoney(playerid, -price);
		BizInfo[idx][bMoney] += price;
		BizInfo[idx][bProducts] --;
		BizInfo[idx][bSold] ++;
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(BizInfo[idx][bType] == 7)
		{
			if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /buy [item]");
			if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
			if(!strcmp(params, "dice", true))
			{
			    if(PlayerInfo[playerid][pMoney] < 20) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
			    PlayerInfo[playerid][pDice] = 1;
			    BizInfo[idx][bMoney] += 20;
			    BizInfo[idx][bProducts] --;
			    BizInfo[idx][bSold] ++;
				GiveZaiatMoney(playerid, -20);
				format(string, sizeof(string), "* %s has bought a pair of special dice for $20.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				SendClientMessage(playerid, COLOR_WHITE, " You can use /rolldice to roll a dice.");
			}
		}
	// Biz AutoUpgrade
	new oldlevel = BizInfo[idx][bLevel];
	if(BizInfo[idx][bLevel] == 1 && BizInfo[idx][bSold] >= 100) {BizInfo[idx][bLevel]++;}
    else if(BizInfo[idx][bLevel] == 2 && BizInfo[idx][bSold] >= 300) {BizInfo[idx][bLevel]++;}
    else if(BizInfo[idx][bLevel] == 3 && BizInfo[idx][bSold] >= 700) {BizInfo[idx][bLevel]++;}
    else if(BizInfo[idx][bLevel] == 4 && BizInfo[idx][bSold] >= 1200) {BizInfo[idx][bLevel]++;}
    if(BizInfo[idx][bLevel] > oldlevel && RPIDFN(BizInfo[idx][bOwner]) != INVALID_PLAYER_ID)
    {
	    SendClientMessage(RPIDFN(BizInfo[idx][bOwner]), COLOR_LIGHTBLUE, " Your business has been upgraded due to reaching a certain amount of sold products.");
	}
	return 1;
}

CMD:number(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pPhonebook]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a phonebook.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /number [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerid][pCellphone]) return SendClientMessage(playerid, COLOR_GREY, "Player has no cellphone.");
	format(string, sizeof(string), "[Phonebook] Name: %s - Ph: %d", RPN(playerb), PlayerInfo[playerb][pCellphone]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:phonebook(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pPhonebook]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a phonebook.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /phonebook [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerid][pCellphone]) return SendClientMessage(playerid, COLOR_GREY, "Player has no cellphone.");
	format(string, sizeof(string), "[Phonebook] Name: %s - Ph: %d", RPN(playerb), PlayerInfo[playerb][pCellphone]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:ad(playerid, params[])
{
	new idx = GetPlayerVirtualWorld(playerid)-100, price = strlen(params) * 6, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pLevel] < 2) SendClientMessage(playerid, COLOR_GREY, "You need to be at least level 2 to create an advertisement.");
	if(idx > 0 && idx < MAX_BIZ && BizInfo[idx][bType] != 5 || idx < 1 || idx > MAX_BIZ) return SendClientMessage(playerid, COLOR_GREY, "You are not inside an Advertisement Agency.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ad [advertisement]");
	if(strlen(params) > 64) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters allowed per advertisement are 64.");
	if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
	if(!PlayerInfo[playerid][pCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You need a cellphone to place advertisements.");
	if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
	if(HasAD[playerid]) return SendClientMessage(playerid, COLOR_GREY, " You must wait for your advertisement to be published before making a new one.");
	if(AdQueue == MAX_ADS-1) return SendClientMessage(playerid, COLOR_GREY, " There are no queue slots for your advertisement.");
	// Advertisement
	HasAD[playerid] = 1;
	if(LastAd) SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your advertisement has been placed in the queue, wait for about 60 seconds maximum.");
    format(AD[AdQueue], 128, "Advertisement: %s, Contact: %s - Ph: %d", params, RPN(playerid), PlayerInfo[playerid][pCellphone]);
    iAD[AdQueue] = 0;
    format(iAdName[AdQueue], 32, "%s", BizInfo[idx][bOwner]);
    AdQueue++;
    GiveZaiatMoney(playerid, -price);
    BizInfo[idx][bMoney] += price/2;
    BizInfo[idx][bProducts] --;
    NewsMoney = price/2;
    format(string, sizeof(string), "* %s has placed an advertisement in the queue for $%d.", RPN(playerid), price);
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_WHITE, " You have been charged $5 per character.");
	return 1;
}

CMD:enter(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	for(new idx=0; idx<MAX_DOORS; idx++) // Dynamic Doors
	{
	    if(IsPlayerInRangeOfPoint(playerid, 2, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]))
	    {
	        if(DoorInfo[idx][dIInt] == 83 && DoorInfo[idx][dIVW] == 8473 && BankBlock)
	        {
	            SendClientMessage(playerid, COLOR_GREY, "You can't enter the bank as it is being robbed at the moment.");
	            return 1;
	        }
	        if(DoorInfo[idx][dCInt])
	        {
	            GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
				TogglePlayerControllable(playerid, 0);
	            SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
	            PlayerInfo[playerid][pSpawnFreeze] = 1;
	        }
	        PlayerInfo[playerid][pSpawnFreeze] = 0;
	        SetPlayerInterior(playerid, DoorInfo[idx][dIInt]);
	        SetPlayerVirtualWorld(playerid, DoorInfo[idx][dIVW]);
	        SetPlayerFacingAngle(playerid, DoorInfo[idx][dIA]);
	        SetCameraBehindPlayer(playerid);
	        SetPlayerPos(playerid, DoorInfo[idx][dIX], DoorInfo[idx][dIY], DoorInfo[idx][dIZ]);
	        return 1;
	    }
	}
	for(new idx=1; idx<MAX_BIZ; idx++)
	{
		if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]))
		{
      		if(!BizInfo[idx][bStatus] && PlayerInfo[playerid][pBiz] != idx && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "This business is closed.");
		    if(BizInfo[idx][bType] == 1) // 24/7 Business
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, -27.3025,-57.6649,1003.5469);
		        SetPlayerFacingAngle(playerid, 357.5915);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 6);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's 24/7 Market (( /list & /buy )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		    else if(BizInfo[idx][bType] == 2) // Clothes Shop Business
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
 				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, 207.0638,-139.9965,1003.5078);
		        SetPlayerFacingAngle(playerid, 356.3849);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 3);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's Clothes Shop (( /buyclothes(old) & /buytoys )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		    else if(BizInfo[idx][bType] == 3) // Ammunation Business
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, 285.8044,-85.9956,1001.5229);
		        SetPlayerFacingAngle(playerid, 358.9898);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 4);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's Ammunation (( /list & /buy /buyweapon )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		    else if(BizInfo[idx][bType] == 4) // Club Business
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, 493.4252,-24.3061,1000.6797);
		        SetPlayerFacingAngle(playerid, 0.2432);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 17);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's Club (( /list & /buy )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		    else if(BizInfo[idx][bType] == 5) // Advertisement Agency
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, 834.1631,7.4883,1004.1797);
		        SetPlayerFacingAngle(playerid, 86.7239);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 3);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's Advertisement Agency (( /ad )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		    else if(BizInfo[idx][bType] == 6) // Fast Food
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, 372.3830,-133.2579,1001.4922);
		        SetPlayerFacingAngle(playerid, 0.4216);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 5);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's Fast Food (( /list /buy )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		    else if(BizInfo[idx][bType] == 7) // Casino
		    {
		        format(string, sizeof(string), "* %s pushes the door and enters the casino.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and enters the casino.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the casino.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, 2233.8032,1712.2303,1011.7632);
		        SetPlayerFacingAngle(playerid, 0.4216);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 1);
		        SetPlayerVirtualWorld(playerid, idx+100);
		        format(string, sizeof(string), "** Welcome to %s's Casino (( /list /buy )) **", BizInfo[idx][bOwner]);
		        SendClientMessage(playerid, COLOR_ORANGE, string);
		        return 1;
		    }
		}
	}
	for(new idx=1; idx<MAX_HOUSES; idx++) // Dynamic Houses
	{
		if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
	    {
		    if(!HouseInfo[idx][hStatus] && PlayerInfo[playerid][pHouse] != idx && PlayerInfo[playerid][pVHouse] != idx) return SendClientMessage(playerid, COLOR_GREY, "This house is locked.");
	        format(string, sizeof(string), "* %s pushes the door and enters the house.", RPN(playerid));
			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
			   format(string, sizeof(string), "* Stranger pushes the door and enters the house.");
			}
			else
			{
				format(string, sizeof(string), "* %s pushes the door and enters the house.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SetPlayerVirtualWorld(playerid, idx+500);
			if(HouseInfo[idx][hLevel] == 1)
			{
				SetPlayerPos(playerid, 243.9951,304.9418,999.1484);
		        SetPlayerFacingAngle(playerid, 267.0980);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 1);
			}
			else if(HouseInfo[idx][hLevel] == 2)
			{
				SetPlayerPos(playerid, 2259.6702,-1135.8542,1050.6328);
		        SetPlayerFacingAngle(playerid, 267.3974);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 10);
			}
			else if(HouseInfo[idx][hLevel] == 3)
			{
				SetPlayerPos(playerid, 2308.8254,-1212.8070,1049.0234);
		        SetPlayerFacingAngle(playerid, 359.8550);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 6);
			}
			else if(HouseInfo[idx][hLevel] == 4)
			{
				SetPlayerPos(playerid, 260.7436,1237.5563,1084.2578);
		        SetPlayerFacingAngle(playerid, 1.6415);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 9);
			}
			else if(HouseInfo[idx][hLevel] == 5)
			{
				SetPlayerPos(playerid, -42.5742,1405.6521,1084.4297);
     			SetPlayerFacingAngle(playerid, 359.1347);
     			SetCameraBehindPlayer(playerid);
     			SetPlayerInterior(playerid, 8);
			}
			else if(HouseInfo[idx][hLevel] == 6)
			{
				SetPlayerPos(playerid, 2468.6787,-1698.2617,1013.5078);
		        SetPlayerFacingAngle(playerid, 89.1791);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 2);
			}
			else if(HouseInfo[idx][hLevel] == 7)
			{
				SetPlayerPos(playerid, 2365.2183,-1135.4014,1050.8750);
		        SetPlayerFacingAngle(playerid, 359.8550);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 8);
			}
			else if(HouseInfo[idx][hLevel] == 8)
			{
				SetPlayerPos(playerid, 2270.1270,-1210.4855,1047.5625);
		        SetPlayerFacingAngle(playerid, 89.4224);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 10);
			}
			else if(HouseInfo[idx][hLevel] == 9)
			{
				SetPlayerPos(playerid, 2324.4424,-1149.2057,1050.7101);
		        SetPlayerFacingAngle(playerid, 0.7248);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 12);
			}
			else if(HouseInfo[idx][hLevel] == 10)
			{
				SetPlayerPos(playerid, 83.0863,1322.3020,1083.8662);
		        SetPlayerFacingAngle(playerid, 359.5183);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 9);
			}
			else if(HouseInfo[idx][hLevel] == 11)
			{
				SetPlayerPos(playerid, 1327.1052,-1071.0226,3458.9060);
		        SetPlayerFacingAngle(playerid, 359.5183);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerInterior(playerid, 0);
				GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
				TogglePlayerControllable(playerid, 0);
	            SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
	            PlayerInfo[playerid][pSpawnFreeze] = 1;
			}
		}
	}
	for(new idx=1; idx<MAX_GARAGES; idx++) // Dynamic Garages
	{
		if(IsPlayerInRangeOfPoint(playerid, 5, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ])/* && GetPlayerState(playerid) == PLAYER_STATE_DRIVER*/)
	    {
	        format(string, sizeof(string), "* %s enters the garage.", RPN(playerid));
			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
			   format(string, sizeof(string), "* Stranger enters the garage.");
			}
			else
			{
				format(string, sizeof(string), "* %s enters the garage.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SetPlayerVirtualWorld(playerid, idx+500);
	        //SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), idx+500);
	        new vehicleid = GetPlayerVehicleID(playerid);
			if(GarageInfo[idx][gLevel] == 1)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 2)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 3)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 4)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 5)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 6)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 7)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 8)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 9)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
			if(GarageInfo[idx][gLevel] == 10)
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
				    SetVehiclePos(vehicleid, -2070.3000488281,-24,49.099998474121);
			        SetCameraBehindPlayer(playerid);
			        SetVehicleVirtualWorld(vehicleid, idx+500);
				}
				else
				{
				    SetPlayerPos(playerid, -2070.3000488281,-24,49.099998474121);
				    SetPlayerInterior(playerid, 0);
				    SetCameraBehindPlayer(playerid);
				}
			}
	        return 1;
		}
	}
	return 1;
}

CMD:heal(playerid, params[])
{
    if(!IsAtHouse(playerid)) return SendClientMessage(playerid, COLOR_GREY, "   You are not in a House");
	if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you. ($100)");
	ShowPlayerDialog(playerid,829,DIALOG_STYLE_MSGBOX,"Health & Armor","================================\nThis will cost 100$\n\nType: Health & Armour Recovery","Pay","Cancel");
	return 1;
/*	//if(HouseInfo[playerid][hLevel] < 5) return SendClientMessage(playerid, COLOR_GREY, "You not inside a house thats level 5+");
 if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you. ($100)");
    else
    {
   		new string[128];
   		GiveZaiatMoney(playerid, -100);
        SetPlayerHealth(playerid, 100.0);
        SetPlayerArmour(playerid, 50.0);
 		format(string, sizeof(string), "* %s took a vest and some painstillers.", RPN(playerid));
		if(PlayerInfo[playerid][pMaskOn] == 1)
		{
 			 format(string, sizeof(string), "* Stranger took a vest and some painstillers.");
		}
		else
		{
			format(string, sizeof(string), "* %s took a vest and some painstillers.", RPN(playerid));
		}
		SendNearbyMessage(playerid, 10, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	return 1;*/
}



CMD:exit(playerid, params[])
{
	new done, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    for(new idx=0; idx<MAX_DOORS; idx++) // Dynamic Doors
	{
	    if(!done && IsPlayerInRangeOfPoint(playerid, 2, DoorInfo[idx][dIX], DoorInfo[idx][dIY], DoorInfo[idx][dIZ]) && GetPlayerVirtualWorld(playerid) == DoorInfo[idx][dIVW] && GetPlayerInterior(playerid) == DoorInfo[idx][dIInt])
	    {
	        if(BankRobber[playerid] && BankBlock && GetPlayerInterior(playerid) == 83 && GetPlayerVirtualWorld(playerid) == 8473)
	        {
	       	    new Rob = BankRobber[playerid]-1;
			    DisablePlayerCheckpoint(playerid);
				BankRobbersCount --;
				format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
				DeliverMoney[playerid] = 0;
				//
				foreach(Player, i)
				{
				    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
				    {
						if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
						else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
						else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
						else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
						else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
					}
				}
				format(string, sizeof(string), "** %s has went out of the bank before loading money and has failed the robbery. **", RPN(playerid));
				SendRobberyMessage(COLOR_LIGHTRED, string);
				SendCopMessage(COLOR_LIGHTRED, string);
				SendFBIMessage(COLOR_LIGHTRED, string);
				BankRobber[playerid] = 0;
				if(BankRobbersCount == 0)
				{
					TextDrawHideForAll(Area5);
					TextDrawHideForAll(Textdraw1);
					TextDrawHideForAll(Textdraw2);
					TextDrawHideForAll(Textdraw3);
					TextDrawHideForAll(Textdraw4);
					TextDrawHideForAll(Textdraw5);
					BankRobbery = 0;
					RobberyStarted = 0;
					format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
					SendClientMessageToAll(COLOR_YELLOW, string);
					TotalRobbers = 0;
					new copsonline;
					foreach(Player, i)
					{
					    if(IsACop(i)) copsonline++;
					    if(IsAHSF(i)) copsonline++;
					    if(IsAFBI(i)) copsonline++;
					}
					foreach(Player, i)
					{
					    if(IsACop(i))
					    {
							new Saved = (TotalRobbers*50000-(TotalStolen*50000));
							GiveZaiatMoney(i, Saved/copsonline);
							format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
							SendClientMessage(i, COLOR_LIME, string);
					    }
					}
				}
	            return 1;
	        }
	        if(DoorInfo[idx][dCExt])
	        {
	            GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
				TogglePlayerControllable(playerid, 0);
	            SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
	            PlayerInfo[playerid][pSpawnFreeze] = 1;
	        }
	        PlayerInfo[playerid][pSpawnFreeze] = 0;
	        SetPlayerInterior(playerid, DoorInfo[idx][dOInt]);
	        SetPlayerVirtualWorld(playerid, DoorInfo[idx][dOVW]);
	        SetPlayerFacingAngle(playerid, DoorInfo[idx][dOA]);
	        SetCameraBehindPlayer(playerid);
	        SetPlayerPos(playerid, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]);
	        done = 1;
	    }
	}
	if(IsPlayerInRangeOfPoint(playerid, 2, 243.9951,304.9418,999.1484) || IsPlayerInRangeOfPoint(playerid, 2, 2259.6702,-1135.8542,1050.6328) || IsPlayerInRangeOfPoint(playerid, 2, 2308.8254,-1212.8070,1049.0234) || IsPlayerInRangeOfPoint(playerid, 2, 260.7436,1237.5563,1084.2578)
	|| IsPlayerInRangeOfPoint(playerid, 2, -42.5742,1405.6521,1084.4297) || IsPlayerInRangeOfPoint(playerid, 2, 2468.6787,-1698.2617,1013.5078) || IsPlayerInRangeOfPoint(playerid, 2, 2365.2183,-1135.4014,1050.8750) || IsPlayerInRangeOfPoint(playerid, 2, 2270.1270,-1210.4855,1047.5625)
	|| IsPlayerInRangeOfPoint(playerid, 2, 2324.4424,-1149.2057,1050.7101) || IsPlayerInRangeOfPoint(playerid, 2, 83.0863,1322.3020,1083.8662) ||  IsPlayerInRangeOfPoint(playerid, 2, 1327.1052,-1071.0226,3458.9060)) // Houses
	{
	    new idx;
		idx = GetPlayerVirtualWorld(playerid)-500;
		if(!done && idx < MAX_HOUSES && HouseInfo[idx][hLevel])
		{
			format(string, sizeof(string), "* %s pushes the door and exits the house.", RPN(playerid));
		 	if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger pushes the door and exits the house.");
			}
			else
			{
				format(string, sizeof(string), "* %s pushes the door and exits the house.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SetPlayerPos(playerid, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]);
	        SetPlayerInterior(playerid, 0);
	        SetPlayerVirtualWorld(playerid, 0);
	        done = 1;
        }
	}
	if(IsPlayerInRangeOfPoint(playerid, 15, -2070.3000488281,-24,47.099998474121)) // Garages
    {
        new idx;
        idx = GetPlayerVirtualWorld(playerid)-500;
        new vehicleid = GetPlayerVehicleID(playerid);
        if(!done && idx < MAX_GARAGES && GarageInfo[idx][gLevel])
		{
			format(string, sizeof(string), "* %s lifts the door up and exits the garage.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
			//if(IsPlayerInAnyVehicle(playerid))
			{
			    SetVehiclePos(vehicleid, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]);
		        SetCameraBehindPlayer(playerid);
		        SetVehicleVirtualWorld(vehicleid, 0);
		        SetPlayerPos(playerid, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]);
			    SetPlayerInterior(playerid, 0);
			    SetCameraBehindPlayer(playerid);
			    SetPlayerVirtualWorld(playerid, 0);
			    PutPlayerInVehicle(playerid, vehicleid, 0);
			}
			else
			{
			    SetPlayerPos(playerid, GarageInfo[idx][gX], GarageInfo[idx][gY], GarageInfo[idx][gZ]);
			    SetPlayerInterior(playerid, 0);
			    SetCameraBehindPlayer(playerid);
			    SetPlayerVirtualWorld(playerid, 0);
			}
	        done = 1;
        }
	}
    if(IsPlayerInRangeOfPoint(playerid, 5, 2233.8032,1712.2303,1011.7632) || IsPlayerInRangeOfPoint(playerid, 2, -27.3025,-57.6649,1003.5469) || IsPlayerInRangeOfPoint(playerid, 2, 207.0638,-139.9965,1003.5078) || IsPlayerInRangeOfPoint(playerid, 2, 285.8044,-85.9956,1001.5229) || IsPlayerInRangeOfPoint(playerid, 2, 493.4252,-24.3061,1000.6797) || IsPlayerInRangeOfPoint(playerid, 2, 834.1631,7.4883,1004.1797) || IsPlayerInRangeOfPoint(playerid, 2, 372.3830,-133.2579,1001.4922))
	{
	    new idx;
		idx = GetPlayerVirtualWorld(playerid)-100;
		if(!done && idx < MAX_BIZ && BizInfo[idx][bType])
		{
			if(BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ])
			{
				idx = GetPlayerVirtualWorld(playerid)-100;
				if(!done && idx < MAX_BIZ && BizInfo[idx][bType])
				{
					if (g_remainingRobTicks[playerid])
					{
						SendClientMessage(playerid, COLOR_GREY, "You failed the robbery.");
						DestroyObject(g_robbizBag[playerid]);
						DisablePlayerCheckpoint(playerid);
						g_apprehendedCash[playerid] = 0;
						g_remainingRobTicks[playerid] = 0;
						g_bIsRobbiz[playerid] = false;
						SendCopMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
						SendFBIMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
						SendHSFMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
						SendSWATMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
						SendSATFMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
					}
					SetPlayerPos(playerid, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]);
					SetPlayerInterior(playerid, 0);
					SetPlayerVirtualWorld(playerid, 0);
				}
				done = 1;
				return 1;
			}
			format(string, sizeof(string), "* %s pushes the door and exits the shop.", RPN(playerid));
 		 	if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger pushes the door and exits the shop.");
			}
			else
			{
				format(string, sizeof(string), "* %s pushes the door and exits the shop.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        SetPlayerPos(playerid, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]);
	        SetPlayerInterior(playerid, 0);
	        SetPlayerVirtualWorld(playerid, 0);
        }
        done = 1;
	}
	return 1;
}

CMD:stats(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	ShowStatsSmall(playerid, playerid);
	return 1;
}

CMD:fullstats(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	ShowStats(playerid, playerid);
	return 1;
}

CMD:bizstats(playerid, params[])
{
	new string[128], playerb = playerid, status[16], status2[16];
	// Business Status for non-owners
	if(PlayerInfo[playerb][pBiz]) format(status, sizeof(status), "%s", RBS(PlayerInfo[playerb][pBiz]));
	else if(!PlayerInfo[playerb][pBiz]) format(status, sizeof(status), "None");
	if(PlayerInfo[playerb][pVBiz]) format(status2, sizeof(status2), "%s", RBS(PlayerInfo[playerb][pVBiz]));
	else if(!PlayerInfo[playerb][pVBiz]) format(status2, sizeof(status2), "None");
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________________________");
	format(string, sizeof(string), "Businesses of %s", RPN(playerb));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), "Business 1: %s | ID: %s | Level: %s | Status: %s | Products: %s | Vault: %s", RBT(PlayerInfo[playerb][pBiz]), RPBK(playerb), RPBL(playerb),status, RPBP(playerb), RPBM(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Business 2: %s | ID: %s | Level: %s | Status: %s | Products: %s | Vault: %s", RBT(PlayerInfo[playerb][pVBiz]), RPVIPBK(playerb), RPVIPBL(playerb),status2, RPVIPBP(playerb), RPVIPBM(playerb));
	SendClientMessage(playerid, COLOR_FADE2, string);
 	if(strval(RPBL(playerid)) == 1) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 100 -RPBS(playerid));
  	else if(strval(RPBL(playerid)) == 2) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 300 -RPBS(playerid));
  	else if(strval(RPBL(playerid)) == 3) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 700 -RPBS(playerid));
  	else if(strval(RPBL(playerid)) == 4) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 1200 -RPBS(playerid));
  	SendClientMessage(playerid, COLOR_FADE2, string);
 	if(strval(RPVIPBL(playerid)) == 1) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 100 -RPVIPBS(playerid));
  	else if(strval(RPVIPBL(playerid)) == 2) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 300 -RPVIPBS(playerid));
  	else if(strval(RPVIPBL(playerid)) == 3) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 700 -RPVIPBS(playerid));
  	else if(strval(RPVIPBL(playerid)) == 4) format(string, sizeof(string), "Your business needs to sell %d more products to level up.", 1200 -RPVIPBS(playerid));
  	SendClientMessage(playerid, COLOR_FADE2, string);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________________________");
	return 1;
}

CMD:helpme(playerid, params[])
{
    new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper]) return SendClientMessage(playerid, COLOR_GREY, "You can't submit a help request as a helper.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /helpme [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(HelpTime[playerid] > 0)
	{
	    format(string, sizeof(string), "You need to wait %d more seconds before making a help message again.", HelpTime[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	format(string, sizeof(string), "Help Report from {FF6347}[%d] {FFFF91}%s: %s", playerid, NORPN(playerid), params);
	SendHelperMessage(COLOR_REPORT, 1, string);
	format(string, sizeof(string), "Help Report from [%d] %s: %s", playerid, NORPN(playerid), params);
	Log("logs/hreports.log", string);
	SendClientMessage(playerid, COLOR_YELLOW, "Your report message has been sent to online helpers.");
	HelpTime[playerid] = 25;
	SetTimerEx("HelpTimer", 1000, false, "i", playerid);
	return 1;
}

CMD:report(playerid, params[])
{
    new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /report [text]");
	if(PlayerInfo[playerid][pRMute]) return SendClientMessage(playerid, COLOR_GREY, "You are muted from the report system.");
	if(AntiAdv(playerid, params)) return 1;
	if(ReportTime[playerid] > 0)
	{
	    format(string, sizeof(string), "You need to wait %d more seconds before making a report message again.", ReportTime[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	format(string, sizeof(string), "Report from {FF6347}[%d] {FFFF91}%s: %s", playerid, NORPN(playerid), params);
	SendAdminMessage(COLOR_REPORT, 1, string);
	format(string, sizeof(string), "Report from [%d] %s: %s", playerid, NORPN(playerid), params);
	Log("logs/reports.log", string);
	SendClientMessage(playerid, COLOR_YELLOW, "Your report message has been sent to online admins.");
	PlayerNeedsHelp[playerid] = 1;
	ReportTime[playerid] = 25;
	SetTimerEx("ReportTimer", 1000, false, "i", playerid);
	return 1;
}


CMD:b(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /b [text] (Local OOC Chat)");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "%s: (( %s ))", NORPN(playerid), params);
	SendNearbyMessage(playerid, 10, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
	Log("logs/chat.log", string);
	return 1;
}

CMD:shout(playerid, params[])
return cmd_s(playerid, params);

CMD:s(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/s)hout [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "%s shouts: [%s Accent] %s!", RPN(playerid), PlayerInfo[playerid][pAccent], params);
	else format(string, sizeof(string), "%s shouts: %s!", RPN(playerid), params);
 	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
        format(string, sizeof(string), "Stranger shouts: [%s Accent] %s!", PlayerInfo[playerid][pAccent], params);
	}
	else
	{
		format(string, sizeof(string), "%s shouts: %s!", RPN(playerid), params);
	}
	SendNearbyMessage(playerid, 30, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
	format(string, sizeof(string), "(shouts) %s!", params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,60.0,5000);
	Log("logs/chat.log", string);
	return 1;
}


CMD:low(playerid, params[])
return cmd_l(playerid, params);

CMD:l(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/l)ow [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "%s mummbles: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], params);
	else format(string, sizeof(string), "%s mumbles: %s", RPN(playerid), params);
	if(PlayerInfo[playerid][pMaskOn] == 1)
	{
        format(string, sizeof(string), "Stranger mumbles: [%s Accent] %s", PlayerInfo[playerid][pAccent], params);
	}
	else
	{
		format(string, sizeof(string), "%s mumbles: %s", RPN(playerid), params);
	}
	SendNearbyMessage(playerid, 1.5, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
	format(string, sizeof(string), "(mubles) %s", params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
	Log("logs/chat.log", string);
	return 1;
}

CMD:w(playerid, params[])
{
    new playerb, text[128], string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "us[128]", playerb, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/w)hisper [playerid] [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!strlen(text)) return SendClientMessage(playerid, COLOR_GREY, "You haven't entered any text to whisper.");
	if(IsPlayerNearPlayer(playerid, playerb, 1))
	{

		//format(string, sizeof(string), "* %s leans towards %s and whispers in their ears.", RPN(playerid), RPN(playerb));
		//SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "Whisper to %s: [%s Accent] %s", RPN(playerb), PlayerInfo[playerid][pAccent], text);
		else format(string, sizeof(string), "Whisper to %s: %s", RPN(playerb), text);
		SendClientMessage(playerid, COLOR_YELLOW, string);
		if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "Whisper from %s: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], text);
		else format(string, sizeof(string), "Whisper from %s: %s", RPN(playerid), text);
		SendClientMessage(playerb, COLOR_YELLOW, string);
		new log[256];
		format(log, sizeof(log), "%s to %s: %s", NORPN(playerid), NORPN(playerb), text);
		Log("logs/whisper.log", log);
		foreach(Player, i)
		{
		    if(PlayerInfo[i][pAdmin] >= 1 && Whispers[i] && i != playerid && i != playerb)
		    {
		        format(log, sizeof(log), "[WHISPER] %s to %s: %s", NORPN(playerid), NORPN(playerb), text);
		        SendClientMessage(i, COLOR_YELLOW, log);
		    }
		}
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You are not near that player.");
	}
	return 1;
}

CMD:me(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pMute] == 1) return SendClientMessage(playerid, COLOR_GREY, "You cannot speak, you have been silenced!");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "* %s %s", RPN(playerid), params);
 	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:do2(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pMute] == 1) return SendClientMessage(playerid, COLOR_GREY, "You cannot speak, you have been silenced!");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /do2 [action]");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "%s (( %s ))", params, RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

// ANIMATIONS

CMD:animlist(playerid, params[])
{
	return cmd_animhelp(playerid, params);
}

CMD:animhelp(playerid, params[])
{
	SendClientMessage(playerid, COLOR_GREEN,"_________________________________________________________________________________");
	SendClientMessage(playerid,COLOR_WHITE,"Available Animations:");
	SendClientMessage(playerid,0xB4B5B7FF,"/handsup /handsdown /drunk /bomb /laugh /lookout /dj /skate /dance /crossarms /fucku");
	SendClientMessage(playerid,0xB4B5B7FF,"/hide /vomit /wave /taichi /kiss /robman /reload /deal /fallover /crack");
	SendClientMessage(playerid,0xBFC0C2FF,"/talk /dance /gift /piss /lean /cpr /cry /cheer /pedmove /wank /bitchslap");
	SendClientMessage(playerid,0xCBCCCEFF,"/slapass /fuckme /bj /rap /hitch /stand /greet /followme /getjiggy");
	SendClientMessage(playerid,0xD8D8D8FF,"/what /signal /crabs /salute /stop /washhands /gesture /hurt /showoff /dive /relax");
	SendClientMessage(playerid,0xD8D8D8FF,"/checktime /sitdown /sleep /smoke /nobreath /sit");
	SendClientMessage(playerid, COLOR_GREEN,"_________________________________________________________________________________");
	return 1;
}

CMD:sit(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sit [1-5]");
	if(animid < 1 || animid > 5) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sit [1-5]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"BEACH","bather",4.0,1,0,0,0,0);
		case 2: LoopingAnim(playerid,"BEACH","Lay_Bac_Loop",4.0,1,0,0,0,0);
		case 3: LoopingAnim(playerid,"BEACH","ParkSit_W_loop",4.0,1,0,0,0,0);
		case 4: LoopingAnim(playerid,"BEACH","SitnWait_loop_W",4.0,1,0,0,0,0);
		case 5: LoopingAnim(playerid,"BEACH", "ParkSit_M_loop", 4.0,1,0,0,0,0);
	}
	return 1;
}

CMD:nobreath(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /nobreath [1-2]");
	if(animid < 1 || animid > 2) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sit [1-2]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"PED","IDLE_tired",4.0,1,0,0,0,0);
		case 2: LoopingAnim(playerid,"FAT","IDLE_tired",4.0,1,0,0,0,0);
	}
	return 1;
}

CMD:sitdown(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sitdown [1-7]");
	if(animid < 1 || animid > 7) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sitdown [1-7]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"Attractors","Stepsit_in",4.0,0,0,0,1,0); // Not looping
		case 2: LoopingAnim(playerid,"CRIB","PED_Console_Loop",4.0,1,0,0,0,0);
		case 3: LoopingAnim(playerid,"INT_HOUSE","LOU_In",4.0,0,0,0,1,0); // Not looping
		case 4: LoopingAnim(playerid,"MISC","SEAT_LR",4.0,1,0,0,0,0);
		case 5: LoopingAnim(playerid,"MISC","Seat_talk_01",4.0,1,0,0,0,0);
		case 6: LoopingAnim(playerid,"MISC","Seat_talk_02",4.0,1,0,0,0,0);
		case 7: LoopingAnim(playerid,"ped","SEAT_down",4.0,0,0,0,1,0); // Not looping
	}
	return 1;
}

CMD:handsup(playerid, params[])
{
    new string[128];
   	if(IsPlayerCuffed(playerid) || IsPlayerTazed(playerid) || IsPlayerTied(playerid) || Boxing[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
	SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
	format(string, sizeof(string), "* %s puts their hands up.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	SendClientMessage(playerid, COLOR_WHITE, " You can put your hands down again using /handsdown.");
	return 1;
}

CMD:handsdown(playerid, params[])
{
	new string[128];
	if(IsPlayerCuffed(playerid) || IsPlayerTazed(playerid) || IsPlayerTied(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
	if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_HANDSUP) return SendClientMessage(playerid, COLOR_GREY, "Your hands are already down.");
	ClearAnimations(playerid);
	format(string, sizeof(string), "* %s puts their hands down.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:dance(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dance [1-4]");
	if(animid < 1 || animid > 4) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dance [1-4]");
	switch(animid)
	{
		case 1: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE1);
		case 2: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE2);
		case 3: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE3);
		case 4: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE4);
	}
	return 1;
}

CMD:crossarms(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /crossarms [1-5]");
	if(animid < 1 || animid > 5) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /crossarms [1-5]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
		case 2: LoopingAnim(playerid, "DEALER", "DEALER_IDLE", 4.0, 0, 1, 1, 1, -1);
		case 3: LoopingAnim(playerid, "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
		case 4: LoopingAnim(playerid,"GRAVEYARD","mrnM_loop",4.0,1,0,0,0,0);
		case 5: LoopingAnim(playerid,"GRAVEYARD","prst_loopa",4.0,1,0,0,0,0);
	}
	return 1;
}

CMD:getjiggy(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /getjiggy [1-10]");
	if(animid < 1 || animid > 10) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /getjiggy [1-10]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"DANCING","DAN_Down_A",4.0,1,0,0,0,0);
		case 2: LoopingAnim(playerid,"DANCING","DAN_Left_A",4.0,1,0,0,0,0);
		case 3: LoopingAnim(playerid,"DANCING","DAN_Loop_A",4.0,1,0,0,0,0);
		case 4: LoopingAnim(playerid,"DANCING","DAN_Right_A",4.0,1,0,0,0,0);
		case 5: LoopingAnim(playerid,"DANCING","DAN_Up_A",4.0,1,0,0,0,0);
		case 6: LoopingAnim(playerid,"DANCING","dnce_M_a",4.0,1,0,0,0,0);
		case 7: LoopingAnim(playerid,"DANCING","dnce_M_b",4.0,1,0,0,0,0);
		case 8: LoopingAnim(playerid,"DANCING","dnce_M_c",4.0,1,0,0,0,0);
		case 9: LoopingAnim(playerid,"DANCING","dnce_M_c",4.0,1,0,0,0,0);
		case 10: LoopingAnim(playerid,"DANCING","dnce_M_d",4.0,1,0,0,0,0);
	}
	return 1;
}

CMD:pedmove(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pedmove[1-26]");
	if(animid < 1 || animid > 26) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pedmove [1-26]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"PED","JOG_femaleA",4.0,1,1,1,1,1);
		case 2: LoopingAnim(playerid,"PED","JOG_maleA",4.0,1,1,1,1,1);
		case 3: LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1);
		case 4: LoopingAnim(playerid,"PED","run_fat",4.0,1,1,1,1,1);
		case 5: LoopingAnim(playerid,"PED","run_fatold",4.0,1,1,1,1,1);
		case 6: LoopingAnim(playerid,"PED","run_old",4.0,1,1,1,1,1);
		case 7: LoopingAnim(playerid,"PED","Run_Wuzi",4.0,1,1,1,1,1);
		case 8: LoopingAnim(playerid,"PED","swat_run",4.0,1,1,1,1,1);
		case 9: LoopingAnim(playerid,"PED","WALK_fat",4.0,1,1,1,1,1);
		case 10: LoopingAnim(playerid,"PED","WALK_fatold",4.0,1,1,1,1,1);
		case 11: LoopingAnim(playerid,"PED","WALK_gang1",4.0,1,1,1,1,1);
		case 12: LoopingAnim(playerid,"PED","WALK_gang2",4.0,1,1,1,1,1);
		case 13: LoopingAnim(playerid,"PED","WALK_old",4.0,1,1,1,1,1);
		case 14: LoopingAnim(playerid,"PED","WALK_shuffle",4.0,1,1,1,1,1);
		case 15: LoopingAnim(playerid,"PED","woman_run",4.0,1,1,1,1,1);
		case 16: LoopingAnim(playerid,"PED","WOMAN_runbusy",4.0,1,1,1,1,1);
		case 17: LoopingAnim(playerid,"PED","WOMAN_runfatold",4.0,1,1,1,1,1);
		case 18: LoopingAnim(playerid,"PED","woman_runpanic",4.0,1,1,1,1,1);
		case 19: LoopingAnim(playerid,"PED","WOMAN_runsexy",4.0,1,1,1,1,1);
		case 20: LoopingAnim(playerid,"PED","WOMAN_walkbusy",4.0,1,1,1,1,1);
		case 21: LoopingAnim(playerid,"PED","WOMAN_walkfatold",4.0,1,1,1,1,1);
		case 22: LoopingAnim(playerid,"PED","WOMAN_walknorm",4.0,1,1,1,1,1);
		case 23: LoopingAnim(playerid,"PED","WOMAN_walkold",4.0,1,1,1,1,1);
		case 24: LoopingAnim(playerid,"PED","WOMAN_walkpro",4.0,1,1,1,1,1);
		case 25: LoopingAnim(playerid,"PED","WOMAN_walksexy",4.0,1,1,1,1,1);
		case 26: LoopingAnim(playerid,"PED","WOMAN_walkshop",4.0,1,1,1,1,1);
	}
	return 1;
}

CMD:rap(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /rap [1-3]");
	if(animid < 1 || animid > 3) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /rap [1-3]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"RAPPING","RAP_A_Loop",4.0,1,1,1,1,0);
		case 2: LoopingAnim(playerid,"RAPPING","RAP_B_Loop",4.0,1,1,1,1,0);
		case 3: LoopingAnim(playerid,"RAPPING","RAP_C_Loop",4.0,1,1,1,1,0);
	}
	return 1;
}

CMD:reload(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reload [1-5]");
	if(animid < 1 || animid > 5) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reload [1-5]");
	switch(animid)
	{
		case 1: ApplyAnimation(playerid,"COLT45","colt45_reload", 4.0, 0, 0, 0, 0, 0);
		case 2: ApplyAnimation(playerid,"COLT45","sawnoff_reload", 4.0, 0, 0, 0, 0, 0);
		case 3: ApplyAnimation(playerid,"BUDDY","buddy_reload", 4.0, 0, 0, 0, 0, 0);
		case 4: ApplyAnimation(playerid,"RIFLE","RIFLE_load", 4.0, 0, 0, 0, 0, 0);
		case 5: ApplyAnimation(playerid,"PYTHON","python_reload", 4.0, 0, 0, 0, 0, 0);
	}
	return 1;
}

CMD:dj(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dj [1-4]");
	if(animid < 1 || animid > 4) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dj [1-4]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"SCRATCHING","scdldlp",4.0,1,0,0,0,0);
		case 2: LoopingAnim(playerid,"SCRATCHING","scdlulp",4.0,1,0,0,0,0);
		case 3: LoopingAnim(playerid,"SCRATCHING","scdrdlp",4.0,1,0,0,0,0);
		case 4: LoopingAnim(playerid,"SCRATCHING","scdrulp",4.0,1,0,0,0,0);
	}
	return 1;
}

CMD:skate(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /skate [1-3]");
	if(animid < 1 || animid > 3) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /skate [1-3]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"SKATE","skate_idle", 4.0, 1, 1, 1, 1, 1);
		case 2: LoopingAnim(playerid,"SKATE","skate_run", 4.0, 1, 1, 1, 1, 1);
		case 3: LoopingAnim(playerid,"SKATE","skate_sprint", 4.0, 1, 1, 1, 1, 1);
	}
	return 1;
}

CMD:wank(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wank [1-3]");
	if(animid < 1 || animid > 3) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wank [1-3]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"PAULNMAC","wank_in",4.0,1,1,1,1,0);
		case 2: LoopingAnim(playerid,"PAULNMAC","wank_loop",4.0,1,1,1,1,0);
		case 3: OnePlayAnim(playerid,"PAULNMAC","wank_out",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:fuckme(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fuckme [1-8]");
	if(animid < 1 || animid > 8) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fuckme [1-8]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"SNM","SPANKING_IDLEW",4.1,0,1,1,1,0);
		case 2: LoopingAnim(playerid,"SNM","SPANKING_IDLEP",4.1,0,1,1,1,0);
		case 3: LoopingAnim(playerid,"SNM","SPANKINGW",4.1,0,1,1,1,0);
		case 4: LoopingAnim(playerid,"SNM","SPANKINGP",4.1,0,1,1,1,0);
		case 5: LoopingAnim(playerid,"SNM","SPANKEDW",4.1,0,1,1,1,0);
		case 6: LoopingAnim(playerid,"SNM","SPANKEDP",4.1,0,1,1,1,0);
		case 7: LoopingAnim(playerid,"SNM","SPANKING_ENDW",4.1,0,1,1,1,0);
		case 8: LoopingAnim(playerid,"SNM","SPANKING_ENDP",4.1,0,1,1,1,0);
	}
	return 1;
}

CMD:bj(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bj [1-12]");
	if(animid < 1 || animid > 12) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bj [1-12]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_START_P",4.1,0,1,1,1,0);
		case 2: LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_START_W",4.1,0,1,1,1,0);
		case 3: LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_P",4.1,0,1,1,1,0);
		case 4: LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1,0,1,1,1,0);
		case 5: LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_END_P",4.1,0,1,1,1,0);
		case 6: LoopingAnim(playerid,"BLOWJOBZ","BJ_COUCH_END_W",4.1,0,1,1,1,0);
		case 7: LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_START_P",4.1,0,1,1,1,0);
		case 8: LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_START_W",4.1,0,1,1,1,0);
		case 9: LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_LOOP_P",4.1,0,1,1,1,0);
		case 10: LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_LOOP_W",4.1,0,1,1,1,0);
		case 11: LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_END_P",4.1,0,1,1,1,0);
		case 12: LoopingAnim(playerid,"BLOWJOBZ","BJ_STAND_END_W",4.1,0,1,1,1,0);
	}
	return 1;
}

CMD:signal(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /signal [1-2]");
	if(animid < 1 || animid > 2) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /signal [1-2]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"POLICE","CopTraf_Come",4.0,0,0,0,0,0);
		case 2: LoopingAnim(playerid,"POLICE","CopTraf_Stop",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:lean(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lean [1-2]");
	if(animid < 1 || animid > 2) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lean [1-2]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"GANGS","leanIDLE",4.1,0,0,0,1,0);
		case 2: LoopingAnim(playerid,"MISC","Plyrlean_loop",4.1,0,0,0,1,0);
	}
	return 1;
}

CMD:sleep(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sleep [1-2]");
	if(animid < 1 || animid > 2) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sleep [1-2]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"CRACK","crckdeth4",4.0,0,0,0,1,0);
		case 2: LoopingAnim(playerid,"CRACK","crckidle2",4.0,0,0,0,1,0);
	}
	return 1;
}

CMD:fallover(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fallover [1-4]");
	if(animid < 1 || animid > 4) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fallover [1-4]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0);
		case 2: LoopingAnim(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0);
		case 3: LoopingAnim(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0);
		case 4: LoopingAnim(playerid, "PED", "BIKE_fallR", 4.0, 0, 1, 1, 0, 0);
	}
	return 1;
}

CMD:wave(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wave [1-3]");
	if(animid < 1 || animid > 3) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wave [1-3]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"ON_LOOKERS","wave_loop",4.0,1,0,0,0,0);
		case 2: OnePlayAnim(playerid,"KISSING","gfwave2",4.0,0,0,0,0,0);
		case 3: OnePlayAnim(playerid,"PED","endchat_03",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:cheer(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cheer [1-8]");
	if(animid < 1 || animid > 8) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cheer [1-8]");
	switch(animid)
	{
		case 1: OnePlayAnim(playerid,"ON_LOOKERS","shout_01",4.0,0,0,0,0,0);
		case 2: OnePlayAnim(playerid,"ON_LOOKERS","shout_02",4.0,0,0,0,0,0);
		case 3: OnePlayAnim(playerid,"ON_LOOKERS","shout_in",4.0,0,0,0,0,0);
		case 4: LoopingAnim(playerid,"RIOT","RIOT_ANGRY_B",4.0,1,0,0,0,0);
		case 5: OnePlayAnim(playerid,"RIOT","RIOT_CHANT",4.0,0,0,0,0,0);
		case 6: OnePlayAnim(playerid,"RIOT","RIOT_shout",4.0,0,0,0,0,0);
		case 7: OnePlayAnim(playerid,"STRIP","PUN_HOLLER",4.0,0,0,0,0,0);
		case 8: OnePlayAnim(playerid,"OTB","wtchrace_win",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:deal(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deal [1-2]");
	if(animid < 1 || animid > 2) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deal [1-2]");
	switch(animid)
	{
		case 1: OnePlayAnim(playerid,"DEALER", "DEALER_DEAL",4.0,0,0,0,0,0);
		case 2: OnePlayAnim(playerid,"DEALER","shop_pay",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:talk(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /talk [1-7]");
	if(animid < 1 || animid > 7) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /talk [1-7]");
	switch(animid)
	{
		case 1: OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
		case 2: OnePlayAnim(playerid,"GANGS","prtial_gngtlkA",4.0,0,0,0,0,0);
		case 3: OnePlayAnim(playerid,"GANGS","prtial_gngtlkB",4.0,0,0,0,0,0);
		case 4: OnePlayAnim(playerid,"GANGS","prtial_gngtlkE",4.0,0,0,0,0,0);
		case 5: OnePlayAnim(playerid,"GANGS","prtial_gngtlkF",4.0,0,0,0,0,0);
		case 6: OnePlayAnim(playerid,"GANGS","prtial_gngtlkG",4.0,0,0,0,0,0);
		case 7: OnePlayAnim(playerid,"GANGS","prtial_gngtlkH",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:gesture(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gesture [1-15]");
	if(animid < 1 || animid > 15) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gesture [1-15]");
	switch(animid)
	{
		case 1: OnePlayAnim(playerid,"GHANDS","gsign1",4.0,0,0,0,0,0);
		case 2: OnePlayAnim(playerid,"GHANDS","gsign1LH",4.0,0,0,0,0,0);
		case 3: OnePlayAnim(playerid,"GHANDS","gsign2",4.0,0,0,0,0,0);
		case 4: OnePlayAnim(playerid,"GHANDS","gsign2LH",4.0,0,0,0,0,0);
		case 5: OnePlayAnim(playerid,"GHANDS","gsign3",4.0,0,0,0,0,0);
		case 6: OnePlayAnim(playerid,"GHANDS","gsign3LH",4.0,0,0,0,0,0);
		case 7: OnePlayAnim(playerid,"GHANDS","gsign4",4.0,0,0,0,0,0);
		case 8: OnePlayAnim(playerid,"GHANDS","gsign4LH",4.0,0,0,0,0,0);
		case 9: OnePlayAnim(playerid,"GHANDS","gsign5",4.0,0,0,0,0,0);
		case 10: OnePlayAnim(playerid,"GHANDS","gsign5",4.0,0,0,0,0,0);
		case 11: OnePlayAnim(playerid,"GHANDS","gsign5LH",4.0,0,0,0,0,0);
		case 12: OnePlayAnim(playerid,"GANGS","Invite_No",4.0,0,0,0,0,0);
		case 13: OnePlayAnim(playerid,"GANGS","Invite_Yes",4.0,0,0,0,0,0);
		case 14: OnePlayAnim(playerid,"GANGS","prtial_gngtlkD",4.0,0,0,0,0,0);
		case 15: OnePlayAnim(playerid,"GANGS","smkcig_prtl",4.0,0,0,0,0,0);
	}
	return 1;
}

CMD:smoke(playerid, params[])
{
	new string[128];
	if(sscanf(params, "s[8]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /smoke [type]");
		SendClientMessage(playerid, COLOR_GREY, "TYPES: Cigar | Weed | Crack");
		return 1;
	}
	if(IsPlayerCuffed(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	if(!strcmp(params, "cigar", true))
	{
	    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
		if(!PlayerInfo[playerid][pCigar]) return SendClientMessage(playerid, COLOR_GREY, "You don't have any cigars on you.");
		SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
		PlayerInfo[playerid][pCigar] --;
		format(string, sizeof(string), "* %s takes out a cuban cigar and lights it up.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	else if(!strcmp(params, "weed", true))
	{
	    //if(GetPlayerDrunkLevel(playerid) >= 5000) return SendClientMessage(playerid, COLOR_GREY, "You are too drunk/stoned to use drugs.");
    	if(PlayerInfo[playerid][pStoned] >= 5) return SendClientMessage(playerid, COLOR_GREY, "You are too stoned to use drugs.");
	    new Float:H;
	    if(!PlayerInfo[playerid][pWeed]) return SendClientMessage(playerid, COLOR_GREY, "You don't have any weed on you.");
	    if(DrugTimeout[playerid]) return SendClientMessage(playerid, COLOR_GREY, " You can't use drugs at the moment.");
	    GetPlayerHealth(playerid, H);
	    if(H >= 100) return SendClientMessage(playerid, COLOR_GREY, "You have full health already.");
	    // Animation
	    if(!IsPlayerInAnyVehicle(playerid)) ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop",8,0,0,0,0,0,1);
		else ApplyAnimation(playerid,"ped","Smoke_in_car",2.1,0,0,0,0,0,1);
		// Effects
	    SetPlayerHealth(playerid, H+10);
	    GetPlayerHealth(playerid, H);
	    if(H > 100) SetPlayerHealth(playerid, 100);
	    PlayerInfo[playerid][pWeed] --;
	    //SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid)+1700);
	    PlayerInfo[playerid][pStoned] ++;
		format(string, sizeof(string), "* %s takes out a joint and smokes it.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		DrugTimeout[playerid] = 5;
		SetTimerEx("DrugTimer", 5000, false, "i", playerid);
		/*if(GetPlayerDrunkLevel(playerid) >= 5000)
		{
			SetPlayerWeather(playerid, -66);
			SetTimerEx("Stoned", 8000, false, "i", playerid);
		}*/
		if(PlayerInfo[playerid][pStoned] >= 3)
		{
			SetPlayerWeather(playerid, -66);
			KillTimer(StonedTimer[playerid]);
			StonedTimer[playerid] = SetTimerEx("Stoned", 30000, false, "i", playerid);
		}
		if(!IsPlayerInAnyVehicle(playerid)) ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop",8,0,0,0,0,0,1);
		else ApplyAnimation(playerid,"ped","Smoke_in_car",2.1,0,0,0,0,0,1);
	}
	else if(!strcmp(params, "crack", true))
	{
	    //if(GetPlayerDrunkLevel(playerid) >= 5000) return SendClientMessage(playerid, COLOR_GREY, "You are too drunk/stoned to use drugs.");
    	if(PlayerInfo[playerid][pStoned] >= 5) return SendClientMessage(playerid, COLOR_GREY, "You are too stoned to use drugs.");
	    new Float:A;
	    if(!PlayerInfo[playerid][pCrack]) return SendClientMessage(playerid, COLOR_GREY, "You don't have any crack on you.");
	    if(DrugTimeout[playerid]) return SendClientMessage(playerid, COLOR_GREY, " You can't use drugs at the moment.");
	    GetPlayerArmour(playerid, A);
	    if(A >= 100) return SendClientMessage(playerid, COLOR_GREY, "You have full armor already.");
	    // Animation
	    if(!IsPlayerInAnyVehicle(playerid)) ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop",2.1,0,0,0,0,0);
		else ApplyAnimation(playerid,"ped","Smoke_in_car",2.1,0,0,0,0,0);
	    // Effects
	    SetPlayerArmour(playerid, A+10);
	    GetPlayerArmour(playerid, A);
	    if(A > 100) SetPlayerArmour(playerid, 100);
	    PlayerInfo[playerid][pCrack] --;
	    //SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid)+1700);
	    PlayerInfo[playerid][pStoned] ++;
		format(string, sizeof(string), "* %s takes out a pipe, fills it with crack and smokes it.", RPN(playerid));
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		DrugTimeout[playerid] = 5;
		SetTimerEx("DrugTimer", 5000, false, "i", playerid);
		/*if(GetPlayerDrunkLevel(playerid) >= 5000)
		{
			SetPlayerWeather(playerid, -68);
			SetTimerEx("Stoned", 8000, false, "i", playerid);
		}*/
		if(PlayerInfo[playerid][pStoned] >= 3)
		{
			SetPlayerWeather(playerid, -66);
			KillTimer(StonedTimer[playerid]);
			StonedTimer[playerid] = SetTimerEx("Stoned", 30000, false, "i", playerid);
		}
	}
	return 1;
}



CMD:sprunk(playerid, params[])
{
	new string[128];
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(!PlayerInfo[playerid][pSprunk]) return SendClientMessage(playerid, COLOR_GREY, "You don't have any sprunks on you.");
	SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
	PlayerInfo[playerid][pSprunk] --;
	format(string, sizeof(string), "* %s takes out a sprunk can and opens it up.", RPN(playerid));
	SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	return 1;
}

CMD:hurt(playerid, params[])
{
	new animid;
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	if(sscanf(params, "i", animid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hurt [1-2]");
	if(animid < 1 || animid > 2) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hurt [1-2]");
	switch(animid)
	{
		case 1: LoopingAnim(playerid,"SWAT","gnstwall_injurd",4.0,1,0,0,0,0);
		case 2: LoopingAnim(playerid,"SWEET","Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
	}
	return 1;
}

CMD:checktime(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid, "COP_AMBIENT", "Coplook_watch",4.0,0,0,0,0,0);
	return 1;
}

CMD:relax(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid, "CRACK", "crckidle1",4.0,0,1,1,1,-1);
	return 1;
}

CMD:dive(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"DODGE","Crush_Jump",4.0,0,1,1,1,0);
	return 1;
}

CMD:showoff(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid,"Freeweights","gym_free_celebrate",4.0,0,0,0,0,0);
	return 1;
}

CMD:crabs(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid,"MISC","Scratchballs_01",4.0,0,0,0,0,0);
	return 1;
}

CMD:salute(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid,"ON_LOOKERS","Pointup_loop",4.0,0,0,0,0,0);
	return 1;
}

CMD:stop(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid,"PED","endchat_01",4.0,0,0,0,0,0);
	return 1;
}

CMD:washhands(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid,"BD_FIRE","wash_up",4.0,0,0,0,0,0);
	return 1;
}

CMD:cry(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"GRAVEYARD","mrnF_loop",4.0,1,0,0,0,0);
	return 1;
}

CMD:what(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"RIOT","RIOT_ANGRY", 4.0, 0, 0, 0, 0, 0);
	return 1;
}

CMD:piss(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
	return 1;
}

CMD:followme(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.0,0,0,0,0,0);
	return 1;
}

CMD:greet(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"WUZI","Wuzi_Greet_Wuzi",4.0,0,0,0,0,0);
	return 1;
}

CMD:stand(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"WUZI","Wuzi_stand_loop", 4.0, 1, 0, 0, 0, 0);
	return 1;
}

CMD:hitch(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"MISC","Hiker_Pose", 4.0, 1, 0, 0, 0, 0);
	return 1;
}

CMD:bitchslap(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"MISC","bitchslap",4.0,0,0,0,0,0);
	return 1;
}

CMD:cpr(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	OnePlayAnim(playerid,"MEDIC","CPR",4.0,0,0,0,0,0);
	ApplyAnimation(playerid,"KISSING","gift_give",4.0,0,0,0,0,0);
	return 1;
}

CMD:gift(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"KISSING","gift_give",4.0,0,0,0,0,0);
	return 1;
}

CMD:slapass(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"SWEET","sweet_ass_slap",4.0,0,0,0,0,0);
	return 1;
}

CMD:drunk(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
	return 1;
}

CMD:bomb(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
	return 1;
}

/*CMD:rob(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 0);
	return 1;
}*/

CMD:laugh(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
	return 1;
}

CMD:lookout(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
	return 1;
}

CMD:robman(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
	return 1;
}

CMD:hide(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
	return 1;
}

CMD:vomit(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
	return 1;
}

CMD:eat(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
	return 1;
}

CMD:crack(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
	return 1;
}

CMD:fucku(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
	return 1;
}

CMD:taichi(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	LoopingAnim(playerid,"PARK","Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
	return 1;
}

CMD:kiss(playerid, params[])
{
	if(IsPlayerCuffed(playerid) ||  IsPlayerInAnyVehicle(playerid) || IsPlayerTied(playerid))
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
	ApplyAnimation(playerid,"KISSING","Playa_Kiss_01",4.0,0,0,0,0,0);
	return 1;
}

CMD:bt(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pTester]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bt [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(!PlayerInfo[playerid][pAdmin]) format(string, sizeof(string), "*Tester %s: {FFFFFF}%s", NORPN(playerid), params);
	else format(string, sizeof(string), "*%s %s: {FFFFFF}%s", RPALN(playerid), NORPN(playerid), params);
	SendTesterMessage(COLOR_GREEN, string);
	Log("logs/betachat.log", string);
	return 1;
}


CMD:ro(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!BankRobber[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not robbing the bank.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/ro)bbery [text] or (/ro2)");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "** [Bank Robbery] %s: %s", NORPN(playerid), params);
	SendRobberyMessage(COLOR_LIGHTGREEN, string);
	return 1;
}

CMD:robberyhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	SendClientMessage(playerid, COLOR_YELLOW, "BANK ROBBERY: {FFFFFF}/ro /setuprobbery /joinrobbery /acceptrobbery /startrobbery");
	return 1;
}

CMD:setuprobbery(playerid, params[])
{
	new string[128], cops;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(IsACop(playerid) || IsAGov(playerid) || IsAFBI(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Police and Government / FBI can't rob the bank.");
	if(!IsPlayerInRangeOfPoint(playerid, 5, 2242.1460,1632.3909,961.7531)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the bank vault.");
	if(BankRobbery) return SendClientMessage(playerid, COLOR_GREY, "A bank robbery is already being setup.");
	if(BankRobberyTime)
	{
		format(string, sizeof(string), "You need to wait %d more hours before robbing the bank again.", BankRobberyTime);
		SendClientMessage(playerid, COLOR_GREY, string);
	    return 1;
	}
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pFac] == 1 && PlayerInfo[i][pFacDuty]) cops ++;
 	    if(PlayerInfo[i][pFac] == 6 && PlayerInfo[i][pFacDuty]) cops ++;
 	    if(PlayerInfo[i][pFac] == 8 && PlayerInfo[i][pFacDuty]) cops ++;
	}
	if(cops < 3) return SendClientMessage(playerid, COLOR_GREY, "There aren't enough police officers on duty to start a robbery.");
	BankRobbery = 1;
	format(BankRobbers[0], MAX_PLAYER_NAME, "%s", RPN(playerid));
	BankRobber[playerid] = 1;
	BankRobbersCount = 1;
	SendClientMessage(playerid, COLOR_LIGHTGREEN, " Other players can join using /joinrobbery, chat with robbers using /ro.");
	TextDrawShowForPlayer(playerid, Area5);
	TextDrawSetString(Textdraw1, BankRobbers[0]);
	TextDrawShowForPlayer(playerid, Textdraw1);
	return 1;
}

CMD:joinrobbery(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(IsACop(playerid) || IsAGov(playerid)) return SendClientMessage(playerid, COLOR_GREY, "Police and Government can't rob the bank.");
	if(!BankRobbery) return SendClientMessage(playerid, COLOR_GREY, "There's no bank robbery being setup.");
	if(BankRobber[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are already robbing the bank.");
	if(RobberyRequest[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You have already requested to join the robbery.");
	if(RobberyStarted) return SendClientMessage(playerid, COLOR_GREY, "The bank robbery has already started.");
	if(!IsPlayerInRangeOfPoint(playerid, 5, 2242.1460,1632.3909,961.7531)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the bank vault.");
	SendClientMessage(playerid, COLOR_LIGHTGREEN, " You have requested to join the robbery, wait for the robbery orgainzer to take an action.");
	format(string, sizeof(string), "Bank Robbery: %s [ID %d] has requested to join the bank robbery. (/acceptrobbery)", RPN(playerid), playerid);
	SendRobberyMessage(COLOR_LIGHTGREEN, string);
	RobberyRequest[playerid] = 1;
	return 1;
}


CMD:acceptrobbery(playerid, params[])
{
	new string[128], playerb;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!BankRobbery) return SendClientMessage(playerid, COLOR_GREY, "There's no bank robbery being setup.");
	if(BankRobber[playerid] != 1) return SendClientMessage(playerid, COLOR_GREY, "You are not the bank robbery leader.");
	if(BankRobbersCount >= 5) return SendClientMessage(playerid, COLOR_GREY, "You can't have more than 5 players robbing the bank.");
	if(RobberyStarted) return SendClientMessage(playerid, COLOR_GREY, "The bank robbery has already started.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /acceptrobbery [playerid]");
	if(!RobberyRequest[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player hasn't requested to join the robbery.");
	RobberyRequest[playerb] = 0;
	BankRobbersCount ++;
	BankRobber[playerb] = BankRobbersCount;
	format(BankRobbers[BankRobbersCount-1], MAX_PLAYER_NAME, "%s", RPN(playerb));
	format(string, sizeof(string), "Bank Robbery: %s has accepted %s's request to join the bank robbery.", RPN(playerid), RPN(playerb));
	SendRobberyMessage(COLOR_LIGHTGREEN, string);
	// Textdraw
	if(BankRobbersCount == 2) {TextDrawSetString(Textdraw2, BankRobbers[1]);}
	else if(BankRobbersCount == 3) {TextDrawSetString(Textdraw3, BankRobbers[2]);}
	else if(BankRobbersCount == 4) {TextDrawSetString(Textdraw4, BankRobbers[3]);}
	else if(BankRobbersCount == 5) {TextDrawSetString(Textdraw5, BankRobbers[4]);}
	foreach(Player, i)
	{
	    if(BankRobber[i])
	    {
	        TextDrawShowForPlayer(i, Area5);
			TextDrawShowForPlayer(i, Textdraw1);
	    	if(BankRobbersCount >= 2) {TextDrawShowForPlayer(i, Textdraw2);}
			else if(BankRobbersCount >= 3) {TextDrawShowForPlayer(i, Textdraw3);}
			else if(BankRobbersCount >= 4) {TextDrawShowForPlayer(i, Textdraw4);}
			else if(BankRobbersCount >= 5) {TextDrawShowForPlayer(i, Textdraw5);}
	    }
	}
	return 1;
}

CMD:startrobbery(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!BankRobbery) return SendClientMessage(playerid, COLOR_GREY, "There's no bank robbery being setup.");
	if(BankRobber[playerid] != 1) return SendClientMessage(playerid, COLOR_GREY, "You are not the bank robbery leader.");
	if(RobberyStarted) return SendClientMessage(playerid, COLOR_GREY, "The bank robbery has already started.");
	if(BankRobbersCount < 2) return SendClientMessage(playerid, COLOR_GREY, "There aren't enough robbers to rob the bank.");
	if(!IsPlayerInRangeOfPoint(playerid, 3, 2242.1460,1632.3909,961.7531)) return SendClientMessage(playerid, COLOR_GREY, "You are not near the bank vault.");
	BankC4 = CreateDynamicObject(1654, 2242.0234,1632.7185,960.8000, 0, 89.325012207031, 3.9700012207031);
	RobberyStarted = 1;
	SetTimer("BankVaultTimer", 10000, false);
	SendRobberyMessage(COLOR_LIGHTRED, "** The bank vault is going to explode in 10 seconds, move away from it **");
	SendCopMessage(COLOR_BLUE, "LS Bank: There is a group of people attempting to rob the bank!");
	SendFBIMessage(COLOR_BLUE, "LS Bank: There is a group of people attempting to rob the bank!");
	SendHSFMessage(COLOR_BLUE, "LS Bank: There is a group of people attempting to rob the bank!");
	SendSWATMessage(COLOR_BLUE, "LS Bank: There is a group of people attempting to rob the bank!");
	SendSATFMessage(COLOR_BLUE, "LS Bank: There is a group of people attempting to rob the bank!");
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pFac] == 1)
	    {
	        TextDrawShowForPlayer(i, Area5);
			TextDrawShowForPlayer(i, Textdraw1);
	    	if(BankRobbersCount >= 2) {TextDrawShowForPlayer(i, Textdraw2);}
			else if(BankRobbersCount >= 3) {TextDrawShowForPlayer(i, Textdraw3);}
			else if(BankRobbersCount >= 4) {TextDrawShowForPlayer(i, Textdraw4);}
			else if(BankRobbersCount >= 5) {TextDrawShowForPlayer(i, Textdraw5);}
	    }
	    if(BankRobber[i])
	    {
		    ClearZaiatWantedLevels(i);
		    AddZaiatWantedLevel(i, "Bank Robbery");
		    AddZaiatWantedLevel(i, "Bank Robbery");
		    AddZaiatWantedLevel(i, "Bank Robbery");
		    AddZaiatWantedLevel(i, "Bank Robbery");
		    AddZaiatWantedLevel(i, "Bank Robbery");
		    AddZaiatWantedLevel(i, "Bank Robbery");
		    TotalRobbers ++;
	    }
	}
	BankRobberyTime = 3;
	ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
	ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
	foreach(Player, i)
	{
	    if(!BankRobber[i] && GetPlayerInterior(i) == 83 && GetPlayerVirtualWorld(i) == 8473)
	    {
	        SetPlayerPos(i, 1462.4095,-1011.1602,26.8438);
	        SetPlayerInterior(i, 0);
	        SetPlayerVirtualWorld(i, 0);
	        SendClientMessage(i, COLOR_LIGHTRED, "** The bank is being robbed, you have been thrown out by the robbers. **");
	    }
	}
	BankBlock = 1;
	return 1;
}



// Admin Commands

CMD:ah(playerid, params[])
{
	return cmd_ahelp(playerid, params);
}

/*CMD:ahelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
	if(PlayerInfo[playerid][pAdmin] >= 1)SendClientMessage(playerid, COLOR_YELLOW, "*[1] Admin: {FFFFFF}/a /aname /aduty /pm /kick /ban /goto /check /slap /spec /sobeit /ch /bugs /bowners /banreason /warns /flag /showflag(s)");
	if(PlayerInfo[playerid][pAdmin] >= 1)SendClientMessage(playerid, COLOR_YELLOW, "*[1] Admin: {FFFFFF}/tabbed /afk /nmute /ipcheck /kill /ideas /acolor /ar /dr /gotoveh /infotoall /bans /goldgrims /reportmute /listen");
	if(PlayerInfo[playerid][pAdmin] >= 1)SendClientMessage(playerid, COLOR_YELLOW, "*[1] Admin: {FFFFFF}/interiors /scheck /revive /refund /apm");
	if(PlayerInfo[playerid][pAdmin] >= 2)SendClientMessage(playerid, COLOR_LIME, "*[2] Admin: {FFFFFF}/gotoloc /gethere /sendtols /setskin /setvw /setint /tuteject /unfreeze /warn /mark /clearflag /forcetut /approve");
	if(PlayerInfo[playerid][pAdmin] >= 2)SendClientMessage(playerid, COLOR_LIME, "*[2] Admin: {FFFFFF}/time /jetpack /sethp /setarmor /weatherall /mute /listmasked");
	if(PlayerInfo[playerid][pAdmin] >= 3)SendClientMessage(playerid, COLOR_VIP, "*[3] Admin: {FFFFFF}/disarm /hoseject /tog /prison /prisoners /lastads /deny /freeze /banaccount /fine /pfine /clearchat /whitelist /eventhelp");
	if(PlayerInfo[playerid][pAdmin] >= 3)SendClientMessage(playerid, COLOR_VIP, "*[3] Admin: {FFFFFF}/givecookie /getveh /givenos /prisonaccount /sendtoid /speedhack /setfightstyle");
	if(PlayerInfo[playerid][pAdmin] >= 4)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*[4] Admin: {FFFFFF}/unban /unbanip /gotopos /givemoney /veh /setname /clearwarns /setarmorall /sethpall /familieshelp");
	if(PlayerInfo[playerid][pAdmin] >= 4)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*[4] Admin: {FFFFFF}/veh /switchfam /refuel /respawn /fackick /fixveh /vehname /ufa /fa /fixvehall");
	if(PlayerInfo[playerid][pAdmin] >= 4)SendClientMessage(playerid, COLOR_LIGHTGREEN, "*[4] Admin: {FFFFFF}/respawnradius /poll /giveallmoney");
	if(PlayerInfo[playerid][pAdmin] >= 5)SendClientMessage(playerid, COLOR_LIGHTBLUE, "*[5] Admin: {FFFFFF}/setmoney /givegun /dynamics /forcepaycheck /setstat /contracts /clearcontract /clearwanted");
	if(PlayerInfo[playerid][pAdmin] >= 5)SendClientMessage(playerid, COLOR_LIGHTBLUE, "*[5] Admin: {FFFFFF}/rangeban /setreferrals /firehell /unloyal /makevip /givecookieall");
	if(PlayerInfo[playerid][pAdmin] >= 6)SendClientMessage(playerid, COLOR_PURPLE, "*[6] Admin: {FFFFFF}/makeadmin /gmx /arrestpoint /deleteaccount /motd /setpass /music /forceduty");
	if(PlayerInfo[playerid][pAdmin] >= 6)SendClientMessage(playerid, COLOR_PURPLE, "*[6] Admin: {FFFFFF}/editdrugs /maketester /makehelper /makegangmod /makefacmod /makebanappealer /switchfac");
	if(PlayerInfo[playerid][pAdmin] >= 6)SendClientMessage(playerid, COLOR_PURPLE, "*[6] Admin: {FFFFFF}/givenameonoff /takenameonoff /removenameonoff /cnnn /setoocmode /maketempadmin /say");
    if(PlayerInfo[playerid][pAdmin] >= 7)SendClientMessage(playerid, COLOR_ORANGE, "*[7] Admin: {FFFFFF}/clearads /online /editpoint /makegateowner /deletebug /deleteidea /makeleader /removeban");
    if(PlayerInfo[playerid][pAdmin] >= 7)SendClientMessage(playerid, COLOR_ORANGE, "*[7] Admin: {FFFFFF}/customvehicle");
	if(PlayerInfo[playerid][pAdmin] >= 8)SendClientMessage(playerid, COLOR_GOLD, "*[8] Admin: {FFFFFF}/lockserver /saveserver /savebizhouses");
	if(PlayerInfo[playerid][pGangMod]) SendClientMessage(playerid, COLOR_YELLOW, "GANG MOD: {FFFFFF}/fcreate /fdelete /fedit /fstrike /fstrikes /switchfam");
	if(PlayerInfo[playerid][pFacMod]) SendClientMessage(playerid, COLOR_YELLOW, "FACTION MOD: {FFFFFF}/makeleader /fackick /switchfac");
	if(PlayerInfo[playerid][pBanAppealer]) SendClientMessage(playerid, COLOR_YELLOW, "BAN APPEALER: {FFFFFF}/unban /unbanip");
	return 1;
}*/

CMD:ahelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/a /aname /aduty /apm /kick /(un)ban(reason/ip) /(s)check /slap /spec /spec off (with spaces) /ar /dr /(n)mute /stopfire");
	if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/goto(loc) /gethere /revive /refund /ipcheck /ch /freeze /unfreeze /fa /ufa /healnear /startfire");
	if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/setvw /setint /makevip /disarm /gotoveh /getveh /sendtols /tuteject /forcetut /listen /lastseen");
	if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/setskin /banaccount /prison(account) /approve /deny /prisoners /contracts /clearcontract");
	if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/clearwanted /respawn(radius) /gotopos /sendtoid /veh /interiors /pfine /fine /listguns");
	if(PlayerInfo[playerid][pAdmin] >= 1) SendClientMessage(playerid, COLOR_YELLOW, "Level 1: {FFFFFF}/(show/clear)flag(s) /reportmute /(clear)warn(s) /refuel /givecookie /tog /tabbed /afk");
	if(PlayerInfo[playerid][pAdmin] >= 2) SendClientMessage(playerid, COLOR_LIME, "Level 2: {FFFFFF}/sobeit /infotoall /interiors /mark /time /jetpack /sethp /setarmor /listmasked");
	if(PlayerInfo[playerid][pAdmin] >= 2) SendClientMessage(playerid, COLOR_LIME, "Level 2: {FFFFFF}/hoseject /lastads /clearchat /whitelist /givenos /sendtoid /speedhack /setfightstyle");
	if(PlayerInfo[playerid][pAdmin] >= 2) SendClientMessage(playerid, COLOR_LIME, "Level 2: {FFFFFF}/veh /setname /vehname /rangeban /editdrugs /cnnn /clearads /online /editpoint /setstat");
	if(PlayerInfo[playerid][pAdmin] >= 3) SendClientMessage(playerid, COLOR_VIP, "Level 3: {FFFFFF}/weatherall /(set/give)(all)money /setarmorall /sethpall /fixveh(all) /poll /givegun");
	if(PlayerInfo[playerid][pAdmin] >= 3) SendClientMessage(playerid, COLOR_VIP, "Level 3: {FFFFFF}/forcepaycheck /givecookieall /arrestpoint /music /(take/remove/give)nameonoff /setreferrals");
	if(PlayerInfo[playerid][pAdmin] >= 3) SendClientMessage(playerid, COLOR_VIP, "Level 3: {FFFFFF}/setoocmode /say /customvehicle /goldrims /eventhelp /bowners /maketester /setaccent");
	if(PlayerInfo[playerid][pAdmin] >= 4) SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4: {FFFFFF}/bugs /kill /ideas /acolor /bans /(g)gmx /deleteaccount /motd /setpass /forceduty");
	if(PlayerInfo[playerid][pAdmin] >= 4) SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4: {FFFFFF}/make(helper/banappealer/gang/fac)(mod) /make(temp)admin /firehell /oremove(helper/admin)");
	if(PlayerInfo[playerid][pAdmin] >= 4) SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4: {FFFFFF}/unloyal /lockserver /saveserver /savebizhouses /delete(bug/idea) /removeban /makeleader");
	if(PlayerInfo[playerid][pAdmin] >= 4) SendClientMessage(playerid, COLOR_LIGHTBLUE, "Level 4: {FFFFFF}/makegateowner /dynamics /familieshelp /make(door/house/biz)mod /makegameaffairs");
	if(PlayerInfo[playerid][pGangMod]) SendClientMessage(playerid, COLOR_ORANGE, "GANG MOD: {FFFFFF}/fcreate /fdelete /fedit /fstrike /fstrikes /switchfam");
	if(PlayerInfo[playerid][pFacMod]) SendClientMessage(playerid, COLOR_ORANGE, "FACTION MOD: {FFFFFF}/makeleader /fackick /switchfac");
	if(PlayerInfo[playerid][pBanAppealer]) SendClientMessage(playerid, COLOR_ORANGE, "BAN APPEALER: {FFFFFF}/unban /unbanip");
	if(PlayerInfo[playerid][pDoorMod]) SendClientMessage(playerid, COLOR_ORANGE, "DOOR MOD: {FFFFFF}/createdoor /deletedoor /gotodoor /dedit /dused");
	if(PlayerInfo[playerid][pBizMod]) SendClientMessage(playerid, COLOR_ORANGE, "BIZ MOD: {FFFFFF}/createbiz /deletebiz /gotobiz /asellbiz /bedit /bused");
	if(PlayerInfo[playerid][pHouseMod]) SendClientMessage(playerid, COLOR_ORANGE, "HOUSE MOD: {FFFFFF}/createhouse /deletehouse /gotohouse /asellhouse /hedit /hused");
	if(PlayerInfo[playerid][pGameAffairs]) SendClientMessage(playerid, COLOR_ORANGE, "Game Affairs: {FFFFFF}/make(door/house/biz/gang/fac)mod");
	return 1;
}

CMD:lastseen(playerid, params[])
{
    new string[256], file[64], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "s[32]", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lastseen [playername]");
	if(IsPlayerConnected(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Player is connected to the server.");
	format(file, sizeof(file), "lastseen/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	//stringls = dini_Get(file, "lastseen");
	format(string, sizeof(string), "{FF0000}[LastLogin]{FF6347} [%s] - [%s]", dini_Get(file, "lastseen"), playerb);
    SendClientMessage(playerid, COLOR_ORANGE, string);
    return 1;
}

CMD:menu(playerid, params[])
{
	if(IsPlayerAdmin(playerid))
	{
	    new string[500];
	    format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
	    ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
	}
	return 1;
}

CMD:startfire(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    KillTimer(FireTimer);
	StartRandomFire();
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has started a random fire.", NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:stopfire(playerid, params[])
{
    new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    DestroyDynamicObject(FireObject);
    DestroyDynamicObject(FireObject1);
    DestroyDynamicObject(FireObject2);
	DestroyDynamicObject(SmokeObject);
	DestroyDynamicObject(SmokeObject1);
	DestroyDynamicObject(SmokeObject2);
	Delete3DTextLabel(FireText);
	FireHealth = 0;
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has stopped random fire.", NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:oremoveadmin(playerid, params[])
{
    new playerb[32], string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[32]s[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /oremoveadmin [playername] [confirm]");
	if(RPIDFN(playerb) != INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player is connected to the server, use /makeadmin instead.");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	if(PlayerInfo[playerid][pAdmin] < dini_Int(file, "Admin")) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}offline demoted {FF6347}%s to level {FF9900}0 {FF6347}admin.", playerb, NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	// Removing Admin
	dini_IntSet(file, "Admin", 0);
	dini_IntSet(file, "AdminAccount", 0);
	return 1;
}
CMD:oremovehelper(playerid, params[])
{
    new playerb[32], string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[32]s[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /removehelper [playername] [confirm]");
	if(RPIDFN(playerb) != INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player is connected to the server, use /makehelper instead.");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	if(PlayerInfo[playerid][pHelper] < dini_Int(file, "Helper")) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher helper level than you.");
	format(string, sizeof(string), "{FF0000}[Helper]{FF6347} %s has {FF9900}offline demoted {FF6347}%s to level {FF9900}0 {FF6347}helper.", playerb, NORPN(playerid));
	SendHelperMessage(COLOR_DARKRED, 1, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}offline demoted {FF6347}%s to level {FF9900}0 {FF6347}helper.", playerb, NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	// Removing Helper
	dini_IntSet(file, "Helper", 0);
	return 1;
}

CMD:makemoneybag(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params,"i", amount)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /makemoneybag [amount]");
	if(amount < 1) return SendClientMessage(playerid, COLOR_GREY, "cannot go below 1.");
	new Float:X,Float:Y,Float:Z;
	new location[MAX_ZONE_NAME];
	GetPlayerPos(playerid,X,Y,Z);
	CreateMoney(X, Y, Z, amount);
	if(!IsPlayerInAnyVehicle(playerid))
	{
		SetPlayerPos(playerid, X, Y-2, Z);
	}
	SendClientMessage(playerid, COLOR_GREY,"* Money bag created.");
	GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has created a money bag worth $%d in %s (%0.2f, %0.2f, %0.2f).", NORPN(playerid), amount, location, X, Y, Z);
	SendAdminMessage(COLOR_RED, 1, string);
	format(string, sizeof(string), "{FF6347}%s has hidden a money bag in %s worth $%d!", NORPN(playerid), location, amount);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	return 1;
}


CMD:deletemoneybag(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
 	DeleteClosestBag(playerid);
	return 1;
}

CMD:deletemoneybags(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	DeleteAllBags();
 	SendClientMessage(playerid, COLOR_GREY, "* Money bags destroyed.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has destroyed all money bags.", NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:lockserver(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(ServerLocked)
    {
        ServerLocked = false;
        SendRconCommand("password 0");
		SendRconCommand("hostname Real Life Roleplay [Hosted Tab][Refund]");
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} Owner %s unlocked the server.", NORPN(playerid));
		SendClientMessageToAll(COLOR_WHITE, string);
    }
    else
    {
        ServerLocked = true;
        SendRconCommand("password locked");
    	SendRconCommand("hostname Real Life Roleplay [Maintenance]");
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} Owner %s locked the server.", NORPN(playerid));
		SendClientMessageToAll(COLOR_WHITE, string);
    }
    return 1;
}

CMD:poll(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_GREY, "Usage: /poll [question]");
	if(strlen(params) > 128) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters limit is 128.");
	if(PollOn) return SendClientMessage(playerid, COLOR_GREY, "There is already an poll started.");
	format(string, sizeof(string), "{FF6347}**{FFFFFF} %s %s {FF6347}Started an Poll! **", RPALN(playerid), NORPN(playerid));
	SendClientMessageToAll(COLOR_WHITE, string);
	format(string, sizeof(string), "{FF6347}** Question:{FFFFFF} %s {FF6347}**", params);
	SendClientMessageToAll(COLOR_WHITE, string);
	format(string, sizeof(string), "{FF6347}** Press {FFFFFF}Y{FF6347} to vote {FFFFFF}Yes{FF6347}, Press {FFFFFF}N{FF6347} to vote {FFFFFF}No{FF6347}. **");
	SendClientMessageToAll(COLOR_WHITE, string);
	format(string, sizeof(string), "{FF6347}** Poll ending in {FFFFFF}30{FF6347} Seconds. **");
	SendClientMessageToAll(COLOR_WHITE, string);
	PollOn = 1;
	PollN = 0;
	foreach(Player, i)
	{
	        	PollVoted[i] = 0;
	}
	PollY = 0;
	SetTimer("pollend", 30000, false);
	return 1;
}

  new CarFireObj[MAX_PLAYERS]; // top 

 #define HOLDING(%0) \ 
     ((newkeys & (%0)) == (%0)) 
 #define RELEASED(%0) \ 
     (((newkeys & (%0)) != (%0)) && ((oldkeys & (%0)) == (%0))) 
	 
CMD:speedhack(playerid, params[])
{
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to be driving a car for this.");
	if(SpeedHack[playerid] == 0)
	{
		SpeedHack[playerid] = 1;
		if(IsValidObject(CarFireObj[playerid]) == 0)//add fire object when player use nitro 
        { 
            CarFireObj[playerid] = CreateObject(18694, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); 
            AttachObjectToVehicle(CarFireObj[playerid], GetPlayerVehicleID(playerid), 0.0, -2.3, 1.2, 180.0, 0.0, 0.0); 
        } 
		SendClientMessage(playerid, COLOR_YELLOW, "Speed hack On - Press Alt to use.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_YELLOW, "Speed hack off.");
		if(IsValidObject(CarFireObj[playerid]) == 1)DestroyObject(CarFireObj[playerid]);// delete fire object 
	    SpeedHack[playerid] = 0;
	    return 1;
	}
	return 1;
}

CMD:sendtoid(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 1) {
	    SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    return 1;
	}

	new string[128], sendtoid, giveplayerid;
	if(sscanf(params, "uu", giveplayerid, sendtoid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /sendtoid [playerid] [playerid]");

	if(IsPlayerConnected(sendtoid) && IsPlayerConnected(giveplayerid)) {
	    format(string, sizeof(string), "Administrator %s has teleported you to %s.", NORPN(playerid), NORPN(sendtoid));
	    SendClientMessage(giveplayerid, COLOR_RED, string);
	    format(string, sizeof(string), "You have teleported %s to %s.", NORPN(giveplayerid), NORPN(sendtoid));
	    SendClientMessage(playerid, COLOR_RED, string);
	    SendClientMessage(giveplayerid, COLOR_GREY, "   You have been teleported!");
	    new Float:pVars[3], pVarsEx[2];
	    GetPlayerPos(sendtoid, pVars[0], pVars[1], pVars[2]);
	    pVarsEx[0] = GetPlayerInterior(sendtoid);
	    pVarsEx[1] = GetPlayerVirtualWorld(sendtoid);
	    SetPlayerVirtualWorld(giveplayerid, pVarsEx[1]);
	    SetPlayerInterior(giveplayerid, pVarsEx[0]);
	    SetPlayerPos(giveplayerid, pVars[0], pVars[1], pVars[2]);
	}
	return 1;
}

CMD:revive(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!IsPlayerConnected(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /revive [playerid]");
 	IsDead[playerb] = 0;
 	TogglePlayerControllable(playerb, 1);
 	SetCameraBehindPlayer(playerb);
  	format(string, sizeof(string), "You have been revived by %s.", NORPN(playerid));
  	SendClientMessage(playerb, COLOR_GREY, string);
  	format(string, sizeof(string), "You revived %s.", NORPN(playerb));
  	SendClientMessage(playerid, COLOR_GREY, string);
	//PlayerInfo[playerb][pModel] = GetPlayerSkin(playerb);
	SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
	return 1;
}

CMD:awithdraw(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerNearAtm(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near an ATM.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /awithdraw [amount]");
	if(amount > PlayerInfo[playerid][pBank]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money in your bank account.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	PlayerInfo[playerid][pBank] -= amount;
	GiveZaiatMoney(playerid, amount);
	format(string, sizeof(string), " [ATM] You have withdrawn $%d from your bank account, your bank balance is now: $%d.", amount, PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:adeposit(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerNearAtm(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near an ATM.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /adeposit [amount]");
	if(amount > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
	if(amount <= 0)  return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	PlayerInfo[playerid][pBank] += amount;
	GiveZaiatMoney(playerid, -amount);
	format(string, sizeof(string), " [ATM] You have deposited $%d into your bank account, your bank balance is now: $%d.", amount, PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:abalance(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerNearAtm(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near an ATM.");
	format(string, sizeof(string), "[ATM] Your bank account balance is $%d.", PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_DARKRED, string);
	return 1;
}

CMD:balance(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsPlayerNearBankBooth(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not near a bank booth.");
	format(string, sizeof(string), "Your bank account balance is $%d.", PlayerInfo[playerid][pBank]);
	SendClientMessage(playerid, COLOR_DARKRED, string);
	return 1;
}

CMD:createatm(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	new stringa[MAX_STRING];
	new Float:Pos[4];
	GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
	GetPlayerFacingAngle(playerid,Pos[3]);
	format(stringa,sizeof(stringa),"Are you sure you want to create an ATM here?\nX: %.2f | Y: %.2f | Z: %.2f | A %.2f",Pos[0],Pos[1],Pos[2],Pos[3]);
	ShowPlayerDialog(playerid,51,DIALOG_STYLE_MSGBOX,"ATM Create",stringa,"Yes","No");
	return 1;
}

CMD:deleteatm(playerid, params[])
{
		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
		{
		new tmpid = IsPlayerAtATM(playerid);
		if(tmpid!=-1)
		{
			new stringa[MAX_STRING];
			format(stringa,sizeof(stringa),"Are you sure you want to destroy ATM ID: %d",tmpid);
			ShowPlayerDialog(playerid,52,DIALOG_STYLE_MSGBOX,"ATM destroy",stringa,"Yes","No");
			return 1;
		} else return SendClientMessage(playerid, COLOR_GREY,"You are not at ATM");
	}
}

CMD:say(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	{
	    new string[128];
		if(isnull(params)) return SendClientMessage(playerid, COLOR_LIGHTBLUE, "(USAGE): /say [message]");
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s", params);
		SendClientMessageToAll(COLOR_LIGHTRED,string);
	}
	return 1;
}

CMD:credits(playerid, params[])
return cmd_about(playerid, params);

CMD:about(playerid, params[])
{
	new info[800];
	for(new i = 0; i < sizeof(Abt); i++) format(info, 800, "%s%s", info, Abt[i]);
	ShowPlayerDialog(playerid, DIALOG_ABOUT, DIALOG_STYLE_MSGBOX, CWE"About / Credits", info, "Close", "");
	return 1;
}

// OOC MODE
CMD:setoocmode(playerid, params[])
{
    new
        id,
        idname[MAX_PLAYER_NAME],
        Float:pos[3];
    if (PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}You are not allowed to use this command!");
    if (sscanf(params, "d", id)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /setoocmode [playerid]");
    GetPlayerName(id, idname, sizeof(idname));
    if (!IsOOCMode[id])
    {
        GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
        OOCModeText[id] = Create3DTextLabel("(( OOC Mode I am not roleplaying right now ))", 0xFF00FF, pos[0], pos[1], pos[2], 50.0, 0);
        Attach3DTextLabelToPlayer(OOCModeText[id], id, 0, 0, 0.3);
        format(fstr, sizeof(fstr), "You have {18DB18}enabled {FFFFFF}%s's (%d) OOC Mode", idname, id);
        IsOOCMode[id] = true;
        TextDrawShowForPlayer(id, OOCModeTD);
    }
    else
    {
        Delete3DTextLabel(OOCModeText[id]);
        format(fstr, sizeof(fstr), "You have {FF0000}disabled{FFFFFF} %s's (%d) OOC Mode", idname, id);
        IsOOCMode[id] = false;
        TextDrawHideForPlayer(id, OOCModeTD);
    }
    SendClientMessage(playerid, 0xFFFFFFFF, fstr);
    return 1;
}
// OOC MODE

CMD:weatherall(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 3)
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
		return 1;
	}

	new weather;
	if(sscanf(params, "d", weather)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /weatherall [weatherid]");

	if(weather < 0||weather > 50) { SendClientMessage(playerid, COLOR_GREY, "   Weather ID can't be below 0 or above 50!"); return 1; }
	SetWeather(weather);
	SendClientMessage(playerid, COLOR_GREY, "Weather set to everyone!");
	return 1;
}

CMD:goldrims(playerid, params[])
{
    if(IsPlayerConnected(playerid)) {
        if(PlayerInfo[playerid][pAdmin] < 3 ) {
            SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
            return 1;
        }
        if(IsPlayerInAnyVehicle(playerid)) {
            AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
            SendClientMessage(playerid, COLOR_GREY, "Gold Rims added on your Vehicle!");
        }
    }
    return 1;
}

CMD:givenos(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 2)
	{
		new string[128], giveplayerid;
		if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /givenos [playerid]");

		if(giveplayerid == INVALID_PLAYER_ID) return 1;
		if(!IsPlayerConnected(giveplayerid)) return 1;
		if(IsPlayerInAnyVehicle(giveplayerid))
		{
			new VehicleID = GetPlayerVehicleID(giveplayerid), Model = GetVehicleModel(VehicleID);
			switch(Model)
			{
			case 448,461,462,463,468,471,509,510,521,522,523,581,586,449: return
				SendClientMessage(playerid,COLOR_GREY,"You can not tune this vehicle!");
			}
			AddVehicleComponent(VehicleID, 1010); PlayerPlaySound(giveplayerid,1133,0.0,0.0,0.0);//NOS
			format(string, sizeof(string), " Successfully added nos to %s's vehicle.", NORPN(giveplayerid));
			SendClientMessage(playerid,COLOR_RED,string);
		}
		else
		{
			SendClientMessage(playerid,COLOR_GREY,"Warning: Player must be in a vehicle.");
		}
	}
	else
	{
		SendClientMessage(playerid,COLOR_GREY,"You are not authorized to use that command!");
	}
	return 1;
}


CMD:cnnn(playerid, params[]) {
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] >= 2) {

		new
			iTextID,
			szMessage[128];

		if(sscanf(params, "is", iTextID, szMessage)) {
			SendClientMessage(playerid, COLOR_GREY, "USAGE: /cnnn [type 1-6] [message]. ~n~ = new line, ~r~ = red, ~g~ = green, ~b~ = blue, ~w~ = white, ~y~ = yellow.");
		}
		else if(!(0 <= iTextID <= 6 && iTextID != 2)) {
			SendClientMessage(playerid, COLOR_GREY, "Text ID must be between 0 and 6, but not 2 (due to SA:MP bugs).");
		}
		else foreach(Player, i) GameTextForPlayer(i, szMessage, 5000, iTextID);
	}
	else SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	return 1;
}

CMD:ar(playerid, params[])
{
	new string[128], playerb;
  	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
 	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ar [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	else
	{
	    if(PlayerNeedsHelp[playerb] == 1)
	    {
			format(string, sizeof(string), "{FF0000}[Report]{FF6347} %s has accepted the report from %s", NORPN(playerid), NORPN(playerb));
			Log("logs/acceptreports.log", string);
			SendAdminMessage(COLOR_LIGHTRED, 1, string);
		  	SendClientMessage(playerb, 0x00FF0059, "______ .: REPORT ACCEPTED :. ______");
			format(string, sizeof(string), "Admin Name %s", NORPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
			format(string, sizeof(string), "Your Name %s", NORPN(playerb));
			SendClientMessage(playerb, COLOR_WHITE, string);
			SendClientMessage(playerb, COLOR_WHITE, "Your report is accepted.");
			SendClientMessage(playerb, 0x00FF0059, "________________________________");
			PlayerNeedsHelp[playerb] = 0;
 		}
		else return SendClientMessage(playerid, COLOR_GREY,"Player don't need help!");
	}
	return 1;
}

CMD:dr(playerid, params[])
{
	new string[128], playerb, reason[128];
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "ds[128]", playerb, reason)) return SendClientMessage(playerid, COLOR_WHITE,"USAGE: /dr ID Reason");
	else
	{
	    if(PlayerNeedsHelp[playerb] == 1)
	    {
			format(string, sizeof(string), "{FF0000}[Report]{FF6347} %s has denied the report from %s reason: %s", NORPN(playerid), NORPN(playerb), reason);
			SendAdminMessage(COLOR_LIGHTRED, 1, string);
			Log("logs/deniedreports.log", string);
			SendClientMessage(playerb, COLOR_RED, "______ .: REPORT DENIED :. ______");
			format(string, sizeof(string), "Admin Name %s", NORPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
			format(string, sizeof(string), "Your Name %s", NORPN(playerb));
			SendClientMessage(playerb, COLOR_WHITE, string);
			format(string, sizeof(string), "Reason: %s", reason);
			SendClientMessage(playerb, COLOR_WHITE, string);
			SendClientMessage(playerb, COLOR_RED, "________________________________");
			PlayerNeedsHelp[playerb] = 0;
 		}
		else return SendClientMessage(playerid, COLOR_GREY,"Player don't need help!");
	}
	return 1;
}

CMD:acolor(playerid, params[])
{
    	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
        if(strcmp(params, "on", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "Admin Color is On");
			SetPlayerColor(playerid, TRANSPARENT_GREEN);
        }
        else if(strcmp(params, "off", false) == 0) {
			SendClientMessage(playerid, COLOR_GREY, "Admin Color is Off");
			SetPlayerColor(playerid, TRANSPARENT_WHITE);
		}
        else return SendClientMessage(playerid, TRANSPARENT_WHITE, "USAGE: /acolor (off, on).");
    	return 1;
}

static const VehicleName[212][] = {
	"Landstalker","Bravura","Buffalo","Linerunner","Perennial","Sentinel","Dumper","Firetruck","Trashmaster","Stretch",
	"Manana","Infernus","Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi",
	"Washington","Bobcat","Mr Whoopee","BF Injection","Hunter","Premier","Enforcer","Securicar","Banshee","Predator",
	"Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie","Stallion","Rumpo","RC Bandit", "Romero",
	"Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder","Reefer","Tropic","Flatbed",
	"Yankee","Caddy","Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Freeway","RC Baron","RC Raider",
	"Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler",
	"ZR-350","Walton","Regina","Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper",
	"Rancher","FBI Rancher","Virgo","Greenwood","Jetmax","Hotring Racer","Sandking","Blista Compact","Police Maverick",
	"Boxville","Benson","Mesa","RC Goblin","Hotring Racer A","Hotring Racer B","Bloodring Banger","Rancher","Super GT",
	"Elegant","Journey","Bike","Mountain Bike","Beagle","Cropduster","Stuntplane","Tanker","Road Train","Nebula","Majestic",
	"Buccaneer","Shamal","Hydra","FCR-900","NRG-500","HPV-1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck",
	"Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent",
	"Bullet","Clover","Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility",
	"Nevada","Yosemite","Windsor","Monster A","Monster B","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger",
	"Flash","Tahoma","Savanna","Bandito","Freight","Trailer","Kart","Mower","Duneride","Sweeper","Broadway",
	"Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","Newsvan","Tug","Trailer","Emperor","Wayfarer",
	"Euros","Hotdog","Club","Trailer","Trailer","Andromada","Dodo","RCCam","Launch","Police Car (LSPD)","Police Car (SFPD)",
	"Police Car (LVPD)","Police Ranger","Picador","S.W.A.T. Van","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer A",
	"Luggage Trailer B","Stair Trailer","Boxville","Farm Plow","Utility Trailer"
};

CMD:vehname(playerid, params[]) {

	if(PlayerInfo[playerid][pAdmin] >= 1) {

		SendClientMessage(playerid, COLOR_ORANGE, "--------------------------------------------------------------------------------------------------------------------------------");
		SendClientMessage(playerid, COLOR_WHITE, "Vehicle Search:");

		new
			string[128];

		if(isnull(params)) return SendClientMessage(playerid, COLOR_GREY, "No keyword specified.");
		if(!params[2]) return SendClientMessage(playerid, COLOR_GREY, "Search keyword too short.");

		for(new v; v < sizeof(VehicleName); v++) {
			if(strfind(VehicleName[v], params, true) != -1) {

				if(isnull(string)) format(string, sizeof(string), "%s (ID %d)", VehicleName[v], v+400);
				else format(string, sizeof(string), "%s | %s (ID %d)", string, VehicleName[v], v+400);
			}
		}

		if(!string[0]) SendClientMessage(playerid, COLOR_GREY, "No results found.");
		else if(string[127]) SendClientMessage(playerid, COLOR_GREY, "Too many results found.");
		else SendClientMessage(playerid, COLOR_WHITE, string);

		SendClientMessage(playerid, COLOR_ORANGE, "--------------------------------------------------------------------------------------------------------------------------------");
	}
	return 1;
}

CMD:jetpack(playerid, params[])
{
    new string[128], playerb;
    if(sscanf(params, "u", playerb)) {
        SendClientMessage(playerid, COLOR_GREY, "USAGE: /jetpack [playerid]");
        return 1;
    }
    if (IsPlayerConnected(playerb)) {
        if(playerb != INVALID_PLAYER_ID) {
            if (PlayerInfo[playerid][pAdmin] >= 1) {
                SendClientMessage(playerb, COLOR_GREY, "You got a nice Jetpack!");
                JetPack[playerb] = 1;
                SetPlayerSpecialAction(playerb, SPECIAL_ACTION_USEJETPACK);
                format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has received a jetpack from %s", NORPN(playerb), NORPN(playerid));
                SendClientMessageToAll(COLOR_DARKRED, string);
            }
            else {
                SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
            }
        }
    }
    else SendClientMessage(playerid, COLOR_GREY, "Invalid player specified.");
    return 1;
}

CMD:time(playerid, params[])
{
	if (PlayerInfo[playerid][pAdmin] >= 2)
	{
		new string[128], time;
		if(sscanf(params, "d", time)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /time [time] (0-23)");

		SetWorldTime(time);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} Time set to %d:00.", time);
		SendClientMessageToAll(COLOR_DARKRED, string);
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	}
	return 1;
}

CMD:fixveh(playerid, params[])
{
    if(IsPlayerConnected(playerid)) {
        if(PlayerInfo[playerid][pAdmin] < 3) {
            SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
            return 1;
        }
        if(IsPlayerInAnyVehicle(playerid)) {
            RepairVehicle(GetPlayerVehicleID(playerid));
            SendClientMessage(playerid, COLOR_GREY, "Your Vehicle is Fixed");
        }
    }
    return 1;
}

CMD:makegateowner(playerid, params[])
{
	new playerb, slot, idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "uii", playerb, slot, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makegateowner [playerid] [slot(1-3)] [gateid] {AFAFAF}(Gate ID 0 to remove ownership)");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(idx > 0 && !GateInfo[idx][gModel] || idx < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
	if(slot < 1 || slot > 3) return SendClientMessage(playerid, COLOR_GREY, "Gate slots are between 1 and 3.");
	switch(slot)
	{
	    case 1: PlayerInfo[playerb][pGate][0] = idx;
	    case 2: PlayerInfo[playerb][pGate][1] = idx;
	    case 3: PlayerInfo[playerb][pGate][2] = idx;
	}
	if(idx == 0)
	{
		format(string, sizeof(string), " Administrator %s removed your gate ownership in slot %d.", NORPN(playerid), slot);
		SendClientMessage(playerb, COLOR_WHITE, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's gate ownership in slot %d.", NORPN(playerid), NORPN(playerb), slot);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/gates.log", string);
	}
	else
	{
		format(string, sizeof(string), " Administrator %s has made you an owner of gate ID %d.", NORPN(playerid), idx, slot);
		SendClientMessage(playerb, COLOR_WHITE, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has made %s an owner of gate ID %d. (Slot %d)", NORPN(playerid), NORPN(playerb), idx, slot);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/gates.log", string);
	}
	return 1;
}

CMD:ipcheck(playerid, params[]) 
{
    new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ipcheck [playerid]");
	//if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	format(string, sizeof(string), "{FF9900}Name: {FFFFFF}%s {FF9900}| IP: {FFFFFF}%s", NORPN(playerb), RPIP(playerb));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	return 1;
}

/*CMD:oipcheck(playerid, params[])
{
	new name, file[32], string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s", name)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /oipcheck [name]");
	format(file, sizeof(file), "users/%s.ini", name);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	format(string, sizeof(string), "{FF0000}[OFFLINE]{FF6347} You've runned an offline IP check on: %s", name);
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	format(string, sizeof(string), "{FF0000}[OFFLINE]{FF6347} Results: Account Name: %s - IP Adress: %s", name, RPIP(name));
	SendClientMessage(playerid, COLOR_LIGHTRED, string);
	return 1;
}*/

CMD:unloyal(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unloyal [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(PlayerInfo[playerb][pLoyal]) return SendClientMessage(playerid, COLOR_GREY, "Player does not have loyalty status.");
	PlayerInfo[playerb][pLoyal] = 1;
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's loyalty status.", NORPN(playerid), NORPN(playerb));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	SendClientMessage(playerb, COLOR_DARKRED, string);
	Log("logs/loyal.log", string);
	return 1;
}

CMD:getveh(playerid, params[])
{
	new veh, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "i", veh)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /getveh [vehicleid]");
    if(veh == INVALID_VEHICLE_ID) return SendClientMessage(playerid, COLOR_GREY, "Invalid vehicle id.");
    new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
   	SetVehiclePos(veh, pos[0], pos[1], pos[2]);
   	LinkVehicleToInterior(veh, GetPlayerInterior(playerid));
   	format(string, sizeof(string), " You have teleported vehicle ID %d to you.", veh);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}


CMD:firehell(playerid, params[])
{
	new amount, string[128], Float:Pos[4];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, 0xFFFFFFFF, "USAGE: /firehell [explosions]");
	if(amount < 1) return SendClientMessage(playerid, 0xFFFFFFFF, "Amount of explosions can't be below 1.");
	if(amount > 30) return SendClientMessage(playerid, 0xFFFFFFFF, "Amount of explosions can't be above 30.");
	GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
	if(IsPlayerInAnyVehicle(playerid)) GetVehicleZAngle(GetPlayerVehicleID(playerid), Pos[3]);
	else GetPlayerFacingAngle(playerid, Pos[3]);
	for(new i=1; i<amount+1; i++)
	{
		Pos[0] = Pos[0] + 15*floatcos(90+Pos[3], degrees);
		Pos[1] = Pos[1]+ 15*floatsin(90-Pos[3], degrees);
		CreateExplosion(Pos[0], Pos[1], Pos[2], 0, 5.0);
	}
	format(string, sizeof(string), "You have created %d explosions.", amount);
	SendClientMessage(playerid, 0xFFFFFFFF, string);
	return 1;
}

CMD:respawn(playerid, params[])
{
	new string[128], veh;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
    if(!strcmp(params, "all", true))
    {
        for(new i=0; i<MAX_VEHICLES; i++)
        {
            if(i != NPCBus)
            {
	            new vehs;
				foreach(Player, x)
				{
				    if(GetPlayerVehicleID(x) == i)
				    {
				        vehs = 1;
				    }
				}
				if(!vehs)
				{
					SetVehicleToRespawn(i);
				}
				vehs = 0;
			}
        }
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has respawned all unused vehicles.", NORPN(playerid));
		SendClientMessageToAll(COLOR_LIGHTRED, string);
        return 1;
    }
    if(sscanf(params, "i", veh)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /respawn [vehicleid/all]");
    SetVehicleToRespawn(veh);
    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has respawned vehicle ID %d.", NORPN(playerid), veh);
    SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:respawnradius(playerid, params[])
{
	if (PlayerInfo[playerid][pAdmin] >= 1)
	{
		new string[128], radius;
		if(sscanf(params, "d", radius)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /respawnradius [radius]");

		if(radius < 1 || radius > 1000)
		{
			SendClientMessage(playerid, COLOR_GREY, "Radius must be higher than 0 and lower than 1000!");
			return 1;
		}
		RespawnNearbyVehicles(playerid, radius);
		format(string, sizeof(string), "You have respawned all vehicles within a radius of %d.", radius);
		SendClientMessage(playerid, COLOR_GREY, string);
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	}
	return 1;
}

CMD:fixvehall(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
 	for(new v = 0; v < MAX_VEHICLES; v++) {
  		RepairVehicle(v);
  	}
	new string[128];
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s All the vehicles are fixed.", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	return 1;
}

CMD:refuel(playerid, params[])
{
	new string[128], veh;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
    if(!strcmp(params, "all", true))
    {
        for(new i=0; i<MAX_VEHICLES; i++)
        {
            Fuel[i] = 100;
        }
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has refilled all vehicles gas tanks.", NORPN(playerid));
		SendClientMessageToAll(COLOR_LIGHTRED, string);
        return 1;
    }
    if(sscanf(params, "i", veh)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /refuel [vehicleid/all]");
    Fuel[veh] = 100;
    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has refilled vehicle ID %d's gas tank.", NORPN(playerid), veh);
    SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:maketester(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /maketester [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pTester])
	{
		PlayerInfo[playerb][pTester] = 0;
		format(string, sizeof(string), " %s has removed you from the Beta Testers team.", NORPN(playerid));
		SendClientMessage(playerb, COLOR_GREEN, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has removed %s from the Beta Testers team.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pTester] = 1;
	    format(string, sizeof(string), " %s has made you a Beta Tester.", NORPN(playerid));
		SendClientMessage(playerb, COLOR_GREEN, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has made %s a Beta Tester.", NORPN(playerid), NORPN(playerb));
	}
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/maketester.log", string);
	return 1;
}

CMD:setreferrals(playerid, params[])
{
	new playerb, amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setreferrals [playerid] [referrals]");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's referral points to %d. (Old Points: %d)", NORPN(playerid), NORPN(playerb), amount, PlayerInfo[playerb][pRefPoints]);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/referral.log", string);
	PlayerInfo[playerb][pRefPoints] = amount;
	format(string, sizeof(string), " Administrator %s has set your referral points to %d.", NORPN(playerid), amount);
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:makevip(playerid, params[])
{
	new playerb, viplevel, viptime, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "uii", playerb, viplevel, viptime)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makevip [playerid] [level] [days]");
	if(viplevel < 0 || viplevel > 4) return SendClientMessage(playerid, COLOR_GREY, "VIP packages are between 1 and 4.");
	if(viptime < 1 || viptime > 30) return SendClientMessage(playerid, COLOR_GREY, "VIP days are between 1 and 30.");
	if(viplevel == 0)
	{
	    PlayerInfo[playerb][pVIP] = 0;
		PlayerInfo[playerb][pVIPDay] = 0;
		PlayerInfo[playerb][pVIPMonth] = 0;
		PlayerInfo[playerb][pVIPHour] = 0;
		PlayerInfo[playerb][pVIPTemp] = 0;
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's VIP package.", NORPN(playerid), NORPN(playerb));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/makevip.log", string);
		format(string, sizeof(string), " Adminisistrator %s has removed your VIP package.", NORPN(playerid));
		SendClientMessage(playerb, COLOR_VIP, string);
		return 1;
	}
	// Calculating
	new Year, Month, Day;
	new Hour, Minute, Second;
	gettime(Hour, Minute, Second);
	getdate(Year, Month, Day);
	if(Day+viptime >= 30)
	{
	    new ActualDay;
		Month ++;
		ActualDay = viptime - (30-Day);
		PlayerInfo[playerb][pVIPDay] = ActualDay;
		PlayerInfo[playerb][pVIPMonth] = Month;
		PlayerInfo[playerb][pVIPHour] = Hour;
	}
	else
	{
	    PlayerInfo[playerb][pVIPDay] = Day+viptime;
		PlayerInfo[playerb][pVIPMonth] = Month;
		PlayerInfo[playerb][pVIPHour] = Hour;
	}
	// Done
	PlayerInfo[playerb][pVIP] = viplevel;
	PlayerInfo[playerb][pVIPTemp] = 0;
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given %s %s VIP package for %d days.", NORPN(playerid), NORPN(playerb), RPVIPN(playerb), viptime);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/makevip.log", string);
	format(string, sizeof(string), " Adminisistrator %s has given you %s VIP package for %d days.", NORPN(playerid), RPVIPN(playerb), viptime);
	SendClientMessage(playerb, COLOR_VIP, string);
	return 1;
}

CMD:editdrugs(playerid, params[])
{
	new string[128], option[8], amount;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[8]i", option, amount))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /editdrugs [type] [amount]");
		format(string, sizeof(string), "Weed: %d - Crack: %d", Weed, Crack);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	if(amount < 0 || amount > 2000) return SendClientMessage(playerid, COLOR_GREY, "Drugs amount is between 0 and 2000.");
	if(!strcmp(option, "weed", true, 4))
	{
	    Weed = amount;
		format(string, sizeof(string), "Weed Pickup\n{FFFF00}/buyweed to get weed\nAvailable Stock: %d/2000", Weed);
		UpdateDynamic3DTextLabelText(WeedText, COLOR_RED, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set the Drugs House's stock to %d grams.", NORPN(playerid), amount);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/editdrugs.log", string);
	}
	else if(!strcmp(option, "crack", true, 5))
	{
	    Crack = amount;
		format(string, sizeof(string), "Crack Pickup\n{FFFF00}/buycrack to get crack\nAvailable Stock: %d/2000", Crack);
		UpdateDynamic3DTextLabelText(CrackText, COLOR_RED, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set the Crack Lab's stock to %d grams.", NORPN(playerid), amount);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/editdrugs.log", string);
	}
	return 1;
}

CMD:eventhelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
    SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
    SendClientMessage(playerid, COLOR_YELLOW, "EVENT: {FFFFFF}/seteventinfo /announceevent /lockevent /startevent /endevent");

	return 1;
}

CMD:seteventinfo(playerid, params[])
{
	new string[128], option[32], amount;
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", option))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: position | weapon | health | armor");
		return 1;
	}
	if(!strcmp(option, "position", true))
	{
	    GetPlayerPos(playerid, ePos[0], ePos[1], ePos[2]);
		eInt = GetPlayerInterior(playerid);
		eVW = GetPlayerVirtualWorld(playerid);
		SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have set the event's position.");
		return 1;
	}
	else if(!strcmp(option, "weapon", true, 6))
	{
	    new wep;
	    if(sscanf(params, "s[8]ii", option, wep, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo weapon [slot] [weaponid]");
		if(wep < 1 || wep > 3) return SendClientMessage(playerid, COLOR_GREY, "Weapon slots are between 1 and 3.");
		if(amount < 0 || amount > 46 || amount == 19 || amount == 20 || amount == 21) return SendClientMessage(playerid, COLOR_GREY, "Invalid weapon id.");
	    switch(wep)
	    {
	        case 1: EventWep[0] = amount;
	        case 2: EventWep[1] = amount;
	        case 3: EventWep[2] = amount;
	    }
	    format(string, sizeof(string), " You have set weapon slot %d's id to %d.", wep, amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	}
	else if(!strcmp(option, "health", true, 6))
	{
	    if(sscanf(params, "s[8]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo health [amount]");
	    EventHealth = amount;
	    format(string, sizeof(string), " You have set the event's health to %d.", amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

	}
	else if(!strcmp(option, "armor", true, 5))
	{
	    if(sscanf(params, "s[8]i", option, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /seteventinfo armor [amount]");
	    EventArmor = amount;
	    format(string, sizeof(string), " You have set the event's armor to %d.", amount);
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);

	}
	return 1;
}

CMD:startevent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(!EventOn) return SendClientMessage(playerid, COLOR_GREY, "There's no current event happening.");
	if(!EventLocked) return SendClientMessage(playerid, COLOR_GREY, "The event must be locked before it starts.");
	if(EventOn == 2) return SendClientMessage(playerid, COLOR_GREY, "The event has already started.");
    SendClientMessageToAll(COLOR_LIGHTRED, "*** The event has started ***");
    EventOn = 2;
	foreach(Player, i)
	{
	    if(Event[i])
	    {
	        GiveZaiatWeapon(i, EventWep[0], 999999);
	        GiveZaiatWeapon(i, EventWep[1], 999999);
	        GiveZaiatWeapon(i, EventWep[2], 999999);
	        SetPlayerHealth(i, EventHealth);
	        SetPlayerArmour(i, EventArmor);
	    }
	}
	return 1;
}

CMD:lockevent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(!EventOn) return SendClientMessage(playerid, COLOR_GREY, "There's no current event happening.");
	if(EventOn == 2) return SendClientMessage(playerid, COLOR_GREY, "The event has already started.");
	if(!EventLocked)
	{
	    SendClientMessageToAll(COLOR_LIGHTRED, "*** The event has been locked ***");
	    EventLocked = 1;
    }
    else
    {
	    SendClientMessageToAll(COLOR_LIGHTRED, "*** The event has been unlocked ***");
	    EventLocked = 0;
    }
	return 1;
}

CMD:announceevent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(ePos[0] == 0 && ePos[1] == 0 && ePos[2] == 0) return SendClientMessage(playerid, COLOR_GREY, "You have to at least set the event's position before opening it.");
	if(EventOn) return SendClientMessage(playerid, COLOR_GREY, "The event has been announced already.");
	if(EventOn == 2) return SendClientMessage(playerid, COLOR_GREY, "The event has already started.");
	EventOn = 1;
	SendClientMessageToAll(COLOR_LIGHTRED, "*** An event has started, /joinevent to join ***");
    cmd_joinevent(playerid, params);
	return 1;
}

CMD:endevent(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(!EventOn) return SendClientMessage(playerid, COLOR_GREY, "There's no current event happening.");
    SendClientMessageToAll(COLOR_LIGHTRED, "*** The event has ended ***");
	foreach(Player, i)
	{
	    if(Event[i])
	    {
	        GunsBeingRemoved[i] = 1;
		    ResetPlayerWeapons(i);
		    GunsBeingRemoved[playerid] = 1;
		    SetPlayerPos(i, PlayerInfo[i][pX], PlayerInfo[i][pY], PlayerInfo[i][pZ]);
			SetPlayerInterior(i, PlayerInfo[i][pInt]);
			SetPlayerVirtualWorld(i, PlayerInfo[i][pVW]);
			SetPlayerHealth(i, PlayerInfo[i][pHealth]);
			SetPlayerArmour(i, PlayerInfo[i][pArmor]);
			for(new w = 0; w < 13; w++)
			{
			    GiveZaiatWeapon(i, PlayerInfo[i][pWeapon][w], PlayerInfo[i][pWeaponAmmo][w]);
			}
			Event[i] = 0;
		}
		EventOn = 0; EventLocked = 0;
		ePos[0] = 0; ePos[1] = 0; ePos[2] = 0; EventWep[0] = 0; EventWep[1] = 0; EventWep[2] = 0;
		eInt = 0; eVW = 0; EventHealth = 0; EventArmor = 0;
	}

	return 1;
}

CMD:listen(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /listen [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: Whisper | SMS | PM");
		return 1;
	}
	if(!strcmp(params, "whisper", true))
	{
	    if(!Whispers[playerid])
	    {
	        Whispers[playerid] = 1;
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have started listening to whispers.");
	    }
	    else
	    {
	        Whispers[playerid] = 0;
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have stopped listening to whispers.");
	    }
	}
	else if(!strcmp(params, "sms", true))
	{
		if(!SMSes[playerid])
	    {
	        SMSes[playerid] = 1;
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have started listening to SMSes.");
	    }
	    else
	    {
	        SMSes[playerid] = 0;
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have stopped listening to SMSes.");
	    }
	}
	else if(!strcmp(params, "pm", true))
	{
	    if(!PMs[playerid])
	    {
	        PMs[playerid] = 1;
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have started listening to PMs.");
	    }
	    else
	    {
	        PMs[playerid] = 0;
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have stopped listening to PMs.");
	    }
	}
	else SendClientMessage(playerid, COLOR_GREY, "Invalid listening option.");
	return 1;
}

CMD:editpoint(playerid, params[])
{
	new string[128], point, time;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ii", point, time)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /editpoint [point] [time]");
	if(point < 1 || point > 5) return SendClientMessage(playerid, COLOR_GREY, "Points are between 1 and 5.");
	if(time < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid time.");
	point = point-1;
    PointInfo[point][pTime] = time;
    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set the %s point to be capturable in %d hours.", NORPN(playerid), PointInfo[point][pName], PointInfo[point][pTime]);
    SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:online(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Real Online Players]:");
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
		    format(string, sizeof(string), "%d) {FFFFFF}%s ", i, RPN(i));
		    SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:tabbed(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//	if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Alt-Tabbed Players]:");
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && Tabbed[i])
	    {
		    format(string, sizeof(string), "%d) {FFFFFF}%s (%d Seconds)", i, NORPN(i), AltTabbed[i]);
		    SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:afk(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//	if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[AFK Players]:");
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && IsAFK[i])
	    {
		    format(string, sizeof(string), "%d) {FFFFFF}%s (%d Seconds)", i, NORPN(i), AFK[i]);
		    SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:music(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /music [url]");
	if(!strcmp(params, "stop", true, 4))
	{
	    StopAudioStreamForPlayer(playerid);
	    SendClientMessage(playerid, COLOR_LIGHTRED, " You have stopped listening to music.");
	    return 1;
	}
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has started playing a song globally. ('/music stop' to stop listening)", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	foreach(Player, i)
	{
		PlayAudioStreamForPlayer(i, params);
	}
	return 1;
}

CMD:switchfam(playerid, params[])
{
	new string[128], input;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//	if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /switchfam [slot]");
	if(input < 1 || input > 15) return SendClientMessage(playerid, COLOR_GREY, "Families are between 1 and 15");
	PlayerInfo[playerid][pFam] = input;
	PlayerInfo[playerid][pFamRank] = 6;
	format(string, sizeof(string), " You have switched to the %s family.", FamInfo[input][fName]);
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:switchfac(playerid, params[])
{
	new string[128], input, inputrank;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pFacMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//	if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ii", input, inputrank))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /switchfac [faction] [rank]");
		SendClientMessage(playerid, COLOR_GREY, "FACTIONS: 0) Civilian | 1) LSPD | 2) Government | 3) Hitman Agency | 4) News Agency | 5) Leone | 6) FBI");
		SendClientMessage(playerid, COLOR_GREY, "FACTIONS: 7) LSEMS | 8) HSF | 9) Corleone | 10) Ancelotti | 11) SWAT | 12) SATF | 13) ESF");
		return 1;
	}
	if(input < 0 || input > 13) return SendClientMessage(playerid, COLOR_GREY, "Factions are between 0 and 13");
	if(input < 0 || input > 10) return SendClientMessage(playerid, COLOR_GREY, "Ranks are between 0 and 10");
	PlayerInfo[playerid][pFac] = input;
	PlayerInfo[playerid][pFacRank] = inputrank;
	format(string, sizeof(string), " You have switched to the %s faction.", RPFN(playerid));
	SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:ch(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
   //	if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ch [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(HHcheckUsed != 0)
    {
        SendClientMessage(playerid, COLOR_WHITE, "The health hack check is being used by another admin, please try again in a moment!");
        return 1;
    }
	HHcheckUsed = 1;
   	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has initiated a health hack check on %s.", NORPN(playerid), NORPN(playerb));
   	SendAdminMessage(COLOR_DARKRED, 1, string);
	GetPlayerHealth(playerb, HHcheckFloats[playerb][0]);
	GetPlayerArmour(playerb, HHcheckFloats[playerb][1]);
	GetPlayerPos(playerb, HHcheckFloats[playerb][2], HHcheckFloats[playerb][3], HHcheckFloats[playerb][4]);
	GetPlayerFacingAngle(playerb, HHcheckFloats[playerb][5]);
	HHcheckVW[playerb] = GetPlayerVirtualWorld(playerb);
	HHcheckInt[playerb] = GetPlayerInterior(playerb);
	TogglePlayerControllable(playerb, 1);
   	SetPlayerCameraPos(playerb, 2057.1284,-1913.4607,661.1432);
	SetPlayerCameraLookAt(playerb, 1909.5645,-1876.0581,661.1432);
    SetPlayerVirtualWorld(playerb, 0);
	SetPlayerInterior(playerb, 1);
    SetPlayerHealth(playerb, 100);
    SetPlayerArmour(playerb, 0);
	SetPlayerPos(playerb, -1400.994873, 106.899650, 1032.273437);
	SetPlayerFacingAngle(playerb, 90.66);
	CreateExplosion(-1400.994873, 106.899650 , 1032.273437, 8, 20);
	SetTimerEx("HealthHackCheck", 1250, 0, "dd", playerid, playerb);
	return 1;
}

CMD:aname(playerid, params[])
{
	new string[128], file[32], text[MAX_PLAYER_NAME];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "s[24]", text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /aname [name]");
	if(aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You must be off duty to change your admin name.");
	// Start of detecting space in name
	new end, temp[32], temp2[32];
	end = strfind(text, " ",true);
	if(end != -1)
	{
	    strmid(temp, text, 0, end);
	    format(temp, sizeof(temp), "%s_", temp);
	    strdel(text, 0, end);
		strmid(temp2, text, 1, strlen(text));
	    format(text, 24, "");
	    strcat(text, temp, sizeof(temp));
	    strcat(text, temp2, sizeof(temp2));
	}
	// End of detecting space in name
	format(file, sizeof(file), "users/%s.ini", text);
	if(dini_Exists(file))
	{
	    format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	    if(strlen(dini_Get(file, "AdminName")) && strcmp(dini_Get(file, "AdminName"), text))
	    {
	     	SendClientMessage(playerid, COLOR_GREY, "Name is already in use.");
	        return 1;
	    }
	}
	format(string, sizeof(string), " You have changed your admin name to: {FF6347}%s", text);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "%s has changed their admin name to %s.", RPN(playerid), text);
	Log("logs/aname.log", string);
	format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file)) dini_Remove(file);
	format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
	dini_Set(file, "AdminName", text);
	format(file, sizeof(file), "users/%s.ini",dini_Get(file, "AdminName"));
	dini_Create(file);
	dini_Set(file, "OldName", RPNU(playerid));
	dini_IntSet(file, "Admin", PlayerInfo[playerid][pAdmin]);
	dini_IntSet(file, "AdminAccount", 1);
	dini_IntSet(file, "Age", 25);
	dini_IntSet(file, "Gender", 1);
	dini_IntSet(file, "Tutorial", 1);
	dini_Set(file, "IP", PlayerInfo[playerid][pIP]);
	return 1;
}

CMD:forceduty(playerid, params[])
{
	new string[128], file[32], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /forceduty [adminid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an admin.");
	cmd_aduty(playerb, params);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has forced %s to change their admin duty status.", NORPN(playerid), NORPN(playerb), dini_Get(file, "AdminName"));
    SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}



CMD:aduty(playerid, params[])
{
	new string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!aDuty[playerid])
	{
		format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
		format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
    	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Choose an admin name using /aname first.");
    	format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
        //format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has went on admin duty. (Admin name: %s)", RPN(playerid), dini_Get(file, "AdminName"));
 	    //SendClientMessageToAll(COLOR_DARKRED, 1, string);
		//SendAdminMessage(COLOR_DARKRED, 1, string);
    	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has went on admin duty. (Admin name: %s)", NORPN(playerid), dini_Get(file, "AdminName"));
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		SaveChar(playerid);
		ClearChar(playerid);
		format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
		SetPlayerName(playerid, dini_Get(file, "AdminName"));
		LoadChar(playerid);
		aDuty[playerid] = 1;
		SpawnChar(playerid);
	    GetPlayerIp(playerid, PlayerInfo[playerid][pIP], 16);
	    format(string, sizeof(string), "%s", RPALN(playerid));
     	SetPlayerArmour(playerid, 100000);
      	SetPlayerHealth(playerid, 100000);
      	SetPlayerColor(playerid, TRANSPARENT_GREEN);
	    /*Delete3DTextLabel(aDutyText[playerid]);
	    if(PlayerInfo[playerid][pAdmin] == 1) aDutyText[playerid] = Create3DTextLabel(string, COLOR_LIGHTGREEN, 0, 0, -20, 25, -1, 1);
	    if(PlayerInfo[playerid][pAdmin] == 2) aDutyText[playerid] = Create3DTextLabel(string, COLOR_LIME, 0, 0, -20, 25, -1, 1);
	    if(PlayerInfo[playerid][pAdmin] == 3) aDutyText[playerid] = Create3DTextLabel(string, COLOR_YELLOW, 0, 0, -20, 25, -1, 1);
	    if(PlayerInfo[playerid][pAdmin] == 4) aDutyText[playerid] = Create3DTextLabel(string, COLOR_ORANGE, 0, 0, -20, 25, -1, 1);
	    if(PlayerInfo[playerid][pAdmin] == 5) aDutyText[playerid] = Create3DTextLabel(string, COLOR_RED, 0, 0, -20, 25, -1, 1);
	    if(PlayerInfo[playerid][pAdmin] == 6) aDutyText[playerid] = Create3DTextLabel(string, COLOR_DARKRED, 0, 0, -20, 25, -1, 1);
		Attach3DTextLabelToPlayer(aDutyText[playerid], playerid, 0, 0, 0.25);*/
		if(IsValidDynamic3DTextLabel(aDutyText[playerid]))  DestroyDynamic3DTextLabel(aDutyText[playerid]);
		if(PlayerInfo[playerid][pAdmin] == 1) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_LIGHTGREEN, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 2) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_LIME, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 3) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_YELLOW, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 4) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_ORANGE, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 5) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_RED, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 6) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_DARKRED, 0, 0, -20, 25, playerid);
  	    if(PlayerInfo[playerid][pAdmin] == 7) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_DARKRED, 0, 0, -20, 25, playerid);
        Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, aDutyText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
	}
	else
	{
	    if(Spec[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You can't go off admin duty while spectating someone.");
	    format(file, sizeof(file), "users/%s.ini",RPNU(playerid));
	    SaveChar(playerid);
	    ClearChar(playerid);
	    SetPlayerName(playerid, dini_Get(file, "OldName"));
		LoadChar(playerid);
		aDuty[playerid] = 0;
		SpawnChar(playerid);
	    format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
    	SetPlayerArmour(playerid, 100);
      	SetPlayerHealth(playerid, 100);
      	SetPlayerColor(playerid, TRANSPARENT_WHITE);
	    //format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has went off admin duty. (Admin name: %s)", RPN(playerid), dini_Get(file, "AdminName"));
	    //SendClientMessageToAll(COLOR_DARKRED, 1, string);
	    //SendAdminMessage(COLOR_DARKRED, 1, string);
		//Delete3DTextLabel(aDutyText[playerid]);
    	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has went off admin duty. (Admin name: %s)", NORPN(playerid), dini_Get(file, "AdminName"));
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		DestroyDynamic3DTextLabel(aDutyText[playerid]);
	}
	return 1;
}

CMD:hduty(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(!hDuty[playerid])
	{
    	format(string, sizeof(string), "{FF0000}[Helper]{FF6347} %s has went on helper duty. (/helpme)", NORPN(playerid));
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		hDuty[playerid] = 1;
		if(IsValidDynamic3DTextLabel(aDutyText[playerid]))  DestroyDynamic3DTextLabel(hDutyText[playerid]);
		if(PlayerInfo[playerid][pHelper] == 1) hDutyText[playerid] = CreateDynamic3DTextLabel("Helper Duty - Helping Players", 0xFF00FF, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pHelper] == 2) hDutyText[playerid] = CreateDynamic3DTextLabel("Helper Duty - Helping Players", 0xFF00FF, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pHelper] == 3) hDutyText[playerid] = CreateDynamic3DTextLabel("Helper Duty - Helping Players", 0xFF00FF, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pHelper] == 4) hDutyText[playerid] = CreateDynamic3DTextLabel("Helper Duty - Helping Players", 0xFF00FF, 0, 0, -20, 25, playerid);
		Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, hDutyText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
	}
	else
	{
    	format(string, sizeof(string), "{FF0000}[Helper]{FF6347} %s has went off helper duty.", NORPN(playerid));
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		hDuty[playerid] = 0;
		DestroyDynamic3DTextLabel(hDutyText[playerid]);
	}
	return 1;
}

CMD:reportmute(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /reportmute [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pRMute])
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has muted %s from report system.", NORPN(playerid), NORPN(playerb));
	    SendAdminMessage(COLOR_DARKRED, 1, string);
	    PlayerInfo[playerb][pRMute] = 1;
	    SendClientMessage(playerb, COLOR_LIGHTRED, " You have been muted from the report system by an administrator for abuse.");
	}
	else
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has unmuted %s from report system.", NORPN(playerid), NORPN(playerb));
	    SendAdminMessage(COLOR_DARKRED, 1, string);
	    PlayerInfo[playerb][pRMute] = 0;
	    SendClientMessage(playerb, COLOR_LIGHTRED, " You have been unmuted from the report system by an administrator.");
	}
	return 1;
}

CMD:nmute(playerid, params[])
{
	new string[128], playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pAdmin] && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	//if(!PlayerInfo[playerid][pHelper]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /nmute [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pNMute])
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has muted %s from newbie chat.", NORPN(playerid), NORPN(playerb));
	    SendAdminMessage(COLOR_LIGHTRED, 1, string);
	    format(string, sizeof(string), "{FF0000}[Helper Warn]{FF6347} %s has muted %s from newbie chat.", NORPN(playerid), NORPN(playerb));
	    SendHelperMessage(COLOR_LIGHTRED, 1, string);
	    PlayerInfo[playerb][pNMute] = 1;
	    SendClientMessage(playerb, COLOR_LIGHTRED, " You have been muted from the newbie channel by an administrator for abuse.");
	}
	else
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has unmuted %s from newbie chat.", NORPN(playerid), NORPN(playerb));
	    SendAdminMessage(COLOR_LIGHTRED, 1, string);
	    format(string, sizeof(string), "{FF0000}[Helper Warn]{FF6347} %s has unmuted %s from newbie chat.", NORPN(playerid), NORPN(playerb));
	    SendHelperMessage(COLOR_LIGHTRED, 1, string);
	    PlayerInfo[playerb][pNMute] = 0;
	    SendClientMessage(playerb, COLOR_LIGHTRED, " You have been unmuted from the newbie channel by an administrator.");
	}
	return 1;
}

CMD:setpass(playerid, params[])
{
    new playerb[32], string[128], file[32], password[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]s[256]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setpass [playername] [password]");
	if(RPIDFN(playerb) != INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player is connected to the server.");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	WP_Hash(password, sizeof(password), params);
	dini_Set(file, "Password", password);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has changed %s's password.", NORPN(playerid), playerb);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/changepass.log", string);
	format(string, sizeof(string), " You have changed {FF6347}%s{FFFFFF}'s password to: {FF6347}%s", playerb, params);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:flag(playerid, params[])
{
    new string[128], playerb[32], file[32];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]s[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /flag [playername] [text]");
	if(AntiAdv(playerid, params)) return 1;
    format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	if(RPIDFN(playerb) == INVALID_PLAYER_ID || RPIDFN(playerb) != INVALID_PLAYER_ID && !IsPlayerLoggedIn(RPIDFN(playerb)))
	{
	    dini_Set(file, "Flag", params);
	}
	else
	{
		format(PlayerInfo[RPIDFN(playerb)][pFlag], 64, "%s", params);
	}
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has placed a flag on %s.", NORPN(playerid), playerb);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:showflag(playerid, params[])
{
    new string[128], playerb;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /showflag [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!strlen(PlayerInfo[playerb][pFlag])) return SendClientMessage(playerid, COLOR_GREY, "Player is not flagged.");
	format(string, sizeof(string), "[FLAG] {FFFFFF}%s {FF9900}- {FFFFFF}%s", NORPN(playerb), PlayerInfo[playerb][pFlag]);
	SendClientMessage(playerid, COLOR_ORANGE, string);
	return 1;
}

CMD:showflags(playerid, params[])
{
    new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Flagged Players]");
	foreach(Player, i)
	{
	    if(strlen(PlayerInfo[i][pFlag]))
	    {
	        format(string, sizeof(string), "- %s", NORPN(i));
	        SendClientMessage(playerid, COLOR_WHITE, string);
	    }
	}
	return 1;
}

CMD:clearflag(playerid, params[])
{
    new string[128], playerb[32], file[32];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]s[128]", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /clearflag [playername]");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	if(RPIDFN(playerb) == INVALID_PLAYER_ID || RPIDFN(playerb) != INVALID_PLAYER_ID && !IsPlayerLoggedIn(RPIDFN(playerb)))
	{
	    if(!strlen(dini_Get(file, "Flag"))) return SendClientMessage(playerid, COLOR_GREY, "Player is not flagged.");
	    dini_Set(file, "Flag", "");
	}
	else
	{
	    if(!strlen(PlayerInfo[RPIDFN(playerb)][pFlag])) return SendClientMessage(playerid, COLOR_GREY, "Player is not flagged.");
		format(PlayerInfo[RPIDFN(playerb)][pFlag], 64, "");
	}
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the flag on %s.", NORPN(playerid), playerb);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:cc(playerid, params[])
return cmd_clearchat(playerid, params);

CMD:clearchat(playerid, params[])
{
    new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	for(new i=0; i<100; i++)
	{
	    SendClientMessageToAll(COLOR_WHITE, "");
	}
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has cleared the chat window.", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	return 1;
}

CMD:fine(playerid, params[])
{
	new string[128], playerb, amount;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "uis[32]", playerb, amount, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fine [playerid] [amount] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(amount <= 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid money amount.");
	GiveZaiatMoney(playerb, -amount);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been fined $%d by %s, reason: %s", NORPN(playerb), amount, NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	Log("logs/fine.log", string);
	return 1;
}

CMD:pfine(playerid, params[])
{
	new string[128], playerb, amount, percent;
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "uis[32]", playerb, percent, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pfine [playerid] [percent] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(percent < 0 || percent > 100) return SendClientMessage(playerid, COLOR_GREY, "Percent is between 0 and 100.");
	new idx = PlayerInfo[playerid][pHouse];
	new idx2 = PlayerInfo[playerid][pBiz];
	new TotalWealth = PlayerInfo[playerb][pMoney]+PlayerInfo[playerb][pBank]+HouseInfo[idx][hMoney]+BizInfo[idx2][bMoney];
	amount = (percent*(TotalWealth))/100;
	GiveZaiatMoney(playerb, -amount);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been fined $%d (%d percent) by %s, reason: %s", NORPN(playerb), amount, percent, NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	Log("logs/fine.log", string);
	return 1;
}

CMD:motd(playerid, params[])
{
	new string[128], motd;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "is[128]", motd, params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /motd [type] [motd]");
	    SendClientMessage(playerid, COLOR_GREY, "TYPES: 1) Server | 2) Admin");
		return 1;
	}
	if(motd < 0 || motd > 2) return SendClientMessage(playerid, COLOR_GREY, "MOTDs are between 1 and 2.");
	switch(motd)
	{
		case 1:
		{
			format(ServerMOTD, sizeof(ServerMOTD), "%s", params);
			format(string, sizeof(string), "SERVER MOTD: {FFFFFF}%s", ServerMOTD);
			SendClientMessageToAll(COLOR_LIGHTRED, string);
		}
		case 2:
		{
			format(AdminMOTD, sizeof(AdminMOTD), "%s", params);
			format(string, sizeof(string), "ADMIN MOTD: {FFFFFF}%s", AdminMOTD);
			SendAdminMessage(COLOR_LIGHTRED, 1, string);
		}
	}
	return 1;
}

CMD:unfreeze(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unfreeze [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	TogglePlayerControllable(playerb, 1);
	format(string,sizeof(string),"{FF0000}[Admin]{FF6347} %s have been unfrozen by Staff %s ",NORPN(playerb),NORPN(playerid));
 	SendClientMessageToAll(COLOR_LIGHTRED, string);
	format(string, sizeof(string), " You have unfreezed %s.", RPN(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " Administrator %s has unfreezed you.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:fa(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	for(new r=0;r<MAX_PLAYERS;r++){
		if(NearZone(playerid,r) && r!=playerid){
		TogglePlayerControllable(r,false);
		new string[128];
		//format(string,sizeof(string),"{FF0000}[Admin]{FF6347}  All players near %s have been frozen ",RPN(playerid));
	 	//SendClientMessageToAll(COLOR_LIGHTRED, string);
	 	format(string,sizeof(string),"{FF0000}[Admin]{FF6347}  All players near %s have been frozen",NORPN(playerid));
	 	SendClientMessage(r,COLOR_LIGHTRED,string);
		}
 	}
	return 1;
}

CMD:ufa(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	for(new r=0;r<MAX_PLAYERS;r++){
		if(NearZone(playerid,r) && r!=playerid){
		TogglePlayerControllable(r,true);
		new string[128];
		//format(string,sizeof(string),"{FF0000}[Admin]{FF6347}  All players near %s have been unfrozen ",RPN(playerid));
	 	//SendClientMessageToAll(COLOR_LIGHTRED, string);
	 	format(string,sizeof(string),"{FF0000}[Admin]{FF6347}  All players near %s have been unfrozen",NORPN(playerid));
	 	SendClientMessage(r,COLOR_LIGHTRED,string);
		}
 	}
	return 1;
}

CMD:healnear(playerid, params[])
{
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	for(new r=0;r<MAX_PLAYERS;r++){
		if(NearZone(playerid,r) && r!=playerid){
  		SetPlayerHealth(r, 100);
  		SetPlayerArmour(r, 50);
		new string[128];
		//format(string,sizeof(string),"{FF0000}[Admin]{FF6347}  All players near %s have been healed ",RPN(playerid));
	 	//SendClientMessageToAll(COLOR_LIGHTRED, string);
	 	format(string,sizeof(string),"{FF0000}[Admin]{FF6347} All players near %s have been healed",NORPN(playerid));
	 	SendClientMessage(r,COLOR_LIGHTRED,string);
		}
 	}
	return 1;
}

CMD:freeze(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /freeze [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
 	TogglePlayerControllable(playerb, 0);
	format(string,sizeof(string),"{FF0000}[Admin]{FF6347} %s have been frozen by Staff %s ",NORPN(playerb),NORPN(playerid));
 	SendClientMessageToAll(COLOR_LIGHTRED, string);
	format(string, sizeof(string), " You have freezed %s.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " Administrator %s has freezed you.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:clearwanted(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /clearwanted [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pWanted]) return SendClientMessage(playerid, COLOR_GREY, "Player is not wanted.");
	PlayerInfo[playerb][pWanted] = 0;
	SetPlayerWantedLevel(playerb, 0);
	format(PlayerInfo[playerb][pContractBy], 32, "");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared %s's wanted level.", NORPN(playerid), NORPN(playerb));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	SendClientMessage(playerb, COLOR_DARKRED, string);
	return 1;
}

CMD:clearcontract(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /clearcontract [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pContract]) return SendClientMessage(playerid, COLOR_GREY, "Player has no contract on their head.");
	PlayerInfo[playerb][pContract] = 0;
	format(PlayerInfo[playerb][pContractBy], 32, "");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the contract on %s's head.", NORPN(playerid), NORPN(playerb));
	SendHitmanMessage(COLOR_YELLOW, string);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:pm(playerid, params[])
{
	new playerb, string[128], text[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "us[128]", playerb, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /pm [playerid] [text]");
	if(PmOff[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player has their Private Message turned off.");
	if(PmOff[playerid]) return SendClientMessage(playerid, COLOR_GREY, "Your Private Message is off.");
	if(AntiAdv(playerid, params)) return 1;
	if(!strlen(text)) return SendClientMessage(playerid, COLOR_GREY, "You haven't entered any text to PM.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	format(string, sizeof(string), "(( PM to %s: %s ))", NORPN(playerb), text);
	SendClientMessage(playerid, COLOR_PM, string);
	format(string, sizeof(string), "(( PM from %s: %s ))", NORPN(playerid), text);
	SendClientMessage(playerb, COLOR_PM, string);
	format(string, sizeof(string), "PM from %s to %s: %s", NORPN(playerid), RPN(playerb), text);
	Log("logs/pm.log", string);
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pAdmin] >= 1 && PMs[i] && i != playerid && i != playerb)
	    {
	        format(string, sizeof(string), "[PM] %s to %s: %s", NORPN(playerid), NORPN(playerb), text);
	        SendClientMessage(i, COLOR_YELLOW, string);
	    }
	}
	return 1;
}

CMD:apm(playerid, params[])
{
	new playerb, string[128], text[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "us[128]", playerb, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /apm [playerid] [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(!strlen(text)) return SendClientMessage(playerid, COLOR_GREY, "You haven't entered any text to PM.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	format(string, sizeof(string), "(( [ADMIN] PM to %s: %s ))", NORPN(playerb), text);
	SendClientMessage(playerid, COLOR_YELLOW, string);
	format(string, sizeof(string), "(( [ADMIN] PM from %s: %s ))", NORPN(playerid), text);
	SendClientMessage(playerb, COLOR_YELLOW, string);
	format(string, sizeof(string), "APM from %s to %s: %s", NORPN(playerid), NORPN(playerb), text);
	Log("logs/pm.log", string);
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pAdmin] >= 1 && PMs[i] && i != playerid && i != playerb)
	    {
	        format(string, sizeof(string), "[ADMIN PM] %s to %s: %s", NORPN(playerid), NORPN(playerb), text);
	        SendClientMessage(i, COLOR_YELLOW, string);
	    }
	}
	return 1;
}

CMD:hpm(playerid, params[])
{
	new playerb, string[128], text[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "us[128]", playerb, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /apm [playerid] [text]");
	if(AntiAdv(playerid, params)) return 1;
	if(!strlen(text)) return SendClientMessage(playerid, COLOR_GREY, "You haven't entered any text to PM.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	format(string, sizeof(string), "(( [HELPER] PM to %s: %s ))", NORPN(playerb), text);
	SendClientMessage(playerid, COLOR_YELLOW, string);
	format(string, sizeof(string), "(( [HELPER] PM from %s: %s ))", NORPN(playerid), text);
	SendClientMessage(playerb, COLOR_YELLOW, string);
	format(string, sizeof(string), "HPM from %s to %s: %s", NORPN(playerid), NORPN(playerb), text);
	Log("logs/pm.log", string);
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pAdmin] >= 1 && PMs[i] && i != playerid && i != playerb)
	    {
	        format(string, sizeof(string), "[HELPER PM] %s to %s: %s", NORPN(playerid), NORPN(playerb), text);
	        SendClientMessage(i, COLOR_YELLOW, string);
	    }
	}
	return 1;
}

CMD:setstat(playerid, params[])
{
	new string[128], playerb, stat, amount;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "uii", playerb, stat, amount))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setstat [playerid] [statid] [amount]");
		SendClientMessage(playerid, COLOR_GREY, "STATS: 1) Age | 2) Level | 3) Gender | 4) Bank | 5) Phone | 6) Materials | 7) Mechanic | 8) Lawyer | 9) Trucker");
		SendClientMessage(playerid, COLOR_GREY, "STATS: 10) Weapons Dealer | 11) Weapons Smuggler | 12) Drugs Dealer | 13) Drugs Smuggler | 14) Boxer | 15) Weed");
		SendClientMessage(playerid, COLOR_GREY, "STATS: 16) Crack | 17) Respect Points");
		return 1;
	}
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	switch(stat)
	{
	    case 1:
	    {
	        PlayerInfo[playerb][pAge] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Age to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 2:
	    {
	        PlayerInfo[playerb][pLevel] = amount;
	        SetPlayerScore(playerb, amount);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 3:
	    {
			if(amount < 1 || amount > 2) return SendClientMessage(playerid, COLOR_GREY, "Gender is between 1 and 2.");
	        if(amount == 1) format(string, sizeof(string), "Male");
	        else if(amount == 2) format(string, sizeof(string), "Female");
	        PlayerInfo[playerb][pGender] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Gender to %s.", NORPN(playerid), NORPN(playerb), string);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 4:
	    {
			if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to set someones bank amount.");
	        PlayerInfo[playerb][pBank] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Bank Balance to $%d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 5:
	    {
			if(amount != 0)
			{
	        	new idx = 1, File:file = fopen("cellphones.cfg", io_read);
				while(fread(file, string))
				{
				    if(strval(string) == amount) return SendClientMessage(playerid, COLOR_GREY, "This number is already registered.");
				    if(strval(string) == PlayerInfo[playerb][pCellphone])
				    {
						fdeleteline("cellphones.cfg", idx);
				    }
				    idx ++;
				}
				fclose(file);
				file = fopen("cellphones.cfg", io_append);
				format(string, sizeof(string), "%d\r\n", amount);
				fwrite(file, string);
				fclose(file);
			}
	        PlayerInfo[playerb][pCellphone] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Cellphone Number to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 6:
	    {
	        PlayerInfo[playerb][pMaterials] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Materials to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 7:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_MECHANIC] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Mechanic level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 8:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_LAWYER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Lawyer level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 9:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_TRUCKER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Trucker level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 10:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_WDEALER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Weapons Dealer level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 11:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_WSMUGGLER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Weapons Smuggler level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 12:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_DDEALER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Drugs Dealer level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 13:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_DSMUGGLER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Drugs Smuggler level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 14:
	    {
	        if(amount < 1 || amount > 5) return SendClientMessage(playerid, COLOR_GREY, "Skill level is between 1 and 5.");
	        new skill;
	        if(amount == 1) skill = 0;
	        else if(amount == 2) skill = 100;
	        else if(amount == 3) skill = 300;
	        else if(amount == 4) skill = 700;
	        else if(amount == 5) skill = 1200;
	        PlayerInfo[playerb][pJobSkill][JOB_BOXER] = skill;
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Boxer level to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 15:
	    {
	        PlayerInfo[playerb][pWeed] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Weed to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 16:
	    {
	        PlayerInfo[playerb][pCrack] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Crack to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	    case 17:
	    {
	        PlayerInfo[playerb][pHours] = amount;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's Respect Points to %d.", NORPN(playerid), NORPN(playerb), amount);
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	}
	if(amount > 0 && amount < 12) Log("logs/setstat.log", string);
	return 1;
}

CMD:deleteaccount(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deleteaccount [name]");
	format(string, sizeof(string), "users/%s.ini", params);
	if(!dini_Exists(string)) return SendClientMessage(playerid, COLOR_GREY, "Userfile not found.");
	dini_Remove(string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's userfile.", NORPN(playerid), params);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/deleteaccount.log", string);
	return 1;
}

CMD:approve(playerid, params[])
{
	new string[128], option[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
   	if(sscanf(params, "s[32]", option))
   	{
   	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /approve [option]");
   	    SendClientMessage(playerid, COLOR_GREY, "OPTIONS: taxrequest | namechange | pnamechange");
   	    return 1;
   	}
   	if(!strcmp(option, "taxrequest", true, 10))
   	{
   	    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to approve tax percent requests.");
		if(TaxRequester == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has requested a tax percent change.");
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has accepted %s's request to change the tax percent to %d.", NORPN(playerid), RPN(TaxRequester), TaxPercent);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/settax.log", string);
		format(string, sizeof(string), " Administrator %s has approved your requset to change the tax percent.", NORPN(playerid));
        SendClientMessage(TaxRequester, COLOR_LIGHTBLUE, string);		TaxPercent = TempTaxPercent;
		SendClientMessageToAll(COLOR_LIGHTBLUE, "=============== Government News Announcement ===============");
		format(string, sizeof(string), "** [%s] %s %s: Dear Citizens of San Andreas, this is %s %s speaking. **", RPFN(TaxRequester), RPFRN(TaxRequester), RPN(TaxRequester), RPFRN(TaxRequester), NORPN(TaxRequester));
		SendClientMessageToAll(COLOR_COE, string);
		format(string, sizeof(string), "** [%s] %s %s: I'd like to inform you that the tax rate on your paychecks is now %d percent. **", RPFN(TaxRequester), RPFRN(TaxRequester), NORPN(TaxRequester), TaxPercent);
		SendClientMessageToAll(COLOR_COE, string);
		format(string, sizeof(string), "** [%s] %s %s: That's all, long live San Andreas. **", RPFN(TaxRequester), RPFRN(TaxRequester), NORPN(TaxRequester));
		SendClientMessageToAll(COLOR_COE, string);
		TempTaxPercent = 0;
		TaxRequester = -1;
	}
	else if(!strcmp(option, "namechange", true, 10))
	{
	    new playerb, parm[42];
		if(sscanf(params, "s[32]u", option, playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /approve namechange [playerid]");
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to approve namechange requests.");
		if(!strlen(VIPName[playerb])) return SendClientMessage(playerid, COLOR_GREY, "Player hasn't requested a namechange.");
		format(parm, sizeof(parm), "%d %s", playerb, VIPName[playerb]);
		Approve[playerid] = 1;
		cmd_setname(playerid, parm);
		format(VIPName[playerb], MAX_PLAYER_NAME, "");
	}
	else if(!strcmp(option, "pnamechange", true, 10))
	{
	    new playerb, parm[42];
		if(sscanf(params, "s[32]u", option, playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /approve playernamechange [playerid]");
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to approve namechange requests.");
		if(!strlen(PlayerName[playerb])) return SendClientMessage(playerid, COLOR_GREY, "Player hasn't requested a namechange.");
		format(parm, sizeof(parm), "%d %s", playerb, PlayerName[playerb]);
		Approve[playerid] = 1;
		cmd_setname(playerid, parm);
		GiveZaiatMoney(playerb, PlayerInfo[playerb][pLevel] * -1200);
		format(string, sizeof(string), " Administrator %s has approved your namechange request, and have taken $%d from you.", NORPN(playerid), PlayerInfo[playerb][pLevel] * -1200);
		SendClientMessage(playerb, COLOR_WHITE, string);
		format(PlayerName[playerb], MAX_PLAYER_NAME, "");
	}
	else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	return 1;
}

/*CMD:clearlog(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
   	if(sscanf(params, "s[32]", params))
   	{
   	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /clearlog [option]");
   	    SendClientMessage(playerid, COLOR_GREY, "OPTIONS: ACCEPTREPORTS | ADMINCHAT | ADVERTISEMENTS | ANAME | ANCELOTTI | ARREST | BAN");
   	    return 1;
   	}
   	if(!strcmp(params, "acceptreports", false))
   	{
		dini_Remove("logs/acceptreports.log");
		dini_Create("logs/acceptreports.log");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the acceptreports log.", NORPN(playerid));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the acceptreports log.", NORPN(playerid));
		Log("logs/clearlogs.log", string);
	}
   	else if(!strcmp(params, "adminchat", false))
   	{
		dini_Remove("logs/adminchat.log");
		dini_Create("logs/adminchat.log");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the adminchat log.", NORPN(playerid));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the adminchat log.", NORPN(playerid));
		Log("logs/clearlogs.log", string);
	}
   	else if(!strcmp(params, "advertisements", false))
   	{
		dini_Remove("logs/advertisements.log");
		dini_Create("logs/advertisements.log");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the advertisements log.", NORPN(playerid));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the advertisements log.", NORPN(playerid));
		Log("logs/clearlogs.log", string);
	}
   	else if(!strcmp(params, "aname", false))
   	{
		dini_Remove("logs/aname.log");
		dini_Create("logs/aname.log");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the aname log.", NORPN(playerid));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the aname log.", NORPN(playerid));
		Log("logs/clearlogs.log", string);
	}
   	else if(!strcmp(params, "arrest", false))
   	{
		dini_Remove("logs/arrest.log");
		dini_Create("logs/arrest.log");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the arrest log.", NORPN(playerid));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the arrest log.", NORPN(playerid));
		Log("logs/clearlogs.log", string);
	}
   	else if(!strcmp(params, "ban", false))
   	{
		dini_Remove("logs/ban.log");
		dini_Create("logs/ban.log");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the ban log.", NORPN(playerid));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the ban log.", NORPN(playerid));
		Log("logs/clearlogs.log", string);
	}
	return 1;
}*/

CMD:clearads(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	dini_Remove("logs/advertisements.log");
	dini_Create("logs/advertisements.log");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has cleared the advertisements log.", NORPN(playerid));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:lastads(playerid, params[])
{
	new string[128], File: file = fopen("logs/advertisements.log", io_read), idx=1;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Advertisements Log]:");
	while(fread(file, string))
	{
	    format(string, sizeof(string), "%d) %s", idx, string);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    idx ++;
	}
	fclose(file);
	return 1;
}

CMD:deny(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
   	if(sscanf(params, "s[32]", params))
   	{
   	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deny [option]");
   	    SendClientMessage(playerid, COLOR_GREY, "OPTIONS: taxrequest | namechange | pnamechange");
   	    return 1;
   	}
   	if(!strcmp(params, "taxrequest", false))
   	{
   	    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to deny tax percent requests.");
		if(TaxRequester == -1) return SendClientMessage(playerid, COLOR_GREY, "Nobody has requested a tax percent change.");
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has denied %s's request to change the tax percent to %d.", NORPN(playerid), NORPN(TaxRequester), TempTaxPercent);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/settax.log", string);
		format(string, sizeof(string), " Administrator %s has denied your requset to change the tax percent.", NORPN(playerid));
        SendClientMessage(TaxRequester, COLOR_LIGHTBLUE, string);
		TempTaxPercent = 0;
		TaxRequester = -1;
	}
	else if(!strcmp(params, "namechange", true, 10))
	{
	    new playerb;
		if(sscanf(params, "s[32]u", params, playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deny namechange [playerid]");
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to approve namechange requests.");
		if(!strlen(VIPName[playerb])) return SendClientMessage(playerid, COLOR_GREY, "Player hasn't requested a namechange.");
		format(VIPName[playerb], MAX_PLAYER_NAME, "");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has denied %s's namechange request.", NORPN(playerid), NORPN(playerb));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), " Administrator %s has denied your namechange request.", NORPN(playerid));
		SendClientMessage(playerb, COLOR_WHITE, string);
	}
	else if(!strcmp(params, "pnamechange", true, 10))
	{
	    new playerb;
		if(sscanf(params, "s[32]u", params, playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deny playernamechange [playerid]");
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to approve namechange requests.");
		if(!strlen(PlayerName[playerb])) return SendClientMessage(playerid, COLOR_GREY, "Player hasn't requested a namechange.");
		format(PlayerName[playerb], MAX_PLAYER_NAME, "");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has denied %s's namechange request.", NORPN(playerid), NORPN(playerb));
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), " Administrator %s has denied your namechange request.", NORPN(playerid));
		SendClientMessage(playerb, COLOR_WHITE, string);
	}
	else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	return 1;
}

CMD:setname(playerid, params[])
{
	new playerb ,string[128], string2[128], file[64], idx, idx2, idx3, idx4, idx5, text[MAX_PLAYER_NAME];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 2 && !Approve[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(Approve[playerid]) Approve[playerid] = 0;
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[24]", playerb, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setname [playerid] [name]");
    if(aDuty[playerb]) return SendClientMessage(playerid, COLOR_GREY, "You can't set an admin on duty's name.");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    // Start of detecting space in name
	new end, temp[32], temp2[32];
	end = strfind(text, " ",true);
	if(end != -1)
	{
	    strmid(temp, text, 0, end);
	    format(temp, sizeof(temp), "%s_", temp);
	    strdel(text, 0, end);
		strmid(temp2, text, 1, strlen(text));
	    format(text, 24, "");
	    strcat(text, temp, sizeof(temp));
	    strcat(text, temp2, sizeof(temp2));
	}
	// End of detecting space in name
    format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has changed %s's name to %s.", NORPN(playerid), NORPN(playerb), text);
    format(string2, sizeof(string2), " Administrator %s has changed your name to {FF6347}%s{FFFFFF}.", NORPN(playerid), text);
	format(file, sizeof(file), "users/%s.ini", text);
	if(dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Name already in use.");
	idx = PlayerInfo[playerb][pBiz];
	idx2 = PlayerInfo[playerb][pHouse];
	idx3 = PlayerInfo[playerb][pVBiz];
	idx4 = PlayerInfo[playerb][pVHouse];
    format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	dini_Remove(file);
	SetPlayerName(playerb, text);
	PlayerInfo[playerb][pBiz] = idx;
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	dini_Create(file);
	SaveChar(playerb);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	SendClientMessage(playerb, COLOR_WHITE, string2);
	if(idx)
	{

	    format(BizInfo[idx][bOwner], 32, "%s", text);
	    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
		UpdateDynamic3DTextLabelText(BizInfo[idx][bText], COLOR_WHITE, string);
	}
	if(idx2)
	{
	    idx = idx2;
	    format(HouseInfo[idx][hOwner], 32, "%s", text);
	    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
		UpdateDynamic3DTextLabelText(HouseInfo[idx][hText], COLOR_WHITE, string);

	}
	if(idx3)
	{
		idx = idx3;
	    format(BizInfo[idx][bOwner], 32, "%s", text);
	    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
		UpdateDynamic3DTextLabelText(BizInfo[idx][bText], COLOR_WHITE, string);
	}
	if(idx4)
	{
	    idx = idx4;
	    format(HouseInfo[idx][hOwner], 32, "%s", text);
	    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
		UpdateDynamic3DTextLabelText(HouseInfo[idx][hText], COLOR_WHITE, string);

	}
	if(idx5)
	{
	    idx = idx5;
	    format(GarageInfo[idx][gOwner], 32, "%s", text);
	    format(string, sizeof(string), ""COE"["CWE"%d, Garage (Lvl: %d)\n"COE"\n"COE"Owner"CWE" %s", idx, GarageInfo[idx][gLevel], GarageInfo[idx][gOwner]);
		UpdateDynamic3DTextLabelText(GarageInfo[idx][gText], COLOR_WHITE, string);

	}
	return 1;
}

CMD:forcepaycheck(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has forced paychecks to be given now.", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
	        PlayerInfo[i][pMinutes] = 60;
	    }
	}
	Paycheck();
	return 1;
}

CMD:arrestpoint(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	GetPlayerPos(playerid, ap[0], ap[1], ap[2]);
	DestroyDynamic3DTextLabel(apt);
	apt = CreateDynamic3DTextLabel("Arrest Point\n{FFFF00}/arrest to arrest a suspect", COLOR_RED, ap[0], ap[1], ap[2], 12);
	SendClientMessage(playerid, COLOR_WHITE, " You have changed the LSPD's arrest point.");
	return 1;
}

CMD:prisonaccount(playerid, params[])
{
    new playerb[32], string[128], file[32], time[6];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]i[6]s[128]", playerb, time, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /prisonaccount [playername] [time] [reason]");
	if(RPIDFN(playerb) != INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player is connected to the server, use /prison instead.");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	if(PlayerInfo[playerid][pAdmin] < dini_Int(file, "Admin")) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been offline-prison by %s, reason: %s", playerb, NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been offline-prison by %s (%s), reason: %s", playerb, NORPN(playerid) , RPIP(playerid), params);
	Log("logs/prison.log", string);
	// Banning
	dini_IntSet(file, "pPrison", 2);
	dini_Set(file, "PrisonTime", time);
	// Banreason
	dini_Set(file, "PrisonReason", params);
	dini_Set(file, "PrisonBy", RPNU(playerid));
	// BanList
/*	new File:ban = fopen("ban.cfg", io_append);
	format(string, sizeof(string), "%s\r\n", dini_Get(file, "IP"));
	fwrite(ban, string);
	fclose(ban);*/
	return 1;
}


CMD:prison(playerid, params[])
{
	new playerb, time, string[128], RandomCell;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "uis[64]", playerb, time, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /prison [playerid] [time] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(time == 0)
	{
	    if(!PlayerInfo[playerb][pPrison]) return SendClientMessage(playerid, COLOR_GREY, "Player is not prisoned.");
	    ClearZaiatWantedLevels(playerb);
	    SetPlayerColor(playerb, TRANSPARENT_WHITE);
	    PlayerInfo[playerb][pPrison] = 0;
		PlayerInfo[playerb][pPrisonTime] = time;
		format(PlayerInfo[playerb][pPrisonReason], 64, "");
		format(PlayerInfo[playerb][pPrisonBy], 32, "");
		SetPlayerInterior(playerb, 0);
		SetPlayerVirtualWorld(playerb, 0);
		RandomCell = random(sizeof(RandomPrison));
		SetPlayerFacingAngle(playerb, 88.5042);
		SetPlayerPos(playerb, 1548.8394,-1669.6111,13.5656);
		SetCameraBehindPlayer(playerb);
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been released by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		Log("logs/prison.log", string);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, " You have been released by an administrator, try to be a better player.");
		TogglePlayerControllable(playerb, 1);
	}
	else
	{
	    ClearZaiatWantedLevels(playerb);
	    SetPlayerColor(playerb, TRANSPARENT_ORANGE);
		PlayerInfo[playerb][pPrison] = 2;
		PlayerInfo[playerb][pPrisonTime] = time*60;
		format(PlayerInfo[playerb][pPrisonReason], 64, "%s", params);
		format(PlayerInfo[playerb][pPrisonBy], 32, "%s", RPN(playerid));
		SetPlayerInterior(playerb, 2);
		SetPlayerVirtualWorld(playerb, 1);
		ResetZaiatWeapons(playerb);
		RandomCell = random(sizeof(RandomPrison));
		SetPlayerFacingAngle(playerb, RandomPrison[RandomCell][3]);
		TogglePlayerControllable(playerb, 0);
		SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
		SetPlayerPos(playerb, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
		SetCameraBehindPlayer(playerb);
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been prisoned by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		Log("logs/prison.log", string);
		format(string, sizeof(string), " You have been prisoned by an administrator for %d minutes (%d seconds)", PlayerInfo[playerb][pPrisonTime]/60, PlayerInfo[playerb][pPrisonTime]);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
		GameTextForPlayer(playerb, "~w~Loading Objects", 3500, 3);
		TogglePlayerControllable(playerb, 0);
        SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
        PlayerInfo[playerb][pSpawnFreeze] = 1;
        // Clearing robbery
		if(BankRobber[playerb])
		{
		    new Rob = BankRobber[playerb]-1;
		    DisablePlayerCheckpoint(playerb);
			BankRobbersCount --;
			format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
			DeliverMoney[playerb] = 0;
			//
			foreach(Player, i)
			{
			    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
			    {
					if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
					else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
					else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
					else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
					else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
				}
			}
			format(string, sizeof(string), "** %s has been admin-prisoned and has failed the robbery. **", NORPN(playerb));
			SendRobberyMessage(COLOR_LIGHTRED, string);
			SendCopMessage(COLOR_LIGHTRED, string);
			SendFBIMessage(COLOR_LIGHTRED, string);
			BankRobber[playerb] = 0;
			if(BankRobbersCount == 0)
			{
				TextDrawHideForAll(Area5);
				TextDrawHideForAll(Textdraw1);
				TextDrawHideForAll(Textdraw2);
				TextDrawHideForAll(Textdraw3);
				TextDrawHideForAll(Textdraw4);
				TextDrawHideForAll(Textdraw5);
				BankRobbery = 0;
				RobberyStarted = 0;
				format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
				SendClientMessageToAll(COLOR_YELLOW, string);
				TotalRobbers = 0;
				new copsonline;
				foreach(Player, i)
				{
				    if(IsACop(i)) copsonline++;
				    if(IsAHSF(i)) copsonline++;
				    if(IsAFBI(i)) copsonline++;
				}
				foreach(Player, i)
				{
				    if(IsACop(i) && !IsAHSF(i) && !IsAFBI(i))
				    {
						new Saved = (TotalRobbers*50000-(TotalStolen*50000));
						GiveZaiatMoney(i, Saved/copsonline);
						format(string, sizeof(string), "** You have received your cut from the saved money. ($%d) ((Dirty Cops failed :D))", Saved/copsonline);
						SendClientMessage(i, COLOR_LIME, string);
				    }
				}
			}
		}
	}
	RemovePlayerAttachedObject(playerb, 0);
	SetPlayerSpecialAction(playerb, SPECIAL_ACTION_NONE);
	return 1;
}

CMD:hprison(playerid, params[])
{
	new playerb, time, string[128], RandomCell;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "uis[64]", playerb, time, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hprison [playerid] [time] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(time == 0)
	{
	    if(!PlayerInfo[playerb][pPrison]) return SendClientMessage(playerid, COLOR_GREY, "Player is not prisoned.");
	    ClearZaiatWantedLevels(playerb);
	    SetPlayerColor(playerb, TRANSPARENT_WHITE);
	    PlayerInfo[playerb][pPrison] = 0;
		PlayerInfo[playerb][pPrisonTime] = time;
		format(PlayerInfo[playerb][pPrisonReason], 64, "");
		format(PlayerInfo[playerb][pPrisonBy], 32, "");
		SetPlayerInterior(playerb, 0);
		SetPlayerVirtualWorld(playerb, 0);
		RandomCell = random(sizeof(RandomPrison));
		SetPlayerFacingAngle(playerb, 88.5042);
		SetPlayerPos(playerb, 1548.8394,-1669.6111,13.5656);
		SetCameraBehindPlayer(playerb);
		format(string, sizeof(string), "{FF0000}[Helper]{FF6347} %s has been released by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		Log("logs/prison.log", string);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, " You have been released by an helper, try to be a better player.");
		TogglePlayerControllable(playerb, 1);
	}
	else
	{
	    ClearZaiatWantedLevels(playerb);
	    SetPlayerColor(playerb, TRANSPARENT_ORANGE);
		PlayerInfo[playerb][pPrison] = 2;
		PlayerInfo[playerb][pPrisonTime] = time*60;
		format(PlayerInfo[playerb][pPrisonReason], 64, "%s", params);
		format(PlayerInfo[playerb][pPrisonBy], 32, "%s", RPN(playerid));
		SetPlayerInterior(playerb, 2);
		SetPlayerVirtualWorld(playerb, 1);
		ResetZaiatWeapons(playerb);
		RandomCell = random(sizeof(RandomPrison));
		SetPlayerFacingAngle(playerb, RandomPrison[RandomCell][3]);
		TogglePlayerControllable(playerb, 0);
		SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
		SetPlayerPos(playerb, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
		SetCameraBehindPlayer(playerb);
		format(string, sizeof(string), "{FF0000}[Helper]{FF6347} %s has been prisoned by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		Log("logs/prison.log", string);
		format(string, sizeof(string), " You have been prisoned by an helper for %d minutes (%d seconds)", PlayerInfo[playerb][pPrisonTime]/60, PlayerInfo[playerb][pPrisonTime]);
		SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
		GameTextForPlayer(playerb, "~w~Loading Objects", 3500, 3);
		TogglePlayerControllable(playerb, 0);
        SetTimerEx("EnterExitTimer", 5000, false, "i", playerb);
        PlayerInfo[playerb][pSpawnFreeze] = 1;
        // Clearing robbery
		if(BankRobber[playerb])
		{
		    new Rob = BankRobber[playerb]-1;
		    DisablePlayerCheckpoint(playerb);
			BankRobbersCount --;
			format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
			DeliverMoney[playerb] = 0;
			//
			foreach(Player, i)
			{
			    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
			    {
					if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
					else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
					else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
					else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
					else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
				}
			}
			format(string, sizeof(string), "** %s has been helper-prisoned and has failed the robbery. **", NORPN(playerb));
			SendRobberyMessage(COLOR_LIGHTRED, string);
			SendCopMessage(COLOR_LIGHTRED, string);
			SendFBIMessage(COLOR_LIGHTRED, string);
			BankRobber[playerb] = 0;
			if(BankRobbersCount == 0)
			{
				TextDrawHideForAll(Area5);
				TextDrawHideForAll(Textdraw1);
				TextDrawHideForAll(Textdraw2);
				TextDrawHideForAll(Textdraw3);
				TextDrawHideForAll(Textdraw4);
				TextDrawHideForAll(Textdraw5);
				BankRobbery = 0;
				RobberyStarted = 0;
				format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
				SendClientMessageToAll(COLOR_YELLOW, string);
				TotalRobbers = 0;
				new copsonline;
				foreach(Player, i)
				{
				    if(IsACop(i)) copsonline++;
				    if(IsAHSF(i)) copsonline++;
				    if(IsAFBI(i)) copsonline++;
				}
				foreach(Player, i)
				{
				    if(IsACop(i) && !IsAHSF(i) && !IsAFBI(i))
				    {
						new Saved = (TotalRobbers*50000-(TotalStolen*50000));
						GiveZaiatMoney(i, Saved/copsonline);
						format(string, sizeof(string), "** You have received your cut from the saved money. ($%d) ((Dirty Cops failed :D))", Saved/copsonline);
						SendClientMessage(i, COLOR_LIME, string);
				    }
				}
			}
		}
	}
	RemovePlayerAttachedObject(playerb, 0);
	SetPlayerSpecialAction(playerb, SPECIAL_ACTION_NONE);
	return 1;
}

CMD:prisoners(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Admin Prisoners]:");
	foreach(Player, i)
	{
	    if(PlayerInfo[i][pPrison] == 2)
	    {
			format(string, sizeof(string), "Name: %s | Reason: %s | Time Left: %d seconds | By: %s", RPN(i), PlayerInfo[i][pPrisonReason], PlayerInfo[i][pPrisonTime], PlayerInfo[i][pPrisonBy]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:familieshelp(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
    SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
    SendClientMessage(playerid, COLOR_YELLOW, "FAMILIES: {FFFFFF}/fcreate /fdelete /fedit /fstrike /fstrikes");
	return 1;
}

CMD:fedit(playerid, params[])
{
	new string[128], option[32], idx, skin, skinid, veh, vehid, col1, col2;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "is[32]", idx, option))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fedit [slot] [option]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: skin | name | leader | vehicle");
		return 1;
	}
	if(idx < 1 || idx > 15) return SendClientMessage(playerid, COLOR_GREY, "Families are between 1 and 15.");
	if(!FamInfo[idx][fTaken]) return SendClientMessage(playerid, COLOR_GREY, "Family slot is not being used.");
    if(!strcmp(option, "skin", true, 4))
    {
	    if(sscanf(params, "is[32]ii", idx, option, skin, skinid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fedit [familyslot] skin [skinslot] [skinid]");
		if(skin < 1 || skin > 7) return SendClientMessage(playerid, COLOR_GREY, "Skin slots are between 1 and 7.");
		skin = skin-1;
		FamInfo[idx][fSkins][skin] = skinid;
		/*switch(skin)
		{
		    case 1: FamInfo[idx][fSkins][0] = skinid;
		    case 2: FamInfo[idx][fSkins][1] = skinid;
		    case 3: FamInfo[idx][fSkins][2] = skinid;
		    case 4: FamInfo[idx][fSkins][3] = skinid;
		    case 5: FamInfo[idx][fSkins][4] = skinid;
		    case 6: FamInfo[idx][fSkins][5] = skinid;
		    case 7: FamInfo[idx][fSkins][6] = skinid;
		}*/
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set family %d's skin slot %d to %d.", NORPN(playerid), idx, skin+1, skinid);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		return 1;
	}
	else if(!strcmp(option, "name", true, 4))
	{
	    if(sscanf(params, "is[32]s[32]", idx, option, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fedit [familyslot] name [familyname]");
		format(FamInfo[idx][fName], 32, "%s", params);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set family %d's name to %s.", NORPN(playerid), idx, params);
		SendAdminMessage(COLOR_DARKRED, 1, string);
	}
	else if(!strcmp(option, "leader", true, 6))
	{
  		if(sscanf(params, "is[32]s[32]", idx, option, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fedit [familyslot] leader [leadername]");
		format(FamInfo[idx][fLeader], 32, "%s", params);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set family %d's leader name to %s.", NORPN(playerid), idx, params);
		SendAdminMessage(COLOR_DARKRED, 1, string);
	}
	else if(!strcmp(option, "vehicle", true, 7))
	{
 		if(sscanf(params, "is[32]iiii", idx, option, veh, vehid, col1, col2)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fedit [familyslot] vehicle [vehiclelot] [vehiclemodel] [color1] [color2]");
		if(veh < 1 || veh > 5) return SendClientMessage(playerid, COLOR_GREY, "Vehicle slots are between 1 and 5.");
		veh = veh-1;
		if(FamInfo[idx][fVehType][veh])
		{
		    FamInfo[idx][fVehType][veh] = 0;
		    FamInfo[idx][fVehCoX][veh] = 0;
			FamInfo[idx][fVehCoY][veh] = 0;
			FamInfo[idx][fVehCoZ][veh] = 0;
			FamInfo[idx][fVehRot][veh] = 0;
			FamInfo[idx][fVehCol1][veh] = 0;
			FamInfo[idx][fVehCol2][veh] = 0;
			DestroyVehicle(FamInfo[idx][fVeh][veh]);
		}
		if(vehid)
		{
			FamInfo[idx][fVehType][veh] = vehid;
			GetPlayerPos(playerid, FamInfo[idx][fVehCoX][veh], FamInfo[idx][fVehCoY][veh], FamInfo[idx][fVehCoZ][veh]);
			GetPlayerFacingAngle(playerid, FamInfo[idx][fVehRot][veh]);
			FamInfo[idx][fVehCol1][veh] = col1;
			FamInfo[idx][fVehCol2][veh] = col2;
			FamInfo[idx][fVeh][veh] = CreateVehicle(vehid, FamInfo[idx][fVehCoX][veh], FamInfo[idx][fVehCoY][veh], FamInfo[idx][fVehCoZ][veh], FamInfo[idx][fVehRot][veh], FamInfo[idx][fVehCol1][veh], FamInfo[idx][fVehCol2][veh], 12000);
	        ChangeVehicleColor(FamInfo[idx][fVeh][veh], FamInfo[idx][fVehCol1][veh], FamInfo[idx][fVehCol2][veh]);
	        Fam[FamInfo[idx][fVeh][veh]] = idx;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set family %d's vehicle slot %d to ID %d.", NORPN(playerid), idx, veh+1, vehid);
			SendAdminMessage(COLOR_DARKRED, 1, string);
		}
	}
	else SendClientMessage(playerid, COLOR_GREY, "Invalid option.");
	return 1;
}

CMD:fcreate(playerid, params[])
{
	new string[128], playerb, idx;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fcreate [playerid] [slot]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(idx < 1 || idx > 15) return SendClientMessage(playerid, COLOR_GREY, "Families are between 1 and 15.");
	if(FamInfo[idx][fTaken]) return SendClientMessage(playerid, COLOR_GREY, "Family slot is already in use.");
	FamInfo[idx][fTaken] = 1;
	FamInfo[idx][fMembers] ++;
	PlayerInfo[playerb][pFam] = idx;
	PlayerInfo[playerb][pFamRank] = 6;
	FamInfo[idx][fStrikes] = 0;
	format(FamInfo[idx][fLeader], MAX_PLAYER_NAME, "%s", RPN(playerb));
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given %s family slot %d.", NORPN(playerid), NORPN(playerb), idx);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/families.log", string);
	format(string, sizeof(string), " %s has given you family slot {33AA33}%d {33CCFF}ownership.", NORPN(playerid), idx);
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	return 1;
}

CMD:fstrike(playerid, params[])
{
	new string[128], idx;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fstrike [slot]");
	if(idx < 1 || idx > 15) return SendClientMessage(playerid, COLOR_GREY, "Families are between 1 and 15.");
	if(!FamInfo[idx][fTaken]) return SendClientMessage(playerid, COLOR_GREY, "Family slot is not being used.");
	FamInfo[idx][fStrikes] ++;
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given family slot %d a strike.", NORPN(playerid), idx);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/families.log", string);
	if(FamInfo[idx][fStrikes] >= 3)
	{
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has disbanded family slot %d. (3 Strikes)", NORPN(playerid), idx);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/families.log", string);
		foreach(Player, i)
		{
		    if(IsPlayerLoggedIn(i))
		    {
		        if(PlayerInfo[i][pFam] == idx)
		        {
		            PlayerInfo[i][pFam] = 0;
		            PlayerInfo[i][pFamRank] = 0;
			        format(string, sizeof(string), " %s has disbanded your family, you have been autokicked from the family.", NORPN(playerid));
					SendClientMessage(i, COLOR_LIGHTBLUE, string);
		        }
		    }
		}
		FamInfo[idx][fTaken] = 0;
		format(FamInfo[idx][fName], 32, "None");
		format(FamInfo[idx][fMOTD], 64, "");
		FamInfo[idx][fColor] = 0;
		format(FamInfo[idx][fLeader], MAX_PLAYER_NAME, "None");
		FamInfo[idx][fMembers] = 0;
		FamInfo[idx][fSafeX] = 0;
		FamInfo[idx][fSafeY] = 0;
		FamInfo[idx][fSafeZ] = 0;
		FamInfo[idx][fMoney] = 0;
		FamInfo[idx][fMats] = 0;
		FamInfo[idx][fWeed] = 0;
		FamInfo[idx][fCrack] = 0;
		format(FamInfo[idx][fRank1], 32, "");
		format(FamInfo[idx][fRank2], 32, "");
		format(FamInfo[idx][fRank3], 32, "");
		format(FamInfo[idx][fRank4], 32, "");
		format(FamInfo[idx][fRank5], 32, "");
		format(FamInfo[idx][fRank6], 32, "");
		FamInfo[idx][fSkins][0] = 0;
		FamInfo[idx][fSkins][1] = 0;
		FamInfo[idx][fSkins][2] = 0;
		FamInfo[idx][fSkins][3] = 0;
		FamInfo[idx][fSkins][4] = 0;
		FamInfo[idx][fSkins][5] = 0;
		FamInfo[idx][fSkins][6] = 0;
		DestroyDynamicPickup(FamInfo[idx][fPickup]);
		DestroyDynamic3DTextLabel(FamInfo[idx][fText]);
		for(new veh=0; veh<5; veh++)
		{
			if(FamInfo[idx][fVehType][veh])
			{
			    FamInfo[idx][fVehType][veh] = 0;
			    FamInfo[idx][fVehCoX][veh] = 0;
				FamInfo[idx][fVehCoY][veh] = 0;
				FamInfo[idx][fVehCoZ][veh] = 0;
				FamInfo[idx][fVehRot][veh] = 0;
				FamInfo[idx][fVehCol1][veh] = 0;
				FamInfo[idx][fVehCol2][veh] = 0;
				DestroyVehicle(FamInfo[idx][fVeh][veh]);
			}
		}
	}
	return 1;
}

CMD:fstrikes(playerid, params[])
{
	new string[128], idx, amount;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ii", idx, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fstrike [slot] [strikes]");
	if(idx < 1 || idx > 15) return SendClientMessage(playerid, COLOR_GREY, "Families are between 1 and 15.");
	if(amount < 0 || amount > 3) return SendClientMessage(playerid, COLOR_GREY, "Strikes are between 0 and 3.");
	if(!FamInfo[idx][fTaken]) return SendClientMessage(playerid, COLOR_GREY, "Family slot is not being used.");
	FamInfo[idx][fStrikes] ++;
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set family slot %d's strikes to %d.", NORPN(playerid), idx, amount);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/families.log", string);
	FamInfo[idx][fStrikes] = amount;
	if(FamInfo[idx][fStrikes] >= 3)
	{
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has disbanded family slot %d. (3 Strikes)", NORPN(playerid), idx);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/families.log", string);
		foreach(Player, i)
		{
		    if(IsPlayerLoggedIn(i))
		    {
		        if(PlayerInfo[i][pFam] == idx)
		        {
		            PlayerInfo[i][pFam] = 0;
		            PlayerInfo[i][pFamRank] = 0;
			        format(string, sizeof(string), " %s has disbanded your family, you have been autokicked from the family.", NORPN(playerid));
					SendClientMessage(i, COLOR_LIGHTBLUE, string);
		        }
		    }
		}
		FamInfo[idx][fTaken] = 0;
		format(FamInfo[idx][fName], 32, "None");
		format(FamInfo[idx][fMOTD], 64, "");
		FamInfo[idx][fColor] = 0;
		format(FamInfo[idx][fLeader], MAX_PLAYER_NAME, "None");
		FamInfo[idx][fMembers] = 0;
		FamInfo[idx][fSafeX] = 0;
		FamInfo[idx][fSafeY] = 0;
		FamInfo[idx][fSafeZ] = 0;
		FamInfo[idx][fMoney] = 0;
		FamInfo[idx][fMats] = 0;
		FamInfo[idx][fWeed] = 0;
		FamInfo[idx][fCrack] = 0;
		format(FamInfo[idx][fRank1], 32, "");
		format(FamInfo[idx][fRank2], 32, "");
		format(FamInfo[idx][fRank3], 32, "");
		format(FamInfo[idx][fRank4], 32, "");
		format(FamInfo[idx][fRank5], 32, "");
		format(FamInfo[idx][fRank6], 32, "");
		FamInfo[idx][fSkins][0] = 0;
		FamInfo[idx][fSkins][1] = 0;
		FamInfo[idx][fSkins][2] = 0;
		FamInfo[idx][fSkins][3] = 0;
		FamInfo[idx][fSkins][4] = 0;
		FamInfo[idx][fSkins][5] = 0;
		FamInfo[idx][fSkins][6] = 0;
		DestroyDynamicPickup(FamInfo[idx][fPickup]);
		DestroyDynamic3DTextLabel(FamInfo[idx][fText]);
		for(new veh=0; veh<5; veh++)
		{
			if(FamInfo[idx][fVehType][veh])
			{
			    FamInfo[idx][fVehType][veh] = 0;
			    FamInfo[idx][fVehCoX][veh] = 0;
				FamInfo[idx][fVehCoY][veh] = 0;
				FamInfo[idx][fVehCoZ][veh] = 0;
				FamInfo[idx][fVehRot][veh] = 0;
				FamInfo[idx][fVehCol1][veh] = 0;
				FamInfo[idx][fVehCol2][veh] = 0;
				DestroyVehicle(FamInfo[idx][fVeh][veh]);
			}
		}
	}
	return 1;
}

CMD:fdelete(playerid, params[])
{
	new string[128], idx;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGangMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /fdelete [slot]");
	if(idx < 1 || idx > 15) return SendClientMessage(playerid, COLOR_GREY, "Families are between 1 and 15.");
	if(!FamInfo[idx][fTaken]) return SendClientMessage(playerid, COLOR_GREY, "Family slot is not being used.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has disbanded family slot %d", NORPN(playerid), idx);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/families.log", string);
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
	        if(PlayerInfo[i][pFam] == idx)
	        {
	            PlayerInfo[i][pFam] = 0;
	            PlayerInfo[i][pFamRank] = 0;
		        format(string, sizeof(string), " %s has disbanded your family, you have been autokicked from the family.", NORPN(playerid));
				SendClientMessage(i, COLOR_LIGHTBLUE, string);
	        }
	    }
	}
	FamInfo[idx][fTaken] = 0;
	format(FamInfo[idx][fName], 32, "None");
	format(FamInfo[idx][fMOTD], 64, "");
	FamInfo[idx][fColor] = 0;
	format(FamInfo[idx][fLeader], MAX_PLAYER_NAME, "None");
	FamInfo[idx][fMembers] = 0;
	FamInfo[idx][fSafeX] = 0;
	FamInfo[idx][fSafeY] = 0;
	FamInfo[idx][fSafeZ] = 0;
	FamInfo[idx][fMoney] = 0;
	FamInfo[idx][fMats] = 0;
	FamInfo[idx][fWeed] = 0;
	FamInfo[idx][fCrack] = 0;
	format(FamInfo[idx][fRank1], 32, "");
	format(FamInfo[idx][fRank2], 32, "");
	format(FamInfo[idx][fRank3], 32, "");
	format(FamInfo[idx][fRank4], 32, "");
	format(FamInfo[idx][fRank5], 32, "");
	format(FamInfo[idx][fRank6], 32, "");
	FamInfo[idx][fSkins][0] = 0;
	FamInfo[idx][fSkins][1] = 0;
	FamInfo[idx][fSkins][2] = 0;
	FamInfo[idx][fSkins][3] = 0;
	FamInfo[idx][fSkins][4] = 0;
	FamInfo[idx][fSkins][5] = 0;
	FamInfo[idx][fSkins][6] = 0;
	DestroyDynamicPickup(FamInfo[idx][fPickup]);
	DestroyDynamic3DTextLabel(FamInfo[idx][fText]);
	for(new veh=0; veh<5; veh++)
	{
		if(FamInfo[idx][fVehType][veh])
		{
		    FamInfo[idx][fVehType][veh] = 0;
		    FamInfo[idx][fVehCoX][veh] = 0;
			FamInfo[idx][fVehCoY][veh] = 0;
			FamInfo[idx][fVehCoZ][veh] = 0;
			FamInfo[idx][fVehRot][veh] = 0;
			FamInfo[idx][fVehCol1][veh] = 0;
			FamInfo[idx][fVehCol2][veh] = 0;
			DestroyVehicle(FamInfo[idx][fVeh][veh]);
		}
	}
	return 1;
}

CMD:dynamics(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
    SendClientMessage(playerid, COLOR_GREEN, "_____________________________________________________");
    SendClientMessage(playerid, COLOR_YELLOW, "DOORS: {FFFFFF}/createdoor /deletedoor /gotodoor /dedit /dused");
    SendClientMessage(playerid, COLOR_YELLOW, "GATES: {FFFFFF}/creategate /deletegate /gotogate /gedit /gused");
    SendClientMessage(playerid, COLOR_YELLOW, "MAPICONS: {FFFFFF}/createmapicon /deletemapicon /gotomapicon /medit /mused");
    SendClientMessage(playerid, COLOR_YELLOW, "BUSINESSES: {FFFFFF}/createbiz /deletebiz /gotobiz /asellbiz /bedit /bused");
    SendClientMessage(playerid, COLOR_YELLOW, "GARAGES: {FFFFFF}/creategarage /deletegarage /gotogarage /asellgarage /ggedit /ggused");
    SendClientMessage(playerid, COLOR_YELLOW, "HOUSES: {FFFFFF}/createhouse /deletehouse /gotohouse /asellhouse /hedit /hused");
    SendClientMessage(playerid, COLOR_YELLOW, "ATM: {FFFFFF}/createatm /deleteatm");
	SendClientMessage(playerid, COLOR_YELLOW, "SPEEDCAM/BUMP: {FFFFFF}/createspeedcam /createspeedbump");
	SendClientMessage(playerid, COLOR_YELLOW, "MONEYBAG: {FFFFFF}/makemoneybag /deletemoneybag /deletemoneybags");
	return 1; // DynamicGates
}

CMD:createspeedcam(playerid, params[])
{
	new maxspeed;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "d", maxspeed)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /createspeedcam [Speed]");
    AddSpeedCam(playerid, maxspeed);
	LoadSpeedCams();
    SendClientMessage(playerid, COLOR_GREEN, "You've added a speedcam at your position");
    return 1;
}

CMD:createspeedbump(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    AddSpeedBump(playerid);
	LoadSpeedBumps();
    SendClientMessage(playerid, COLOR_GREEN, "You've added a speedbump at your position");
    return 1;
}

CMD:gedit(playerid, params[])
{
	new string[128], idx;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
 	if(sscanf(params, "s[128]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gedit [option] [gateid]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: object | close | open | speed | password");
		return 1;
	}
	if(!strcmp(params, "object", true, 5))
	{
	    new object;
	    if(sscanf(params, "s[128]ii", params, idx, object)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gedit object [gateid] [objectid]");
        if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
        if(object == 0)
		{
			format(string, sizeof(string), "%d", object);
			cmd_deletegate(playerid, string);
			return 1;
		}
		GateInfo[idx][gModel] = object;
		DestroyDynamicObject(GateInfo[idx][gGate]);
		GateInfo[idx][gGate] = CreateDynamicObject(GateInfo[idx][gModel], GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], GateInfo[idx][gCRX], GateInfo[idx][gCRY], GateInfo[idx][gCRZ]);
	    format(string, sizeof(string), " You have set gate ID %d's object ID to %d.", idx, object);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	else if(!strcmp(params, "close", true, 5))
	{
	    if(sscanf(params, "s[128]i", params, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gedit position [gateid]");
        if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
		gEdit[playerid] = 1;
		gEditID[playerid] = idx;
		GetDynamicObjectPos(GateInfo[idx][gGate], gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
		GetDynamicObjectRot(GateInfo[idx][gGate], gRot[playerid][0], gRot[playerid][1], gRot[playerid][2]);
		EditDynamicObject(playerid, GateInfo[idx][gGate]);
	    format(string, sizeof(string), " You are now editing gate ID %d's closing position.", idx);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	else if(!strcmp(params, "open", true, 4))
	{
	    if(sscanf(params, "s[128]i", params, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gedit open [gateid]");
        if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
		gEdit[playerid] = 2;
		gEditID[playerid] = idx;
		GetDynamicObjectPos(GateInfo[idx][gGate], gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
		GetDynamicObjectRot(GateInfo[idx][gGate], gRot[playerid][0], gRot[playerid][1], gRot[playerid][2]);
		EditDynamicObject(playerid, GateInfo[idx][gGate]);
	    format(string, sizeof(string), " You are now editing gate ID %d's opening position.", idx);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	else if(!strcmp(params, "speed", true, 5))
	{
	    new Float:speed;
	    if(sscanf(params, "s[128]if", params, idx, speed)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gedit open [gateid] [speed]");
        if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
		GateInfo[idx][gSpeed] = speed;
	    format(string, sizeof(string), " You have set gate ID %d's moving speed to %f.", idx, speed);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	else if(!strcmp(params, "password", true, 8))
	{
	    new password[256];
	    if(sscanf(params, "s[128]is[256]", params, idx, password)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gedit open [gateid] [password]");
        if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
		format(GateInfo[idx][gPassword], 256, "%s", password);
	    format(string, sizeof(string), " You have set gate ID %d's password to {FF6347}%s", idx, password);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	return 1;
}

CMD:gotogate(playerid, params[])
{
    new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotogate [gateid]");
	if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
	SetPlayerPos(playerid, GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ]);
	format(string, sizeof(string), " You have teleported to gate ID %d.", idx);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:gused(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Used Gates]:");
	for(new idx=1; idx<MAX_GATES; idx++)
	{
	    if(GateInfo[idx][gModel])
	    {
			format(string, sizeof(string), "ID: %d | Object: %d | Speed: %f | Password: %s", idx, GateInfo[idx][gModel], GateInfo[idx][gSpeed], GateInfo[idx][gPassword]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:deletegate(playerid, params[])
{
	new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deletegate [gateid]");
	if(!GateInfo[idx][gModel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid gate id.");
	GateInfo[idx][gModel] = 0;
	GateInfo[idx][gCX] = 0;
	GateInfo[idx][gCY] = 0;
	GateInfo[idx][gCZ] = 0;
	GateInfo[idx][gCRX] = 0;
	GateInfo[idx][gCRY] = 0;
	GateInfo[idx][gCRZ] = 0;
	GateInfo[idx][gOX] = 0;
	GateInfo[idx][gOY] = 0;
	GateInfo[idx][gOZ] = 0;
	GateInfo[idx][gORX] = 0;
	GateInfo[idx][gORY] = 0;
	GateInfo[idx][gORZ] = 0;
	GateInfo[idx][gStatus] = 0;
	format(GateInfo[idx][gPassword], 256, "");
	GateInfo[idx][gSpeed] = 0;
	DestroyDynamicObject(GateInfo[idx][gGate]);
	DestroyDynamic3DTextLabel(GateInfo[idx][gText]);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted gate ID %d.", RPN(playerid), idx);
    SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/gates.log", string);
	foreach(Player, i)
	{
		if(PlayerInfo[i][pGate][0] == idx)
		{
		    PlayerInfo[i][pGate][0] = 0;
		    SendClientMessage(playerid, COLOR_WHITE, " An administrator has deleted your gate in slot 1.");
		    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's slot 1 gate. (ID: %d)", RPN(playerid), RPN(i), idx);
		    SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/gates.log", string);
		}
		if(PlayerInfo[i][pGate][1] == idx)
		{
		    PlayerInfo[i][pGate][1] = 0;
		    SendClientMessage(playerid, COLOR_WHITE, " An administrator has deleted your gate in slot 2.");
		    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's slot 2 gate. (ID: %d)", RPN(playerid), RPN(i), idx);
		    SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/gates.log", string);
		}
		if(PlayerInfo[i][pGate][2] == idx)
		{
		    PlayerInfo[i][pGate][2] = 0;
		    SendClientMessage(playerid, COLOR_WHITE, " An administrator has deleted your gate in slot 3.");
		    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's slot 3 gate. (ID: %d)", RPN(playerid), RPN(i), idx);
		    SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/gates.log", string);
		}
	}
	return 1;
}

CMD:creategate(playerid, params[])
{
	new string[128], object;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", object)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /creategate [objectid]");
	for(new idx=1; idx<MAX_GATES; idx++)
	{
	    if(!GateInfo[idx][gModel])
	    {
	        GetPlayerPos(playerid, GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ]);
  			GateInfo[idx][gModel] = object;
			GateInfo[idx][gCX] = GateInfo[idx][gCX] + 2;
			GateInfo[idx][gCY] = GateInfo[idx][gCY] + 2;
			GateInfo[idx][gCRX] = 0;
			GateInfo[idx][gCRY] = 0;
			GateInfo[idx][gCRZ] = 0;
			GetPlayerPos(playerid, GateInfo[idx][gOX], GateInfo[idx][gOY], GateInfo[idx][gOZ]);
			GateInfo[idx][gOX] = GateInfo[idx][gOX] + 2;
			GateInfo[idx][gOY] = GateInfo[idx][gOY] + 2;
			GateInfo[idx][gORX] = 0;
			GateInfo[idx][gORY] = 0;
			GateInfo[idx][gORZ] = 0;
			GateInfo[idx][gStatus] = 0;
			format(GateInfo[idx][gPassword], 256, "");
			GateInfo[idx][gSpeed] = 2;
			// Creating
			format(string, sizeof(string), ""COE"(%d)", idx);
			GateInfo[idx][gGate] = CreateDynamicObject(GateInfo[idx][gModel], GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], GateInfo[idx][gCRX], GateInfo[idx][gCRY], GateInfo[idx][gCRZ]);
			GateInfo[idx][gText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], 10);
			// Text
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created gate ID %d. (Object: %d)", RPN(playerid), idx, object);
		    SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/gates.log", string);
			idx = MAX_GATES;
		}
	}
	return 1;
}

CMD:mused(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Used MapIcons]:");
	for(new idx=0; idx<MAX_MAPICONS; idx++)
	{
	    if(MapIconInfo[idx][mpType])
	    {
			format(string, sizeof(string), "ID: %d | Pickup: %d", idx, MapIconInfo[idx][mpType]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:medit(playerid, params[])
{
	new string[128], idx;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
 	if(sscanf(params, "s[128]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /medit [option] [mapiconid]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: Position | Icon");
		return 1;
	}
	if(!strcmp(params, "position", true, 8))
	{
	    if(sscanf(params, "s[128]i", params, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /medit position [mapiconid]");
        if(MapIconInfo[idx][mpType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid mapicon id.");
        GetPlayerPos(playerid, MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ]);
        DestroyDynamicMapIcon(MapIconInfo[idx][mpID]);
		MapIconInfo[idx][mpID] = CreateDynamicMapIcon(MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ], MapIconInfo[idx][mpType], 0 ,0);
	    format(string, sizeof(string), " You have set mapicon ID %d's position to your coordinates.", idx);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	if(!strcmp(params, "icon", true, 4))
	{
	    new pickup;
	    if(sscanf(params, "s[128]ii", params, idx, pickup)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /medit icon [mapiconid] [iconid]");
        if(pickup == 0 || pickup == 1) return SendClientMessage(playerid, COLOR_GREY, "Invalid mapicon type.");
        if(MapIconInfo[idx][mpType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid mapicon id.");
        MapIconInfo[idx][mpType] = pickup;
        DestroyDynamicMapIcon(MapIconInfo[idx][mpID]);
		MapIconInfo[idx][mpID] = CreateDynamicMapIcon(MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ], MapIconInfo[idx][mpType], 0 ,0);
	    format(string, sizeof(string), " You have set mapicon ID %d's icon to %d.", idx, pickup);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	return 1;
}

CMD:gotomapicon(playerid, params[])
{
    new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotomapicon [mapiconid]");
	if(!MapIconInfo[idx][mpType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid mapicon id.");
	SetPlayerInterior(playerid, 0);
	SetPlayerVirtualWorld(playerid, 0);
	SetPlayerPos(playerid, MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ]);
	format(string, sizeof(string), " You have teleported to mapicon ID %d.", idx);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:deletemapicon(playerid, params[])
{
	new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deletemapicon [mapiconid]");
	if(!MapIconInfo[idx][mpType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid mapicon id.");
    MapIconInfo[idx][mpType] = 0;
    MapIconInfo[idx][mpX] = 0;
	MapIconInfo[idx][mpY] = 0;
	MapIconInfo[idx][mpZ] = 0;
	DestroyDynamicMapIcon(MapIconInfo[idx][mpID]);
    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted mapicon ID %d.", RPN(playerid), idx);
    SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/mapicons.log", string);
	return 1;
}

CMD:createmapicon(playerid, params[])
{
	new string[128], type;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", type)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /createmapicon [icon]");
	if(type == 0 || type == 1) return SendClientMessage(playerid, COLOR_GREY, "Invalid mapicon type.");
	for(new idx=0; idx<MAX_MAPICONS; idx++)
	{
	    if(!MapIconInfo[idx][mpType])
	    {
		    MapIconInfo[idx][mpType] = type;
		    GetPlayerPos(playerid, MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ]);
		    MapIconInfo[idx][mpID] = CreateDynamicMapIcon(MapIconInfo[idx][mpX], MapIconInfo[idx][mpY], MapIconInfo[idx][mpZ], MapIconInfo[idx][mpType], 0 ,0);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created mapicon ID %d.", RPN(playerid), idx);
		    SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/mapicons.log", string);
			idx = MAX_DOORS;
		}
	}
	return 1;
}

CMD:dused(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pDoorMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Used Doors]:");
	for(new idx=0; idx<MAX_DOORS; idx++)
	{
	    if(DoorInfo[idx][dType])
	    {
			format(string, sizeof(string), "ID: %d | Pickup: %d | Int: %d | VW: %d | Custom Int: %d | Custom Ext: %d | %s", idx, DoorInfo[idx][dType], DoorInfo[idx][dOInt], DoorInfo[idx][dOVW], DoorInfo[idx][dCInt], DoorInfo[idx][dCExt], DoorInfo[idx][dText]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:dedit(playerid, params[])
{
	new idx, text[128], string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pDoorMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[128]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit [option] [doorid]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: Pickup | Text | Interior | Exterior | CustomInterior | CustomExterior");
		return 1;
	}
	if(!strcmp(params, "pickup", true, 6))
	{
	    new pickup;
	    if(sscanf(params, "s[128]ii", params, idx, pickup)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit pickup [doorid] [pickupid]");
        if(DoorInfo[idx][dType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
		DoorInfo[idx][dType] = pickup;
		if(IsValidDynamicPickup(DoorInfo[idx][dPickup]))
		{
		    DestroyDynamicPickup(DoorInfo[idx][dPickup]);
		}
		DoorInfo[idx][dPickup] = CreateDynamicPickup(DoorInfo[idx][dType], 1, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ], DoorInfo[idx][dOVW], DoorInfo[idx][dOInt]);
	    format(string, sizeof(string), " You have set door ID %d's pickup to %d", idx, pickup);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	if(!strcmp(params, "text", true, 4))
	{
	    if(sscanf(params, "s[128]is[128]", params, idx, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit text [doorid] [text]");
	    if(AntiAdv(playerid, params)) return 1;
        if(DoorInfo[idx][dType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
		format(DoorInfo[idx][dText], 128, "%s", text);
		format(string, sizeof(string), ""COE"%s (%d)", DoorInfo[idx][dText] , idx);
		UpdateDynamic3DTextLabelText(DoorInfo[idx][dTextID], COLOR_WHITE, string);
	    format(string, sizeof(string), " You have set door ID %d's text to %s", idx, text);
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	if(!strcmp(params, "interior", true, 8))
	{
	    if(sscanf(params, "s[128]i", params, idx, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit interior [doorid]");
        if(DoorInfo[idx][dType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
		DoorInfo[idx][dIInt] = GetPlayerInterior(playerid);
		DoorInfo[idx][dIVW] = GetPlayerVirtualWorld(playerid);
		GetPlayerFacingAngle(playerid, DoorInfo[idx][dIA]);
		GetPlayerPos(playerid, DoorInfo[idx][dIX], DoorInfo[idx][dIY], DoorInfo[idx][dIZ]);
	    format(string, sizeof(string), " You have set door ID %d's interior to your coordinates. (Int: %d | VW: %d)", idx, GetPlayerInterior(playerid), GetPlayerVirtualWorld(playerid));
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	if(!strcmp(params, "exterior", true, 8))
	{
	    if(sscanf(params, "s[128]i", params, idx, text)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit interior [doorid]");
        if(DoorInfo[idx][dType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
		DoorInfo[idx][dOInt] = GetPlayerInterior(playerid);
		DoorInfo[idx][dOVW] = GetPlayerVirtualWorld(playerid);
		GetPlayerFacingAngle(playerid, DoorInfo[idx][dOA]);
		GetPlayerPos(playerid, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]);
		DestroyDynamicPickup(DoorInfo[idx][dPickup]);
		DoorInfo[idx][dPickup] = CreateDynamicPickup(DoorInfo[idx][dType], 1, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ], DoorInfo[idx][dOVW], DoorInfo[idx][dOInt]);
		DestroyDynamic3DTextLabel(DoorInfo[idx][dTextID]);
		format(string, sizeof(string), ""COE"%s (%d)", DoorInfo[idx][dText] , idx);
		DoorInfo[idx][dTextID] = CreateDynamic3DTextLabel(string, COLOR_WHITE, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]+0.3, 15);
	    format(string, sizeof(string), " You have set door ID %d's exterior to your coordinates. (Int: %d | VW: %d)", idx, GetPlayerInterior(playerid), GetPlayerVirtualWorld(playerid));
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	if(!strcmp(params, "custominterior", true, 14))
	{
	    if(sscanf(params, "s[128]i", params, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit custominterior [doorid]");
        if(DoorInfo[idx][dType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
		if(!DoorInfo[idx][dCInt])
		{
			DoorInfo[idx][dCInt] = 1;
		    format(string, sizeof(string), " You have set door ID %d to have a custom interior.", idx, text);
	    }
	    else
	    {
	        DoorInfo[idx][dCInt] = 0;
		    format(string, sizeof(string), " You have set door ID %d to have a normal interior.", idx, text);
	    }
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	if(!strcmp(params, "customexterior", true, 14))
	{
	    if(sscanf(params, "s[128]i", params, idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /dedit customexterior [doorid]");
        if(DoorInfo[idx][dType] == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
		if(!DoorInfo[idx][dCExt])
		{
			DoorInfo[idx][dCExt] = 1;
		    format(string, sizeof(string), " You have set door ID %d to have a custom exterior.", idx, text);
	    }
	    else
	    {
	        DoorInfo[idx][dCExt] = 0;
		    format(string, sizeof(string), " You have set door ID %d to have a normal exterior.", idx, text);
	    }
	    SendClientMessage(playerid, COLOR_WHITE, string);
	}
	return 1;
}

CMD:gotodoor(playerid, params[])
{
    new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pDoorMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotodoor [doorid]");
	if(!DoorInfo[idx][dType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
	SetPlayerInterior(playerid, DoorInfo[idx][dOInt]);
	SetPlayerVirtualWorld(playerid, DoorInfo[idx][dOVW]);
	SetPlayerPos(playerid, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]);
	format(string, sizeof(string), " You have teleported to door ID %d.", idx);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:deletedoor(playerid, params[])
{
	new idx, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pDoorMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deleteedoor [doorid]");
	if(!DoorInfo[idx][dType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid door id.");
	DoorInfo[idx][dType] = 0;
	DoorInfo[idx][dOX] = 0;
	DoorInfo[idx][dOY] = 0;
	DoorInfo[idx][dOZ] = 0;
	DoorInfo[idx][dIX] = 0;
	DoorInfo[idx][dIY] = 0;
	DoorInfo[idx][dIZ] = 0;
	DoorInfo[idx][dOInt] = 0;
	DoorInfo[idx][dOVW] = 0;
	DoorInfo[idx][dIInt] = 0;
	DoorInfo[idx][dIVW] = 0;
	DoorInfo[idx][dCInt] = 0;
	DoorInfo[idx][dCExt] = 0;
	DoorInfo[idx][dVehicleAble] = 0;
	format(DoorInfo[idx][dText], 32, "");
	DestroyDynamicPickup(DoorInfo[idx][dPickup]);
    DestroyDynamic3DTextLabel(DoorInfo[idx][dTextID]);
    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted door ID %d.", RPN(playerid), idx);
    SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/doors.log", string);
	return 1;
}

CMD:createdoor(playerid, params[])
{
	new string[128], type;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pDoorMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", type)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /createdoor [pickupid]");
	if(type == 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid door type.");
	for(new idx=0; idx<MAX_DOORS; idx++)
	{
	    if(!DoorInfo[idx][dType])
	    {
		    GetPlayerPos(playerid, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]);
   		    DoorInfo[idx][dType] = type;
			DoorInfo[idx][dOInt] = GetPlayerInterior(playerid);
			DoorInfo[idx][dOVW] = GetPlayerVirtualWorld(playerid);
			GetPlayerFacingAngle(playerid, DoorInfo[idx][dOA]);
			// Creating the door
            DoorInfo[idx][dPickup] = CreateDynamicPickup(DoorInfo[idx][dType], 1, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ], DoorInfo[idx][dOVW], DoorInfo[idx][dOInt]);
   			format(string, sizeof(string), ""COE"/dedit... (%d)", idx);
			DoorInfo[idx][dTextID] = CreateDynamic3DTextLabel(string, COLOR_WHITE, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]+0.3, 15);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created door ID %d. (Int: %d | VW: %d)", RPN(playerid), idx, DoorInfo[idx][dOInt], DoorInfo[idx][dOVW]);
		    SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/doors.log", string);
			idx = MAX_DOORS;
		}
	}
	return 1;
}

CMD:interiors(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 1)
	{
        SendClientMessage(playerid, COLOR_GREY, "   You are not authorized to use this command.");
        return 1;
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOGID255, DIALOG_STYLE_LIST, "Interior List", "Burglar Houses\nBusinesses\nBars n Clubs\nRestaurants\nGirlfriends Houses\nHomies Houses\nP.I.M.P Clubs\nMiscellaneous", "Select", "Cancel");
	}
	return 1;
}

CMD:bused(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pBizMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Used Businesses]:");
	for(new idx=1; idx<MAX_BIZ; idx++)
	{
	    if(BizInfo[idx][bType])
	    {
			format(string, sizeof(string), "ID: %d | Type: %s | Level: %d | Price: $%d | Products: %d | Vault: $%d | Owner: %s", idx, RBT(idx), BizInfo[idx][bLevel], BizInfo[idx][bPrice],BizInfo[idx][bProducts], BizInfo[idx][bMoney], BizInfo[idx][bOwner]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:banreason(playerid, params[])
{
    new file[32], string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /banreason [playername]");
    format(file, sizeof(file), "users/%s.ini", params);
    if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player name.");
    if(!dini_Int(file, "pBanned")) return SendClientMessage(playerid, COLOR_GREY, "Player is not banned.");
    SendClientMessage(playerid, COLOR_ORANGE, "[Banned Player Information]:");
    format(string, sizeof(string), " Name: {FFFFFF}%s", params);
    SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), " Ban Reason: {FFFFFF}%s", dini_Get(file, "BanReason"));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	format(string, sizeof(string), " Banned By: {FFFFFF}%s", dini_Get(file, "BannedBy"));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	return 1;
}

CMD:bowners(playerid, params[])
{
    new file[32], string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Banned Businesses & House Owners]: (Check /banreason before taking an action on businesses)");
	for(new idx=1; idx<MAX_BIZ; idx++)
	{
	    if(strcmp("The State", BizInfo[idx][bOwner]))
	    {
	    	format(file, sizeof(file), "users/%s.ini", BizInfo[idx][bOwner]);
	    	if(dini_Exists(file))
	    	{
	    	    if(dini_Int(file, "pBanned") == 1)
				{
				    format(string, sizeof(string), " Business ID: %d - Owner: %s", idx, BizInfo[idx][bOwner]);
				    SendClientMessage(playerid, COLOR_ORANGE, string);
	    	    }
	    	}
	    }
	}
	for(new idx=1; idx<MAX_HOUSES; idx++)
	{
	    if(strcmp("The State", HouseInfo[idx][hOwner]))
	    {
	    	format(file, sizeof(file), "users/%s.ini", HouseInfo[idx][hOwner]);
	    	if(dini_Exists(file))
	    	{
	    	    if(dini_Int(file, "pBanned") == 1)
				{
				    format(string, sizeof(string), " House ID: %d - Owner: %s", idx, HouseInfo[idx][hOwner]);
				    SendClientMessage(playerid, COLOR_ORANGE, string);
	    	    }
	    	}
	    }
	}
	return 1;
}

CMD:bugs(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	new string[128], File: file = fopen("bugs.cfg", io_read), idx=1;
	SendClientMessage(playerid, COLOR_ORANGE, "[Real Life Roleplay Bugs]:");
	while(fread(file, string))
	{
	    format(string, sizeof(string), "%d) %s", idx, string);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    idx ++;
	}
	fclose(file);
	return 1;
}

CMD:ideas(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	new string[128], File: file = fopen("ideas.cfg", io_read), idx=1;
	SendClientMessage(playerid, COLOR_ORANGE, "[Real Life Roleplay Ideas]:");
	while(fread(file, string))
	{
	    format(string, sizeof(string), "%d) %s", idx, string);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    idx ++;
	}
	fclose(file);
	return 1;
}

CMD:bans(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	new string[128], File: file = fopen("banlist.cfg", io_read), idx=1;
	SendClientMessage(playerid, COLOR_ORANGE, "[Banned Players]:");
	while(fread(file, string))
	{
	    format(string, sizeof(string), "%d) %s", idx, string);
	    SendClientMessage(playerid, COLOR_ORANGE, string);
	    idx ++;
	}
	fclose(file);
	return 1;
}

CMD:deletebug(playerid, params[])
{
	new line;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	if(sscanf(params, "i", line)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deletebug [bugid]");
	if(line < 1) return SendClientMessage(playerid, COLOR_GREY, "Invalid bug id.");
	new string[128];
	fdeleteline("bugs.cfg", line);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted bug ID %d.", NORPN(playerid), line);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:removeban(playerid, params[])
{
	new line, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	if(sscanf(params, "i", line)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /removeban [banid]");
	if(line < 1) return SendClientMessage(playerid, COLOR_GREY, "Invalid bug id.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has removed a ban from the list.", NORPN(playerid), line);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	fdeleteline("banlist.cfg", line);
	return 1;
}

CMD:deleteidea(playerid, params[])
{
	new line;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	if(sscanf(params, "i", line)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deleteidea [ideaid]");
	if(line < 1) return SendClientMessage(playerid, COLOR_GREY, "Invalid bug id.");
	new string[128];
	fdeleteline("ideas.cfg", line);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted idea ID %d.", NORPN(playerid), line);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:bedit(playerid, params[])
{
	new bizid, string[128], input;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pBizMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit [option] [bizid]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: location | price | level | products | vault | truckers");
		return 1;
	}
	if(!strcmp(params, "location", true, 8))
	{
	    if(sscanf(params, "s[32]i", params, bizid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit location [bizid]");
		new idx=bizid;
		if(!BizInfo[bizid][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
		GetPlayerPos(playerid, BizInfo[bizid][bX], BizInfo[bizid][bY], BizInfo[bizid][bZ]);
		DestroyDynamicPickup(BizInfo[bizid][bPickup]);
    	BizInfo[bizid][bPickup] = CreateDynamicPickup(1272, 1, BizInfo[bizid][bX], BizInfo[bizid][bY], BizInfo[bizid][bZ], 0);
		DestroyDynamic3DTextLabel(BizInfo[bizid][bText]);
        if(!strcmp("The State", BizInfo[idx][bOwner])) format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, RBT(idx), BizInfo[idx][bOwner], BizInfo[idx][bPrice]);
		else format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, RBT(idx), BizInfo[idx][bOwner], RBS(idx));
    	BizInfo[bizid][bText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, BizInfo[bizid][bX], BizInfo[bizid][bY], BizInfo[bizid][bZ]+0.3, 15);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has changed business ID %d's location.", NORPN(playerid), bizid);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/business.log", string);
	}
	else if(!strcmp(params, "price", true, 5))
	{
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit price [bizid] [price]");
		if(!BizInfo[bizid][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
		if(strcmp("The State", BizInfo[bizid][bOwner])) return SendClientMessage(playerid, COLOR_GREY, "You can't edit the price of owned businesses.");
	    BizInfo[bizid][bPrice] = input;
	    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", bizid, RBT(bizid), BizInfo[bizid][bOwner], BizInfo[bizid][bPrice]);
	    UpdateDynamic3DTextLabelText(BizInfo[bizid][bText], COLOR_WHITE, string);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set business ID %d's price to $%d.", NORPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/business.log", string);
	}
	else if(!strcmp(params, "level", true, 5))
	{
	    // L1: 0 | L2: 100 | L3: 300 | L4: 700 | L5: 1200
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit level [bizid] [level]");
    	if(!BizInfo[bizid][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
    	if(input < 0 || input > 5) return SendClientMessage(playerid, COLOR_GREY, "Levels are between 1 and 5.");
	    BizInfo[bizid][bLevel] = input;
	    if(input == 1) BizInfo[bizid][bSold] = 0;
	    if(input == 2) BizInfo[bizid][bSold] = 100;
	    if(input == 3) BizInfo[bizid][bSold] = 300;
	    if(input == 4) BizInfo[bizid][bSold] = 700;
	    if(input == 5) BizInfo[bizid][bSold] = 1200;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set business ID %d's level to %d.", NORPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/business.log", string);
	}
	else if(!strcmp(params, "products", true, 8))
	{
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit products [bizid] [amount]");
    	if(!BizInfo[bizid][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
    	if(input < 0) return SendClientMessage(playerid, COLOR_GREY, "Products can't be negative.");
	    BizInfo[bizid][bProducts] = input;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set business ID %d's products to %d.", NORPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/business.log", string);
	}
	else if(!strcmp(params, "vault", true, 5))
	{
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit vault [bizid] [amount]");
    	if(!BizInfo[bizid][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
    	if(input < 0) return SendClientMessage(playerid, COLOR_GREY, "Vault money can't be negative.");
	    BizInfo[bizid][bMoney] = input;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set business ID %d's vault money to $%d.", NORPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/business.log", string);
	}
	else if(!strcmp(params, "truckers", true, 8))
	{
   	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bedit truckers [bizid] [type] (1=Accepting | 2=NotAccepting");
        if(!BizInfo[bizid][bAP])
		{
		    BizInfo[bizid][bAP] = 1;
		    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set business ID %d to accept truckers.", NORPN(playerid), bizid);
			SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/business.log", string);
		}
		else
		{
		    BizInfo[bizid][bAP] = 0;
		    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set business ID %d to NOT accept truckers.", NORPN(playerid), bizid);
			SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/business.log", string);
		}
	}
	return 1;
}

CMD:gotobiz(playerid, params[])
{
    new idx, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pBizMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotobiz [bizid]");
	if(!BizInfo[idx][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
	SetPlayerVirtualWorld(playerid, 0);
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]);
	format(string, sizeof(string), " You have teleported to business ID %d.", idx);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:asellbiz(playerid, params[])
{
	new bizid, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pBizMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", bizid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /asellbiz [bizid]");
	if(!BizInfo[bizid][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
	if(!strcmp("The State", BizInfo[bizid][bOwner], true)) return SendClientMessage(playerid, COLOR_GREY, "This business is not owned by anybody.");
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && PlayerInfo[i][pBiz] == bizid)
		{
			PlayerInfo[i][pBiz] = 0;
			format(string, sizeof(string), " Administrator %s has sold your business.", RPN(playerid));
			SendClientMessage(i, COLOR_WHITE, string);
		}
	}
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has sold %s's business. (ID %d)", RPN(playerid), BizInfo[bizid][bOwner], bizid);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/business.log", string);
    BizInfo[bizid][bStatus] = 0;
    format(BizInfo[bizid][bOwner], 32, "The State");
    format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", bizid, RBT(bizid), BizInfo[bizid][bOwner], BizInfo[bizid][bPrice]);
 	UpdateDynamic3DTextLabelText(BizInfo[bizid][bText], COLOR_WHITE, string);
	return 1;
}

CMD:createhouse(playerid, params[])
{
	new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	for(new idx=1; idx<MAX_HOUSES; idx++)
	{
	    if(!HouseInfo[idx][hLevel])
		{
		    // Getting Business Setup
		    new Float:X, Float:Y, Float:Z;
		    GetPlayerPos(playerid, X, Y, Z);
		    // Making Business
		    HouseInfo[idx][hLevel] = 1;
		    HouseInfo[idx][hPrice] = 225000;
		    HouseInfo[idx][hStatus] = 0;
		    format(HouseInfo[idx][hOwner], 32, "The State");
		    HouseInfo[idx][hX] = X;
		    HouseInfo[idx][hY] = Y;
		    HouseInfo[idx][hZ] = Z;
		    HouseInfo[idx][hMoney] = 0;
		    HouseInfo[idx][hMaterials] = 0;
		    HouseInfo[idx][hWeed] = 0;
		    HouseInfo[idx][hCrack] = 0;
			HouseInfo[idx][hGun][0] = 0;
			HouseInfo[idx][hGunAmmo][0] = 0;
			HouseInfo[idx][hGun][1] = 0;
			HouseInfo[idx][hGunAmmo][1] = 0;
			HouseInfo[idx][hGun][2] = 0;
			HouseInfo[idx][hGunAmmo][2] = 0;
			HouseInfo[idx][hGun][3] = 0;
			HouseInfo[idx][hGunAmmo][3] = 0;
			HouseInfo[idx][hGun][4] = 0;
			HouseInfo[idx][hGunAmmo][4] = 0;
		    HouseInfo[idx][hPickup] = CreateDynamicPickup(1273, 1, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ], 0);
            format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
			HouseInfo[idx][hText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]+0.3, 15);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created house ID %d.", RPN(playerid), idx);
			SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/house.log", string);
			idx = MAX_HOUSES;
		}
	}
	return 1;
}

CMD:deletehouse(playerid, params[])
{
	new id, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deletehouse [houseid]");
	if(!HouseInfo[id][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
    foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && PlayerInfo[i][pHouse] == id)
		{
		    PlayerInfo[i][pHouse] = 0;
		    format(string, sizeof(string), " Administrator %s has deleted your house.", RPN(playerid));
			SendClientMessage(i, COLOR_WHITE, string);
		}
	}
	if(!strcmp("The State", HouseInfo[id][hOwner]))
	{
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted house ID %d.", RPN(playerid), id);
	}
	else
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's house. (ID %d)", RPN(playerid), HouseInfo[id][hOwner], id);
	}
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/house.log", string);
	HouseInfo[id][hLevel] = 0;
    HouseInfo[id][hPrice] = 0;
    HouseInfo[id][hStatus] = 0;
    format(HouseInfo[id][hOwner], 32, "");
    HouseInfo[id][hX] = 0;
    HouseInfo[id][hY] = 0;
    HouseInfo[id][hZ] = 0;
    HouseInfo[id][hMoney] = 0;
    HouseInfo[id][hMaterials] = 0;
    HouseInfo[id][hWeed] = 0;
    HouseInfo[id][hCrack] = 0;
	HouseInfo[id][hGun][0] = 0;
	HouseInfo[id][hGunAmmo][0] = 0;
	HouseInfo[id][hGun][1] = 0;
	HouseInfo[id][hGunAmmo][1] = 0;
	HouseInfo[id][hGun][2] = 0;
	HouseInfo[id][hGunAmmo][2] = 0;
	HouseInfo[id][hGun][3] = 0;
	HouseInfo[id][hGunAmmo][3] = 0;
	HouseInfo[id][hGun][4] = 0;
	HouseInfo[id][hGunAmmo][4] = 0;
    DestroyDynamicPickup(HouseInfo[id][hPickup]);
    DestroyDynamic3DTextLabel(HouseInfo[id][hText]);
	return 1;
}

CMD:gotohouse(playerid, params[])
{
    new idx, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotohouse [houseid]");
	if(!HouseInfo[idx][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid house id.");
	SetPlayerVirtualWorld(playerid, 0);
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]);
	format(string, sizeof(string), " You have teleported to house ID %d.", idx);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:hused(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Used Houses]:");
	for(new idx=1; idx<MAX_HOUSES; idx++)
	{
	    if(HouseInfo[idx][hLevel])
	    {
			format(string, sizeof(string), "ID: %d | Level: %d | Price: $%d | Money: $%d | Materials: %d | Weed: %d | Crack: %d | Owner: %s",
			idx, HouseInfo[idx][hLevel], HouseInfo[idx][hPrice], HouseInfo[idx][hMoney], HouseInfo[idx][hMaterials], HouseInfo[idx][hWeed], HouseInfo[idx][hCrack], HouseInfo[idx][hOwner]);
			SendClientMessage(playerid, COLOR_ORANGE, string);
	    }
	}
	return 1;
}

CMD:asellhouse(playerid, params[])
{
	new bizid, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", bizid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /asellhouse [houseid]");
	if(!HouseInfo[bizid][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid house id.");
	if(!strcmp("The State", HouseInfo[bizid][hOwner], true)) return SendClientMessage(playerid, COLOR_GREY, "This house is not owned by anybody.");
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && PlayerInfo[i][pHouse] == bizid)
		{
			PlayerInfo[i][pHouse] = 0;
			format(string, sizeof(string), " Administrator %s has sold your house.", RPN(playerid));
			SendClientMessage(i, COLOR_WHITE, string);
		}
	}
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has sold %s's house. (ID %d)", RPN(playerid), HouseInfo[bizid][hOwner], bizid);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/house.log", string);
    HouseInfo[bizid][hStatus] = 0;
    format(HouseInfo[bizid][hOwner], 32, "The State");
    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", bizid, HouseInfo[bizid][hLevel], HouseInfo[bizid][hOwner], HouseInfo[bizid][hPrice]);
 	UpdateDynamic3DTextLabelText(HouseInfo[bizid][hText], COLOR_WHITE, string);
	return 1;
}

CMD:hedit(playerid, params[])
{
	new bizid, string[128], input;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hedit [option] [houseid]");
		SendClientMessage(playerid, COLOR_GREY, "OPTIONS: location | price | level");
		return 1;
	}
	if(!strcmp(params, "location", true, 8))
	{
	    if(sscanf(params, "s[32]i", params, bizid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hedit location [house]");
        new idx = bizid;
        if(!HouseInfo[bizid][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid house id.");
		GetPlayerPos(playerid, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]);
		DestroyDynamicPickup(HouseInfo[idx][hPickup]);
    	HouseInfo[idx][hPickup] = CreateDynamicPickup(1273, 1, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ], 0);
		DestroyDynamic3DTextLabel(HouseInfo[idx][hText]);
        if(!strcmp("The State", HouseInfo[idx][hOwner])) format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
		else format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
		HouseInfo[idx][hText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]+0.3, 15);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has changed house ID %d's location.", RPN(playerid), bizid);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/house.log", string);
	}
	else if(!strcmp(params, "price", true, 5))
	{
    	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /house price [house] [price]");
        new idx = bizid;
		if(!HouseInfo[idx][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid house id.");
		if(strcmp("The State", HouseInfo[bizid][hOwner])) return SendClientMessage(playerid, COLOR_GREY, "You can't edit the price of owned businesses.");
	    HouseInfo[bizid][hPrice] = input;
	    format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
		UpdateDynamic3DTextLabelText(HouseInfo[bizid][hText], COLOR_WHITE, string);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set house ID %d's price to $%d.", RPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/house.log", string);
	}
	else if(!strcmp(params, "level", true, 5))
	{
		if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pHouseMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
	    if(sscanf(params, "s[32]ii", params, bizid, input)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /house level [houseid] [level]");
        new idx = bizid;
    	//if(!HouseInfo[bizid][hLevel]) return SendClientMessage(playerid, COLOR_GREY, "Invalid house id.");
    	if(input < 1 || input > 11) return SendClientMessage(playerid, COLOR_GREY, "Levels are between 1 and 11.");
	    HouseInfo[bizid][hLevel] = input;
        if(!strcmp("The State", HouseInfo[idx][hOwner])) format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], HouseInfo[idx][hPrice]);
		else format(string, sizeof(string), ""COE"["CWE"%d, House (Lvl: %d)"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" %s", idx, HouseInfo[idx][hLevel], HouseInfo[idx][hOwner], RHS(idx));
		UpdateDynamic3DTextLabelText(HouseInfo[bizid][hText], COLOR_WHITE, string);
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set house ID %d's level to %d.", RPN(playerid), bizid, input);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		Log("logs/house.log", string);
	}
	return 1;
}

CMD:createbiz(playerid, params[])
{
	new type, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pBizMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", type))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /createbiz [type]");
		SendClientMessage(playerid, COLOR_GREY, "TYPES: 1) 24/7 | 2) Clothes Shop | 3) Ammunation | 4) Club | 5) Advertisement Agency | 6) Fast Food | 7) Casino");
		return 1;
	}
	if(type < 1 || type > 7) return SendClientMessage(playerid, COLOR_GREY, "Businesses are between 1 and 7.");
	for(new idx=1; idx<MAX_BIZ; idx++)
	{
	    if(!BizInfo[idx][bType])
		{
			g_bizRobber[idx] = -1;
		    // Getting Business Setup
		    new Float:X, Float:Y, Float:Z;
		    GetPlayerPos(playerid, X, Y, Z);
		    // Making Business
		    BizInfo[idx][bType] = type;
		    BizInfo[idx][bStatus] = 0;
		    format(BizInfo[idx][bOwner], 32, "The State");
		    BizInfo[idx][bX] = X;
		    BizInfo[idx][bY] = Y;
		    BizInfo[idx][bZ] = Z;
		    BizInfo[idx][bMoney] = 0;
		    BizInfo[idx][bProducts] = 0;
		    BizInfo[idx][bSold] = 0;
		    BizInfo[idx][bLevel] = 1;
		    BizInfo[idx][bPrice] = 99999999;
			BizInfo[idx][bPickup] = CreateDynamicPickup(1272, 1, X, Y, Z, 0);
			format(string, sizeof(string), ""COE"["CWE"%d, %s"COE"]\n"COE"Owner"CWE" %s\n"COE"Status"CWE" For Sale\n"CWE"$%d", idx, RBT(idx), BizInfo[idx][bOwner], BizInfo[idx][bPrice]);
			BizInfo[idx][bText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, X, Y, Z, 15);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created business ID %d.", RPN(playerid), idx);
			SendAdminMessage(COLOR_DARKRED, 1, string);
			Log("logs/business.log", string);
			idx = MAX_BIZ;
		}
	}
	return 1;
}

CMD:deletebiz(playerid, params[])
{
	new id, string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pBizMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deletebiz [bizid]");
	if(!BizInfo[id][bType]) return SendClientMessage(playerid, COLOR_GREY, "Invalid business id.");
    foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i) && PlayerInfo[i][pBiz] == id)
		{
		    PlayerInfo[playerid][pBiz] = 0;
		    format(string, sizeof(string), " Administrator %s has deleted your business.", RPN(playerid));
			SendClientMessage(i, COLOR_WHITE, string);
		}
	}
	if(!strcmp("The State", BizInfo[id][bOwner]))
	{
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted business ID %d.", RPN(playerid), id);
	}
	else
	{
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has deleted %s's business. (ID %d)", RPN(playerid), BizInfo[id][bOwner], id);
	}
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/business.log", string);
	BizInfo[id][bType] = 0;
    BizInfo[id][bStatus] = 0;
    format(BizInfo[id][bOwner], 32, "");
    BizInfo[id][bX] = 0;
    BizInfo[id][bY] = 0;
    BizInfo[id][bZ] = 0;
    BizInfo[id][bMoney] = 0;
    BizInfo[id][bProducts] = 0;
    DestroyDynamicPickup(BizInfo[id][bPickup]);
    DestroyDynamic3DTextLabel(BizInfo[id][bText]);
	return 1;
}

CMD:sobeit(playerid, params[])
{
	new playerb, string[128], weapons[13][2];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(!strcmp(params, "all", true))
	{
	    format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has checked everybody online for sobeit hacks.", NORPN(playerid));
	    SendClientMessageToAll(COLOR_LIGHTRED, string);
		foreach(Player, p)
		{
			for(new i=0; i<13; i++)
			{
		       	GetPlayerWeaponData(p, i, weapons[i][0], weapons[i][1]);
		        if(weapons[i][0] != PlayerInfo[p][pWeapon][i] && weapons[i][0] != PlayerInfo[playerb][pWeapon][i] && weapons[i][1] != 0)
		        {
			        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is hacking a %s. (Global sobeit check by %s)", NORPN(p), RWN(weapons[i][0]), NORPN(playerid));
			        SendAdminMessage(COLOR_DARKRED, 1, string);
		        }
			}
		}
		return 1;
	}
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sobeit [playerid/all]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has checked %s for sobeit hacks.", NORPN(playerid), NORPN(playerb));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	for(new i=0; i<13; i++)
	{
		GetPlayerWeaponData(playerb, i, weapons[i][0], weapons[i][1]);
		if(weapons[i][0] != PlayerInfo[playerb][pWeapon][i])
	    {
 			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is hacking a %s. (Specific sobeit check by %s)", NORPN(playerb), RWN(weapons[i][0]), NORPN(playerid));
			SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	}
	return 1;
}

CMD:listguns(playerid, params[])
{
	new playerb, string[128], weaps, weapons[13][2];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not an authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params,"u",playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /listguns [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	SendClientMessage(playerid, COLOR_GREEN, "____________________________");
	format(string, sizeof(string), "*** %s's Weapons ***", RPN(playerb));
	SendClientMessage(playerid, COLOR_ORANGE, string);
	for(new i=0; i<13; i++)
	{
       	GetPlayerWeaponData(playerb, i, weapons[i][0], weapons[i][1]);
        if(weapons[i][0] != PlayerInfo[playerb][pWeapon][i] && weapons[i][0] != PlayerInfo[playerb][pWeapon][i] && weapons[i][1] != 0)
        {
	        format(string, sizeof(string), " %s (Ammo: %d) (Hacked)", RWN(weapons[i][0]), weapons[i][1]);
	        SendClientMessage(playerid, COLOR_MEDIC, string);
	        weaps++;
        }
        else if(weapons[i][0] == PlayerInfo[playerb][pWeapon][i] && weapons[i][0] != 0)
        {
            format(string, sizeof(string), " %s (Ammo: %d)", RWN(PlayerInfo[playerb][pWeapon][i]), weapons[i][1]);
	        SendClientMessage(playerid, COLOR_MEDIC, string);
	        weaps++;
        }
	}
	if(weaps == 0) return SendClientMessage(playerid, COLOR_MEDIC, "None");
	return 1;
}

CMD:spec(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(!strcmp(params, "off", true))
	{
	    if(!Spec[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You aren't spectating anybody.");
	    Spec[playerid] = 0;
    	TogglePlayerSpectating(playerid, 0);
    	GetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
    	GetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
		SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVW]);
		SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
		SetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
		SendClientMessage(playerid, COLOR_WHITE, " You have stopped spectating players.");
//		if(PlayerInfo[Specid[playerid]][pAdmin] >= PlayerInfo[playerid][pAdmin])
//  	{
//			format(string, sizeof(string), "SpecWarn: %s has stopped spectating you.", RPN(playerid));
//			SendClientMessage(Specid[playerid], COLOR_DARKRED, string);
//	    }
	    Specid[playerid] = -1;
		return 1;
	}
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /spec [playerid]");
	if(playerid == playerb) return SendClientMessage(playerid, COLOR_GREY, "You can't spectate yourself.");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(Spec[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player is spectating someone.");
    PlayerInfo[playerid][pModel] = GetPlayerSkin(playerid);
	/*if(Specid[playerid] != -1 && PlayerInfo[Specid[playerid]][pAdmin] > PlayerInfo[playerid][pAdmin])
	{
			format(string, sizeof(string), "SpecWarn: %s has stopped spectating you.", RPN(playerid));
			SendClientMessage(Specid[playerid], COLOR_DARKRED, string);
	}*/
    if(!Spec[playerid])
    {
	    PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
	    PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
	    GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
    }
    Specid[playerid] = playerb;
    TogglePlayerSpectating(playerid, 1);
    Spec[playerid] = 1;
    SetPlayerInterior(playerid, GetPlayerInterior(playerb));
    SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerb));
    format(string, sizeof(string), " Currently spectating %s", NORPN(playerb));
    SendClientMessage(playerid, COLOR_WHITE, string);
    if(IsPlayerInAnyVehicle(playerb))
    {
		PlayerSpectateVehicle(playerid, GetPlayerVehicleID(playerb));
    }
    else
    {
        PlayerSpectatePlayer(playerid, playerb);
    }
//    if(PlayerInfo[playerb][pAdmin] >= PlayerInfo[playerid][pAdmin] || PlayerInfo[playerb][pHelper] >= PlayerInfo[playerid][pHelper] || PlayerInfo[playerb][pAdmin] >= PlayerInfo[playerid][pHelper])
//    {
//		format(string, sizeof(string), "SpecWarn: %s is currently spectating you.", NORPN(playerid));
//		SendClientMessage(playerb, COLOR_DARKRED, string);
//    }
    if(!PlayerInfo[playerb][pTutorial]) SendClientMessage(playerid, COLOR_WHITE, " That player is viewing the tutorial, don't assume he's using hacks yet.");
	return 1;
}

CMD:tog(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(sscanf(params, "s[16]", params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tog [option]");
	    SendClientMessage(playerid, COLOR_GREY, "OPTIONS: fuel | speedo | phone | vip | join | oldskool | loyal | pm | gc");
	    if(PlayerInfo[playerid][pAdmin]) SendClientMessage(playerid, COLOR_GREY, "OPTIONS: adminooc | adminnewbie | betachat | noadmin | nohelper");
	    if(PlayerInfo[playerid][pAdmin]) SendClientMessage(playerid, COLOR_GREY, "OPTIONS: adminvip | admingc | adminirc");
	    return 1;
	}
	if(!strcmp(params, "noadmin", true))
	{
		if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
		if (!noadmin)
		{
			noadmin = 1;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} The administrator chat has been disabled by reasons.");
			SendAdminMessage(COLOR_DARKRED, 1, string);
		}
		else
		{
			noadmin = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} The administrator chat has been enabled enjoy!");
			SendAdminMessage(COLOR_DARKRED, 1, string);
		}
		return 1;
	}
	if(!strcmp(params, "nohelper", true))
	{
		if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
		if (!nohelper)
		{
			nohelper = 1;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} The helper chat has been disabled by reasons.");
			SendHelperMessage(COLOR_DARKRED, 1, string);
		}
		else
		{
			nohelper = 0;
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} The helper chat has been enabled enjoy!");
			SendHelperMessage(COLOR_DARKRED, 1, string);
		}
		return 1;
	}
	if(!strcmp(params, "speedo", true))
	{
		if(!PlayerInfo[playerid][pSpeedo]) return SendClientMessage(playerid, COLOR_GREY, "You don't have a speedometer.");
		if(!Speedo[playerid])
		{
		    Speedo[playerid] = 1;
		    TextDrawShowForPlayer(playerid,speedometer);
		    format(string, sizeof(string), "You have turned your speedometer {33AA33}on{33CCFF}.");
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		}
		else
		{
		    Speedo[playerid] = 0;
		    TextDrawHideForPlayer(playerid,speedometer);
		    format(string, sizeof(string), "You have turned your speedometer {FF9900}off{33CCFF}.");
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		}
		return 1;
	}
	else if(!strcmp(params, "oldskool", true))
	{
		if(PlayerInfo[playerid][pHours] < 248) return SendClientMessage(playerid, COLOR_GREY, "You need to have at least 248 respect points to use this feature.");
		if(!PlayerInfo[playerid][pOldskool])
		{
		    PlayerInfo[playerid][pOldskool] = 1;
		    format(string, sizeof(string), "You have toggled your Oldskool tag {33AA33}on{33CCFF}.");
		    SendClientMessage(playerid, COLOR_WHITE, string);
		}
		else
		{
		    PlayerInfo[playerid][pOldskool] = 0;
		    format(string, sizeof(string), "You have toggled your Oldskool tag {FF9900}off{33CCFF}.");
		    SendClientMessage(playerid, COLOR_WHITE, string);
		}
		return 1;
	}
	else if(!strcmp(params, "loyal", true))
	{
		if(PlayerInfo[playerid][pLoyal] && PlayerInfo[playerid][pLevel] < 5) return SendClientMessage(playerid, COLOR_GREY, "You are not a Loyal player.");
		if(!PlayerInfo[playerid][pLoyalTag])
		{
		    PlayerInfo[playerid][pLoyalTag] = 1;
		    format(string, sizeof(string), "You have toggled your Loyal tag {33AA33}on{33CCFF}.");
		    SendClientMessage(playerid, COLOR_WHITE, string);
		}
		else
		{
		    PlayerInfo[playerid][pLoyalTag] = 0;
		    format(string, sizeof(string), "You have toggled your Loyal tag {FF9900}off{33CCFF}.");
		    SendClientMessage(playerid, COLOR_WHITE, string);
		}
		return 1;
	}
	else if(!strcmp(params, "fuel", true))
	{
	    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
		if(!fMeter[playerid])
		{
		    fMeter[playerid] = 1;
		    TextDrawShowForPlayer(playerid,fuelmeter);
		    format(string, sizeof(string), "You have turned your fuel information {33AA33}on{33CCFF}.");
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		}
		else
		{
		    fMeter[playerid] = 0;
		    TextDrawHideForPlayer(playerid,fuelmeter);
		    format(string, sizeof(string), "You have turned your fuel information {FF9900}off{33CCFF}.");
		    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
		}
		return 1;
	}
	else if(!strcmp(params, "phone", true))
	{
		if(PlayerInfo[playerid][pLevel] < 5) return SendClientMessage(playerid, COLOR_GREY, "You need Level 5 to turn your phone off.");
	    if(!PhoneOff[playerid])
	    {
	        format(string, sizeof(string), "* %s turns their phone off.", RPN(playerid));
 			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        PhoneOff[playerid] = 1;
	        SendClientMessage(playerid, COLOR_WHITE, " You have turned your phone {FF9900}off{FFFFFF}.");
	    }
	    else
	    {
	        format(string, sizeof(string), "* %s turns their phone on.", RPN(playerid));
 			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        PhoneOff[playerid] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " You have turned your phone {33AA33}on{FFFFFF}.");
	    }
	    return 1;
	}
	else if(!strcmp(params, "pm", true))
	{
	    if(!PmOff[playerid])
	    {
	        PmOff[playerid] = 1;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled PM System {FF9900}off{FFFFFF}.");
	    }
	    else
	    {
	        PmOff[playerid] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled PM System {33AA33}on{FFFFFF}.");
	    }
	    return 1;
	}
	else if(!strcmp(params, "vip", true))
	{
	    if(!VIPOff[playerid])
	    {
	        VIPOff[playerid] = 1;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled VIP chat {FF9900}off{FFFFFF}.");
	    }
	    else
	    {
	        VIPOff[playerid] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled VIP chat {33AA33}on{FFFFFF}.");
	    }
	    return 1;
	}
	else if(!strcmp(params, "gc", true))
	{
	    if(!GCOff[playerid])
	    {
	        GCOff[playerid] = 1;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled GC chat {FF9900}off{FFFFFF}.");
	    }
	    else
	    {
	        GCOff[playerid] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled GC chat {33AA33}on{FFFFFF}.");
	    }
	    return 1;
	}
	else if(!strcmp(params, "join", true))
	{
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
		if(!JoinMessages[playerid])
	    {
	        JoinMessages[playerid] = 1;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled Join Messages {33AA33}on{FFFFFF}.");
	    }
	    else
	    {
	        JoinMessages[playerid] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled Join Messages {FF9900}off{FFFFFF}.");
	    }
	    return 1;
	}
	else if(!strcmp(params, "betachat", true))
	{
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(PlayerInfo[playerid][pTester])
	    {
	        PlayerInfo[playerid][pTester] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled Beta Testers chat {FF9900}off{FFFFFF}.");
	    }
	    else
	    {
	        PlayerInfo[playerid][pTester] = 1;
	        SendClientMessage(playerid, COLOR_WHITE, " You have toggled Beta Testers chat {33AA33}on{FFFFFF}.");
	    }
	    return 1;
	}
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	else if(!strcmp(params, "adminooc", true))
	{
    	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(!OOCStatus)
	    {
	        OOCStatus = 1;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {33AA33}enabled {FF6347}the global OOC chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	    else
	    {
	        OOCStatus = 0;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {FF9900}disabled {FF6347}the global OOC chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	}
	else if(!strcmp(params, "adminvip", true))
	{
    	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(!VIPStatus)
	    {
	        VIPStatus = 1;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {33AA33}enabled {FF6347}the global VIP chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	    else
	    {
	        VIPStatus = 0;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {FF9900}disabled {FF6347}the global VIP chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	}
	else if(!strcmp(params, "adminnewbie", true))
	{
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(!NewbieStatus)
	    {
	        NewbieStatus = 1;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {33AA33}enabled {FF6347}the newbie chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	    else
	    {
	        NewbieStatus = 0;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {FF9900}disabled {FF6347}the newbie chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	}
	else if(!strcmp(params, "admingc", true))
	{
    	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(!GCStatus)
	    {
	        GCStatus = 1;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {33AA33}enabled {FF6347}the global GC chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	    else
	    {
	        GCStatus = 0;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {FF9900}disabled {FF6347}the global GC chat for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	}
	else if(!strcmp(params, "adminirc", true))
	{
		if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	    if(!IRCStatus)
	    {
	        IRCStatus = 1;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {33AA33}enabled {FF6347}the IRC Channel for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	    else
	    {
	        IRCStatus = 0;
	        format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has {FF9900}disabled {FF6347}the IRC Channel for everybody.", NORPN(playerid));
	        SendClientMessageToAll(COLOR_LIGHTRED, string);
	    }
	}
	return 1;
}


CMD:veh(playerid, params[])
{
	new id, Float:pos[4], col[2], stringlog[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(!strcmp(params, "destroy"))
	{
	    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You must be inside a vehicle to destroy it.");
		for(new i=0; i<MAX_CUSTOM_VEHICLES; i++)
		{
		    if(GetPlayerVehicleID(playerid) == cVeh[i])
		    {
		        new string[128];
				format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has destroyed a (/veh)icle model %d.", NORPN(playerid), GetVehicleModel(i));
				SendAdminMessage(COLOR_DARKRED, 1, string);
				// veh Log
				Log("logs/veh.log", stringlog);
				DestroyVehicle(cVeh[i]);
				i = MAX_CUSTOM_VEHICLES;
				return 1;
			}
		}
		SendClientMessage(playerid, COLOR_GREY, "You can't destroy this vehicle.");
		return 1;
	}
	if(sscanf(params, "iii", id, col[0], col[1])) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /veh [vehicleid/destroy] [color1] [color2]");
	if(id < 400 || id > 611) return SendClientMessage(playerid, COLOR_GREY, "Vehicles are between 400 and 611.");
	GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
	GetPlayerFacingAngle(playerid, pos[3]);
	for(new i=0; i<MAX_CUSTOM_VEHICLES; i++)
	{
	    if(!cVeh[i])
	    {
			cVeh[i] = CreateVehicle(id, pos[0], pos[1], pos[2], pos[3], col[0], col[1], 12000);
			LinkVehicleToInterior(cVeh[i], GetPlayerInterior(playerid));
			i = MAX_CUSTOM_VEHICLES;
		}
	}
	new string[128];
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has spawned a (/veh)icle model %d.", NORPN(playerid), id);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	// veh Log
	Log("logs/veh.log", stringlog);
	return 1;
}

CMD:slap(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /slap [playerid]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	new Float:Pos[3];
	GetPlayerPos(playerb, Pos[0], Pos[1], Pos[2]);
	SetPlayerPos(playerb, Pos[0], Pos[1], Pos[2]+5);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has slapped %s.", NORPN(playerid), NORPN(playerb));
	SendAdminMessage(COLOR_LIGHTRED, 1, string);
	return 1;
}

CMD:mark(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	GetPlayerPos(playerid, aMark[playerid][0], aMark[playerid][1], aMark[playerid][2]);
	aMarkInt[playerid] = GetPlayerInterior(playerid);
	aMarkVw[playerid] = GetPlayerVirtualWorld(playerid);
	SendClientMessage(playerid, COLOR_WHITE, " You have marked a teleportation point, (/gotoloc mark) to TP back to it.");
	return 1;
}

CMD:gotoloc(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params,"s[32]", params))
	{
	    SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotoloc [place]");
	    SendClientMessage(playerid, COLOR_GREY, "PLACES: mark | ls | dmv | gym | dealership | trucker | productsdropoff");
 	    SendClientMessage(playerid, COLOR_GREY, "PLACES: lv | sf | event | bank | classroom");
	    return 1;
	}
	if(!strcmp(params, "mark", true))
	{
	    if(aMark[playerid][0] == 0 && aMark[playerid][1] == 0 && aMark[playerid][2] == 0) return SendClientMessage(playerid, COLOR_GREY, "You haven't marked a teleportation point.");
	    SetPlayerPos(playerid,aMark[playerid][0], aMark[playerid][1], aMark[playerid][2]);
	    SetPlayerInterior(playerid, aMarkInt[playerid]);
	    SetPlayerVirtualWorld(playerid, aMarkVw[playerid]);
	}
	else if(!strcmp(params, "ls", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid,1515.2551,-1666.3148,14.0469);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to Los Santos.");
     	return 1;
	}
	else if(!strcmp(params, "dmv", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid,2058.6326,-1914.0176,13.5469);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the DMV.");
     	return 1;
	}
	else if(!strcmp(params, "gym", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid,2224.8137,-1723.4457,13.5625);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the Gym.");
     	return 1;
	}
	else if(!strcmp(params, "dealership", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid,546.1611,-1273.8046,17.2482);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the Vehicles Dealership.");
     	return 1;
	}
	else if(!strcmp(params, "trucker", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid,924.1837,-1222.2682,16.9766);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the Trucker Job.");
     	return 1;
	}
	else if(!strcmp(params, "productsdropoff", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid,2222.5107,-2682.7368,13.5409);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the Products Dropoff.");
     	return 1;
	}
	else if(!strcmp(params, "sf", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid, -1417.0,-295.8,14.1);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the san fierro.");
     	return 1;
	}
	else if(!strcmp(params, "lv", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid, 1699.2,1435.1, 10.7);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the las venturas.");
     	return 1;
	}
	else if(!strcmp(params, "bank", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid, 1487.91, -1030.60, 23.66);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the bank.");
     	return 1;
	}
	else if(!strcmp(params, "event", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid, 1416.107000,0.268620,1000.926000);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the event room.");
     	return 1;
	}
	else if(!strcmp(params, "classroom", true))
	{
	    SetPlayerInterior(playerid, 0);
	    SetPlayerVirtualWorld(playerid, 0);
	    SetPlayerPos(playerid, -1373.3090,-1117.3877,9851.0918);
	    SendClientMessage(playerid, COLOR_WHITE, " You have teleported to the event room.");
     	return 1;
	}
	return 1;
}

CMD:hoseject(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hoseject [playerid]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(!PlayerInfo[playerb][pHospital])return SendClientMessage(playerid, COLOR_GREY, "Player is not in hospital.");
    HospitalTime[playerb] = 1;
    format(string, sizeof(string), " Administrator %s has ejected you from hospital", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s ejected %s from hospital.", NORPN(playerid), NORPN(playerb));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/hoseject.log", string);
	return 1;
}

CMD:sethpall(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sethpall [amount]");
    foreach(Player, i)
    {
        if(IsPlayerLoggedIn(i))
        {
        	SetPlayerHealth(i, amount);
        }
    }
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has set everybody's health to %d.", RPN(playerid),  amount);
	SendAdminMessage(COLOR_LIGHTRED, 1, string);
	Log("logs/sethparmor.log", string);
    return 1;
}

CMD:kill(playerid, params[])
{
    new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "/kill cmd is disabled by abusing");
	if(IsPlayerCuffed(playerid) || IsPlayerTazed(playerid) || IsPlayerTied(playerid) || Boxing[playerid])
	{
	    SendClientMessage(playerid, COLOR_GREY, "You can't do this right now.");
	    return 1;
	}
    SetPlayerHealth(playerid, 0);
    SetPlayerArmour(playerid, 0);
    format(string, sizeof(string), "(( [Local] *%s has used /kill to respawn himself. ))", NORPN(playerid));
    SendNearbyMessage(playerid, 20, string, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
    return 1;
}

CMD:setarmorall(playerid, params[])
{
	new amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setarmorall [amount]");
    foreach(Player, i)
    {
        if(IsPlayerLoggedIn(i))
        {
        	SetPlayerArmour(i, amount);
        }
    }
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has set everybody's armor to %d.", NORPN(playerid),  amount);
	SendAdminMessage(COLOR_LIGHTRED, 1, string);
	Log("logs/sethparmor.log", string);
    return 1;
}

CMD:sethp(playerid, params[])
{
	new playerb, amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sethp [playerid] [amount]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    SetPlayerHealth(playerb, amount);
    format(string, sizeof(string), " Administrator %s has set your health to %d", NORPN(playerid), amount);
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's health to %d.", NORPN(playerid), NORPN(playerb), amount);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/sethparmor.log", string);
    return 1;
}

CMD:setarmor(playerid, params[])
{
	new playerb, amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setarmor [playerid] [amount]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    SetPlayerArmour(playerb, amount);
    format(string, sizeof(string), " Administrator %s has set your armor to %d", NORPN(playerid), amount);
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's armor to %d.", NORPN(playerid), NORPN(playerb), amount);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/sethparmor.log", string);
    return 1;
}

CMD:driveby(playerid, params[])
{
	new playerb, gunname, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!IsACop(playerid) && !IsAFBI(playerid) && !IsALSEMS(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/LSEMS/HSF.");
	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(sscanf(params, "ui", playerb, gunname)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /driveby [PlayerID] [1(9mm)/2(mp5)]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(IsPlayerNearPlayer(playerid, playerb, 5)) return SendClientMessage(playerid, COLOR_GREY, "Player is not near you");
	if(gunname == 1)
	{
		GiveZaiatWeapon(playerb, 22, 500);
		format(string, sizeof(string), "You gave %s permissions to drive-by", NORPN(playerb));
		SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), "%s has given you permissions to drive by", NORPN(playerid));
		SendClientMessage(playerb, COLOR_WHITE, string);
	}
	else if(gunname == 2)
	{
		GiveZaiatWeapon(playerb, 29, 500);
		format(string, sizeof(string), "You gave %s permissions to drive-by", NORPN(playerb));
		SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), "%s has given you permissions to drive by", NORPN(playerid));
		SendClientMessage(playerb, COLOR_WHITE, string);
	}
	return 1;
}

CMD:givegun(playerid, params[])
{
	new playerb, gunid, ammo, string[128], stringlog[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    //if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "uii", playerb, gunid, ammo))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givegun [playerid] [gunid] [ammo]");
		SendClientMessage(playerid, COLOR_GREEN, "_______________________________________");
		SendClientMessage(playerid, COLOR_GREY, "1: Brass Knuckles 2: Golf Club 3: Nite Stick 4: Knife 5: Baseball Bat 6: Shovel 7: Pool Cue 8: Katana 9: Chainsaw");
		SendClientMessage(playerid, COLOR_GREY, "10: Purple Dildo 11: Small White Vibrator 12: Large White Vibrator 13: Silver Vibrator 14: Flowers 15: Cane 16: Frag Grenade");
		SendClientMessage(playerid, COLOR_GREY, "17: Tear Gas 18: Molotov Cocktail 19: Vehicle Missile 20: Hydra Flare 21: Jetpack 22: 9mm 23: Silenced 9mm 24: Desert Eagle 25: Shotgun");
		SendClientMessage(playerid, COLOR_GREY, "26: Sawnoff Shotgun 27: SPAS-12 28: Micro SMG (Mac 10) 29: SMG (MP5) 30: AK-47 31: M4 32: Tec9 33: Rifle");
		SendClientMessage(playerid, COLOR_GREY, "25: Shotgun 34: Sniper Rifle 35: Rocket Launcher 36: HS Rocket Launcher 37: Flamethrower 38: Minigun 39: Satchel Charge");
		SendClientMessage(playerid, COLOR_GREY, "40: Detonator 41: Spraycan 42: Fire Extinguisher 43: Camera 44: Nightvision Goggles 45: Infared Goggles 46: Parachute");
		SendClientMessage(playerid, COLOR_GREEN, "_______________________________________");

		return 1;
	}
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(gunid < 0 || gunid > 46 || gunid == 19 || gunid == 20 || gunid == 21) return SendClientMessage(playerid, COLOR_GREY, "Invalid weapon id.");
	GiveZaiatWeapon(playerb, gunid, ammo);
	format(string, sizeof(string), " You have given %s a %s with %d ammo.", NORPN(playerb), RWN(gunid), ammo);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " Administrator %s has given you a %s with %d ammo.", NORPN(playerid), RWN(gunid), ammo);
	SendClientMessage(playerb, COLOR_WHITE, string);
	// Givegun Log
	format(stringlog, sizeof(stringlog), "[ServerManager] %s has given %s gun (%s).", NORPN(playerid), NORPN(playerb), RWN(gunid));
	SendAdminMessage(COLOR_DARKRED, 4, stringlog);
	Log("logs/givegun.log", stringlog);
	return 1;
}

CMD:disarm(playerid, params[])
{
    new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /disarm [playerid]");
    if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
    format(string, sizeof(string), " You have removed %s's weapons.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " Administrator %s has removed your weapons.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	ResetZaiatWeapons(playerb);
	return 1;
}

CMD:setint(playerid, params[])
{
	new playerb, int, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, int)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setint [playerid] [VW]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	SetPlayerInterior(playerb, int);
	format(string, sizeof(string), " You have set %s's Int %d.", NORPN(playerb), int);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " Administrator %s has set your Int %d.", NORPN(playerid), int);
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:setvw(playerid, params[])
{
	new playerb, vw, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, vw)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setvw [playerid] [VW]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	SetPlayerVirtualWorld(playerb, vw);
	format(string, sizeof(string), " You have set %s's VW %d.", NORPN(playerb), vw);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " %s has set your VW %d.", NORPN(playerid), vw);
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:setskin(playerid, params[])
{
	new playerb, skin, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//	if(skin < 1 || skin > 300) return SendClientMessage(playerid, COLOR_GREY, "Vehicles are between 1 and 300.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, skin)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setskin [playerid] [skinid]");
	if(skin < 0 || skin > 299) return SendClientMessage(playerid, COLOR_GREY, "Invalid skin id.");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	PlayerInfo[playerb][pModel] = skin;
	SetPlayerSkin(playerb, skin);
	format(string, sizeof(string), " You have set %s's skin to ID %d.", NORPN(playerb), skin);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " Administrator %s has set your skin to ID %d.", NORPN(playerid), skin);
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:refund(playerid, params[])
{
	new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /refund [playerid]");
	// refund packet
	SendClientMessage(playerb, COLOR_GREEN, ".: REFUND PACKET :.");
	SendClientMessage(playerb, COLOR_WHITE, "- Level 5");
	SendClientMessage(playerb, COLOR_WHITE, "- On Hand: $400,000");
	SendClientMessage(playerb, COLOR_WHITE, "- Speedometer");
	SendClientMessage(playerb, COLOR_WHITE, "- Materials: 1,000");
	SendClientMessage(playerb, COLOR_WHITE, "- Pot: 20");
	SendClientMessage(playerb, COLOR_WHITE, "- Crack: 20");
	SendClientMessage(playerb, COLOR_WHITE, "- Vip? /report for it");
	SendClientMessage(playerb, COLOR_WHITE, "- And More...");
	// refund packet
	PlayerInfo[playerb][pLevel] = 5;
	PlayerInfo[playerb][pSpeedo] = 1;
	GiveZaiatMoney(playerb, 400000);
	PlayerInfo[playerb][pMaterials] = 1000;
	PlayerInfo[playerb][pWeed] = 20;
	PlayerInfo[playerb][pCrack] = 20;
	// Admin Message
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} Admin %s has given %s a refund packet.", NORPN(playerid), NORPN(playerb));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:givemoney(playerid, params[])
{
    new playerb, amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givemoney [playerid] [amount]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	GiveZaiatMoney(playerb, amount);
	format(string, sizeof(string), " Administrator %s has given you $%d", NORPN(playerid), amount);
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given %s $%d.", NORPN(playerid), NORPN(playerb), amount);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/givemoney.log", string);
	return 1;
}

CMD:giveallmoney(playerid, params[])
{
	new szString[128], iTotal;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "d", iTotal)) return SendClientMessage(playerid, COLOR_WHITE, "SYNTAX: /giveallmoney [amount]");
    for(new i = 0; i < MAX_PLAYERS; i++) GiveZaiatMoney(i, iTotal);
    format(szString, sizeof(szString), "{FF0000}[Admin]{FF6347} %s has given everybody $%d.", NORPN(playerid), iTotal);
    SendClientMessageToAll(COLOR_RED, szString);
    return 1;
}

CMD:setmoney(playerid, params[])
{
    new playerb, amount, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, amount)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /setmoney [playerid] [amount]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	SetZaiatMoney(playerb, amount);
	format(string, sizeof(string), " Administrator %s has set your money to $%d", NORPN(playerid), amount);
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has set %s's money to $%d.", NORPN(playerid), NORPN(playerb), amount);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/setmoney.log", string);
	return 1;
}

CMD:check(playerid, params[])
{
    new playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /check [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	ShowStats(playerid, playerb);
	return 1;
}

CMD:scheck(playerid, params[])
{
    new playerb;
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /scheck [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	ShowStatsSmall(playerid, playerb);
	return 1;
}


CMD:makeleader(playerid, params[])
{
    new playerb, faction, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pFacMod]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "ui", playerb, faction))
	{
		SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makeleader [playerid] [factionid]");
		SendClientMessage(playerid, COLOR_GREY, "FACTIONS: 0) Civilian | 1) LSPD | 2) Government | 3) Hitman Agency | 4) News Agency | 5) Leone | 6) FBI");
		SendClientMessage(playerid, COLOR_GREY, "FACTIONS: 7) LSEMS | 8) HSF | 9) Corleone | 10) Ancelotti | 11) SWAT | 12) SATF | 13) ESF");
		return 1;
	}
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(faction < 0 || faction > 13) return SendClientMessage(playerid, COLOR_GREY, "Factions are between 0 and 13");
	new idx = PlayerInfo[playerid][pFac];
	// Setting Player's Stats
	if(faction == 0)
	{
	    FacInfo[idx][facMembers] --;
	    PlayerInfo[playerb][pFac] = 0;
		PlayerInfo[playerb][pFacRank] = 0;
		PlayerInfo[playerb][pFacLeader] = 0;
	}
	else
	{
	    FacInfo[faction][facMembers] ++;
		PlayerInfo[playerb][pFac] = faction;
		PlayerInfo[playerb][pFacRank] = 10;
		PlayerInfo[playerb][pFacLeader] = 1;
		PlayerInfo[playerb][pFacDiv] = 0;
		PlayerInfo[playerb][pFacDivLeader] = 0;
	}
	// Admin & Player messages
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given %s the {33AA33}%s {FF6347}faction leadership.", NORPN(playerid), NORPN(playerb), RPFNEx(playerb));
    SendAdminMessage(COLOR_DARKRED, 1, string);
	format(string, sizeof(string), " %s has given you the {33AA33}%s {33CCFF}faction leadership.", NORPN(playerid), RPFNEx(playerb));
	SendClientMessage(playerb, COLOR_LIGHTBLUE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given %s the %s faction leadership.", NORPN(playerid), NORPN(playerb), RPFNEx(playerb));
	Log("logs/factions.log", string);
	return 1;
}

CMD:a(playerid, params[])
{
    new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if ((noadmin) && PlayerInfo[playerid][pAdmin] < 4)
	{
		SendClientMessage(playerid, COLOR_GREY, "   The administrator chat has been disabled!");
		return 1;
	}
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/a)dminChat [text]");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "*%s %s: {98F5EB}%s", RPALN(playerid), NORPN(playerid), params);
	SendAdminMessage(COLOR_LIGHTRED, 1, string);
	format(string, sizeof(string), "*%s %s: %s", RPALN(playerid), NORPN(playerid), params);
	Log("logs/adminchat.log", string);
	return 1;
}

CMD:tuteject(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /tuteject [playerid]]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerb][pTutorial]) return SendClientMessage(playerid, COLOR_GREY, "Player is not in the tutorial.");
	SetPlayerVirtualWorld(playerid, 0);
	PlayerInfo[playerb][pTutorial] = 1;
	KillTimer(Tut[playerb]);
	Tut[playerb] = SetTimerEx("TutFinal", 100, false, "i", playerb);
	SpawnChar(playerb);
	format(string, sizeof(string), " Administrator %s has ejected you from the tutorial.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has ejected %s from the tutorial.", NORPN(playerid), RPN(playerb));
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/tutorial.log", string);
	return 1;
}

CMD:forcetut(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /forcetut [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pTutorial]) return SendClientMessage(playerid, COLOR_GREY, "Player is already in the tutorial.");
	PlayerInfo[playerb][pTutorial] = 0;
	SetTimerEx("Tut1", 2000, false, "i", playerb);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has forced %s to see the tutorial.", NORPN(playerid), NORPN(playerb));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	Log("logs/tutorial.log", string);
	return 1;
}

CMD:skick(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /skick [playerid] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been kicked by %s, reason: %s", RPN(playerb), RPN(playerid), params);
    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has been skicked by %s, reason: %s", RPN(playerb), RPN(playerid), params);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	SendClientMessage(playerb, COLOR_RED, string);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been skicked by %s (%s), reason: %s", RPN(playerb), RPN(playerid), RPIP(playerid), params);
	Log("logs/kick.log", string);
	SaveChar(playerb);
	FixedKick(playerb);
	return 1;
}

CMD:givecookie(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecookie [playerid] [reason]");
	if(!IsPlayerConnected(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
    format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has given %s a cookie, reason: %s", NORPN(playerid), NORPN(playerb), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	Log("logs/cookies.log", string);
	PlayerInfo[playerb][pCookies] ++;
	return 1;
}

CMD:givecookieall(playerid, params[])
{
	new string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has given a cookie to everyone online.", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	Log("logs/cookies.log", string);
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
        	PlayerInfo[i][pCookies] ++;
	    }
	}
	return 1;
}

CMD:mute(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 1)
	{
		new string[128], giveplayerid;
		if(sscanf(params, "u", giveplayerid)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /mute [playerid]");

		if(IsPlayerConnected(giveplayerid))
		{
			if(giveplayerid == playerid)
			{
				SendClientMessage(playerid, COLOR_GREY, "You can not use this command on yourself!");
				return 1;
			}

			if(PlayerInfo[giveplayerid][pMute] == 0)
			{
				if(PlayerInfo[giveplayerid][pAdmin] >= PlayerInfo[playerid][pAdmin])
				{
					format(string, sizeof(string), "%s just tried to /mute you.",RPN(playerid));
					SendClientMessage(giveplayerid, COLOR_YELLOW, string);
					SendClientMessage(playerid, COLOR_WHITE, "You can't perform this action on an equal or higher level administrator.");
					return 1;
				}
				PlayerInfo[giveplayerid][pMute] = 1;
				format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s was silenced by %s.",NORPN(giveplayerid),NORPN(playerid));
				SendAdminMessage(COLOR_DARKRED, 2, string);
			}
			else
			{
				PlayerInfo[giveplayerid][pMute] = 0;
				format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s was unsilenced by %s.",NORPN(giveplayerid),NORPN(playerid));
				SendAdminMessage(COLOR_DARKRED, 2, string);
			}
		}
	}
	else
	{
		SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use that command!");
	}
	return 1;
}

CMD:kick(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /kick [playerid] [reason]");
	if(!IsPlayerConnected(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(IsPlayerNPC(playerb)) return SendClientMessage(playerid, COLOR_GREY, "You can't kick NPCs out of the server.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
    format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been kicked by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been kicked by %s (%s), reason: %s", NORPN(playerb), NORPN(playerid), RPIP(playerid), params);
	Log("logs/kick.log", string);
	// Textdraw
    TextDrawShowForPlayer(playerb, KickedNotice);
    // Kick Action
	FixedKick(playerb);
	return 1;
}

CMD:warns(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /warns [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pWarns]) return SendClientMessage(playerid, COLOR_GREY, "Player has no warnings.");
	SendClientMessage(playerid, COLOR_ORANGE, "[Player Warnings Information]:");
	if(PlayerInfo[playerb][pWarns] >= 1) {format(string, sizeof(string), "1) {FFFFFF}%s", PlayerInfo[playerb][pWarn1]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWarns] >= 2) {format(string, sizeof(string), "2) {FFFFFF}%s", PlayerInfo[playerb][pWarn2]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWarns] >= 3) {format(string, sizeof(string), "3) {FFFFFF}%s", PlayerInfo[playerb][pWarn3]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWarns] >= 4) {format(string, sizeof(string), "4) {FFFFFF}%s", PlayerInfo[playerb][pWarn4]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	if(PlayerInfo[playerb][pWarns] >= 5) {format(string, sizeof(string), "5) {FFFFFF}%s", PlayerInfo[playerb][pWarn5]); SendClientMessage(playerid, COLOR_ORANGE, string);}
	return 1;
}

CMD:warn(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[64]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /warn [playerid] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	PlayerInfo[playerb][pWarns] ++;
	if(PlayerInfo[playerb][pWarns] == 1) format(PlayerInfo[playerb][pWarn1], 64, "%s", params);
	else if(PlayerInfo[playerb][pWarns] == 2) format(PlayerInfo[playerb][pWarn2], 64, "%s", params);
	else if(PlayerInfo[playerb][pWarns] == 3) format(PlayerInfo[playerb][pWarn3], 64, "%s", params);
	else if(PlayerInfo[playerb][pWarns] == 4) format(PlayerInfo[playerb][pWarn4], 64, "%s", params);
	else if(PlayerInfo[playerb][pWarns] == 5) format(PlayerInfo[playerb][pWarn5], 64, "%s", params);
	format(string, sizeof(string), " Administrator %s has given you a warning, reason: %s", NORPN(playerid), params);
	SendClientMessage(playerb, COLOR_LIGHTRED, string);
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has given %s a warning [%d/5], reason: %s", NORPN(playerid), NORPN(playerb), PlayerInfo[playerb][pWarns], params);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/warn.log", string);
	if(PlayerInfo[playerb][pWarns] == 5)
	{
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been banned [%d/5 Warnings] by %s, reason: %s", NORPN(playerb), NORPN(playerid), PlayerInfo[playerb][pWarns], params);
		SendClientMessageToAll(COLOR_LIGHTRED, string);
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been banned [%d/5 Warnings] by %s (%s), reason: %s", NORPN(playerb), NORPN(playerid), PlayerInfo[playerb][pWarns], RPIP(playerid), params);
		Log("logs/ban.log", string);
		// Banning
		PlayerInfo[playerb][pBanned] = 1;
		// Banreason
		new file[32];
		format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
		format(string, sizeof(string), "%s (5 Warnings)", params);
		dini_Set(file, "BanReason", string);
		dini_Set(file, "BannedBy", RPNU(playerid));
		// BanList
		AddBan(playerb);
		FixedKick(playerb);
	}
	return 1;
}

CMD:clearwarns(playerid, params[])
{
	new string[128], playerb;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /clearwarns [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pWarns]) return SendClientMessage(playerid, COLOR_GREY, "Player has no warnings.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s had cleared %s's warnings. (Had %d)", NORPN(playerid), NORPN(playerb), PlayerInfo[playerb][pWarns]);
	PlayerInfo[playerb][pWarns] = 0;
	format(PlayerInfo[playerid][pWarn1], 64, "");
	format(PlayerInfo[playerid][pWarn2], 64, "");
	format(PlayerInfo[playerid][pWarn3], 64, "");
	format(PlayerInfo[playerid][pWarn4], 64, "");
	format(PlayerInfo[playerid][pWarn5], 64, "");
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/warn.log", string);
	return 1;
}

CMD:sban(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sban [playerid] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has been sbanned by %s, reason: %s", RPN(playerb), RPN(playerid), params);
	SendAdminMessage(COLOR_LIGHTRED, 1, string);
	SendClientMessage(playerb, COLOR_RED, string);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been sbanned by %s (%s), reason: %s", RPN(playerb), RPN(playerid) , RPIP(playerid), params);
	Log("logs/ban.log", string);
	// Banning
	PlayerInfo[playerb][pBanned] = 1;
	// Banreason
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	dini_Set(file, "BanReason", params);
	dini_Set(file, "BannedBy", RPNU(playerid));
	// BanList
	AddBan(playerb);
	FixedKick(playerb);
	return 1;
}

CMD:whitelist(playerid, params[])
{
    new playerb[32], string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /whitelist [playername]");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has whitelisted %s.", NORPN(playerid), params);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	Log("logs/whitelist.log", string);
	// Whitelisting
	dini_IntSet(file, "Whitelisted", 1);
	return 1;
}

CMD:rangeban(playerid, params[])
{
    new playerb, string[128],range[4][4];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /rangeban [playerid] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	// Rangeban
	split(RPIP(playerb), range, '.');
	format(string, sizeof(string), "%s.%s.*.*", range[0], range[1]);
	AddRangeBan(string);
	// Normal ban
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been rangebanned by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);

	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been rangebanned by %s (%s), reason: %s", NORPN(playerb), NORPN(playerid) , RPIP(playerid), params);
	Log("logs/ban.log", string);
	// Banning
	PlayerInfo[playerb][pBanned] = 1;
	// Banreason
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	dini_Set(file, "BanReason", params);
	dini_Set(file, "BannedBy", RPNU(playerid));
	// BanList
	AddBan(playerb);
	FixedKick(playerb);
	return 1;
}

CMD:ban(playerid, params[])
{
    new playerb, string[128];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "us[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /ban [playerid] [reason]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been banned by %s, reason: %s", NORPN(playerb), NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been banned by %s (%s), reason: %s", NORPN(playerb), NORPN(playerid) , RPIP(playerid), params);
	Log("logs/ban.log", string);
	// Banning
	PlayerInfo[playerb][pBanned] = 1;
	// Textdraw
    TextDrawShowForPlayer(playerb, BannedNotice);
	// Banreason
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	dini_Set(file, "BanReason", params);
	dini_Set(file, "BannedBy", RPNU(playerid));
	// In-Game Ban List
	new File: fileban = fopen("banlist.cfg", io_append);
	format(string, sizeof(string), "[%s] %s\r\n", NORPN(playerid), NORPN(playerb));
	fwrite(fileban, string);
	fclose(fileban);
	// BanList
	AddBan(playerb);
	FixedKick(playerb);
	return 1;
}

CMD:banaccount(playerid, params[])
{
    new playerb[32], string[128], file[32];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "s[32]s[128]", playerb, params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /banaccount [playername] [reason]");
	if(RPIDFN(playerb) != INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Player is connected to the server, use /ban instead.");
	format(file, sizeof(file), "users/%s.ini", playerb);
	if(!dini_Exists(file)) return SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	if(PlayerInfo[playerid][pAdmin] < dini_Int(file, "Admin")) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been offline-banned by %s, reason: %s", playerb, NORPN(playerid), params);
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been offline-banned by %s (%s), reason: %s", playerb, NORPN(playerid) , RPIP(playerid), params);
	Log("logs/ban.log", string);
	// Banning
	dini_IntSet(file, "pBanned", 1);
	// Banreason
	dini_Set(file, "BanReason", params);
	dini_Set(file, "BannedBy", RPNU(playerid));
	// In-Game Ban List
	new File: fileban = fopen("banlist.cfg", io_append);
	format(string, sizeof(string), "[%s] OBAN %s\r\n", NORPN(playerid), playerb);
	fwrite(fileban, string);
	fclose(fileban);
	// BanList
	new File:ban = fopen("ban.cfg", io_append);
	format(string, sizeof(string), "%s\r\n", dini_Get(file, "IP"));
	fwrite(ban, string);
	fclose(ban);
	return 1;
}

CMD:goback(playerid, params[])
{
	new string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	if(hPos[playerid][0] == 0 && hPos[playerid][1] == 0 && hPos[playerid][2] == 0 && hPOS[playerid][0] == 0 && hPOS[playerid][0] == 0) return SendClientMessage(playerid, COLOR_GREY, "You haven't teleported to anybody.");
	SetPlayerPos(playerid, hPos[playerid][0], hPos[playerid][1], hPos[playerid][2]);
	SetPlayerInterior(playerid, hPOS[playerid][0]);
	SetPlayerVirtualWorld(playerid, hPOS[playerid][1]);
	hPos[playerid][0] = 0; hPos[playerid][1] = 0; hPos[playerid][2] = 0; hPOS[playerid][0] = 0; hPOS[playerid][1] = 0;
	format(string, sizeof(string), "{FF0000}[Helper Warn]{FF6347} %s has teleported back to their location.", NORPN(playerid));
	SendHelperMessage(COLOR_LIGHTRED, 1, string);
	return 1;
}

CMD:goto(playerid, params[])
{
	new playerb, string[128];
	new Float:Pos[3];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid] && PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /goto [playerid]");
	if(!IsPlayerLoggedIn(playerb) && !IsPlayerNPC(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pHelper] && !PlayerInfo[playerid][pAdmin])
	{
	    if(!HelpTime[playerb]) return SendClientMessage(playerid, COLOR_GREY, "This player hasn't requested any help.");
	   	if(hPos[playerid][0] == 0 && hPos[playerid][1] == 0 && hPos[playerid][2] == 0 && hPOS[playerid][0] == 0 && hPOS[playerid][0] == 0)
	   	{
		    GetPlayerPos(playerid, hPos[playerid][0], hPos[playerid][1], hPos[playerid][2]);
		    hPOS[playerid][0] = GetPlayerInterior(playerid);
		    hPOS[playerid][1] = GetPlayerVirtualWorld(playerid);
			GetPlayerPos(playerb, Pos[0], Pos[1], Pos[2]);
			SetPlayerPos(playerid, Pos[0]+1, Pos[1], Pos[2]);
			SetPlayerInterior(playerid, GetPlayerInterior(playerb));
			SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerb));
			format(string, sizeof(string), " You have teleported to %s.", NORPN(playerb));
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), " %s %s has teleported to you.", RPHLN(playerid), NORPN(playerid));
			SendClientMessage(playerb, COLOR_WHITE, string);
			format(string, sizeof(string), "{FF0000}[Helper Warn]{FF6347} %s has teleported to %s.", NORPN(playerid), NORPN(playerb));
			SendHelperMessage(COLOR_LIGHTRED, 1, string);
		}
		else SendClientMessage(playerid, COLOR_GREY, "You must /goback before teleporting to another player.");
	}
	else
	{
		if(Spec[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player is spectating someone.");
		GetPlayerPos(playerb, Pos[0], Pos[1], Pos[2]);
		if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
		{
		    SetVehiclePos(GetPlayerVehicleID(playerid), Pos[0]+2, Pos[1]+2, Pos[2]);
		}
		else
		{
		    SetPlayerPos(playerid, Pos[0]+1, Pos[1], Pos[2]);
		}
		SetPlayerInterior(playerid, GetPlayerInterior(playerb));
		SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerb));
		format(string, sizeof(string), " You have teleported to %s.", NORPN(playerb));
		SendClientMessage(playerid, COLOR_WHITE, string);
		format(string, sizeof(string), " Administrator %s has teleported to you.", NORPN(playerid));
		SendClientMessage(playerb, COLOR_WHITE, string);
	}
	return 1;
}

CMD:gotoveh(playerid, params[])
{
	new vehid, string[128];
	new Float:Pos[3];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(!PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "i", vehid)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotoveh [vehicleid]");
	if(vehid < 0) return SendClientMessage(playerid, COLOR_GREY, "Invalid vehicle id.");
	GetVehiclePos(vehid, Pos[0], Pos[1], Pos[2]);
	SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
	format(string, sizeof(string), " You have teleported to vehicle ID %d.", vehid);
	SendClientMessage(playerid, COLOR_WHITE, string);
	return 1;
}

CMD:gotopos(playerid, params[])
{
    new Float:Pos[3], int;
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "fffi", Pos[0], Pos[1], Pos[2], int)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotopos [x] [y] [z] [int]");
	SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
	SetPlayerInterior(playerid, int);
	return 1;
}

CMD:gethere(playerid, params[])
{
	new playerb, string[128];
	new Float:Pos[3];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gethere [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
    if(Spec[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player is spectating someone.");
	GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
	if(IsPlayerInAnyVehicle(playerb) && GetPlayerState(playerb) == PLAYER_STATE_DRIVER && !GetPlayerInterior(playerid))
	{
    	SetVehiclePos(GetPlayerVehicleID(playerb), Pos[0]+2, Pos[1]+2, Pos[2]);
	}
	else
	{
	    SetPlayerPos(playerb, Pos[0]+1, Pos[1], Pos[2]);
	}
	SetPlayerInterior(playerb, GetPlayerInterior(playerid));
	SetPlayerVirtualWorld(playerb, GetPlayerVirtualWorld(playerid));
	format(string, sizeof(string), " You have teleported %s to you.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " You have been teleported to admin %s.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:sendtols(playerid, params[])
{
	new playerb, string[128];
	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sendtols [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(PlayerInfo[playerid][pAdmin] < PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player has a higher admin level than you.");
    if(Spec[playerb]) return SendClientMessage(playerid, COLOR_GREY, "Player is spectating someone.");
	if(IsPlayerInAnyVehicle(playerb) && GetPlayerState(playerb) == PLAYER_STATE_DRIVER)
	{
	    SetVehiclePos(GetPlayerVehicleID(playerb), 1515.2551,-1666.3148,14.0469);
	}
	else
	{
	    SetPlayerPos(playerb,1515.2551,-1666.3148,14.0469);
	}
	SetPlayerInterior(playerb, 0);
    SetPlayerVirtualWorld(playerb, 0);
	format(string, sizeof(string), " You have teleported %s to Los Santos.", NORPN(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), " You have been teleported to Los Santos by administrator %s.", NORPN(playerid));
	SendClientMessage(playerb, COLOR_WHITE, string);
	return 1;
}

CMD:unban(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	new string[128];
	if(sscanf(params, "s[32]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unban [name]");
	new file[64], IP[16];
	format(file, sizeof(file), "users/%s.ini", params);
	if(dini_Exists(file))
	{
	    if(dini_Int(file, "pBanned") == 0) return SendClientMessage(playerid, COLOR_GREY, "Player is not banned.");
		format(IP, sizeof(IP), "%s", dini_Get(file, "IP"));
	    // Userfile
	    dini_IntSet(file, "pBanned", 0);
	    dini_IntSet(file, "Warns", 0);
	    dini_Set(file, "Warn1", "");
	    dini_Set(file, "Warn2", "");
	    dini_Set(file, "Warn3", "");
	    dini_Set(file, "Warn4", "");
 	    dini_Set(file, "Warn5", "");
	    dini_Set(file, "BanReason", "");
	    dini_Set(file, "BannedBy", "");
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has unbanned %s.", NORPN(playerid), params);
		SendAdminMessage(COLOR_DARKRED, 1, string);
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s (%s) has unbanned %s (%s).", NORPN(playerid), RPIP(playerid), params, IP);
		Log("logs/unban.log", string);
		return cmd_unbanip(playerid, IP);
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "Player name not found.");
	}

	return 1;
}

CMD:unbanip(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
//    if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on admin duty.");
	new string[128];
	if(sscanf(params, "s[16]", params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /unbanip [ip]");
	if(IsValidIP(params)) return SendClientMessage(playerid, COLOR_GREY, "Invalid IP Address.");
	new File:ban = fopen("ban.cfg", io_read);
	new idx = 1, done;
	while(fread(ban, string))
	{
		if(!strcmp(params, string, true, strlen(params)))
		{
			fdeleteline("ban.cfg", idx);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has unbanned IP %s", NORPN(playerid), params);
			SendAdminMessage(COLOR_DARKRED, 1, string);
			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s (%s) has unbanned IP %s", NORPN(playerid), RPIP(playerid), params);
			Log("logs/unban.log", string);
			done = 1;
	    }
		idx++;
	}
	fclose(ban);
	if(!done) SendClientMessage(playerid, COLOR_GREY, "IP is not banned.");
	return 1;
}

CMD:firehelper(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pHelper] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	{
	    new playerb, string[128], string2[128], log[256];
	    if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /firehelper [playerid]");
		if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
		if(!PlayerInfo[playerid][pHelper]) return SendClientMessage(playerid, COLOR_GREY, "Player is not a helper.");
		format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}fired {FF6347}%s from the Community Helpers team.", NORPN(playerid), NORPN(playerb));
    	format(string2, sizeof(string2), "{FF0000}[Helper Warn]{FF6347} %s has {33AA33}fired {FF6347}%s from the Community Helpers team.", NORPN(playerid), NORPN(playerb));
        format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s (%s) has fired %s (%s) from the Community Helpers team.", NORPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb));
		Log("logs/makehelper.log", log);
		PlayerInfo[playerb][pHelper] = 0;
		SendAdminMessage(COLOR_LIGHTRED, 1, string);
		SendHelperMessage(COLOR_LIGHTRED, 1, string2);
		if(!PlayerInfo[playerb][pHelper])
		{
		    SendClientMessage(playerb, COLOR_DARKRED, string2);
		}
	}
	return 1;
}

CMD:makehelper(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pHelper] >= 2)
	{
	    new playerb, admin, string[128], string2[128];
	    if(sscanf(params, "ui", playerb, admin)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makehelper [playerid] [level]");
		if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
		if(admin < 0 || admin > 2) return SendClientMessage(playerid, COLOR_GREY, "Helper levels are between 1 and 2.");
	    if(PlayerInfo[playerb][pHelper] != admin)
	    {
	        new log[256];
		    if(PlayerInfo[playerb][pHelper] < admin)
			{
		    	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}promoted {FF6347}%s to level {33AA33}%d {FF6347}helper.", NORPN(playerid), NORPN(playerb), admin);
    		    format(string2, sizeof(string2), "{FF0000}[Helper Warn]{FF6347} %s has {33AA33}promoted {FF6347}%s to level {33AA33}%d {FF6347}helper.", NORPN(playerid), NORPN(playerb), admin);
            	format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s (%s) has promoted %s (%s) to level %d helper.", NORPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb), admin);
			}
			else if(PlayerInfo[playerb][pHelper] > admin)
			{
	  	    	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}demoted {FF6347}%s to level {FF9900}%d {FF6347}helper.", NORPN(playerid), NORPN(playerb), admin);
	  	    	format(string2, sizeof(string2), "{FF0000}[Helper Warn]{FF6347} %s has {FF9900}demoted {FF6347}%s to level {FF9900}%d {FF6347}helper.", NORPN(playerid), NORPN(playerb), admin);
	  	    	format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s (%s) has demoted %s (%s) to level %d helper.", NORPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb), admin);
			}
			Log("logs/makehelper.log", log);
			PlayerInfo[playerb][pHelper] = admin;
			SendAdminMessage(COLOR_LIGHTRED, 1, string);
			SendHelperMessage(COLOR_LIGHTRED, 1, string2);
			if(!PlayerInfo[playerb][pHelper])
			{
			    SendClientMessage(playerb, COLOR_DARKRED, string2);
			}
		}
		else SendClientMessage(playerid, COLOR_GREY, "Player already has this helper level.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	}
	return 1;
}

CMD:makegangmod(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGameAffairs]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makegangmod [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pGangMod])
	{
	    PlayerInfo[playerb][pGangMod] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {33AA33}Gang Moderator{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a Gang Moderator.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pGangMod] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}Gang Moderator{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's Gang Moderator powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "GangMod", PlayerInfo[playerb][pGangMod]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "GangMod", PlayerInfo[playerb][pGangMod]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:makefacmod(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGameAffairs]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makefacmod [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pFacMod])
	{
	    PlayerInfo[playerb][pFacMod] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {FF6347}Faction Moderator{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a Faction Moderator.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pFacMod] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}Faction Moderator{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's Faction Moderator powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "FacMod", PlayerInfo[playerb][pFacMod]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "FacMod", PlayerInfo[playerb][pFacMod]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:makebanappealer(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makebanappealer [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pBanAppealer])
	{
	    PlayerInfo[playerb][pBanAppealer] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {FF6347}Ban Appealer{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a Ban Appealer.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pBanAppealer] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}Ban Appealer{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's Ban Appealer powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "BanAppealer", PlayerInfo[playerb][pBanAppealer]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "BanAppealer", PlayerInfo[playerb][pBanAppealer]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:makedoormod(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGameAffairs]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makebanappealer [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pDoorMod])
	{
	    PlayerInfo[playerb][pDoorMod] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {FF6347}Door Moderator{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a Door Moderator.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pDoorMod] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}Door Moderator{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's Door Moderator powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "DoorMod", PlayerInfo[playerb][pDoorMod]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "DoorMod", PlayerInfo[playerb][pDoorMod]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:makebizmod(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGameAffairs]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makebanappealer [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pBizMod])
	{
	    PlayerInfo[playerb][pBizMod] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {FF6347}Business Moderator{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a Business Moderator.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pBizMod] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}Business Moderator{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's Business Moderator powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "BizMod", PlayerInfo[playerb][pBizMod]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "BizMod", PlayerInfo[playerb][pBizMod]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:makehousemod(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4 && !PlayerInfo[playerid][pGameAffairs]) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makebanappealer [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pHouseMod])
	{
	    PlayerInfo[playerb][pHouseMod] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {FF6347}House Moderator{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a House Moderator.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pHouseMod] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}House Moderator{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's House Moderator powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "HouseMod", PlayerInfo[playerb][pHouseMod]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "HouseMod", PlayerInfo[playerb][pHouseMod]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:makegameaffairs(playerid, params[])
{
	new string[128], playerb, log[256];
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(sscanf(params, "ui", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makebanappealer [playerid]");
	if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	if(!PlayerInfo[playerb][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "Player is not an administrator.");
	if(!PlayerInfo[playerb][pGameAffairs])
	{
	    PlayerInfo[playerb][pGameAffairs] = 1;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}assigned {FF6347}%s as a {FF6347}Game Affairs{FF6347}.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has assigned %s as a Game Affairs.", NORPN(playerid), NORPN(playerb));
	}
	else
	{
	    PlayerInfo[playerb][pGameAffairs] = 0;
	    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}removed {FF6347}%s's {FF9900}Game Affairs{FF6347} powers.", NORPN(playerid), NORPN(playerb));
	    format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s has removed %s's Game Affairs powers.", NORPN(playerid), NORPN(playerb));
	}
	new file[32];
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
	if(dini_Exists(file))
	{
		dini_IntSet(file, "GameAffairs", PlayerInfo[playerb][pGameAffairs]);
	}
	format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
	if(dini_Int(file, "AdminAccount") == 1)
	{
	    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
	    dini_IntSet(file, "GameAffairs", PlayerInfo[playerb][pGameAffairs]);
	}
	Log("logs/makeadmin.log", log);
	SendAdminMessage(COLOR_DARKRED, 1, string);
	return 1;
}

CMD:maketempadmin(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
	if(PlayerInfo[playerid][pAdmin] >= 4 || IsPlayerAdmin(playerid))
	{
	    new playerb, admin, time, string[128];
	    if(sscanf(params, "uii", playerb, admin, time)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /maketempadmin [playerid] [level] [time]");
		if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	    if(PlayerInfo[playerb][pAdmin] != admin)
	    {
	        new log[256];
		    if(PlayerInfo[playerb][pAdmin] < admin)
			{
		    	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}temporarily promoted {AA3333}%s to level {33AA33}%d {AA3333}admin for %d minutes.", NORPN(playerid), NORPN(playerb), admin, time);
            	format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s (%s) has temporarily promoted %s (%s) to level %d admin for %d minutes.", NORPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb), admin, time);
			}
			else if(PlayerInfo[playerb][pAdmin] > admin)
			{
  				format(string, sizeof(string), "AdmWarn: %s has {FF9900}temporarily demoted {AA3333}%s to level {33AA33}%d {AA3333}admin for %d minutes.", NORPN(playerid), NORPN(playerb), admin, time);
            	format(log, sizeof(log), "AdmWarn: %s (%s) has {FF9900}temporarily demoted %s (%s) to level %d admin for %d minutes.", NORPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb), admin, time);
			}
			PlayerInfo[playerb][pOldAdmin] = PlayerInfo[playerb][pAdmin];
			Log("logs/makeadmin.log", log);
			PlayerInfo[playerb][pAdmin] = admin;
			PlayerInfo[playerb][pSafeAdmin] = 1;
			SetTimerEx("SetBack", 60000 * time, false, "i", playerb);
			PlayerInfo[playerb][pSafeAdmin] = 1;
			SendAdminMessage(COLOR_DARKRED, 1, string);
			if(!PlayerInfo[playerb][pAdmin])
			{
			    PlayerInfo[playerb][pSafeAdmin] = 0;
			    PlayerInfo[playerid][pGangMod] = 0;
			    PlayerInfo[playerid][pFacMod] = 0;
			    PlayerInfo[playerid][pBanAppealer] = 0;
				PlayerInfo[playerid][pBizMod] = 0;
				PlayerInfo[playerid][pHouseMod] = 0;
				PlayerInfo[playerid][pDoorMod] = 0;
			    SendClientMessage(playerb, COLOR_DARKRED, string);
			}
			new file[32];
			format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
			format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
			if(dini_Exists(file))
			{
				dini_IntSet(file, "Admin", PlayerInfo[playerb][pAdmin]);
			}
			format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
			if(dini_Int(file, "AdminAccount") == 1)
			{
			    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
			    dini_IntSet(file, "Admin", PlayerInfo[playerb][pAdmin]);
			}
		}
		else SendClientMessage(playerid, COLOR_GREY, "Player already has this admin level.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	}
	return 1;
}

CMD:makeadmin(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pOwner] == 1)
	{
	    new playerb, admin, string[128];
	    if(sscanf(params, "ui", playerb, admin)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /makeadmin [playerid] [level]");
		if(!IsPlayerLoggedIn(playerb)) return SendClientMessage(playerid, COLOR_GREY, "Invalid player id.");
	    if(PlayerInfo[playerb][pAdmin] != admin)
	    {
	        new log[256];
		    if(PlayerInfo[playerb][pAdmin] < admin)
			{
		    	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {33AA33}promoted {FF6347}%s to level {33AA33}%d {FF6347}admin.", NORPN(playerid), NORPN(playerb), admin);
            	format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s (%s) has promoted %s (%s) to level %d admin.", RPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb), admin);
			}
			else if(PlayerInfo[playerb][pAdmin] > admin)
			{
	  	    	format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has {FF9900}demoted {FF6347}%s to level {FF9900}%d {FF6347}admin.", NORPN(playerid), NORPN(playerb), admin);
	  	    	format(log, sizeof(log), "{FF0000}[Admin Warn]{FF6347} %s (%s) has demoted %s (%s) to level %d admin.", RPN(playerid), RPIP(playerid), NORPN(playerb), RPIP(playerb), admin);
			}
			Log("logs/makeadmin.log", log);
			PlayerInfo[playerb][pAdmin] = admin;
			PlayerInfo[playerb][pSafeAdmin] = 1;
			SendAdminMessage(COLOR_DARKRED, 1, string);
			if(PlayerInfo[playerb][pAdmin] > 0)
			{
			    PlayerInfo[playerb][pSafeAdmin] = 0;
			    PlayerInfo[playerid][pGangMod] = 0;
			    PlayerInfo[playerid][pFacMod] = 0;
			    PlayerInfo[playerid][pBanAppealer] = 0;
				PlayerInfo[playerid][pBizMod] = 0;
				PlayerInfo[playerid][pHouseMod] = 0;
				PlayerInfo[playerid][pDoorMod] = 0;
			    SendClientMessage(playerb, COLOR_DARKRED, string);
			}
			new file[32];
			format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
			format(file, sizeof(file), "users/%s.ini", dini_Get(file, "AdminName"));
			if(dini_Exists(file))
			{
				dini_IntSet(file, "Admin", PlayerInfo[playerb][pAdmin]);
			}
			format(file, sizeof(file), "users/%s.ini", RPNU(playerb));
			if(dini_Int(file, "AdminAccount") == 1)
			{
			    format(file, sizeof(file), "users/%s.ini", dini_Get(file, "OldName"));
			    dini_IntSet(file, "Admin", PlayerInfo[playerb][pAdmin]);
			}
		}
		else SendClientMessage(playerid, COLOR_GREY, "Player already has this admin level.");
	}
	else
	{
	    SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	}
	return 1;
}

CMD:saveserver(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
		    SaveChar(i);
		}
	}
	SaveFactions();
	SaveFamilies();
	SaveGarages();
	SavePoints();
	SaveBiz();
	SaveHouses();
	SaveDoors();
	SaveGates();
	SaveMapIcons();
	SaveArrestPoint();
	SaveDrugs();
	SaveMOTDS();
    new string[128];
    format(string, sizeof(string), "{FF0000}[Manual Save]{FF6347} The server files were manuel saved");
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	return 1;
}

CMD:saveserverchar(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
		    SaveChar(i);
		}
	}
    new string[128];
    format(string, sizeof(string), "{FF0000}[Manual Save]{FF6347} Character Files has been saved");
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	return 1;
}

CMD:savebizhouses(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	SaveBiz();
	SaveHouses();
	SaveDoors();
    new string[128];
    format(string, sizeof(string), "{FF0000}[Manual Save]{FF6347} The businesses / houses are saved");
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	return 1;
}

CMD:gmx(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	new string[128];
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has issued a server restart, it will occur in 30 seconds.", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	SetTimer("gmxtimer", 30000, false);
	return 1;
}

CMD:ggmx(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
	if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
	new string[128];
	format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has issued an instant server restart.", NORPN(playerid));
	SendClientMessageToAll(COLOR_LIGHTRED, string);
	foreach(Player, i)
    {
       	SaveChar(i);
       	ClearChar(i);
       	GMX[i] = 1;
    }
	SendRconCommand("gmx");
	return 1;
}

forward gmxtimer();
public gmxtimer()
{
    foreach(Player, i)
    {
       	SaveChar(i);
       	ClearChar(i);
       	GMX[i] = 1;
    }
	SendRconCommand("gmx");
}

// End of OnPlayerCommandText

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	Seatbelt[playerid] = 0;
    new model = GetVehicleModel( vehicleid );
    if (model == 400)
    {
        GameTextForPlayer(playerid,"~g~Landstalker",2000,1);
	}
    if (model == 401)
    {
        GameTextForPlayer(playerid,"~g~Bravura",2000,1);
    }
    if (model == 402)
    {
        GameTextForPlayer(playerid,"~g~Buffalo",2000,1);
    }
    if (model == 403)
    {
        GameTextForPlayer(playerid,"~g~Linerunner",2000,1);
    }
    if (model == 404)
    {
        GameTextForPlayer(playerid,"~g~Perenniel",2000,1);
    }
    if (model == 405)
    {
        GameTextForPlayer(playerid,"~g~Sentinel",2000,1);
    }
    if (model == 406)
    {
        GameTextForPlayer(playerid,"~g~Dumper",2000,1);
    }
    if (model == 407)
    {
        GameTextForPlayer(playerid,"~g~Firetruck",2000,1);
    }
    if (model == 408)
    {
        GameTextForPlayer(playerid,"~g~Trashmaster",2000,1);
    }
    if (model == 409)
    {
        GameTextForPlayer(playerid,"~g~Stretch",2000,1);
    }
    if (model == 410)
    {
        GameTextForPlayer(playerid,"~g~Manana",2000,1);
    }
    if (model == 411)
    {
        GameTextForPlayer(playerid,"~g~Infernus",2000,1);
    }
    if (model == 412)
    {
        GameTextForPlayer(playerid,"~g~Voodoo",2000,1);
    }
    if (model == 413)
    {
        GameTextForPlayer(playerid,"~g~Pony",2000,1);
    }
    if (model == 414)
    {
        GameTextForPlayer(playerid,"~g~Mule",2000,1);
    }
    if (model == 415)
    {
        GameTextForPlayer(playerid,"~g~Cheetah",2000,1);
    }
    if (model == 416)
    {
        GameTextForPlayer(playerid,"~g~Ambulance",2000,1);
    }
    if (model == 417)
    {
        GameTextForPlayer(playerid,"~g~Leviathan",2000,1);
    }
    if (model == 418)
    {
        GameTextForPlayer(playerid,"~g~Moonbeam",2000,1);
    }
    if (model == 419)
    {
        GameTextForPlayer(playerid,"~g~Esperanto",2000,1);
    }
    if (model == 420)
    {
        GameTextForPlayer(playerid,"~g~Taxi",2000,1);
    }
    if (model == 421)
    {
        GameTextForPlayer(playerid,"~g~Washington",2000,1);
    }
    if (model == 422)
    {
        GameTextForPlayer(playerid,"~g~Bobcat",2000,1);
    }
    if (model == 423)
    {
        GameTextForPlayer(playerid,"~g~Mr Whoopee",2000,1);
    }
    if (model == 424)
    {
        GameTextForPlayer(playerid,"~g~BF Injection",2000,1);
    }
    if (model == 425)
    {
        GameTextForPlayer(playerid,"~g~Hunter",2000,1);
    }
    if (model == 426)
    {
        GameTextForPlayer(playerid,"~g~Premier",2000,1);
    }
    if (model == 427)
    {
        GameTextForPlayer(playerid,"~g~Enforcer",2000,1);
    }
    if (model == 428)
    {
        GameTextForPlayer(playerid,"~g~Securicar",2000,1);
    }
    if (model == 429)
    {
        GameTextForPlayer(playerid,"~g~Banshee",2000,1);
    }
    if (model == 430)
    {
        GameTextForPlayer(playerid,"~g~Predator",2000,1);
    }
    if (model == 431)
    {
        GameTextForPlayer(playerid,"~g~Bus",2000,1);
    }
    if (model == 432)
    {
        GameTextForPlayer(playerid,"~g~Rhino",2000,1);
    }
    if (model == 433)
    {
        GameTextForPlayer(playerid,"~g~Barracks",2000,1);
    }
    if (model == 434)
    {
        GameTextForPlayer(playerid,"~g~Hotknife",2000,1);
    }
    if (model == 435)
    {
        GameTextForPlayer(playerid,"~g~Article Trailer",2000,1);
    }
    if (model == 436)
    {
        GameTextForPlayer(playerid,"~g~Previon",2000,1);
    }
    if (model == 437)
    {
        GameTextForPlayer(playerid,"~g~Coach",2000,1);
    }
    if (model == 438)
    {
        GameTextForPlayer(playerid,"~g~Cabbie",2000,1);
    }
    if (model == 439)
    {
        GameTextForPlayer(playerid,"~g~Stallion",2000,1);
    }
    if (model == 440)
    {
        GameTextForPlayer(playerid,"~g~Rumpo",2000,1);
    }
    if (model == 441)
    {
        GameTextForPlayer(playerid,"~g~RC Bandit",2000,1);
    }
    if (model == 442)
    {
        GameTextForPlayer(playerid,"~g~Romero",2000,1);
    }
    if (model == 443)
    {
        GameTextForPlayer(playerid,"~g~Packer",2000,1);
    }
    if (model == 444)
    {
        GameTextForPlayer(playerid,"~g~Monster",2000,1);
    }
    if (model == 445)
    {
        GameTextForPlayer(playerid,"~g~Admiral",2000,1);
    }
    if (model == 446)
    {
        GameTextForPlayer(playerid,"~g~Squallo",2000,1);
	}
	if (model == 447)
    {
        GameTextForPlayer(playerid,"~g~Seasparrow",2000,1);
    }
    if (model == 448)
    {
        GameTextForPlayer(playerid,"~g~Pizzaboy",2000,1);
    }
    if (model == 449)
    {
        GameTextForPlayer(playerid,"~g~Tram",2000,1);
    }
    if (model == 450)
    {
        GameTextForPlayer(playerid,"~g~Article Trailer 2",2000,1);
    }
    if (model == 451)
    {
        GameTextForPlayer(playerid,"~g~Turismo",2000,1);
    }
    if (model == 452)
    {
        GameTextForPlayer(playerid,"~g~Speeder",2000,1);
    }
    if (model == 453)
    {
        GameTextForPlayer(playerid,"~g~Reefer",2000,1);
    }
    if (model == 454)
    {
        GameTextForPlayer(playerid,"~g~Tropic",2000,1);
    }
    if (model == 455)
    {
        GameTextForPlayer(playerid,"~g~Flatbed",2000,1);
    }
    if (model == 456)
    {
        GameTextForPlayer(playerid,"~g~Yankee",2000,1);
    }
	if (model == 457)
    {
        GameTextForPlayer(playerid,"~g~Caddy",2000,1);
    }
	if (model == 458)
    {
        GameTextForPlayer(playerid,"~g~Solair",2000,1);
    }
    if (model == 459)
    {
        GameTextForPlayer(playerid,"~g~Berkley's RC Van",2000,1);
    }
    if (model == 460)
    {
        GameTextForPlayer(playerid,"~g~Skimmer",2000,1);
    }
    if (model == 461)
    {
        GameTextForPlayer(playerid,"~g~PCJ-600",2000,1);
    }
    if (model == 462)
    {
        GameTextForPlayer(playerid,"~g~Faggio",2000,1);
    }
    if (model == 463)
    {
        GameTextForPlayer(playerid,"~g~Freeway",2000,1);
    }
    if (model == 464)
    {
        GameTextForPlayer(playerid,"~g~RC Baron",2000,1);
    }
    if (model == 465)
    {
        GameTextForPlayer(playerid,"~g~RC Raider",2000,1);
    }
    if (model == 466)
    {
        GameTextForPlayer(playerid,"~g~Glendale",2000,1);
    }
    if (model == 467)
    {
        GameTextForPlayer(playerid,"~g~Oceanic",2000,1);
    }
    if (model == 468)
    {
        GameTextForPlayer(playerid,"~g~Sanchez",2000,1);
    }
    if (model == 469)
    {
        GameTextForPlayer(playerid,"~g~Sparrow",2000,1);
    }
    if (model == 470)
    {
        GameTextForPlayer(playerid,"~g~Patriot",2000,1);
    }
    if (model == 471)
    {
        GameTextForPlayer(playerid,"~g~Quad",2000,1);
    }
    if (model == 472)
    {
        GameTextForPlayer(playerid,"~g~Coastguard",2000,1);
    }
    if (model == 473)
    {
        GameTextForPlayer(playerid,"~g~Dinghy",2000,1);
    }
    if (model == 474)
    {
        GameTextForPlayer(playerid,"~g~Hermes",2000,1);
    }
    if (model == 475)
    {
        GameTextForPlayer(playerid,"~g~Sabre",2000,1);
    }
    if (model == 476)
    {
        GameTextForPlayer(playerid,"~g~Rustler",2000,1);
    }
    if (model == 477)
    {
        GameTextForPlayer(playerid,"~g~ZR-350",2000,1);
    }
    if (model == 478)
    {
        GameTextForPlayer(playerid,"~g~Walton",2000,1);
    }
    if (model == 479)
    {
        GameTextForPlayer(playerid,"~g~Regina",2000,1);
    }
    if (model == 480)
    {
        GameTextForPlayer(playerid,"~g~Comet",2000,1);
    }
    if (model == 481)
    {
        GameTextForPlayer(playerid,"~g~BMX",2000,1);
    }
    if (model == 482)
    {
        GameTextForPlayer(playerid,"~g~Burrito",2000,1);
    }
    if (model == 483)
    {
        GameTextForPlayer(playerid,"~g~Camper",2000,1);
    }
    if (model == 484)
    {
        GameTextForPlayer(playerid,"~g~Marquis",2000,1);
    }
    if (model == 485)
    {
        GameTextForPlayer(playerid,"~g~Baggage",2000,1);
    }
    if (model == 486)
    {
        GameTextForPlayer(playerid,"~g~Dozer",2000,1);
    }
    if (model == 487)
    {
        GameTextForPlayer(playerid,"~g~Maverick",2000,1);
    }
    if (model == 488)
    {
        GameTextForPlayer(playerid,"~g~SAN News Maverick",2000,1);
    }
    if (model == 489)
    {
        GameTextForPlayer(playerid,"~g~Rancher",2000,1);
    }
    if (model == 490)
    {
        GameTextForPlayer(playerid,"~g~FBI Rancher",2000,1);
    }
    if (model == 491)
    {
        GameTextForPlayer(playerid,"~g~Virgo",2000,1);
    }
    if (model == 492)
    {
        GameTextForPlayer(playerid,"~g~Greenwood",2000,1);
    }
    if (model == 493)
    {
        GameTextForPlayer(playerid,"~g~Jetmax",2000,1);
    }
    if (model == 494)
    {
        GameTextForPlayer(playerid,"~g~Hotring Racer",2000,1);
    }
    if (model == 495)
    {
        GameTextForPlayer(playerid,"~g~Sandking",2000,1);
    }
    if (model == 496)
    {
        GameTextForPlayer(playerid,"~g~Blista Compact",2000,1);
    }
    if (model == 497)
    {
        GameTextForPlayer(playerid,"~g~Police Maverick",2000,1);
    }
    if (model == 498)
    {
        GameTextForPlayer(playerid,"~g~Boxville",2000,1);
    }
    if (model == 499)
    {
        GameTextForPlayer(playerid,"~g~Benson",2000,1);
    }
    if (model == 500)
    {
        GameTextForPlayer(playerid,"~g~Mesa",2000,1);
    }
    if (model == 501)
    {
        GameTextForPlayer(playerid,"~g~RC Goblin",2000,1);
    }
    if (model == 502)
    {
        GameTextForPlayer(playerid,"~g~Hotring Racer",2000,1);
    }
    if (model == 503)
    {
        GameTextForPlayer(playerid,"~g~Hotring Racer",2000,1);
    }
    if (model == 504)
    {
        GameTextForPlayer(playerid,"~g~Bloodring Banger",2000,1);
    }
    if (model == 505)
    {
        GameTextForPlayer(playerid,"~g~Rancher",2000,1);
    }
    if (model == 506)
    {
        GameTextForPlayer(playerid,"~g~Super GT",2000,1);
    }
    if (model == 507)
    {
        GameTextForPlayer(playerid,"~g~Elegant",2000,1);
    }
    if (model == 508)
    {
        GameTextForPlayer(playerid,"~g~Journey",2000,1);
    }
    if (model == 509)
    {
        GameTextForPlayer(playerid,"~g~Bike",2000,1);
    }
    if (model == 510)
    {
        GameTextForPlayer(playerid,"~g~Mountain Bike",2000,1);
    }
    if (model == 511)
    {
        GameTextForPlayer(playerid,"~g~Beagle",2000,1);
    }
    if (model == 512)
    {
        GameTextForPlayer(playerid,"~g~Cropduster",2000,1);
    }
    if (model == 513)
    {
        GameTextForPlayer(playerid,"~g~Stuntplane",2000,1);
    }
    if (model == 514)
    {
        GameTextForPlayer(playerid,"~g~Tanker",2000,1);
    }
    if (model == 515)
    {
        GameTextForPlayer(playerid,"~g~Roadtrain",2000,1);
    }
    if (model == 516)
    {
        GameTextForPlayer(playerid,"~g~Nebula",2000,1);
    }
    if (model == 517)
    {
        GameTextForPlayer(playerid,"~g~Majestic",2000,1);
    }
    if (model == 518)
    {
        GameTextForPlayer(playerid,"~g~Buccaneer",2000,1);
    }
    if (model == 519)
    {
        GameTextForPlayer(playerid,"~g~Shamal",2000,1);
    }
    if (model == 520)
    {
        GameTextForPlayer(playerid,"~g~Hydra",2000,1);
    }
    if (model == 521)
    {
        GameTextForPlayer(playerid,"~g~FCR-900",2000,1);
    }
    if (model == 522)
    {
        GameTextForPlayer(playerid,"~g~NRG-500",2000,1);
    }
    if (model == 523)
    {
        GameTextForPlayer(playerid,"~g~HPV1000",2000,1);
    }
    if (model == 524)
    {
        GameTextForPlayer(playerid,"~g~Cement Truck",2000,1);
    }
    if (model == 525)
    {
        GameTextForPlayer(playerid,"~g~Towtruck",2000,1);
    }
    if (model == 526)
    {
        GameTextForPlayer(playerid,"~g~Fortune",2000,1);
    }
    if (model == 527)
    {
        GameTextForPlayer(playerid,"~g~Cadrona",2000,1);
    }
    if (model == 528)
    {
        GameTextForPlayer(playerid,"~g~FBI Truck",2000,1);
    }
    if (model == 529)
    {
        GameTextForPlayer(playerid,"~g~Willard",2000,1);
    }
    if (model == 530)
    {
        GameTextForPlayer(playerid,"~g~Forklift",2000,1);
    }
    if (model == 531)
    {
        GameTextForPlayer(playerid,"~g~Tractor",2000,1);
    }
    if (model == 532)
    {
        GameTextForPlayer(playerid,"~g~Combine Harvester",2000,1);
    }
    if (model == 533)
    {
        GameTextForPlayer(playerid,"~g~Feltzer",2000,1);
    }
    if (model == 534)
    {
        GameTextForPlayer(playerid,"~g~Remington",2000,1);
    }
    if (model == 535)
    {
        GameTextForPlayer(playerid,"~g~Slamvan",2000,1);
    }
    if (model == 536)
    {
        GameTextForPlayer(playerid,"~g~Blade",2000,1);
    }
    if (model == 537)
    {
        GameTextForPlayer(playerid,"~g~Freight (Train)",2000,1);
    }
    if (model == 538)
    {
        GameTextForPlayer(playerid,"~g~Brownstreak (Train)",2000,1);
    }
    if (model == 539)
    {
        GameTextForPlayer(playerid,"~g~Vortex",2000,1);
    }
    if (model == 540)
    {
        GameTextForPlayer(playerid,"~g~Vincent",2000,1);
    }
    if (model == 541)
    {
        GameTextForPlayer(playerid,"~g~Bullet",2000,1);
    }
    if (model == 542)
    {
        GameTextForPlayer(playerid,"~g~Clover",2000,1);
    }
    if (model == 543)
    {
        GameTextForPlayer(playerid,"~g~Sadler",2000,1);
    }
    if (model == 544)
    {
        GameTextForPlayer(playerid,"~g~Firetruck LA",2000,1);
    }
    if (model == 545)
    {
        GameTextForPlayer(playerid,"~g~Hustler",2000,1);
    }
    if (model == 546)
    {
        GameTextForPlayer(playerid,"~g~Intruder",2000,1);
    }
    if (model == 547)
    {
        GameTextForPlayer(playerid,"~g~Primo",2000,1);
    }
    if (model == 548)
    {
        GameTextForPlayer(playerid,"~g~Cargobob",2000,1);
    }
    if (model == 549)
    {
        GameTextForPlayer(playerid,"~g~Tampa",2000,1);
    }
    if (model == 550)
    {
        GameTextForPlayer(playerid,"~g~Sunrise",2000,1);
    }
    if (model == 551)
    {
        GameTextForPlayer(playerid,"~g~Merit",2000,1);
    }
    if (model == 552)
    {
        GameTextForPlayer(playerid,"~g~Utility Van",2000,1);
    }
    if (model == 553)
    {
        GameTextForPlayer(playerid,"~g~Nevada",2000,1);
    }
    if (model == 554)
    {
        GameTextForPlayer(playerid,"~g~Yosemite",2000,1);
    }
    if (model == 555)
    {
        GameTextForPlayer(playerid,"~g~Windsor",2000,1);
    }
    if (model == 556)
    {
        GameTextForPlayer(playerid,"~g~Monster A",2000,1);
    }
    if (model == 557)
    {
        GameTextForPlayer(playerid,"~g~Monster B",2000,1);
    }
    if (model == 558)
    {
        GameTextForPlayer(playerid,"~g~Uranus",2000,1);
    }
    if (model == 559)
    {
        GameTextForPlayer(playerid,"~g~Jester",2000,1);
    }
    if (model == 560)
    {
        GameTextForPlayer(playerid,"~g~Sultan",2000,1);
    }
    if (model == 561)
    {
        GameTextForPlayer(playerid,"~g~Stratum",2000,1);
    }
    if (model == 562)
    {
        GameTextForPlayer(playerid,"~g~Elegy",2000,1);
    }
	if (model == 563)
    {
        GameTextForPlayer(playerid,"~g~Raindance",2000,1);
    }
    if (model == 564)
    {
        GameTextForPlayer(playerid,"~g~RC Tiger",2000,1);
    }
    if (model == 565)
    {
        GameTextForPlayer(playerid,"~g~Flash",2000,1);
    }
    if (model == 566)
    {
        GameTextForPlayer(playerid,"~g~Tahoma",2000,1);
    }
    if (model == 567)
    {
        GameTextForPlayer(playerid,"~g~Savanna",2000,1);
    }
    if (model == 568)
    {
        GameTextForPlayer(playerid,"~g~Bandito",2000,1);
    }
    if (model == 569)
    {
        GameTextForPlayer(playerid,"~g~Freight Flat Trailer (Train)",2000,1);
    }
    if (model == 570)
    {
        GameTextForPlayer(playerid,"~g~Streak Trailer (Train)",2000,1);
    }
    if (model == 571)
    {
        GameTextForPlayer(playerid,"~g~Kart",2000,1);
    }
    if (model == 572)
    {
        GameTextForPlayer(playerid,"~g~Mower",2000,1);
    }
	if (model == 573)
    {
        GameTextForPlayer(playerid,"~g~Dune",2000,1);
    }
	if (model == 574)
    {
        GameTextForPlayer(playerid,"~g~Sweeper",2000,1);
    }
    if (model == 575)
    {
        GameTextForPlayer(playerid,"~g~Broadway",2000,1);
    }
    if (model == 576)
    {
        GameTextForPlayer(playerid,"~g~Tornado",2000,1);
    }
    if (model == 577)
    {
        GameTextForPlayer(playerid,"~g~AT400",2000,1);
    }
    if (model == 578)
    {
        GameTextForPlayer(playerid,"~g~DFT-30",2000,1);
    }
    if (model == 579)
    {
        GameTextForPlayer(playerid,"~g~Huntley",2000,1);
    }
    if (model == 580)
    {
        GameTextForPlayer(playerid,"~g~Stafford",2000,1);
    }
    if (model == 581)
    {
        GameTextForPlayer(playerid,"~g~BF-400",2000,1);
    }
    if (model == 582)
    {
        GameTextForPlayer(playerid,"~g~Newsvan",2000,1);
    }
    if (model == 583)
    {
        GameTextForPlayer(playerid,"~g~Tug",2000,1);
    }
    if (model == 584)
    {
        GameTextForPlayer(playerid,"~g~Petrol Trailer",2000,1);
    }
    if (model == 585)
    {
        GameTextForPlayer(playerid,"~g~Emperor",2000,1);
    }
    if (model == 586)
    {
        GameTextForPlayer(playerid,"~g~Wayfarer",2000,1);
    }
    if (model == 587)
    {
        GameTextForPlayer(playerid,"~g~Euros",2000,1);
    }
    if (model == 588)
    {
        GameTextForPlayer(playerid,"~g~Hotdog",2000,1);
    }
    if (model == 589)
    {
        GameTextForPlayer(playerid,"~g~Club",2000,1);
    }
    if (model == 590)
    {
        GameTextForPlayer(playerid,"~g~Freight Box Trailer (Train)",2000,1);
    }
    if (model == 591)
    {
        GameTextForPlayer(playerid,"~g~Article Trailer 3",2000,1);
    }
    if (model == 592)
    {
        GameTextForPlayer(playerid,"~g~Andromada",2000,1);
    }
    if (model == 593)
    {
        GameTextForPlayer(playerid,"~g~Dodo",2000,1);
    }
    if (model == 594)
    {
        GameTextForPlayer(playerid,"~g~RC Cam",2000,1);
    }
    if (model == 595)
    {
        GameTextForPlayer(playerid,"~g~Launch",2000,1);
    }
    if (model == 596)
    {
        GameTextForPlayer(playerid,"~g~Police Car (LSPD)",2000,1);
    }
    if (model == 597)
    {
        GameTextForPlayer(playerid,"~g~Police Car (SFPD)",2000,1);
    }
    if (model == 598)
    {
        GameTextForPlayer(playerid,"~g~Police Car (LVPD)",2000,1);
    }
    if (model == 599)
    {
        GameTextForPlayer(playerid,"~g~Police Ranger",2000,1);
    }
    if (model == 600)
    {
        GameTextForPlayer(playerid,"~g~Picador",2000,1);
    }
    if (model == 601)
    {
        GameTextForPlayer(playerid,"~g~S.W.A.T.",2000,1);
    }
    if (model == 602)
    {
        GameTextForPlayer(playerid,"~g~Alpha",2000,1);
    }
    if (model == 603)
    {
        GameTextForPlayer(playerid,"~g~Phoenix",2000,1);
    }
    if (model == 604)
    {
        GameTextForPlayer(playerid,"~g~Glendale Shit",2000,1);
    }
    if (model == 605)
    {
        GameTextForPlayer(playerid,"~g~Sadler Shit",2000,1);
    }
    if (model == 606)
    {
        GameTextForPlayer(playerid,"~g~Baggage Trailer A",2000,1);
    }
    if (model == 607)
    {
        GameTextForPlayer(playerid,"~g~Baggage Trailer B",2000,1);
    }
    if (model == 608)
    {
        GameTextForPlayer(playerid,"~g~Tug Stairs Trailer",2000,1);
    }
    if (model == 609)
    {
        GameTextForPlayer(playerid,"~g~Boxville",2000,1);
    }
    if (model == 610)
    {
        GameTextForPlayer(playerid,"~g~Farm Trailer",2000,1);
    }
    if (model == 611)
    {
        GameTextForPlayer(playerid,"~g~Utility Trailer",2000,1);
    }
	if(!ispassenger)
	{
		if (g_bIsRobbiz[playerid])
		{
			DestroyObject(g_robbizBag[playerid]);
        }
		if(IsDMVCar(vehicleid))
		{
		    if(!LicenseTest[playerid])
		    {
			    new Float:pos[3];
			    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
			    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		        SendClientMessage(playerid, COLOR_ORANGE, "You are not taking a drivers license test.");
		    }
		    else
		    {
		        SendClientMessage(playerid, COLOR_LIGHTBLUE, "* GPS: Finish the test by driving through all of the checkpoints on your GPS.");
		        SetPlayerCheckpoint(playerid,2040.7101,-1930.1340,13.4667,5);
		        SendClientMessage(playerid, COLOR_RED, "If you exit the car your test will be failed and it will have to be re-done.");
		    }
		}
		/*else if(IsDMVPCar(vehicleid))
		{
		    if(!LicenseTestP[playerid])
		    {
			    new Float:pos[3];
			    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
			    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		        SendClientMessage(playerid, COLOR_ORANGE, "You are not taking a pilot license test.");
		    }
		    else
		    {
		        SendClientMessage(playerid, COLOR_LIGHTBLUE, "* GPS: Finish the test by flying through all of the checkpoints on your GPS.");
		        SetPlayerCheckpoint(playerid,1924.1262,-2199.4536,26.5633,5);
		        SendClientMessage(playerid, COLOR_RED, "If you exit the maverick your test will be failed and it will have to be re-done.");
		    }
		}*/
		/*else if(IsFamVehicle(vehicleid) && Fam[vehicleid] != PlayerInfo[playerid][pFam])
		{
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to a family.");
		}*/
	    else if(IsLeoVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 1)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the LSPD faction.");
	    }
	    else if(IsHAVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 3)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Hitman Agency faction.");
	    }
	    else if(IsGovVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 2)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the GOV faction.");
	    }
	    else if(IsNewsVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 4)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the News Agency faction.");
	    }
 	    else if(IsLeoneVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 5)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Leone.");
	    }
 	    else if(IsFBIVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 6)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the FBI.");
	    }
 	    else if(IsLSEMSVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 7)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the LSEMS.");
	    }
 	    else if(IsHSFVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 8)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the HSF.");
		}
 	    else if(IsSWATVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 11)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the SWAT.");
		}
	 	else if(IsSATFVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 12)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Task Force.");
		}
	 	else if(IsESFVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 13)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the ESF.");
		}
	    else if(IsCORLEONEVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 9)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Corleone.");
	    }
	    else if(IsAncelottiVehicle(vehicleid) && PlayerInfo[playerid][pFac] != 10)
	    {
		    new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Ancelotti.");
	    }
	    else if(IsTruckerVehicle(vehicleid) && PlayerInfo[playerid][pJob] != JOB_TRUCKER && PlayerInfo[playerid][pVIPJob] != JOB_TRUCKER)
	    {
	    	new Float:pos[3];
		    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
		    SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to Truckers.");
	    }
	}
	return 1;
}

IsABike(fahrzeug)
{
    new Motorads[] = { 509, 481, 510, 462, 448, 581, 522, 461, 521, 523, 463, 586, 468, 471 };
    for(new i = 0; i < sizeof(Motorads); i++) {
        if(GetVehicleModel(fahrzeug) == Motorads[i]) return 1;
    }
    return 0;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	if(g_bIsRobbiz[playerid])
	{
		g_robbizBag[playerid] = CreateObject(1550, 0.0, 0.0, 1000.0, 0.0, 0.0, 0.0);
		AttachObjectToPlayer(g_robbizBag[playerid], playerid, -0.2, -0.4, 0.0, 0.0, 1.5, 2);
	}
	switch(Seatbelt[playerid])
	{
	    case 1:
	    {
			new string[128];
	        if(IsABike(vehicleid))
			{
				SendClientMessage(playerid, COLOR_WHITE, "You have taken off your helmet.");
				RemovePlayerAttachedObject(playerid, 1);
				format(string, sizeof(string), "* %s reaches for their helmet, and takes it off.", RPN(playerid));
			}
			else
			{
				SendClientMessage(playerid, COLOR_WHITE, "You have taken off your seatbelt.");
				for(new i;i<5;i++) RemovePlayerAttachedObject(playerid,i);
				format(string, sizeof(string), "* %s reaches for their seatbelt, and unbuckles it.", RPN(playerid));
			}
			SendNearbyMessage(playerid, 20, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
  			Seatbelt[playerid] = 0;
	    }
	}

	if(LicenseTest[playerid])
	{
		DisablePlayerCheckpoint(playerid);
		LicenseTest[playerid] = 0;
		CP[playerid] = 0;
		SetVehicleToRespawn(GetPlayerVehicleID(playerid));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Driving Center: You have left your car, therefore your test has been failed.");
	}
	/*if(LicenseTestP[playerid])
	{
		DisablePlayerCheckpoint(playerid);
		LicenseTestP[playerid] = 0;
		CPFly[playerid] = 0;
		SetVehicleToRespawn(GetPlayerVehicleID(playerid));
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Pilot Center: You have left your maverick, therefore your test has been failed.");
	}*/
	if(PlayerInfo[playerid][pFac] == 1)
	{
	    LastCar[playerid] = vehicleid;
	}

	return 1;
}

new Weapons[MAX_PLAYERS][11];

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if(USE_ANTI_VEHICLE_HACK == true)
	{
		if(IsPlayerInAnyVehicle(playerid) || newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
		{
			pVehicles[playerid]++;
			SetTimerEx("VehicleEnterReset", 3000, 0, "i", playerid);
			if(pVehicles[playerid] >= MAX_ENTER_VEHICLES)
			{
			    SendClientMessage(playerid, COLOR_RED, "{539600}[ANTI-CHEAT]{74D400} You have been kicked for possible vehicle hacks.");
				FixedKick(playerid);
			}
		}
	}
	// Vehicle Heatlh Bar
	if(newstate == PLAYER_STATE_DRIVER)
	{
		CarLabel[playerid] = CreatePlayer3DTextLabel(playerid," ",-1,0,0,0.9,10.0,INVALID_PLAYER_ID,GetPlayerVehicleID(playerid),1);
		UpdateBar(playerid);
	}
	else
	{
		DeletePlayer3DTextLabel(playerid,CarLabel[playerid]);
	}
	if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
	{
		new veh = GetPlayerVehicleID(playerid);
		if(IsAVel(veh)) return 0;
  		new seat = GetPlayerVehicleSeat(playerid);
    	if(seat != 0)
		{
			PassengerInCar[veh][seat] = playerid;
			PassengerSeat[playerid] = seat;
			OldCar[playerid] = veh;
		}
  		PlayVehicleRadioForPlayer(playerid,VehRadio[veh]);
 	}
 	if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
 	{
  		new veh = GetPlayerVehicleID(playerid);
  		if(IsAVel(veh)) return 0;
  		StopAudioStreamForPlayer(playerid);
		if(OldCar[playerid] != INVALID_VEHICLE_ID)
		{
  			PassengerInCar[OldCar[playerid]][PassengerSeat[playerid]] = INVALID_PLAYER_ID;
   			OldCar[playerid] = INVALID_VEHICLE_ID;
		}
	}
/*    if(GetPlayerState(playerid)==PLAYER_STATE_ONFOOT && GetPlayerSurfingVehicleID(playerid)==INVALID_VEHICLE_ID)
	{
		new Float:x, Float:y, Float:z;
		SetPlayerPos(playerid,x+2,y+2,z);
	}*/
	if(newstate == PLAYER_STATE_ONFOOT)
	{
		fMeter[playerid] = 0;
		Speedo[playerid] = 0;
		TextDrawHideForPlayer(playerid, speedometer);
		TextDrawHideForPlayer(playerid, fuelmeter);
	}
	if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER))
 	{
  		for(new j=0; j<11; j++) GetPlayerWeaponData(playerid, j, Weapons[playerid][j], Ammo[playerid][j]);
  		ResetPlayerWeapons(playerid);
  	}
   	if((newstate == PLAYER_STATE_ONFOOT) && ((oldstate == PLAYER_STATE_DRIVER) || (oldstate == PLAYER_STATE_PASSENGER)))
   	{
    	for(new j=0; j<11; j++) GiveZaiatWeapon(playerid, Weapons[playerid][j], Ammo[playerid][j]);
   	}
	if(newstate == PLAYER_STATE_DRIVER)
	{
	    SetPlayerArmedWeapon(playerid,0);
	}
	if(newstate == PLAYER_STATE_DRIVER)
	{
	    SendClientMessage(playerid, COLOR_GREY, "Warning: Don't forgot too check your fuel (/tog fuel) and seatbelt (/sb).");
	    SendClientMessage(playerid, COLOR_GREY, "Always tired of the normal radio stations? Press CTRL for 1/2 seconds :).");
	    SendClientMessage(playerid, COLOR_GREY, "You dont want the music? /music stop");
	}
	if(newstate == PLAYER_STATE_PASSENGER)
	{
	    SetPlayerArmedWeapon(playerid,0);
	}
	if(newstate == PLAYER_STATE_PASSENGER)
	{
	    if(newstate == PLAYER_STATE_PASSENGER)
	    {
	        new gun,tmp;
	        GetPlayerWeaponData(playerid,4,gun,tmp);
	        #pragma unused tmp
	        if(gun)SetPlayerArmedWeapon(playerid,gun);
	        else SetPlayerArmedWeapon(playerid,0);
	    }
	    if(GetPlayerVehicleID(playerid) == NPCBus)
	    {
	        new string[128], BusDriver = RPIDFN("BusDriver");
	        if(PlayerInfo[playerid][pMoney] < 2)
	        {
	            RemovePlayerFromVehicle(playerid);
	            format(string, sizeof(string), "Bus Driver shouts: Get out of the bus poor hobo!");
				SendNearbyMessage(BusDriver, 30, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
	            return 1;
	        }
	        format(string, sizeof(string), "Bus Driver says: The ticket costs $5, you will have to pay $2 everytime the bus stops.");
			SendNearbyMessage(BusDriver, 10, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
			format(string, sizeof(string), "* %s takes out $5, hands them to the bus driver and grabs a ticket.", RPN(playerid));
 			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger takes out $5, hands them to the bus driver and grabs a ticket.");
			}
			else
			{
				format(string, sizeof(string), "* %s takes out $5, hands them to the bus driver and grabs a ticket.", RPN(playerid));
			}
 			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	        GiveZaiatMoney(playerid, -5);
	        SendClientMessage(playerid, COLOR_LIGHTBLUE, " You will not recieve any playing minutes until you get out of the bus.");
	        SetTimerEx("BusTimer", 1000, false, "i", playerid);
	    }
	}
	if(newstate == PLAYER_STATE_DRIVER && oldstate != PLAYER_STATE_DRIVER)
	{
	    new vehicleid = GetPlayerVehicleID(playerid);
	    new engine, lights, alarm, doors, bonnet, boot, objective;
		GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
		if(!engine) SendClientMessage(playerid, COLOR_WHITE, "You can start or stop the vehicle's engine using {FF6347}/engine{FFFFFF} or press 2.");
		if(!PlayerInfo[playerid][pCarLic]) SendClientMessage(playerid, COLOR_LIGHTRED, " You don't have a drivers license, beware of cops.");
		if(IsATowTruck(vehicleid)) SendClientMessage(playerid, COLOR_WHITE, "You can tow a vehicle using {FF6347}/(un)tow{FFFFFF}.");
	}
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	if(g_apprehendedCash[playerid])
	{
		new localMessage[128];
		format(localMessage, sizeof(localMessage), "%s has just delivered a money bag and got $%d", NORPN(playerid), g_apprehendedCash[playerid]);
		SendNearbyMessage(playerid, 15.0, localMessage, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		GiveZaiatMoney(playerid, g_apprehendedCash[playerid]);	
		/*for(new idx=0; idx<MAX_BIZ; idx++)
		{
			BizInfo[idx][bMoney] -= g_apprehendedCash[playerid];
		}*/
		DestroyObject(g_robbizBag[playerid]);
		g_apprehendedCash[playerid] = 0;
		g_bIsRobbiz[playerid] = 0;
	    DisablePlayerCheckpoint(playerid);
	}
	if(DeliverMoney[playerid] == 1 && IsPlayerInRangeOfPoint(playerid, 10, -2227.4868,2327.0056,7.5469))
	{
	    new Rob = BankRobber[playerid]-1, string[128];
	    DisablePlayerCheckpoint(playerid);
		BankRobbersCount --;
		format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
		DeliverMoney[playerid] = 0;
		//
		foreach(Player, i)
		{
		    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
		    {
				if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
				else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
				else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
				else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
				else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
			}
		}
		GiveZaiatMoney(playerid, 500000);
		format(string, sizeof(string), "** %s has delivered their stolen money and claimed $500,000. **", RPN(playerid));
		SendRobberyMessage(COLOR_LIME, string);
		SendCopMessage(COLOR_LIME, string);
		SendFBIMessage(COLOR_LIME, string);
		BankRobber[playerid] = 0;
		TotalStolen ++;
		//
		if(BankRobbersCount == 0)
		{
			TextDrawHideForAll(Area5);
			TextDrawHideForAll(Textdraw1);
			TextDrawHideForAll(Textdraw2);
			TextDrawHideForAll(Textdraw3);
			TextDrawHideForAll(Textdraw4);
			TextDrawHideForAll(Textdraw5);
			BankRobbery = 0;
			RobberyStarted = 0;
			format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
			SendClientMessageToAll(COLOR_YELLOW, string);
			TotalRobbers = 0;
			new copsonline;
			foreach(Player, i)
			{
			    if(IsACop(i)) copsonline++;
			    if(IsAHSF(i)) copsonline++;
			    if(IsAFBI(i)) copsonline++;
			}
			foreach(Player, i)
			{
			    if(IsACop(i))
			    {
					new Saved = (TotalRobbers*50000-(TotalStolen*50000));
					GiveZaiatMoney(i, Saved/copsonline);
					format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
					SendClientMessage(i, COLOR_LIME, string);
			    }
			}
		}
	}
/*    if(CPFly[playerid] == 1) // Pilot License Test
	{
		if(IsPlayerInRangeOfPoint(playerid,5,1924.1262,-2199.4536,26.5633)) // Checkpoint 1
		{
		    SetPlayerCheckpoint(playerid,1924.1262,-2199.4536,26.5633,5); // Checkpoint 2
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1943.5022,-2297.5222,61.9412)) // Checkpoint 2
		{
		    SetPlayerCheckpoint(playerid,1784.9016,-2518.4521,62.6579,5); // Checkpoint 3
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1784.9016,-2518.4521,62.6579)) // Checkpoint 3
		{
			SetPlayerCheckpoint(playerid,1532.2080,-2541.3594,67.6081,5); // Checkpoint 4
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1532.2080,-2541.3594,67.6081)) // Checkpoint 4
		{
			SetPlayerCheckpoint(playerid,1377.4799,-2414.3530,65.9785,5); // Checkpoint 5
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1377.4799,-2414.3530,65.9785)) // Checkpoint 5
		{
			SetPlayerCheckpoint(playerid,1390.1136,-2209.2666,68.4165,5); // Checkpoint 6
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1390.1136,-2209.2666,68.4165)) // Checkpoint 6
		{
			SetPlayerCheckpoint(playerid,1562.0043,-2163.2808,73.6576,5); // Checkpoint 7
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1562.0043,-2163.2808,73.6576)) // Checkpoint 7
		{
			SetPlayerCheckpoint(playerid,1722.6953,-2153.5962,60.5107,5); // Checkpoint 8
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1722.6953,-2153.5962,60.5107)) // Checkpoint 8
		{
			SetPlayerCheckpoint(playerid,1834.2618,-2027.1259,50.3129,5); // Checkpoint 9
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1834.2618,-2027.1259,50.3129)) // Checkpoint 9
		{
			SetPlayerCheckpoint(playerid,1902.2133,-1972.6270,56.5834,5); // Checkpoint 10
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1902.2133,-1972.6270,56.5834 )) // Checkpoint 10
		{
			SetPlayerCheckpoint(playerid,1943.0569,-2072.8015,66.2459,5); // Checkpoint 11
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1943.0569,-2072.8015,66.2459)) // Checkpoint 11
		{
			SetPlayerCheckpoint(playerid,1974.4795,-2198.4812,13.7231,5); // Checkpoint 12
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1943.5022,-2297.5222,61.9412)) // Checkpoint 12
		{
		    new Float:Health;
		    GetVehicleHealth(GetPlayerVehicleID(playerid), Health);
		    if(Health > 700)
			{
				DisablePlayerCheckpoint(playerid);
				PlayerInfo[playerid][pPilotLic] = 1;
				LicenseTestP[playerid] = 0;
				CPFly[playerid] = 0;
				SetVehicleToRespawn(GetPlayerVehicleID(playerid));
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Pilot Center: You have successfully passed the test and received your license.");
			}
			else
			{
				DisablePlayerCheckpoint(playerid);
				LicenseTestP[playerid] = 0;
				CPFly[playerid] = 0;
				SetVehicleToRespawn(GetPlayerVehicleID(playerid));
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Pilot Center: You have damaged your maverick hardly, therefore you failed the test.");
			}
		}
	}*/
	else DisablePlayerCheckpoint(playerid);
    if(CP[playerid] == 1) // Drivers License Test
	{
		if(IsPlayerInRangeOfPoint(playerid,5,2040.7101,-1930.1340,13.4667)) // Checkpoint 1
		{
		    SetPlayerCheckpoint(playerid,1948.1033,-1930.6860,13.4751,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1948.1033,-1930.6860,13.4751)) // Checkpoint 2
		{
		    SetPlayerCheckpoint(playerid,1830.9167,-1930.0353,13.4754,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1830.9167,-1930.0353,13.4754)) // Checkpoint 3
		{
			SetPlayerCheckpoint(playerid,1823.9110,-1791.2739,13.4752,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1823.9110,-1791.2739,13.4752)) // Checkpoint 4
		{
			SetPlayerCheckpoint(playerid,1824.1433,-1629.3223,13.4751,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1824.1433,-1629.3223,13.4751)) // Checkpoint 5
		{
			SetPlayerCheckpoint(playerid,1929.6962,-1614.7090,13.4751,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1929.6962,-1614.7090,13.4751)) // Checkpoint 6
		{
			SetPlayerCheckpoint(playerid,1938.9127,-1738.9067,13.4751,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1938.9127,-1738.9067,13.4751)) // Checkpoint 7
		{
			SetPlayerCheckpoint(playerid,1959.0842,-1765.3502,13.4750,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1959.0842,-1765.3502,13.4750)) // Checkpoint 8
		{
			SetPlayerCheckpoint(playerid,1975.3130,-1814.8724,13.4751,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,1975.3130,-1814.8724,13.4751)) // Checkpoint 9
		{
			SetPlayerCheckpoint(playerid,2066.9341,-1814.9067,13.4751,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,2066.9341,-1814.9067,13.4751 )) // Checkpoint 10
		{
			SetPlayerCheckpoint(playerid,2078.9148,-1897.3009,13.4473,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,2078.9148,-1897.3009,13.4473)) // Checkpoint 11
		{
			SetPlayerCheckpoint(playerid,2074.2095,-1907.4380,13.6393,5);
		}
		else if(IsPlayerInRangeOfPoint(playerid,5,2074.2095,-1907.4380,13.6393)) // Checkpoint 12
		{
		    new Float:Health;
		    GetVehicleHealth(GetPlayerVehicleID(playerid), Health);
		    if(Health > 900)
			{
				DisablePlayerCheckpoint(playerid);
				PlayerInfo[playerid][pCarLic] = 1;
				LicenseTest[playerid] = 0;
				CP[playerid] = 0;
				SetVehicleToRespawn(GetPlayerVehicleID(playerid));
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Driving Center: You have successfully passed the test and received your license.");
			}
			else
			{
				DisablePlayerCheckpoint(playerid);
				LicenseTest[playerid] = 0;
				CP[playerid] = 0;
				SetVehicleToRespawn(GetPlayerVehicleID(playerid));
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Driving Center: You have damaged your vehicle hardly, therefore you failed the test.");
			}
		}
	}
	else DisablePlayerCheckpoint(playerid);
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
    new string[128];
	format(string, sizeof(string), "=> RCON COMMAND | Command: %s <=", cmd);
	Log("logs/rcon.log", string);
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	return 1;
}

/*public OnObjectMoved(objectid)
{
    new Float:x, Float:y, Float:z;
	for(new i; i < sizeof(Obj_FloorDoors); i ++)
	{
		if(objectid == Obj_FloorDoors[i][0])
		{
		    GetObjectPos(Obj_FloorDoors[i][0], x, y, z);

		    if(x < X_DOOR_L_OPENED - 0.5)   // Some floor doors have shut, move the elevator to next floor in queue:
		    {
				Elevator_MoveToFloor(ElevatorQueue[0]);
				RemoveFirstQueueFloor();
			}
		}
	}

	if(objectid == Obj_Elevator)   // The elevator reached the specified floor.
	{
	    KillTimer(ElevatorBoostTimer);  // Kills the timer, in case the elevator reached the floor before boost.

	    FloorRequestedBy[ElevatorFloor] = INVALID_PLAYER_ID;

	    Elevator_OpenDoors();
	    Floor_OpenDoors(ElevatorFloor);

	    GetObjectPos(Obj_Elevator, x, y, z);
	    Label_Elevator	= Create3DTextLabel("Press 'F' to use elevator", 0xFFFFDD, 1784.9822, -1302.0426, z - 0.9, 4.0, 0, 1);

	    ElevatorState 	= ELEVATOR_STATE_WAITING;
	    SetTimer("Elevator_TurnToIdle", ELEVATOR_WAIT_TIME, 0);
	}

	return 1;
}*/

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid == Parachute)
	{
	    new Parachute1, Parachute2;
		GetPlayerWeaponData(playerid, 11, Parachute1, Parachute2);
		if(Parachute1 != 46)
		{
		    GiveZaiatWeapon(playerid, 46, 1);
		}
	}
	return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
	if(USE_ANTI_CRASH == true)
	{
		pVehicleMods[playerid]++;
		SetTimerEx("VehicleModReset", 3000, 0, "i", playerid);
		if(pVehicleMods[playerid] >= MAX_VEHICLE_MODS)
		{
		    SendClientMessage(playerid, COLOR_RED, "{539600}[ANTI-CHEAT]{74D400} You have been kicked for possible player crashing.");
			SetTimerEx("UnsetKick", 500, 0, "i", playerid);
		}
	}
	if(vehicleid == PlayerInfo[playerid][pVeh])
	{
		for(new i=0; i<14; i++)
		{
		    PlayerInfo[playerid][pVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pVeh], i);
		}
	}
	else if(vehicleid == PlayerInfo[playerid][pVVeh])
	{
		for(new i=0; i<14; i++)
		{
		    PlayerInfo[playerid][pVVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pVVeh], i);
		}
	}
	else if(vehicleid == PlayerInfo[playerid][pBVeh])
	{
		for(new i=0; i<14; i++)
		{
		    PlayerInfo[playerid][pBVehMod][i] = GetVehicleComponentInSlot(PlayerInfo[playerid][pBVeh], i);
		}
	}
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	if(vehicleid == PlayerInfo[playerid][pVeh])
	{
		PlayerInfo[playerid][vPJ] = paintjobid;
	}
	else if(vehicleid == PlayerInfo[playerid][pVVeh])
	{
		PlayerInfo[playerid][vVPJ] = paintjobid;
	}
	else if(vehicleid == PlayerInfo[playerid][pBVeh])
	{
		PlayerInfo[playerid][vBPJ] = paintjobid;
	}
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	if(vehicleid == PlayerInfo[playerid][pVeh])
	{
		PlayerInfo[playerid][vC1] = color1;
		PlayerInfo[playerid][vC2] = color2;
	}
	else if(vehicleid == PlayerInfo[playerid][pVVeh])
	{
		PlayerInfo[playerid][vVC1] = color1;
		PlayerInfo[playerid][vVC2] = color2;
	}
	else if(vehicleid == PlayerInfo[playerid][pBVeh])
	{
		PlayerInfo[playerid][vBC1] = color1;
		PlayerInfo[playerid][vBC2] = color2;
	}
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	foreach(Player, i)
	{
		if(Specid[i] == playerid)
		{
		    SetPlayerInterior(i, newinteriorid);
		}
	}
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(Holding(KEY_FIRE) || newkeys == KEY_FIRE)
	{
		new Float:fx, Float:fy, Float:fz;
		GetDynamicObjectPos(FireObject, fx, fy, fz);
		GetDynamicObjectPos(FireObject1, fx, fy, fz);
		GetDynamicObjectPos(FireObject2, fx, fy, fz);
		new string[256];
        if(GetPlayerWeapon(playerid) == 42 || GetVehicleModel(GetPlayerVehicleID(playerid)) == 407)
        {
            if(IsPlayerInRangeOfPoint(playerid, 40.0, fx,  fy,  fz))
 	        {
			   	FireHealth -= 1;
				format(string, sizeof(string), "%d/250%", FireHealth);
				Update3DTextLabelText(FireText, COLOR_GREEN, string);
			    if(FireHealth <= 0)
			    {
					DestroyDynamicObject(FireObject);
					DestroyDynamicObject(FireObject1);
					DestroyDynamicObject(FireObject2);
					DestroyDynamicObject(SmokeObject);
					DestroyDynamicObject(SmokeObject1);
					DestroyDynamicObject(SmokeObject2);
					Delete3DTextLabel(FireText);
					FireHealth = 0;
					FireTimer = SetTimer("StartRandomFire", 900000, false);
					format(string, sizeof(string), "{2641FE}Dispatch: {FFFFFF} The fire that was started has been successfully put out. Continue with normal duties.");
					foreach(Player, i)
					{
	    				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
	    				{
							SendClientMessage(i, COLOR_DEPTRADIO, string);
	    				}
	    			}
					return 1;
				}
			}
		}
	}
	if(PRESSED(KEY_ANALOG_LEFT))
	{
		new string[128];
		if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI/HSF.");
		format(string, sizeof(string), "[%s %s:o< %s Pull over your vehicle at the right road side]", RPFN(playerid), RPN(playerid), RPFNEx(playerid));
		SendNearbyMessage(playerid, 40, string, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW);
		format(string, sizeof(string), "[%s %s:o< %s If you will ignore this, We will arrest you]", RPFN(playerid), RPN(playerid), RPFNEx(playerid));
		SendNearbyMessage(playerid, 40, string, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW, COLOR_YELLOW);
	}
	if(PRESSED(KEY_FIRE))
	{
		if(HazPizza[playerid] == 1)
		    {
                if(IsPlayerAttachedObjectSlotUsed(playerid, 0)) RemovePlayerAttachedObject(playerid, 0);
				ClearAnimations(playerid);
				SendClientMessage(playerid, COLOR_GREY,"Info : You have throw your Pizza.");
				HazPizza[playerid] = 0;
			}
	}
	if(PollOn && PollVoted[playerid] == 0)
	{
	    if(newkeys == KEY_YES)
	    {
        PollY++;
        PollVoted[playerid] = 1;
        SendClientMessage(playerid, COLOR_GREY, "You Have Voted Yes.");
		}
	    if(newkeys == KEY_NO)
	    {
	    PollN++;
	    PollVoted[playerid] = 1;
	    SendClientMessage(playerid, COLOR_GREY, "You Have Voted No.");
	    }
	}
/*	if(!IsPlayerInAnyVehicle(playerid) && newkeys & KEY_SECONDARY_ATTACK)
	{
	    new Float:pos[3];
	    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
	    if(pos[1] < -1301.4 && pos[1] > -1303.2417 && pos[0] < 1786.2131 && pos[0] > 1784.1555)    // He is using the elevator button
	        ShowElevatorDialog(playerid);
		else    // Is he in a floor button?
		{
		    if(pos[1] > -1301.4 && pos[1] < -1299.1447 && pos[0] < 1785.6147 && pos[0] > 1781.9902)
		    {
		        // He is most likely using it, check floor:
				new i=20;
				while(pos[2] < GetDoorsZCoordForFloor(i) + 3.5 && i > 0)
				    i --;

				if(i == 0 && pos[2] < GetDoorsZCoordForFloor(0) + 2.0)
				    i = -1;

				if(i <= 19)
				{
					CallElevator(playerid, i + 1);
					GameTextForPlayer(playerid, "~r~Elevator called", 3500, 4);
				}
		    }
		}
	}*/
	if (((newkeys & KEY_WALK && newkeys & KEY_UP) || (newkeys & KEY_WALK && newkeys & KEY_DOWN) || (newkeys & KEY_WALK && newkeys & KEY_LEFT) || (newkeys & KEY_WALK && newkeys & KEY_RIGHT))
		|| ((oldkeys & KEY_WALK && newkeys & KEY_UP) || (oldkeys & KEY_WALK && newkeys & KEY_DOWN) || (oldkeys & KEY_WALK && newkeys & KEY_LEFT) || (oldkeys & KEY_WALK && newkeys & KEY_RIGHT))
		|| ((newkeys & KEY_WALK && oldkeys & KEY_UP) || (newkeys & KEY_WALK && oldkeys & KEY_DOWN) || (newkeys & KEY_WALK && oldkeys & KEY_LEFT) || (newkeys & KEY_WALK && oldkeys & KEY_RIGHT))
		&& GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
	}
	if(newkeys & KEY_FIRE)
	{
	    if(SpeedHack[playerid] == 1)
	    {
	        SetVehicleForwardVelocity(GetPlayerVehicleID(playerid), 0.7, 0.0);
	        return 1;
		}
	}
	if(newkeys == KEY_ACTION)
	{
	    if(!IsPlayerInAnyVehicle(playerid)) return 0;
     	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 0;
   		new veh = GetPlayerVehicleID(playerid);
		if(IsAVel(veh)) return 0;
		if(WaitForBuf[playerid])
		{
			SendClientMessage(playerid,0xFF0000FF,"* You can change radiostation after 5 seconds.");
			return 0;
		}
		VehRadio[veh]++;
		if(VehRadio[veh] == NumOfRadio+1) VehRadio[veh] = 0;
		PlayVehicleRadioForPlayer(playerid,VehRadio[veh]);
		for(new s = 1; s < 8; s++)
		{
			if(PassengerInCar[veh][s] != INVALID_PLAYER_ID && !WaitForBuf[PassengerInCar[veh][s]]) PlayVehicleRadioForPlayer(PassengerInCar[veh][s],VehRadio[veh]);
		}
	}
	if(newkeys == 132)
	{
	    if(!IsPlayerInAnyVehicle(playerid)) return 0;
     	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 0;
   		new veh = GetPlayerVehicleID(playerid);
		if(IsAVel(veh)) return 0;
		if(WaitForBuf[playerid])
		{
			SendClientMessage(playerid,0xFF0000FF,"* You can change radiostation after 5 seconds.");
			return 0;
		}
		VehRadio[veh]--;
		if(VehRadio[veh] == -1) VehRadio[veh] = NumOfRadio;
		PlayVehicleRadioForPlayer(playerid,VehRadio[veh]);
		for(new s = 1; s < 8; s++)
		{
			if(PassengerInCar[veh][s] != INVALID_PLAYER_ID && !WaitForBuf[PassengerInCar[veh][s]]) PlayVehicleRadioForPlayer(PassengerInCar[veh][s],VehRadio[veh]);
		}
	}
    if(gPlayerUsingLoopingAnim[playerid])
	{
		if(IsKeyJustDown(KEY_SPRINT,newkeys,oldkeys))
		{
			StopLoopingAnim(playerid);
			TextDrawHideForPlayer(playerid,txtAnimHelper);
			animation[playerid] = 0;
			ClearAnimations(playerid);
			return 1;
		}
	}
	if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DRINK_SPRUNK || GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DRINK_WINE || GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DRINK_BEER)
	{
	    if(newkeys == KEY_FIRE)
	    {
			if(!NoSprunk[playerid])
			{
			    new Float:H;
			    GetPlayerHealth(playerid, H);
			    SetPlayerHealth(playerid, H+5);
				GetPlayerHealth(playerid, H);
				if(H > 100) SetPlayerHealth(playerid, 100);
				NoSprunk[playerid] = 1;
				SetTimerEx("SprunkTimer", 1800, false, "d", playerid);
			}

		}
	}

	// Exit "F"
/*	if(newkeys & KEY_FIRE)
	{
		new done, string[128];
	    for(new idx=0; idx<MAX_DOORS; idx++) // Dynamic Doors
		{
		    if(!done && IsPlayerInRangeOfPoint(playerid, 2, DoorInfo[idx][dIX], DoorInfo[idx][dIY], DoorInfo[idx][dIZ]) && GetPlayerVirtualWorld(playerid) == DoorInfo[idx][dIVW] && GetPlayerInterior(playerid) == DoorInfo[idx][dIInt])
		    {
		        if(BankRobber[playerid] && BankBlock && GetPlayerInterior(playerid) == 83 && GetPlayerVirtualWorld(playerid) == 8473)
		        {
		       	    new Rob = BankRobber[playerid]-1;
				    DisablePlayerCheckpoint(playerid);
					BankRobbersCount --;
					format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
					DeliverMoney[playerid] = 0;
					//
					foreach(Player, i)
					{
					    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
					    {
							if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
							else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
							else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
							else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
							else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
						}
					}
					format(string, sizeof(string), "** %s has went out of the bank before loading money and has failed the robbery. **", RPN(playerid));
					SendRobberyMessage(COLOR_LIGHTRED, string);
					SendCopMessage(COLOR_LIGHTRED, string);
					BankRobber[playerid] = 0;
					if(BankRobbersCount == 0)
					{
						TextDrawHideForAll(Area5);
						TextDrawHideForAll(Textdraw1);
						TextDrawHideForAll(Textdraw2);
						TextDrawHideForAll(Textdraw3);
						TextDrawHideForAll(Textdraw4);
						TextDrawHideForAll(Textdraw5);
						BankRobbery = 0;
						RobberyStarted = 0;
						format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
						SendClientMessageToAll(COLOR_YELLOW, string);
						TotalRobbers = 0;
						new copsonline;
						foreach(Player, i)
						{
						    if(IsACop(i)) copsonline++;
						}
						foreach(Player, i)
						{
						    if(IsACop(i))
						    {
								new Saved = (TotalRobbers*500000-(TotalStolen*500000));
								GiveZaiatMoney(i, Saved/copsonline);
								format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
								SendClientMessage(i, COLOR_LIME, string);
						    }
						}
					}
		            return 1;
		        }
		        if(DoorInfo[idx][dCExt])
		        {
		            GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
					TogglePlayerControllable(playerid, 0);
		            SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
		            PlayerInfo[playerid][pSpawnFreeze] = 1;
		        }
		        PlayerInfo[playerid][pSpawnFreeze] = 0;
		        SetPlayerInterior(playerid, DoorInfo[idx][dOInt]);
		        SetPlayerVirtualWorld(playerid, DoorInfo[idx][dOVW]);
		        SetPlayerFacingAngle(playerid, DoorInfo[idx][dOA]);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerPos(playerid, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]);
		        done = 1;
		    }
		}
		if(IsPlayerInRangeOfPoint(playerid, 2, 243.9951,304.9418,999.1484) || IsPlayerInRangeOfPoint(playerid, 2, 2259.6702,-1135.8542,1050.6328) || IsPlayerInRangeOfPoint(playerid, 2, 2308.8254,-1212.8070,1049.0234) || IsPlayerInRangeOfPoint(playerid, 2, 260.7436,1237.5563,1084.2578)
		|| IsPlayerInRangeOfPoint(playerid, 2, -42.5742,1405.6521,1084.4297) || IsPlayerInRangeOfPoint(playerid, 2, 2468.6787,-1698.2617,1013.5078) || IsPlayerInRangeOfPoint(playerid, 2, 2365.2183,-1135.4014,1050.8750) || IsPlayerInRangeOfPoint(playerid, 2, 2270.1270,-1210.4855,1047.5625)
		|| IsPlayerInRangeOfPoint(playerid, 2, 2324.4424,-1149.2057,1050.7101) || IsPlayerInRangeOfPoint(playerid, 2, 83.0863,1322.3020,1083.8662)) // Houses
		{
		    new idx;
			idx = GetPlayerVirtualWorld(playerid)-500;
			if(!done && idx < MAX_HOUSES && HouseInfo[idx][hLevel])
			{
				format(string, sizeof(string), "* %s pushes the door and exits the house.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]);
		        SetPlayerInterior(playerid, 0);
		        SetPlayerVirtualWorld(playerid, 0);
		        done = 1;
	        }
		}
	    if(IsPlayerInRangeOfPoint(playerid, 2, -27.3025,-57.6649,1003.5469) || IsPlayerInRangeOfPoint(playerid, 2, 207.0638,-139.9965,1003.5078) || IsPlayerInRangeOfPoint(playerid, 2, 285.8044,-85.9956,1001.5229) || IsPlayerInRangeOfPoint(playerid, 2, 493.4252,-24.3061,1000.6797) || IsPlayerInRangeOfPoint(playerid, 2, 834.1631,7.4883,1004.1797) || IsPlayerInRangeOfPoint(playerid, 2, 372.3830,-133.2579,1001.4922)) // 24/7 || Clothes Shop || Ammunation || Club || Advertisement Agency || FastFood
		{
		    new idx;
			idx = GetPlayerVirtualWorld(playerid)-100;
			if(!done && idx < MAX_BIZ && BizInfo[idx][bType])
			{
				format(string, sizeof(string), "* %s pushes the door and exits the shop.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]);
		        SetPlayerInterior(playerid, 0);
		        SetPlayerVirtualWorld(playerid, 0);
	        }
	        done = 1;
		}
		return 1;
	}*/
	// Exit "F"

	if(newkeys & KEY_CROUCH)
	{
	    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(IsALSEMS(playerid) && IsPlayerInRangeOfPoint(playerid, 15, 1811.59, -1795.36, 13.87)) // LSEMS Barrier
		{
			if(!LSEMSBarrierStatus)
			{
				LSEMSBarrierStatus = 1;
				MoveObject(fdgate1,1811.59, -1782.96, 13.87,5);
				MoveObject(fdgate2,1811.59, -1808.19, 13.87,5);
			}
			else
			{
				LSEMSBarrierStatus = 0;
				MoveObject(fdgate1,1811.59, -1791.36, 13.87, 2.5);
				MoveObject(fdgate2,1811.59, -1799.77, 13.87, 2.5);
			}
			return 1;	
		}
		if(IsACop(playerid) && IsPlayerInRangeOfPoint(playerid, 6, 1544.7363,-1627.0232,13.3672)) // LSPD Barrier
		{
		    if(!SAPDBarrierStatus)
		    {
		        SAPDBarrierStatus = 1;
		        MoveDynamicObject(SAPDBarrier, 1544.6943359375, -1630.73046875, 13.27956199646+0.0001, 0.0002, 0, 0, 90);
		    }
		    else
		    {
		        SAPDBarrierStatus = 0;
		        MoveDynamicObject(SAPDBarrier, 1544.6943359375, -1630.73046875, 13.27956199646-0.0001, 0.0003, 0, 90, 90);
		    }
		    return 1;
		}
		else if(IsACop(playerid) && IsPlayerInRangeOfPoint(playerid, 7, 1588.4501,-1638.5692,13.3672)) // SAPD Gate
		{
		   	if(!SAPDGateStatus)
		    {
		        SAPDGateStatus = 1;
		        MoveDynamicObject(SAPDGate, 1588.6501464844, -1638.0750732422, 6.2343215942383, 3);
		    }
		    else
		    {
		        SAPDGateStatus = 0;
		        MoveDynamicObject(SAPDGate, 1588.6428222656, -1638.02734375, 15.240161895752, 3);
		    }
		    return 1;
		}
		else if(IsAReporter(playerid) && IsPlayerInRangeOfPoint(playerid, 6, 778.0338,-1385.0182,13.7254)) // NA Gate 1
		{
		    if(!SAGateStatus1)
		    {
		        SAGateStatus1 = 1;
		        MoveDynamicObject(SAGate1, 770.497985, -1384.939453, 14.392275, 3);
		    }
		    else
		    {
		        SAGateStatus1 = 0;
		        MoveDynamicObject(SAGate1, 777.457580, -1384.939453, 14.392275, 3);
		    }
		}
		else if(IsAReporter(playerid) && IsPlayerInRangeOfPoint(playerid, 6, 777.5819,-1330.1381,13.5500)) // NA Gate 2
		{
		    if(!SAGateStatus2)
		    {
		        SAGateStatus2 = 1;
		        MoveDynamicObject(SAGate2, 783.026306, -1330.353393, 14.167037, 3);
		    }
		    else
		    {
		        SAGateStatus2 = 0;
		        MoveDynamicObject(SAGate2, 778.548583, -1330.212890, 14.167037, 3);
		    }
		}
		return 1;
	}

	if(newkeys & KEY_SUBMISSION) // New Engine HotKey
	{
	    new engine, lights, alarm, doors, bonnet, boot, objective, vehicleid, string[128];
	   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
		if(vehicleid == 509 || vehicleid == 481 || vehicleid == 510) return SendClientMessage(playerid, COLOR_GREY, "Bicycles have no engine.");
		vehicleid = GetPlayerVehicleID(playerid);
		GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
		if(!engine)
		{
		    SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
		    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
		    {SetVehicleParamsEx(vehicleid, 1, lights, alarm, PlayerInfo[playerid][vLocked], bonnet, boot, objective);}
		    else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
		    {SetVehicleParamsEx(vehicleid, 1, lights, alarm, PlayerInfo[playerid][vVLocked], bonnet, boot, objective);}
  		    else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
		    {SetVehicleParamsEx(vehicleid, 1, lights, alarm, PlayerInfo[playerid][vBLocked], bonnet, boot, objective);}
	 		format(string, sizeof(string), "* %s turns the vehicle's engine on.", RPN(playerid));
			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger turns the vehicle's engine on.");
			}
			else
			{
				format(string, sizeof(string), "* %s turns the vehicle's engine on.", RPN(playerid));
			}
	 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		}
		else
		{
		    SetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective);
		    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
		    {SetVehicleParamsEx(vehicleid, 0, lights, alarm, PlayerInfo[playerid][vLocked], bonnet, boot, objective);}
		    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
		    {SetVehicleParamsEx(vehicleid, 0, lights, alarm, PlayerInfo[playerid][vVLocked], bonnet, boot, objective);}
  		    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
		    {SetVehicleParamsEx(vehicleid, 0, lights, alarm, PlayerInfo[playerid][vBLocked], bonnet, boot, objective);}
		    format(string, sizeof(string), "* %s turns the vehicle's engine off.", RPN(playerid));
	 		if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger turns the vehicle's engine off.");
			}
			else
			{
				format(string, sizeof(string), "* %s turns the vehicle's engine off.", RPN(playerid));
			}
	 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		}
		return 1;
	}

	// Enter "F"
	if(newkeys & KEY_SECONDARY_ATTACK)
	{
		new done;
		new string[128];
		if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
		for(new idx=0; idx<MAX_DOORS; idx++) // Dynamic Doors
		{
		    if(IsPlayerInRangeOfPoint(playerid, 2, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]))
		    {
		        if(DoorInfo[idx][dIInt] == 83 && DoorInfo[idx][dIVW] == 8473 && BankBlock)
		        {
		            SendClientMessage(playerid, COLOR_GREY, "You can't enter the bank as it is being robbed at the moment.");
		            return 1;
		        }
		        if(DoorInfo[idx][dCInt])
		        {
		            GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
					TogglePlayerControllable(playerid, 0);
		            SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
		            PlayerInfo[playerid][pSpawnFreeze] = 1;
		        }
		        PlayerInfo[playerid][pSpawnFreeze] = 0;
		        SetPlayerInterior(playerid, DoorInfo[idx][dIInt]);
		        SetPlayerVirtualWorld(playerid, DoorInfo[idx][dIVW]);
		        SetPlayerFacingAngle(playerid, DoorInfo[idx][dIA]);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerPos(playerid, DoorInfo[idx][dIX], DoorInfo[idx][dIY], DoorInfo[idx][dIZ]);
		        return 1;
		    }
		}
		for(new idx=1; idx<MAX_BIZ; idx++)
		{
			if(IsPlayerInRangeOfPoint(playerid, 2, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]))
			{
			    if(!BizInfo[idx][bStatus] && PlayerInfo[playerid][pBiz] != idx && !PlayerInfo[playerid][pVBiz]) return SendClientMessage(playerid, COLOR_GREY, "This business is closed.");
			    if(BizInfo[idx][bType] == 1) // 24/7 Business
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, -27.3025,-57.6649,1003.5469);
			        SetPlayerFacingAngle(playerid, 357.5915);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 6);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's 24/7 Market (( /list & /buy )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			    else if(BizInfo[idx][bType] == 2) // Clothes Shop Business
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
	 				if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, 207.0638,-139.9965,1003.5078);
			        SetPlayerFacingAngle(playerid, 356.3849);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 3);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's Clothes Shop (( /buyclothes(old) & /buytoys )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			    else if(BizInfo[idx][bType] == 3) // Ammunation Business
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, 285.8044,-85.9956,1001.5229);
			        SetPlayerFacingAngle(playerid, 358.9898);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 4);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's Ammunation (( /list & /buy /buyweapon )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			    else if(BizInfo[idx][bType] == 4) // Club Business
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, 493.4252,-24.3061,1000.6797);
			        SetPlayerFacingAngle(playerid, 0.2432);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 17);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's Club (( /list & /buy )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			    else if(BizInfo[idx][bType] == 5) // Advertisement Agency
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, 834.1631,7.4883,1004.1797);
			        SetPlayerFacingAngle(playerid, 86.7239);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 3);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's Advertisement Agency (( /ad )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			    else if(BizInfo[idx][bType] == 6) // Fast Food
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the shop.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the shop.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, 372.3830,-133.2579,1001.4922);
			        SetPlayerFacingAngle(playerid, 0.4216);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 5);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's Fast Food (( /list /buy )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			    else if(BizInfo[idx][bType] == 7) // Casino
			    {
			        format(string, sizeof(string), "* %s pushes the door and enters the casino.", RPN(playerid));
					if(PlayerInfo[playerid][pMaskOn] == 1)
					{
				        format(string, sizeof(string), "* Stranger pushes the door and enters the casino.");
					}
					else
					{
						format(string, sizeof(string), "* %s pushes the door and enters the casino.", RPN(playerid));
					}
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			        SetPlayerPos(playerid, 2233.8032,1712.2303,1011.7632);
			        SetPlayerFacingAngle(playerid, 0.4216);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 1);
			        SetPlayerVirtualWorld(playerid, idx+100);
			        format(string, sizeof(string), "** Welcome to %s's Casino (( /list /buy )) **", BizInfo[idx][bOwner]);
			        SendClientMessage(playerid, COLOR_ORANGE, string);
			        return 1;
			    }
			}
		}
		for(new idx=1; idx<MAX_HOUSES; idx++) // Dynamic Houses
		{
			if(IsPlayerInRangeOfPoint(playerid, 2, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]))
		    {
			    if(!HouseInfo[idx][hStatus] && PlayerInfo[playerid][pHouse] != idx && PlayerInfo[playerid][pVHouse] != idx) return SendClientMessage(playerid, COLOR_GREY, "This house is locked.");
		        format(string, sizeof(string), "* %s pushes the door and enters the house.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
				   format(string, sizeof(string), "* Stranger pushes the door and enters the house.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and enters the house.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerVirtualWorld(playerid, idx+500);
				if(HouseInfo[idx][hLevel] == 1)
				{
					SetPlayerPos(playerid, 243.9951,304.9418,999.1484);
			        SetPlayerFacingAngle(playerid, 267.0980);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 1);
				}
				else if(HouseInfo[idx][hLevel] == 2)
				{
					SetPlayerPos(playerid, 2259.6702,-1135.8542,1050.6328);
			        SetPlayerFacingAngle(playerid, 267.3974);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 10);
				}
				else if(HouseInfo[idx][hLevel] == 3)
				{
					SetPlayerPos(playerid, 2308.8254,-1212.8070,1049.0234);
			        SetPlayerFacingAngle(playerid, 359.8550);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 6);
				}
				else if(HouseInfo[idx][hLevel] == 4)
				{
					SetPlayerPos(playerid, 260.7436,1237.5563,1084.2578);
			        SetPlayerFacingAngle(playerid, 1.6415);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 9);
				}
				else if(HouseInfo[idx][hLevel] == 5)
				{
					SetPlayerPos(playerid, -42.5742,1405.6521,1084.4297);
			        SetPlayerFacingAngle(playerid, 359.1347);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 8);
				}
				else if(HouseInfo[idx][hLevel] == 6)
				{
					SetPlayerPos(playerid, 2468.6787,-1698.2617,1013.5078);
			        SetPlayerFacingAngle(playerid, 89.1791);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 2);
				}
				else if(HouseInfo[idx][hLevel] == 7)
				{
					SetPlayerPos(playerid, 2365.2183,-1135.4014,1050.8750);
			        SetPlayerFacingAngle(playerid, 359.8550);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 8);
				}
				else if(HouseInfo[idx][hLevel] == 8)
				{
					SetPlayerPos(playerid, 2270.1270,-1210.4855,1047.5625);
			        SetPlayerFacingAngle(playerid, 89.4224);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 10);
				}
				else if(HouseInfo[idx][hLevel] == 9)
				{
					SetPlayerPos(playerid, 2324.4424,-1149.2057,1050.7101);
			        SetPlayerFacingAngle(playerid, 0.7248);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 12);
				}
				else if(HouseInfo[idx][hLevel] == 10)
				{
					SetPlayerPos(playerid, 83.0863,1322.3020,1083.8662);
			        SetPlayerFacingAngle(playerid, 359.5183);
			        SetCameraBehindPlayer(playerid);
			        SetPlayerInterior(playerid, 9);
				}
				else if(HouseInfo[idx][hLevel] == 11)
				{
					SetPlayerPos(playerid, 1327.1052,-1071.0226,3458.9060);
					SetPlayerFacingAngle(playerid, 359.5183);
					SetCameraBehindPlayer(playerid);
					SetPlayerInterior(playerid, 0);
					GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
					TogglePlayerControllable(playerid, 0);
					SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
					PlayerInfo[playerid][pSpawnFreeze] = 1;
				}
			}
		}
	    for(new idx=0; idx<MAX_DOORS; idx++) // Dynamic Doors
		{
		    if(!done && IsPlayerInRangeOfPoint(playerid, 2, DoorInfo[idx][dIX], DoorInfo[idx][dIY], DoorInfo[idx][dIZ]) && GetPlayerVirtualWorld(playerid) == DoorInfo[idx][dIVW] && GetPlayerInterior(playerid) == DoorInfo[idx][dIInt])
		    {
		        if(BankRobber[playerid] && BankBlock && GetPlayerInterior(playerid) == 83 && GetPlayerVirtualWorld(playerid) == 8473)
		        {
		       	    new Rob = BankRobber[playerid]-1;
				    DisablePlayerCheckpoint(playerid);
					BankRobbersCount --;
					format(BankRobbers[Rob], MAX_PLAYER_NAME, "");
					DeliverMoney[playerid] = 0;
					//
					foreach(Player, i)
					{
					    if(BankRobber[i] || PlayerInfo[i][pFac] == 1)
					    {
							if(Rob == 0) TextDrawHideForPlayer(i, Textdraw1);
							else if(Rob == 1) TextDrawHideForPlayer(i, Textdraw2);
							else if(Rob == 2) TextDrawHideForPlayer(i, Textdraw3);
							else if(Rob == 3) TextDrawHideForPlayer(i, Textdraw4);
							else if(Rob == 4) TextDrawHideForPlayer(i, Textdraw5);
						}
					}
					format(string, sizeof(string), "** %s has went out of the bank before loading money and has failed the robbery. **", RPN(playerid));
					SendRobberyMessage(COLOR_LIGHTRED, string);
					SendCopMessage(COLOR_LIGHTRED, string);
					SendFBIMessage(COLOR_LIGHTRED, string);
					BankRobber[playerid] = 0;
					if(BankRobbersCount == 0)
					{
						TextDrawHideForAll(Area5);
						TextDrawHideForAll(Textdraw1);
						TextDrawHideForAll(Textdraw2);
						TextDrawHideForAll(Textdraw3);
						TextDrawHideForAll(Textdraw4);
						TextDrawHideForAll(Textdraw5);
						BankRobbery = 0;
						RobberyStarted = 0;
						format(string, sizeof(string), "** The bank robbery has ended, $%d were stolen and $%d were saved. **", TotalStolen*50000, (TotalRobbers*50000-(TotalStolen*50000)));
						SendClientMessageToAll(COLOR_YELLOW, string);
						TotalRobbers = 0;
						new copsonline;
						foreach(Player, i)
						{
						    if(IsACop(i)) copsonline++;
						    if(IsAHSF(i)) copsonline++;
						    if(IsAFBI(i)) copsonline++;
						}
						foreach(Player, i)
						{
						    if(IsACop(i))
						    {
								new Saved = (TotalRobbers*50000-(TotalStolen*50000));
								GiveZaiatMoney(i, Saved/copsonline);
								format(string, sizeof(string), "** You have received your cut from the saved money. ($%d)", Saved/copsonline);
								SendClientMessage(i, COLOR_LIME, string);
						    }
						}
					}
		            return 1;
		        }
		        if(DoorInfo[idx][dCExt])
		        {
		            GameTextForPlayer(playerid, "~w~Loading Objects", 3500, 3);
					TogglePlayerControllable(playerid, 0);
		            SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
		            PlayerInfo[playerid][pSpawnFreeze] = 1;
		        }
		        PlayerInfo[playerid][pSpawnFreeze] = 0;
		        SetPlayerInterior(playerid, DoorInfo[idx][dOInt]);
		        SetPlayerVirtualWorld(playerid, DoorInfo[idx][dOVW]);
		        SetPlayerFacingAngle(playerid, DoorInfo[idx][dOA]);
		        SetCameraBehindPlayer(playerid);
		        SetPlayerPos(playerid, DoorInfo[idx][dOX], DoorInfo[idx][dOY], DoorInfo[idx][dOZ]);
		        done = 1;
		    }
		}
		if(IsPlayerInRangeOfPoint(playerid, 2, 243.9951,304.9418,999.1484) || IsPlayerInRangeOfPoint(playerid, 2, 2259.6702,-1135.8542,1050.6328) || IsPlayerInRangeOfPoint(playerid, 2, 2308.8254,-1212.8070,1049.0234) || IsPlayerInRangeOfPoint(playerid, 2, 260.7436,1237.5563,1084.2578)
		|| IsPlayerInRangeOfPoint(playerid, 2, -42.5742,1405.6521,1084.4297) || IsPlayerInRangeOfPoint(playerid, 2, 2468.6787,-1698.2617,1013.5078) || IsPlayerInRangeOfPoint(playerid, 2, 2365.2183,-1135.4014,1050.8750) || IsPlayerInRangeOfPoint(playerid, 2, 2270.1270,-1210.4855,1047.5625)
		|| IsPlayerInRangeOfPoint(playerid, 2, 2324.4424,-1149.2057,1050.7101) || IsPlayerInRangeOfPoint(playerid, 2, 83.0863,1322.3020,1083.8662) ||  IsPlayerInRangeOfPoint(playerid, 2, 1327.1052,-1071.0226,3458.9060)) // Houses
		{
		    new idx;
			idx = GetPlayerVirtualWorld(playerid)-500;
			if(!done && idx < MAX_HOUSES && HouseInfo[idx][hLevel])
			{
				format(string, sizeof(string), "* %s pushes the door and exits the house.", RPN(playerid));
			 	if(PlayerInfo[playerid][pMaskOn] == 1)
				{
			        format(string, sizeof(string), "* Stranger pushes the door and exits the house.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and exits the house.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		        SetPlayerPos(playerid, HouseInfo[idx][hX], HouseInfo[idx][hY], HouseInfo[idx][hZ]);
		        SetPlayerInterior(playerid, 0);
		        SetPlayerVirtualWorld(playerid, 0);
		        done = 1;
	        }
		}
	    if(IsPlayerInRangeOfPoint(playerid, 5, 2233.8032,1712.2303,1011.7632) || IsPlayerInRangeOfPoint(playerid, 2, -27.3025,-57.6649,1003.5469) || IsPlayerInRangeOfPoint(playerid, 2, 207.0638,-139.9965,1003.5078) || IsPlayerInRangeOfPoint(playerid, 2, 285.8044,-85.9956,1001.5229) || IsPlayerInRangeOfPoint(playerid, 2, 493.4252,-24.3061,1000.6797) || IsPlayerInRangeOfPoint(playerid, 2, 834.1631,7.4883,1004.1797) || IsPlayerInRangeOfPoint(playerid, 2, 372.3830,-133.2579,1001.4922))
		{
			new idx;
			idx = GetPlayerVirtualWorld(playerid)-100;
			if(!done && idx < MAX_BIZ && BizInfo[idx][bType])
			{
				if(BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ])
				{
					idx = GetPlayerVirtualWorld(playerid)-100;
					if(!done && idx < MAX_BIZ && BizInfo[idx][bType])
					{
						if (g_remainingRobTicks[playerid])
						{
							SendClientMessage(playerid, COLOR_GREY, "You failed the robbery.");
							DestroyObject(g_robbizBag[playerid]);
							DisablePlayerCheckpoint(playerid);
							g_apprehendedCash[playerid] = 0;
							g_remainingRobTicks[playerid] = 0;
							g_bIsRobbiz[playerid] = false;
							SendCopMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
							SendFBIMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
							SendHSFMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
							SendSWATMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
							SendSATFMessage(COLOR_BLUE, "The business robbery has been failed, Back to normal duties");
						}
						SetPlayerPos(playerid, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]);
						SetPlayerInterior(playerid, 0);
						SetPlayerVirtualWorld(playerid, 0);
					}
					done = 1;
					return 1;
				}
				format(string, sizeof(string), "* %s pushes the door and exits the shop.", RPN(playerid));
				if(PlayerInfo[playerid][pMaskOn] == 1)
				{
					format(string, sizeof(string), "* Stranger pushes the door and exits the shop.");
				}
				else
				{
					format(string, sizeof(string), "* %s pushes the door and exits the shop.", RPN(playerid));
				}
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				SetPlayerPos(playerid, BizInfo[idx][bX], BizInfo[idx][bY], BizInfo[idx][bZ]);
				SetPlayerInterior(playerid, 0);
				SetPlayerVirtualWorld(playerid, 0);
			}
			done = 1;
		}
		return 1;
    }
	// Enter "F"
	if((newkeys & KEY_FIRE) && (oldkeys & KEY_CROUCH) && !((oldkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)) || (oldkeys & KEY_FIRE) && (newkeys & KEY_CROUCH) && !((newkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)) ) {
        switch(GetPlayerWeapon(playerid)) {
		    case 23..25, 27, 29..34, 41: {
		        if(Ammo[playerid][GetPlayerWeapon(playerid)] > GetPlayerAmmo(playerid)) {
					OnPlayerCBug(playerid);
				}
				return 1;
			}
		}
	}

	if(CheckCrouch[playerid] == 1) {
		switch(WeaponID[playerid]) {
		    case 23..25, 27, 29..34, 41: {
		    	if((newkeys & KEY_CROUCH) && !((newkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)) && GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK ) {
		    		if(Ammo[playerid][GetPlayerWeapon(playerid)] > GetPlayerAmmo(playerid)) {
						OnPlayerCBug(playerid);
					}
		    	}
		    }
		}
	}

	//if(newkeys & KEY_CROUCH || (oldkeys & KEY_CROUCH)) return 1;

	else if(((newkeys & KEY_FIRE) && (newkeys & KEY_HANDBRAKE) && !((newkeys & KEY_SPRINT) || (newkeys & KEY_JUMP))) ||
	(newkeys & KEY_FIRE) && !((newkeys & KEY_SPRINT) || (newkeys & KEY_JUMP)) ||
	(NotMoving[playerid] && (newkeys & KEY_FIRE) && (newkeys & KEY_HANDBRAKE)) ||
	(NotMoving[playerid] && (newkeys & KEY_FIRE)) ||
	(newkeys & KEY_FIRE) && (oldkeys & KEY_CROUCH) && !((oldkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)) ||
	(oldkeys & KEY_FIRE) && (newkeys & KEY_CROUCH) && !((newkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)) ) {
		SetTimerEx("CrouchCheck", 3000, 0, "d", playerid);
		CheckCrouch[playerid] = 1;
		WeaponID[playerid] = GetPlayerWeapon(playerid);
		Ammo[playerid][GetPlayerWeapon(playerid)] = GetPlayerAmmo(playerid);
		return 1;
	}
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    new string[128];
    if(!success)
    {
	    format(string, sizeof(string), "==>> RCON LOGIN | IP: %s | Attempt Password: %s | *FAILED* TO LOGIN <<==", ip, password);
	}
	if(success)
    {
	    format(string, sizeof(string), "==>> RCON LOGIN | IP: %s | Attempt Password: %s | *SUCCESS* TO LOGIN <<==", ip, password);
	}
	Log("logs/rcon.log", string);
	return 1;
}

public OnPlayerUpdate(playerid)
{
	UpdateHP(playerid);
	if(IsPlayerConnected(playerid) && IsPlayerLoggedIn(playerid))
	{
	    if(!BoomboxStream[playerid])
	    {
	        for(new i=0; i<MAX_PLAYERS; i++)
	        {
	            if(IsPlayerConnected(i))
	            {
	                if(Boombox[i])
	                {
	                    if(IsPlayerInRangeOfPoint(playerid, 30, bpos[i][0], bpos[i][1], bpos[i][2]))
	                    {
	                        PlayAudioStreamForPlayer(playerid, BoomboxURL[i], bpos[i][0], bpos[i][1], bpos[i][2], 30, 1);
	                        BoomboxPlayer[playerid] = i;
	                        BoomboxStream[playerid] = 1;
	                        SendClientMessage(playerid, COLOR_GREY, " You are listening to music coming out of a nearby boombox.");
	                    }
	                }
	            }
	        }
	    }
	    else
	    {
	        new i = BoomboxPlayer[playerid];
	        if(!IsPlayerInRangeOfPoint(playerid, 30, bpos[i][0], bpos[i][1], bpos[i][2]))
	        {
	            BoomboxStream[playerid] = 0;
	            BoomboxPlayer[playerid] = -1;
	            StopAudioStreamForPlayer(playerid);
	            SendClientMessage(playerid, COLOR_GREY, " You have went far away from the boombox.");
	        }
	    }
	    // Boxing
	    if(Boxing[playerid] && !BoxTime)
	    {
	        new string[128];
	        new Float:bH; GetPlayerHealth(playerid, bH);
	        if(bH <= 20)
	        {
	            // Getting other boxer's ID
				new playerb = -1;
	            foreach(Player, i)
	            {
	                if(Boxing[i] && i != playerid) playerb = i;
	            }
	            if(playerb != -1)
	            {
	                format(string, sizeof(string), "Boxing Ring: The boxing match has ended, %s has won the match.", RPN(playerb));
	        		SendGymMessage(COLOR_WHITE, string);
		            // Putting them out of the ring
		            SetPlayerPos(playerb, 760.9759,4.7187,1000.7084);
		            SetPlayerFacingAngle(playerb, 268.9407);
		            SetPlayerPos(playerid, 760.9759,6.1794,1000.7093);
		            SetPlayerFacingAngle(playerid, 268.9407);
		            // Giving the winner extra skill point
		            new oldj = strval(RPJL(playerb, JOB_BOXER));
		            PlayerInfo[playerb][pJobSkill][JOB_BOXER] ++;
					new newj = strval(RPJL(playerb, JOB_BOXER));
				    if(oldj < newj)
					{
					    format(string, sizeof(string), "** Your Boxer level is now %d, you can now cause %d more damage. **", newj, (newj*2)-2);
						SendClientMessage(playerb, COLOR_YELLOW, string);
					}
					//
					SendClientMessage(playerb, COLOR_LIME, " You have won the boxing match.");
					SendClientMessage(playerid, COLOR_LIGHTRED, " You have lost the boxing match.");
					// Giving Bids
					new winner = pBoxer[playerb];
					foreach(Player, i)
					{
					    if(BidBoxer[i] == winner)
					    {
					        new percent, profit;
					        percent = (BidAmount[i]/BoxerBid[winner]) * 100;
					        profit = (percent * BoxerBid[pBoxer[playerid]]) / 100;
					        GiveZaiatMoney(i, BidAmount[i] + profit);
					        format(string, sizeof(string), " You have won $%d from bidding in the match, the money you bid has been returned as well.", profit);
					        SendClientMessage(i, COLOR_LIME, string);
					    }
						BidAmount[i] = 0;
						BidBoxer[i] = 0;
					}
					for(new w = 0; w < 13; w++)
					{
					    GiveZaiatWeapon(playerb, PlayerInfo[playerb][pWeapon][w], PlayerInfo[playerb][pWeaponAmmo][w]);
					}
	            }
	            for(new w = 0; w < 13; w++)
				{
				    GiveZaiatWeapon(playerid, PlayerInfo[playerid][pWeapon][w], PlayerInfo[playerid][pWeaponAmmo][w]);
				}
	            // Resetting Values
				BoxingMatch = 0;
				Boxer[1] = -1;
				pBoxer[playerb] = 0;
				Boxer[2] = -1;
				pBoxer[playerid] = 0;
				Boxing[playerb] = 0;
				Boxing[playerid] = 0;
				BoxerBid[1] = 0;
				BoxerBid[2] = 0;
	        }
	    }
	    // Spikes
	    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
	    {
	        if(!IsACop(playerid) && !IsAFBI(playerid) && !IsAHSF(playerid) && !IsASWAT(playerid) && !IsASATF(playerid))
	  	    {
		        for(new i = 0; i < sizeof(SpikeInfo); i++)
		  	    {
		  	        if(IsPlayerInRangeOfPoint(playerid, 3.0, SpikeInfo[i][sX], SpikeInfo[i][sY], SpikeInfo[i][sZ]))
		            {
		  	            if(SpikeInfo[i][sCreated] == 1)
		  	            {
		  	                new panels, doors, lights, tires;
		  	                new carid = GetPlayerVehicleID(playerid);
				            GetVehicleDamageStatus(carid, panels, doors, lights, tires);
				            tires = encode_tires(1, 1, 1, 1);
				            UpdateVehicleDamageStatus(carid, panels, doors, lights, tires);
		  	            }
		  	        }
		  	    }
			}
	  	}
	    // Fuel
	    new vehicleid = GetPlayerVehicleID(playerid);
	    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && Fuel[vehicleid] <= 0)
	    {
	    	new engine, lights, alarm, doors, bonnet, boot, objective, string[128];
			GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
			if(engine)
			{
				SetVehicleParamsEx(vehicleid, 0, 0, 0, 0, 0, 0, 0);
			    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
			    {SetVehicleParamsEx(vehicleid, 0, 0, 0, PlayerInfo[playerid][vLocked], 0, 0, 0);}
			    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
			    {SetVehicleParamsEx(vehicleid, 0, 0, 0, PlayerInfo[playerid][vVLocked], 0, 0, 0);}
 			    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
			    {SetVehicleParamsEx(vehicleid, 0, 0, 0, PlayerInfo[playerid][vBLocked], 0, 0, 0);}
			    format(string, sizeof(string), "* %s's vehicle stops as it has no fuel in its tank.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			}
	    }
	    // Drag
	    if(Dragged[playerid] != -1)
	    {
			new playerb = Dragged[playerid];
			new Float:pos[3];
			GetPlayerPos(playerb, pos[0], pos[1], pos[2]);
			SetPlayerPos(playerid, pos[0]+0.5, pos[1]+0.5, pos[2]);
			SetPlayerInterior(playerid, GetPlayerInterior(playerb));
			SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerb));
	    }
	    // AntiCS
	    new Keys, ud, lr;
		GetPlayerKeys(playerid, Keys, ud, lr);
		if(CheckCrouch[playerid] == 1) {
			switch(WeaponID[playerid]) {
			    case 23..25, 27, 29..34, 41: {
			    	if((Keys & KEY_CROUCH) && !((Keys & KEY_FIRE) || (Keys & KEY_HANDBRAKE)) && GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_DUCK ) {
			    		if(Ammo[playerid][GetPlayerWeapon(playerid)] > GetPlayerAmmo(playerid)) {
							OnPlayerCBug(playerid);
						}
			    	}
			    	//else SendClientMessage(playerid, COLOR_RED, "Failed in onplayer update");
			    }
			}
		}

		if(!ud && !lr) { NotMoving[playerid] = 1; /*OnPlayerKeyStateChange(playerid, Keys, 0);*/ }
		else { NotMoving[playerid] = 0; /*OnPlayerKeyStateChange(playerid, Keys, 0);*/ }
	    // Alt-Tab detection
		AltTabbed[playerid] = 0;
		// Speedlimit
		if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && Speedlimit[playerid])
		{
		    new a, b, c;
			GetPlayerKeys(playerid, a, b ,c);
		    if(a == 8 && GetVehicleSpeed(GetPlayerVehicleID(playerid), 0) > Speedlimit[playerid])
		    {
		        new newspeed = GetVehicleSpeed(GetPlayerVehicleID(playerid), 0) - Speedlimit[playerid];
		    	ModifyVehicleSpeed(GetPlayerVehicleID(playerid), -newspeed);
		    }
		}
	    // Ping Update
	    if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)
	    {
	        new string[64];
            format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~%s's Ping: ~w~%d", NORPN(Specid[playerid]), GetPlayerPing(Specid[playerid]));
			GameTextForPlayer(playerid, string,1000, 3);
	    }
	    // Money Anticheat
		if(GetPlayerMoney(playerid) != PlayerInfo[playerid][pMoney])
		{
			ResetPlayerMoney(playerid);
			GivePlayerMoney(playerid, PlayerInfo[playerid][pMoney]);
		}
		// Speedometer
		if(Speedo[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
		{
		    new string[64], speed = GetVehicleSpeed(GetPlayerVehicleID(playerid), 0);
		    //format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Speedometer: ~w~%d MPH", speed);
		    format(string,sizeof(string),"MPH: %d", speed);
		    TextDrawSetString(speedometer, string);
			//GameTextForPlayer(playerid, string,1000, 3);
		}
		// SpeedCheck
		if(USE_ANTI_SPEEDHACK == true)
		{
			if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && PlayerInfo[playerid][pAdmin] < 2)
			{
				new speed = GetVehicleSpeed(GetPlayerVehicleID(playerid), 0);
				if(speed > 270 && GetVehicleModel(GetPlayerVehicleID(playerid)) != 519 && GetVehicleModel(GetPlayerVehicleID(playerid)) != 553 || speed > 300)
				{
					new string[128];
					format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s might be using speed hacks (%d MPH)", NORPN(playerid), speed);
					new Float:X, Float:Y, Float:Z;
					GetPlayerPos(playerid, X, Y, Z);
					RemovePlayerFromVehicle(playerid);
					SetPlayerPos(playerid, X, Y, Z+5);
					Log("logs/hack.log", string);
					SendAdminMessage(COLOR_DARKRED, 1, string);
				}
			}
		}
		// Jetpack Hack
		if(USE_ANTI_JETPACK == true)
		{
			if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK && JetPack[playerid] == 0 && PlayerInfo[playerid][pAdmin] < 2)
			{
				new string[74 + MAX_PLAYER_NAME];
				format( string, sizeof( string ), "{FF0000}[Admin Warn]{FF6347} %s may possibly be jetpack hacking.", NORPN(playerid));
				new Float:Pos[3];
				GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
				SetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]+5);
				Log("logs/hack.log", string);
				SendAdminMessage(COLOR_DARKRED, 1, string);
			}
		}
		// Nask Update
	    if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		    	for(new i; i<MAX_PLAYERS; i++)
			    {
		  	  		if(IsPlayerConnected(i))
		   	   		{
			    		ShowPlayerNameTagForPlayer(i, playerid, 0);
			    	}
	  		  }
	 	 }
		if(PlayerInfo[playerid][pMaskOn] == 0)
	{
	//PlayerInfo[playerid][pMask] = 0;
	    for(new i; i<MAX_PLAYERS; i++) {
	        if(IsPlayerConnected(i)) {
	            ShowPlayerNameTagForPlayer(i, playerid, 1);
	        }
	    }
	}
		// Fuel
		if(fMeter[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
		{
		    new string[64];
		    //format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Fuel: ~w~%d%", Fuel[GetPlayerVehicleID(playerid)]);
			//GameTextForPlayer(playerid, string,1000, 3);
   			format(string,sizeof(string),"Fuel: %d%", Fuel[GetPlayerVehicleID(playerid)]);
		    TextDrawSetString(fuelmeter, string);
		}
	}
	return 1;
}

public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
{
	SetPlayerAttachedObject(playerid, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ);
	PlayerInfo[playerid][pToyX][index] = fOffsetX;
	PlayerInfo[playerid][pToyY][index] = fOffsetY;
	PlayerInfo[playerid][pToyZ][index] = fOffsetZ;
	PlayerInfo[playerid][pToyRX][index] = fRotX;
	PlayerInfo[playerid][pToyRY][index] = fRotY;
	PlayerInfo[playerid][pToyRZ][index] = fRotZ;
    PlayerInfo[playerid][pToySX][index] = fScaleX;
    PlayerInfo[playerid][pToySY][index] = fScaleY;
    PlayerInfo[playerid][pToySZ][index] = fScaleZ;
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	/*if(PlayerInfo[playerid][pAdmin] && aDuty[playerid])
	{
	    new string[32];
	    format(string, sizeof(string), "%s", RPALN(playerid));
		//Delete3DTextLabel(aDutyText[playerid]);
	    //if(PlayerInfo[playerid][pAdmin] == 1) aDutyText[playerid] = Create3DTextLabel(string, COLOR_LIGHTGREEN, 0, 0, -20, 25, -1, 1);
	    //if(PlayerInfo[playerid][pAdmin] == 2) aDutyText[playerid] = Create3DTextLabel(string, COLOR_LIME, 0, 0, -20, 25, -1, 1);
	    //if(PlayerInfo[playerid][pAdmin] == 3) aDutyText[playerid] = Create3DTextLabel(string, COLOR_YELLOW, 0, 0, -20, 25, -1, 1);
	    //if(PlayerInfo[playerid][pAdmin] == 4) aDutyText[playerid] = Create3DTextLabel(string, COLOR_ORANGE, 0, 0, -20, 25, -1, 1);
	    //if(PlayerInfo[playerid][pAdmin] == 5) aDutyText[playerid] = Create3DTextLabel(string, COLOR_RED, 0, 0, -20, 25, -1, 1);
	    //if(PlayerInfo[playerid][pAdmin] == 6) aDutyText[playerid] = Create3DTextLabel(string, COLOR_DARKRED, 0, 0, -20, 25, -1, 1);
		//Attach3DTextLabelToPlayer(aDutyText[playerid], playerid, 0, 0, 0.25);
		if(IsValidDynamic3DTextLabel(aDutyText[playerid]))  DestroyDynamic3DTextLabel(aDutyText[playerid]);
		if(PlayerInfo[playerid][pAdmin] == 1) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_LIGHTGREEN, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 2) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_LIME, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 3) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_YELLOW, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 4) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_ORANGE, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 5) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_RED, 0, 0, -20, 25, playerid);
	    if(PlayerInfo[playerid][pAdmin] == 6) aDutyText[playerid] = CreateDynamic3DTextLabel(string, COLOR_DARKRED, 0, 0, -20, 25, playerid);
        Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, aDutyText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
	}
	if(IsAFK[playerid])
	{
		//Delete3DTextLabel(AFKText[playerid]);
        //AFKText[playerid] = Create3DTextLabel("AFK", COLOR_CYAN, 0, 0, -20, 25, -1, 1);
    	//Attach3DTextLabelToPlayer(AFKText[playerid], playerid, 0, 0, 0.35);
    	if(IsValidDynamic3DTextLabel(AFKText[playerid])) DestroyDynamic3DTextLabel(AFKText[playerid]);
    	AFKText[playerid] = CreateDynamic3DTextLabel("AFK", COLOR_CYAN, 0, 0, -20, 25, playerid);
    	Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, AFKText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
	}
	if(Tabbed[playerid])
	{
		//Delete3DTextLabel(AltTabText[playerid]);
		//AltTabText[playerid] = Create3DTextLabel("Alt Tabbed", COLOR_RED, 0, 0, -20, 25, -1, 1);
    	//Attach3DTextLabelToPlayer(AltTabText[playerid], playerid, 0, 0, 0.3);
    	if(IsValidDynamic3DTextLabel(AltTabText[playerid])) DestroyDynamic3DTextLabel(AltTabText[playerid]);
    	AltTabText[playerid] = Create3DTextLabel("Alt Tabbed", COLOR_RED, 0, 0, -20, 25, playerid);
    	Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, AltTabText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
	}*/
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    new vehid = GetPlayerVehicleID(playerid);
	new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
	if(dialogid == DIALOG_MENU_MAIN)
	{
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
					new string[500];
	                if(USE_ANTI_SPAM == true)
	                {
	                    USE_ANTI_SPAM = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti SPAM has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_SPAM = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti SPAM has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
	            }
	            case 1:
	            {
					new string[500];
	                if(USE_ANTI_CRASH == true)
	                {
	                    USE_ANTI_CRASH = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti CRASH has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_CRASH = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti CRASH has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
				}
	            case 2:
	            {
					new string[500];
	                if(USE_ANTI_VEHICLE_HACK == true)
	                {
	                    USE_ANTI_VEHICLE_HACK = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti VEHICLE HACK has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_VEHICLE_HACK = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti VEHICLE HACK has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
				}
	            case 3:
	            {
					new string[500];
	                if(USE_ANTI_FAKE_KILL == true)
	                {
	                    USE_ANTI_FAKE_KILL = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti FAKE KILL has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_FAKE_KILL = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti FAKE KILL has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
				}
	            case 4:
	            {
					new string[500];
	                if(USE_ANTI_SPEEDHACK == true)
	                {
	                    USE_ANTI_SPEEDHACK = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti SPEEDHACK has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_SPEEDHACK = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti SPEEDHACK has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
				}
	            case 5:
	            {
					new string[500];
	                if(USE_ANTI_JETPACK == true)
	                {
	                    USE_ANTI_JETPACK = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menuu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti JETPACK has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_JETPACK = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menuu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti JETPACK has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);				
					}
				}
	            case 6:
	            {
					new string[500];
	                if(USE_ANTI_HIGHPING == true)
	                {
	                    USE_ANTI_HIGHPING = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menuu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti HIGHPING has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_HIGHPING = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menuu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti HIGHPING has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);				
					}
				}
	            case 7:
	            {
					new string[500];
	                if(USE_ANTI_WEAPONHACK == true)
	                {
	                    USE_ANTI_WEAPONHACK = false;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menuu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti WEAPONHACK has been disabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);
					}
					else
					{
					    USE_ANTI_WEAPONHACK = true;
						format(string, sizeof(string), "Anti-Spam \t\t[%s]\nAnti-Crash \t\t[%s]\nAnti-Vehicle Hack \t[%s]\nAnti-Fake Kill \t\t[%s]\nAnti-Speedhack \t[%s]\nAnti-Jetpack \t\t[%s]\nAnti-HighPing \t\t[%s]\nAnti-WeaponHack \t[%s]", GetAntiSpamStatus(), GetAntiCrashStatus(), GetAntiVehicleHackStatus(), GetAntiFakeKillStatus(), GetAntiSpeedHackStatus(), GetAntiJetpackStatus(), GetAntiHighPingStatus(), GetAntiWeaponHackStatus());
						ShowPlayerDialog(playerid, DIALOG_MENU_MAIN, DIALOG_STYLE_LIST, "Anticheat - Menuu", string, "Select", "Cancel");
						format(string, sizeof(string), "{539600}[ANTI-CHEAT]{74D400} Anti WEAPONHACK has been enabled");
						SendAdminMessage(COLOR_DARKRED, 1, string);				
					}
				}
	        }
	    }
	}
	if(dialogid == 0) // Tutorial
	{
	    if(response)
	    {
	        SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have chosen to finish the register.");
	        SetTimerEx("Tut1", 2000, false, "i", playerid);
	    }
	    else
	    {
	    	SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have chosen to quit the server.");
	        //FixedKick(playerid);
	    	PlayerInfo[playerid][pTutorial] = 1;
			SpawnChar(playerid);
			TogglePlayerControllable(playerid, 1);
			SetPlayerVirtualWorld(playerid, 0);
			SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have chosen not to see the tutorial, welcome to Real Life Roleplay.");
			SendClientMessage(playerid, COLOR_GREEN, ".: START PACKET :.");
			SendClientMessage(playerid, COLOR_WHITE, "- Level 1");
			SendClientMessage(playerid, COLOR_WHITE, "- On Hand: $10,000");
			SendClientMessage(playerid, COLOR_WHITE, "- Bank: $5,000");
			SendClientMessage(playerid, COLOR_WHITE, "- Materials: 50");
			SendClientMessage(playerid, COLOR_WHITE, "- Pot: 10");
			SendClientMessage(playerid, COLOR_WHITE, "- Crack: 10");
			SendClientMessage(playerid, COLOR_WHITE, "- MORE? / VIP? /report for it");
			SendClientMessage(playerid, COLOR_WHITE, "- And More...");
			// Starter Package
			PlayerInfo[playerid][pLevel] = 3;
			PlayerInfo[playerid][pNew] = 1;
			PlayerInfo[playerid][pLoyal] = 1;
			PlayerInfo[playerid][pModel] = 250;
			SetPlayerSkin(playerid, 250);
			GiveZaiatMoney(playerid, 10000);
			PlayerInfo[playerid][pBank] = 5000;
			PlayerInfo[playerid][pMaterials] = 50;
			PlayerInfo[playerid][pWeed] = 10;
			PlayerInfo[playerid][pCrack] = 10;
			PlayerInfo[playerid][pVIPDay] = 7;
			PlayerInfo[playerid][pVIPMonth] = 0;
			PlayerInfo[playerid][pVIPHour] = 24;
			PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_NORMAL;
	    }
	}
    else if(dialogid == 1) // Register
	{
	    if(response)
	    {
			if(strlen(inputtext) < 6)
            {
             SendClientMessage(playerid, COLOR_GREY, "Password can't be shorter than 6 characters.");
             ShowDialog(playerid, 1);
             return 1;
            }
	        if(strlen(inputtext) > 256)
	        {
	            SendClientMessage(playerid, COLOR_GREY, "Password can't be longer than 256 characters.");
	            ShowDialog(playerid, 1);
	            return 1;
	        }
			new file[64], IP[16], string[128], password[256];
			format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
			if(!dini_Exists(file))
			{
				GetPlayerIp(playerid, IP, sizeof(IP));
				dini_Create(file);
				WP_Hash(password, sizeof(password), inputtext);
				dini_Set(file, "Password", password);
				dini_Set(file, "IP", IP);
				PlayerInfo[playerid][pLevel] = 1;
				dini_IntSet(file, "Level", PlayerInfo[playerid][pLevel]);
				format(string, sizeof(string), "SERVER: {FFFFFF}You have successfully registered on {FF6347}Real Life Roleplay{FFFFFF}. (Password: %s)", inputtext);
				SendClientMessage(playerid, COLOR_LIGHTRED, string);
				ShowDialog(playerid, 2);
			}
	    }
	    else
	    {
	        SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have chosen to quit the server.");
	        FixedKick(playerid);
	    }
	}
	else if(dialogid == 2) // Login
	{
	    if(response)
	    {
   			new file[64], password[256], IP[16], password2[256];
			format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
			WP_Hash(password2, sizeof(password2), inputtext);
			format(password, sizeof(password), "%s", dini_Get(file, "Password"));
			if(strcmp(password, inputtext,true) && strcmp(password, password2, true))
			{
				SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Invalid password.");
			    ShowDialog(playerid, 2);
			    return 1;
			}
			if(dini_Int(file, "AdminAccount") == 1)
			{
			    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You can't login directly from an admin account.");
			    FixedKick(playerid);
			    return 1;
			}
			if(strlen(inputtext) < 4)
            {
             SendClientMessage(playerid, COLOR_GREY, "Password can't be shorter than 6 characters.");
             ShowDialog(playerid, 2);
             return 1;
            }
	        if(strlen(inputtext) > 256)
	        {
	            SendClientMessage(playerid, COLOR_GREY, "Password can't be longer than 256 characters.");
	            ShowDialog(playerid, 2);
	            return 1;
	        }
			else if(sscanf(inputtext, "s[128]", inputtext))
			{
			    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You must enter a password to procceed.");
			    ShowDialog(playerid, 2);
			    return 1;
			}
			else
			{
			    SendClientMessage(playerid, COLOR_WHITE, "");
			    SendClientMessage(playerid, COLOR_WHITE, "");
			    SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
				SendClientMessage(playerid, COLOR_WHITE, "");
			    format(PlayerInfo[playerid][pIP], 16, "%s", dini_Get(file, "IP"));
				GetPlayerIp(playerid, IP, sizeof(IP));
				dini_Set(file, "IP", IP);
				PlayerInfo[playerid][pGender] = dini_Int(file, "Gender");
				PlayerInfo[playerid][pAge] = dini_Int(file, "Age");
				if(!PlayerInfo[playerid][pGender] || !PlayerInfo[playerid][pAge])
				{
				    ShowDialog(playerid, 3);
				}
				else
				{
        			LoadChar(playerid);
				    SpawnPlayer(playerid);
				}
			}
	    }
	    else
	    {
	        SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You have chosen to quit the server.");
	        FixedKick(playerid);
	    }
	}
	else if(dialogid == 3) // Male or Female
	{
	    if(response)
	    {
	    	if(VIP[playerid])
	        {
		        switch(listitem)
		        {
					case 0:
					{
						PlayerInfo[playerid][pGender] = 1;
						SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You've set your character's gender to male.");
					}
					case 1:
					{
					    PlayerInfo[playerid][pGender] = 2;
					    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You've set your character's gender to female.");
					}
		        }
		        VIP[playerid] = 0;
            }
            else
            {
		        switch(listitem)
		        {
					case 0:
					{
						PlayerInfo[playerid][pGender] = 1;
						SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You've set your character's gender to male, pick their age from the next dialog.");
					}
					case 1:
					{
					    PlayerInfo[playerid][pGender] = 2;
					    SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You've set your character's gender to female, pick her age from the next dialog.");
					}
		        }
		        ShowDialog(playerid, 4);
	        }
	    }
	    else
	    {
	        if(!VIP[playerid])
	        {
		        SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You MUST choose a gender for your character.");
		        ShowDialog(playerid, 3);
	        }
	        VIP[playerid] = 0;
	    }
	}
/*    if(dialogid == DIALOG_ID)
    {
        if(!response)
            return 0;

        if(FloorRequestedBy[listitem] != INVALID_PLAYER_ID || IsFloorInQueue(listitem))
            GameTextForPlayer(playerid, "~r~The floor is already in the queue", 3500, 4);
		else if(DidPlayerRequestElevator(playerid))
		    GameTextForPlayer(playerid, "~r~You already requested the elevator", 3500, 4);
		else
	        CallElevator(playerid, listitem);

		return 1;
    }*/
	else if(dialogid == 4)
	{
	    if(response)
	    {
			new age = strval(inputtext);
			if(VIP[playerid])
			{
				if(age < 18 || age > 80)
		        {
		            SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Age must be beteen 18 and 80.");
		            ShowDialog(playerid, 4);
		        }
		        else
		        {
					new string[128];
					PlayerInfo[playerid][pAge] = strval(inputtext);
					format(string, sizeof(string), "SERVER: {FFFFFF}You've set your character's age to %d", PlayerInfo[playerid][pAge]);
					SendClientMessage(playerid, COLOR_LIGHTRED, string);
		        }
		        VIP[playerid] = 0;
			}
			else
			{
		        if(age < 18 || age > 80)
		        {
		            SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}Age must be beteen 18 and 80.");
		            ShowDialog(playerid, 4);
		        }
		        else
		        {
					new string[128];
					PlayerInfo[playerid][pAge] = strval(inputtext);
					format(string, sizeof(string), "SERVER: {FFFFFF}You've set your character's age to %d", PlayerInfo[playerid][pAge]);
					SendClientMessage(playerid, COLOR_LIGHTRED, string);
	                PlayerInfo[playerid][pLoggedIn] = 1;
					PlayerInfo[playerid][pSpawn] = 1;
					IsDead[playerid] = 0;
					TogglePlayerControllable(playerid, 1);
					SetCameraBehindPlayer(playerid);
					SpawnPlayer(playerid);
		        }
	        }
	    }
	    else
	    {
	        if(!VIP[playerid])
	        {
		        SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: {FFFFFF}You MUST pick an age for your character.");
		        ShowDialog(playerid, 4);
	        }
	        VIP[playerid] = 0;
	    }
	}
	else if(dialogid == 5)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                if(!PlayerInfo[playerid][pFacDuty])
	                {
	                    PlayerInfo[playerid][pFacDuty] = 1;
	                    SetPlayerColor(playerid, TRANSPARENT_LSPD);
	                    format(string, sizeof(string), "* %s grabs their badge, gun and mp5 from the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						GiveZaiatWeapon(playerid, 29, 500);
						GiveZaiatWeapon(playerid, 24, 200);
						SetPlayerArmour(playerid, 100);
						return 1;
	                }
	                else
	                {
      					PlayerInfo[playerid][pFacDuty] = 0;
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    SetPlayerArmour(playerid, 0);
	                    format(string, sizeof(string), "* %s places their badge in the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						return 1;
	                }
	            }
	            case 1:
	            {
	                ShowDialog(playerid, 6);
	            }
	            case 2:
	            {
	                //ShowDialog(playerid, 7);
	                ShowModelSelectionMenu(playerid, copskinlist, "Select Skin");
	            }
	            case 3:
	            {
	                ShowDialog(playerid, 7);
	            }
	        }
	    }
	}
// SWAT
	else if(dialogid == 763)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                if(!PlayerInfo[playerid][pFacDuty])
	                {
	                    PlayerInfo[playerid][pFacDuty] = 1;
	                    SetPlayerColor(playerid, TRANSPARENT_SWAT);
	                    format(string, sizeof(string), "* %s grabs their badge, gun and mp5 from the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						GiveZaiatWeapon(playerid, 29, 500);
						GiveZaiatWeapon(playerid, 24, 200);
						SetPlayerArmour(playerid, 100);
						SetPlayerColor(playerid, TRANSPARENT_SWAT);
						return 1;
	                }
	                else
	                {
      					PlayerInfo[playerid][pFacDuty] = 0;
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    SetPlayerArmour(playerid, 0);
	                    format(string, sizeof(string), "* %s places their badge in the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						return 1;
	                }
	            }
	            case 1:
	            {
	                ShowDialog(playerid, 6);
	            }
	            case 2:
	            {
	                //ShowDialog(playerid, 7);
	                ShowModelSelectionMenu(playerid, copskinlist, "Select Skin");
	            }
	            case 3:
	            {
	                ShowDialog(playerid, 7);
	            }
	        }
	    }
	}
// SWAT END
// Task Force
	else if(dialogid == 850)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                if(!PlayerInfo[playerid][pFacDuty])
	                {
	                    PlayerInfo[playerid][pFacDuty] = 1;
	                    SetPlayerColor(playerid, TRANSPARENT_SWAT);
	                    format(string, sizeof(string), "* %s grabs their badge, gun and mp5 from the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						GiveZaiatWeapon(playerid, 31, 2000);
						GiveZaiatWeapon(playerid, 29, 2000);
						GiveZaiatWeapon(playerid, 24, 2000);
						SetPlayerArmour(playerid, 100);
						SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 999);
						SetPlayerColor(playerid, TRANSPARENT_SATF);
						return 1;
	                }
	                else
	                {
      					PlayerInfo[playerid][pFacDuty] = 0;
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    SetPlayerArmour(playerid, 0);
	                    format(string, sizeof(string), "* %s places their badge in the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						return 1;
	                }
	            }
	            case 1:
	            {
	                ShowDialog(playerid, 6);
	            }
	            case 2:
	            {
	                //ShowDialog(playerid, 7);
	                ShowModelSelectionMenu(playerid, copskinlist, "Select Skin");
	            }
	            case 3:
	            {
	                ShowDialog(playerid, 7);
	            }
	        }
	    }
	}
	else if(dialogid == 6)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: // Nightstick
				{
				    if(PlayerInfo[playerid][pMoney] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 3, 1);
				    TaxMoney += 50;
				    GiveZaiatMoney(playerid, -50);
                    format(string, sizeof(string), "* %s grabs a Nightstick from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 1: // Mace
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 41, 500);
				    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 2: // Desert EAgle
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 24, 500);
				    TaxMoney += 200;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 3: // Shotgun
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 25, 200);
				    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a Shotgun from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 4: // MP5
				{
				    if(PlayerInfo[playerid][pMoney] < 600) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 29, 500);
				    TaxMoney += 600;
				    GiveZaiatMoney(playerid, -600);
                    format(string, sizeof(string), "* %s grabs an MP5 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 5: // M4
				{
				    if(PlayerInfo[playerid][pMoney] < 1000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 31, 500);
				    TaxMoney += 1000;
				    GiveZaiatMoney(playerid, -1000);
                    format(string, sizeof(string), "* %s grabs an M4 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 6: // Combat Shotgun
				{
				    if(PlayerInfo[playerid][pMoney] < 1500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 27, 200);
				    TaxMoney += 1500;
				    GiveZaiatMoney(playerid, -1500);
                    format(string, sizeof(string), "* %s grabs a Combat Shotgun from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 7: // Sniper Rifle
				{
				    if(PlayerInfo[playerid][pMoney] < 2500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 34, 100);
				    TaxMoney += 2500;
				    GiveZaiatMoney(playerid, -2500);
                    format(string, sizeof(string), "* %s grabs a Sniper Rifle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 8: // PainKiller
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerHealth(playerid, 100);
                    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a painkiller from the locker and swallows it.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 9: // Vest
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerArmour(playerid, 100);
				    TaxMoney += 300;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a vest from the locker and puts it on.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
 				case 10: // Arm up
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerArmour(playerid, 100);
				    SetPlayerHealth(playerid, 100);
				    GiveZaiatWeapon(playerid, 3, 1);
 				    GiveZaiatWeapon(playerid, 41, 500);
				    GiveZaiatWeapon(playerid, 24, 500);
				    GiveZaiatWeapon(playerid, 25, 200);
				    GiveZaiatWeapon(playerid, 29, 500);
				    GiveZaiatWeapon(playerid, 31, 500);
				    GiveZaiatWeapon(playerid, 34, 100);
				    TaxMoney += 10000;
				    GiveZaiatMoney(playerid, -10000);
                    format(string, sizeof(string), "* %s grabs their equipment out the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
	        }
	    }
	}
	else if(dialogid == 7)
	{
	    new string[128];
	    if(response)
	    {
			new skin = strval(inputtext);
			if(skin < 1 || skin > 299)
			{
				SendClientMessage(playerid, COLOR_GREY, "Skin must be between 1 and 299.");
				ShowDialog(playerid, 7);
			}
			else
			{
				PlayerInfo[playerid][pModel] = skin;
				SetPlayerSkin(playerid, skin);
				format(string, sizeof(string), "* %s puts on some clothes from the locker.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				return 1;
			}
	    }
	}
/*	else if(dialogid == 7)
	{
	    if(response)
	    {
			ShowModelSelectionMenu(playerid, copskinlist, "Select Skin");
			return 1;
	    }
	}*/
	else if(dialogid == 9) // Mechanic
	{
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: // Repair Vehicle
	            {
	                new string[128];
	                new Float:vH; GetVehicleHealth(GetPlayerVehicleID(playerid), vH);
					new Float:vel[3]; GetVehicleVelocity(GetPlayerVehicleID(playerid), vel[0], vel[1], vel[2]);
	                if(vH < 250) return SendClientMessage(playerid, COLOR_GREY, "The vehicle's engine is too hot to be repaired.");
	                if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You must be in the driver seat to repair a vehicle.");
					if(vel[0] != 0 || vel[1] != 0 || vel[2] != 0) return SendClientMessage(playerid, COLOR_GREY, "You can't repair a vehicle while it's moving.");
					RepairVehicle(GetPlayerVehicleID(playerid));
					PlayerInfo[playerid][pJobSkill][JOB_MECHANIC] ++;
					PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
					format(string, sizeof(string), "* %s has completely repaired the vehicle they're inside.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	            }
	            case 1: // Add/Remove Nitros
	            {
	                new string[128];
					new Float:vel[3]; GetVehicleVelocity(GetPlayerVehicleID(playerid), vel[0], vel[1], vel[2]);
	                if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You must be in the driver seat to repair a vehicle.");
					if(vel[0] != 0 || vel[1] != 0 || vel[2] != 0) return SendClientMessage(playerid, COLOR_GREY, "You can't add/remove nitros to a vehicle while it's moving.");
					if(GetVehicleComponentInSlot(GetPlayerVehicleID(playerid),GetVehicleComponentType(1009)) != 1009) // Check if the vehicle has no nitro
			        {
			            AddVehicleComponent(GetPlayerVehicleID(playerid),1009);
			            PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
			            format(string, sizeof(string), "* %s has installed a 2x nitros cylinder into the vehicle.", RPN(playerid));
			        }
			        else
			        {
			            RemoveVehicleComponent(GetPlayerVehicleID(playerid),1009);
			            PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
			            format(string, sizeof(string), "* %s has removed the nitros cylinders from the vehicle.", RPN(playerid));
			        }
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	            }
	            case 2: // Add/Remove Hydraulics
	            {
	                new string[128];
					new Float:vel[3]; GetVehicleVelocity(GetPlayerVehicleID(playerid), vel[0], vel[1], vel[2]);
	                if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You must be in the driver seat to repair a vehicle.");
					if(vel[0] != 0 || vel[1] != 0 || vel[2] != 0) return SendClientMessage(playerid, COLOR_GREY, "You can't add/remove nitros to a vehicle while it's moving.");
					if(GetVehicleComponentInSlot(GetPlayerVehicleID(playerid),GetVehicleComponentType(1087)) != 1087) // Check if the vehicle has no hydraulics
			        {
			            AddVehicleComponent(GetPlayerVehicleID(playerid),1087);
			            PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
			            format(string, sizeof(string), "* %s has installed hydraulics system into the vehicle.", RPN(playerid));
			        }
			        else
			        {
			            RemoveVehicleComponent(GetPlayerVehicleID(playerid),1087);
			            PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
			            format(string, sizeof(string), "* %s has removed the hydraulics from the vehicle.", RPN(playerid));
			        }
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	            }
	        }
	    }
	}
	else if(dialogid == 10) // Dealership main
	{
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: ShowDialog(playerid, 11); // Bikes
	            case 1: ShowDialog(playerid, 12); // Normal Vehicles
	            case 2: ShowDialog(playerid, 21); // Lowriders
	            case 3: ShowDialog(playerid, 13); // Off-Road Vehicles
	            case 4: ShowDialog(playerid, 14); // Sport Vehicles
	        }
	    }
	}
	else if(dialogid == 11) // Bikes
	{
	    new string[128], carid, price;
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: {carid = 481; price = 600;} // BMX
	            case 1: {carid = 462; price = 10000;} // FAGGIO
	            case 2: {carid = 463; price = 60000;} // FREEWAY
	            case 3: {carid = 468; price = 40000;} // SANCHEZ
	            case 4: {carid = 471; price = 15000;} // QUAD
	            case 5: {carid = 461; price = 200000;} // PCJ-600
	            case 6: {carid = 521; price = 250000;} // FCR-900
	        }
	        if(price > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
			GiveZaiatMoney(playerid, -price);
         	format(string, sizeof(string), " You have purchased a %s. (Unlock it using /lock)", RVN(carid));
	        SendClientMessage(playerid, COLOR_GREEN, string);
	        if(PlayerInfo[playerid][pVIP] >= 2 && PlayerInfo[playerid][vModel])
	        {
	            PlayerInfo[playerid][pVVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		        SetVehicleParamsEx(PlayerInfo[playerid][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		        PlayerInfo[playerid][vVLocked] = 1;
		        PlayerInfo[playerid][vVModel] = carid;
				GetVehiclePos(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVA]);
				PlayerInfo[playerid][vVC1] = 0;
				PlayerInfo[playerid][vVC2] = 0;
				return 1;
	        }
	        PlayerInfo[playerid][pVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	        SetVehicleParamsEx(PlayerInfo[playerid][pVeh], 0, 0, 0, 1, 0, 0, 0);
	        PlayerInfo[playerid][vLocked] = 1;
	        PlayerInfo[playerid][vModel] = carid;
			GetVehiclePos(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
			GetVehicleZAngle(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vA]);
			PlayerInfo[playerid][vC1] = 0;
			PlayerInfo[playerid][vC2] = 0;
	    }
	}
	else if(dialogid == 12) // Normal Vehicles
	{
	    new string[128], carid, price;
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: {carid = 480; price = 300000;} // Comet
	            case 1: {carid = 533; price = 160000;} // Feltzer
	            case 2: {carid = 439; price = 160000;} // Stallion
	            case 3: {carid = 555; price = 280000;} // Windsor
	            case 4: {carid = 405; price = 140000;} // Sentinel
	            case 5: {carid = 410; price = 120000;} // Manana
				case 6: {carid = 562; price = 130000;} // Elegy
	        }
	        if(price > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
            GiveZaiatMoney(playerid, -price);
         	format(string, sizeof(string), " You have purchased a %s. (Unlock it using /lock)", RVN(carid));
	        SendClientMessage(playerid, COLOR_GREEN, string);
	        if(PlayerInfo[playerid][pVIP] >= 2 && PlayerInfo[playerid][vModel])
	        {
	            PlayerInfo[playerid][pVVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		        SetVehicleParamsEx(PlayerInfo[playerid][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		        PlayerInfo[playerid][vVLocked] = 1;
		        PlayerInfo[playerid][vVModel] = carid;
				GetVehiclePos(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVA]);
				PlayerInfo[playerid][vVC1] = 0;
				PlayerInfo[playerid][vVC2] = 0;
				return 1;
	        }
	        PlayerInfo[playerid][pVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	        SetVehicleParamsEx(PlayerInfo[playerid][pVeh], 0, 0, 0, 1, 0, 0, 0);
	        PlayerInfo[playerid][vLocked] = 1;
	        PlayerInfo[playerid][vModel] = carid;
			GetVehiclePos(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
			GetVehicleZAngle(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vA]);
			PlayerInfo[playerid][vC1] = 0;
			PlayerInfo[playerid][vC2] = 0;
	    }
	}
	else if(dialogid == 13) // Off-Road Vehicles
	{
	    new string[128], carid, price;
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: {carid = 579; price = 220000;} // Huntley
	            case 1: {carid = 400; price = 200000;} // Land Stalker
	            case 2: {carid = 495; price = 700000;} // Sand King
	            case 3: {carid = 457; price = 50000;} // Caddy
	        }
	        if(price > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
            GiveZaiatMoney(playerid, -price);
         	format(string, sizeof(string), " You have purchased a %s. (Unlock it using /lock)", RVN(carid));
	        SendClientMessage(playerid, COLOR_GREEN, string);
			if(PlayerInfo[playerid][pVIP] >= 2 && PlayerInfo[playerid][vModel])
	        {
	            PlayerInfo[playerid][pVVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		        SetVehicleParamsEx(PlayerInfo[playerid][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		        PlayerInfo[playerid][vVLocked] = 1;
		        PlayerInfo[playerid][vVModel] = carid;
				GetVehiclePos(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVA]);
				PlayerInfo[playerid][vVC1] = 0;
				PlayerInfo[playerid][vVC2] = 0;
				return 1;
	        }
	        PlayerInfo[playerid][pVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	        SetVehicleParamsEx(PlayerInfo[playerid][pVeh], 0, 0, 0, 1, 0, 0, 0);
	        PlayerInfo[playerid][vLocked] = 1;
	        PlayerInfo[playerid][vModel] = carid;
			GetVehiclePos(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
			GetVehicleZAngle(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vA]);
			PlayerInfo[playerid][vC1] = 0;
			PlayerInfo[playerid][vC2] = 0;
	    }
	}
	else if(dialogid == 14) // Sport Vehicles
	{
	    new string[128], carid, price;
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: {carid = 560; price = 225000;} // Sultan
	            case 1: {carid = 429; price = 260000;} // Banshee
	            case 2: {carid = 402; price = 200000;} // Buffalo
	            case 3: {carid = 541; price = 190000;} // BUllet
	            case 4: {carid = 415; price = 280000;} // Cheetah
	            case 5: {carid = 559; price = 170000;} // Jester
	            case 6: {carid = 451; price = 300000;} // Turismo
	            case 7: {carid = 475; price = 500000;} // Sabre
				case 8: {carid = 411; price = 700000;} // Infernus
	        }
	        if(price > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
            GiveZaiatMoney(playerid, -price);
         	format(string, sizeof(string), " You have purchased a %s. (Unlock it using /lock)", RVN(carid));
	        SendClientMessage(playerid, COLOR_GREEN, string);
	        if(PlayerInfo[playerid][pVIP] >= 2 && PlayerInfo[playerid][vModel])
	        {
	            PlayerInfo[playerid][pVVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		        SetVehicleParamsEx(PlayerInfo[playerid][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		        PlayerInfo[playerid][vVLocked] = 1;
		        PlayerInfo[playerid][vVModel] = carid;
				GetVehiclePos(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVA]);
				PlayerInfo[playerid][vVC1] = 0;
				PlayerInfo[playerid][vVC2] = 0;
				return 1;
	        }
	        PlayerInfo[playerid][pVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	        SetVehicleParamsEx(PlayerInfo[playerid][pVeh], 0, 0, 0, 1, 0, 0, 0);
	        PlayerInfo[playerid][vLocked] = 1;
	        PlayerInfo[playerid][vModel] = carid;
			GetVehiclePos(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
			GetVehicleZAngle(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vA]);
			PlayerInfo[playerid][vC1] = 0;
			PlayerInfo[playerid][vC2] = 0;
	    }
	}


	else if(dialogid == 21) // Lowriders
	{
	    new string[128], carid, price;
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: {carid = 536; price = 56000;} // Blade
	            case 1: {carid = 575; price = 50000;} // Broadway
	            case 2: {carid = 534; price = 80000;} // Remington
	            case 3: {carid = 567; price = 60000;} // Savanna
	            case 4: {carid = 535; price = 56214;} // Slamvan
	            case 5: {carid = 576; price = 70000;} // Tornado
	            case 6: {carid = 412; price = 58000;} // Voodo
	        }
	        if(price > PlayerInfo[playerid][pMoney]) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
            GiveZaiatMoney(playerid, -price);
         	format(string, sizeof(string), " You have purchased a %s. (Unlock it using /lock)", RVN(carid));
	        SendClientMessage(playerid, COLOR_GREEN, string);
	        if(PlayerInfo[playerid][pVIP] >= 2 && PlayerInfo[playerid][vModel])
	        {
	            PlayerInfo[playerid][pVVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
		        SetVehicleParamsEx(PlayerInfo[playerid][pVVeh], 0, 0, 0, 1, 0, 0, 0);
		        PlayerInfo[playerid][vVLocked] = 1;
		        PlayerInfo[playerid][vVModel] = carid;
				GetVehiclePos(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVX], PlayerInfo[playerid][vVY], PlayerInfo[playerid][vVZ]);
				GetVehicleZAngle(PlayerInfo[playerid][pVVeh], PlayerInfo[playerid][vVA]);
				PlayerInfo[playerid][vVC1] = 0;
				PlayerInfo[playerid][vVC2] = 0;
				return 1;
	        }
	        PlayerInfo[playerid][pVeh] = CreateVehicle(carid, 532.3726,-1287.4926,17.2422,272.3125,0,0,32000);
	        SetVehicleParamsEx(PlayerInfo[playerid][pVeh], 0, 0, 0, 1, 0, 0, 0);
	        PlayerInfo[playerid][vLocked] = 1;
	        PlayerInfo[playerid][vModel] = carid;
			GetVehiclePos(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vX], PlayerInfo[playerid][vY], PlayerInfo[playerid][vZ]);
			GetVehicleZAngle(PlayerInfo[playerid][pVeh], PlayerInfo[playerid][vA]);
			PlayerInfo[playerid][vC1] = 0;
			PlayerInfo[playerid][vC2] = 0;
	    }
	}
	else if(dialogid == 15) // Smartphone /ad
	{
	    new string[128];
	    new price = strlen(inputtext) * 12;
	    if(strlen(inputtext) == 0) return 1;
		if(strlen(inputtext) > 64) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters allowed per advertisement are 64.");
		if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		if(HasAD[playerid]) return SendClientMessage(playerid, COLOR_GREY, " You must wait for your advertisement to be published before making a new one.");
		if(AdQueue == MAX_ADS-1) return SendClientMessage(playerid, COLOR_GREY, " There are no queue slots for your advertisement.");
		// Advertisement
		HasAD[playerid] = 1;
		if(LastAd) SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your advertisement has been placed in the queue, wait for about 60 seconds maximum.");
	    format(AD[AdQueue], 128, "Advertisement: %s, Contact: %s - Ph: %d", inputtext, RPN(playerid), PlayerInfo[playerid][pCellphone]);
		iAD[AdQueue] = 1;
		AdQueue++;
	    GiveZaiatMoney(playerid, -price);
	    NewsMoney = price;
	    format(string, sizeof(string), "* %s has placed an advertisement in the queue for $%d.", RPN(playerid), price);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		SendClientMessage(playerid, COLOR_WHITE, " You have been charged $10 per character as you are using an internet service.");
	}
	else if(dialogid == 16) // VIP
	{
	    if(response)
	    {
	        new string[128];
		    switch(listitem)
		    {
	        	case 0: // VIP Color (Bronze+)
		        {
		            if(GetPlayerColor(playerid) != TRANSPARENT_VIP) {SetPlayerColor(playerid, TRANSPARENT_VIP); SendClientMessage(playerid, COLOR_VIP, "You have toggled your VIP name color on.");}
		            else {SetPlayerColor(playerid, TRANSPARENT_WHITE); SendClientMessage(playerid, COLOR_VIP, "You have toggled your VIP name color off.");}
		        }
		        case 1: // VIP Tag (Silver+)
		        {
		            if(PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not Silver VIP.");
		            if(!VIPTag[playerid])
		            {

		                VIPTag[playerid] = 1;
		                format(string, sizeof(string), "%s VIP", RPVIPN(playerid));
		                /*Delete3DTextLabel(VIPText[playerid]);
		                VIPText[playerid] = Create3DTextLabel(string, COLOR_VIP, 0, 0, -20, 25, -1, 1);
		                Attach3DTextLabelToPlayer(VIPText[playerid], playerid, 0, 0, 0.25);*/
		                if(IsValidDynamic3DTextLabel(VIPText[playerid])) DestroyDynamic3DTextLabel(VIPText[playerid]);
		                VIPText[playerid] = CreateDynamic3DTextLabel(string, COLOR_VIP, 0, 0, -20, 25, playerid);
		                Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, VIPText[playerid] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
		                SendClientMessage(playerid, COLOR_VIP, "You have toggled your VIP Head Tag on.");
		            }
		            else
		            {
		                VIPTag[playerid] = 0;
		            	//Delete3DTextLabel(VIPText[playerid]);
		            	if(IsValidDynamic3DTextLabel(VIPText[playerid])) DestroyDynamic3DTextLabel(VIPText[playerid]);
		                SendClientMessage(playerid, COLOR_VIP, "You have toggled your VIP Head Tag off.");
		            }
		        }
		        case 2: // Tuning (Silver+)
		        {
		            if(PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not Silver VIP.");
		            if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_GREY, "You are not driving a vehicle.");
					CarmodDialog(playerid);
		        }
		        case 3: // VIP advertisement
		        {
		            if(PlayerInfo[playerid][pVIP] < 2) return SendClientMessage(playerid, COLOR_GREY, "You are not Silver VIP.");
					ShowDialog(playerid, 20);
		        }
		        case 4: // Skin (Gold+)
		        {
		        	if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not Gold VIP.");
		        	ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
					//ShowDialog(playerid, 17);
		        }
		        case 5: // Age (Gold+)
		        {
		            if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not Gold VIP.");
		            VIP[playerid] = 1;
		            ShowDialog(playerid, 4);
		        }
		        case 6: // Gender (Gold+)
		        {
		            if(PlayerInfo[playerid][pVIP] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not Gold VIP.");
		            VIP[playerid] = 1;
		            ShowDialog(playerid, 3);
		        }
		        case 7: // Name (Platinum)
		        {
		            if(PlayerInfo[playerid][pVIP] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not Platinum VIP.");
		            ShowDialog(playerid, 18);
		        }
		    }
		}
	}
	else if(dialogid == 17)
	{
	    if(response)
	    {
	        new skinid = strval(inputtext);
	        if(skinid < 1 || skinid > 299) return SendClientMessage(playerid, COLOR_GREY, "Skins are between 1 and 299.");
	        SetPlayerSkin(playerid, skinid);
	        //ShowModelSelectionMenu(playerid, skinlist, "Select Skin");
	        PlayerInfo[playerid][pModel] = skinid;
	    }
	}
	else if(dialogid == 18)
	{
	    if(response)
	    {
	        new string[128];
	        format(VIPName[playerid], MAX_PLAYER_NAME, "%s", inputtext);
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} Platinum VIP %s has requested a free namechange to %s. (/approve) (/deny)", NORPN(playerid), VIPName[playerid]);
	        SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	}
	else if(dialogid == 19)
	{
	    if(response)
	    {
	        new string[128];
	        switch(listitem)
	        {
				case 0: //Knife
				{
				    if(PlayerInfo[playerid][pMoney] < 1000000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money.");
					GiveZaiatMoney(playerid, -1000000);
					GiveZaiatWeapon(playerid, 4, 1);
					format(string, sizeof(string), "* %s has bought a knife.", RPN(playerid));
 					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 1: // Grenade
				{
				    if(PlayerInfo[playerid][pMoney] < 1000000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money.");
					GiveZaiatMoney(playerid, -1000000);
					GiveZaiatWeapon(playerid, 16, 5);
					format(string, sizeof(string), "* %s has bought grenades.", RPN(playerid));
 					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 2: // Molotov
				{
					if(PlayerInfo[playerid][pMoney] < 1000000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money.");
					GiveZaiatMoney(playerid, -1000000);
					GiveZaiatWeapon(playerid, 18, 5);
					format(string, sizeof(string), "* %s has bought molotov cocktails.", RPN(playerid));
 					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
	        }
	    }
	}
	else if(dialogid == 20) // VIP /ad
	{
	    new string[128];
	    new price = strlen(inputtext) * 3;
	    if(strlen(inputtext) == 0) return 1;
		if(strlen(inputtext) > 64) return SendClientMessage(playerid, COLOR_GREY, "Maximum characters allowed per advertisement are 64.");
		if(PlayerInfo[playerid][pMoney] < price) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
		if(!PlayerInfo[playerid][pCellphone]) return SendClientMessage(playerid, COLOR_GREY, "You need a cellphone to place advertisements.");
		if(HasAD[playerid]) return SendClientMessage(playerid, COLOR_GREY, " You must wait for your advertisement to be published before making a new one.");
		if(AdQueue == MAX_ADS-1) return SendClientMessage(playerid, COLOR_GREY, " There are no queue slots for your advertisement.");
		// Advertisement
		HasAD[playerid] = 1;
		if(LastAd) SendClientMessage(playerid, COLOR_LIGHTBLUE, " Your advertisement has been placed in the queue, wait for about 60 seconds maximum.");
	    format(AD[AdQueue], 128, "Advertisement: %s, Contact: %s - Ph: %d", inputtext, RPN(playerid), PlayerInfo[playerid][pCellphone]);
		iAD[AdQueue] = 2;
		AdQueue++;
	    GiveZaiatMoney(playerid, -price);
	    NewsMoney = price;
	    format(string, sizeof(string), "* %s has placed an advertisement in the queue for $%d.", RPN(playerid), price);
		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
		SendClientMessage(playerid, COLOR_WHITE, " You have been charged $3 per character as you are using a VIP service.");
	}
	else if(dialogid == 22)
	{
	    if(response)
	    {
	       	if(PlayerInfo[playerid][pMoney] < 3000) return SendClientMessage(playerid, COLOR_GREY, "You don't have that much money on you.");
	        switch(listitem)
	        {
				case 0:
				{
				    if(GetPlayerFightingStyle(playerid) == FIGHT_STYLE_NORMAL) return SendClientMessage(playerid, COLOR_GREY, "You are already using that fighting style.");
					SetPlayerFightingStyle(playerid, FIGHT_STYLE_NORMAL);
					SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now using the normal fighting style.");
					PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_NORMAL;
				}
				case 1:
				{
				    if(GetPlayerFightingStyle(playerid) == FIGHT_STYLE_BOXING) return SendClientMessage(playerid, COLOR_GREY, "You are already using that fighting style.");
					SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
					SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now using the boxing fighting style.");
					PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_BOXING;
				}
				case 2:
				{
				    if(GetPlayerFightingStyle(playerid) == FIGHT_STYLE_KUNGFU) return SendClientMessage(playerid, COLOR_GREY, "You are already using that fighting style.");
					SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
					SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now using the kung-fu fighting style.");
					PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_KUNGFU;
				}
				case 3:
				{
				    if(GetPlayerFightingStyle(playerid) == FIGHT_STYLE_KNEEHEAD) return SendClientMessage(playerid, COLOR_GREY, "You are already using that fighting style.");
					SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
					SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now using the knee-head fighting style.");
					PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_KNEEHEAD;
				}
				case 4:
				{
				    if(GetPlayerFightingStyle(playerid) == FIGHT_STYLE_GRABKICK) return SendClientMessage(playerid, COLOR_GREY, "You are already using that fighting style.");
					SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK);
					SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now using the grab-kick fighting style.");
					PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_GRABKICK;
				}
				case 5:
				{
				    if(GetPlayerFightingStyle(playerid) == FIGHT_STYLE_ELBOW) return SendClientMessage(playerid, COLOR_GREY, "You are already using that fighting style.");
					SetPlayerFightingStyle(playerid, FIGHT_STYLE_ELBOW);
					SendClientMessage(playerid, COLOR_LIGHTBLUE, "You are now using the elbow fighting style.");
					PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_ELBOW;
				}
	        }
	        GiveZaiatMoney(playerid, -3000);
	    }
	}
	else if(dialogid == 23)
	{
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: toyslot[playerid] = 0; case 1: toyslot[playerid] = 1; case 2: toyslot[playerid] = 2; case 3: toyslot[playerid] = 3; case 4: toyslot[playerid] = 4;
	            case 5: toyslot[playerid] = 5; case 6: toyslot[playerid] = 6; case 7: toyslot[playerid] = 7; case 8: toyslot[playerid] = 8; case 9: toyslot[playerid] = 9;
	        }
	        new index = toyslot[playerid];
		    if(PlayerInfo[playerid][pToyModel][index] == 0)
		    {
		        ShowDialog(playerid, 23);
		    }
		    else
		    {
	        	ShowDialog(playerid, 24);
	        }
	    }
	}
	else if(dialogid == 24)
	{
	    if(response)
	    {
			switch(listitem)
			{
				case 0:
				{
					if(!IsPlayerAttachedObjectSlotUsed(playerid, toyslot[playerid]))
					{
					    ShowDialog(playerid, 25);
					}
			    	else
			    	{
			    	    RemovePlayerAttachedObject(playerid, toyslot[playerid]);
			    	}
				}
				case 1:
				{
				    EditAttachedObject(playerid, toyslot[playerid]);
				}
			}
	    }
	    else ShowDialog(playerid, 23);
	}
	else if(dialogid == 25)
	{
	    if(response)
	    {
			new bone, index = toyslot[playerid];
	        switch(listitem)
	        {
	            case 0: bone = 1; case 1: bone = 2; case 2: bone = 3; case 3: bone = 4; case 4: bone = 5; case 5: bone = 6;
	            case 6: bone = 7; case 7: bone = 8; case 8: bone = 9; case 9: bone = 10; case 10: bone = 11; case 11: bone = 12;
	            case 12: bone = 13; case 13: bone = 14; case 14: bone = 15; case 15: bone = 16; case 16: bone = 17; case 17: bone = 18;
	        }
			//SetPlayerAttachedObject(playerid, index, PlayerInfo[playerid][pToyModel][index], bone, Float:PlayerInfo[playerid][pToyX][index], Float:PlayerInfo[playerid][pToyY][index], Float:PlayerInfo[playerid][pToyZ][index], Float:PlayerInfo[playerid][pToyRX][index], Float:PlayerInfo[playerid][pToyRY][index], Float:PlayerInfo[playerid][pToyRZ][index], Float:PlayerInfo[playerid][pToySX][index], Float:PlayerInfo[playerid][pToySY][index], Float:PlayerInfo[playerid][pToySZ][index]);
			//
			SetPlayerAttachedObject(playerid, index, PlayerInfo[playerid][pToyModel][index], bone, Float:PlayerInfo[playerid][pToyX][index], Float:PlayerInfo[playerid][pToyY][index], Float:PlayerInfo[playerid][pToyZ][index], Float:PlayerInfo[playerid][pToyRX][index], Float:PlayerInfo[playerid][pToyRY][index], Float:PlayerInfo[playerid][pToyRZ][index], Float:PlayerInfo[playerid][pToySX][index], Float:PlayerInfo[playerid][pToySY][index], Float:PlayerInfo[playerid][pToySZ][index]);
	    }
	    else ShowDialog(playerid, 24);
	}
	else if(dialogid == 26)
	{
		if(response)
		{
		    new string[128];
		    switch(listitem)
		    {
				case 0:
				{
				    if(LHealth)
				    {
				        format(string, sizeof(string), "You need to wait %d more hours (%d minutes) before refilling everybody's health.", LHealth/60, LHealth);
						SendClientMessage(playerid, COLOR_GREY, string);
				        return 1;
				    }
				    if(PlayerInfo[playerid][pLPoints] < 2) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough loyalty points for this.");
				    foreach(Player, i)
				    {
				        SetPlayerHealth(i, 100);
				    }
				    format(string, sizeof(string), "LoyalWarn: Loyal Player %s has refilled everybody's health.", RPN(playerid));
				    PlayerInfo[playerid][pLPoints] -= 2;
				    LHealth = 120;
				}
				case 1:
				{
				    if(LFix)
				    {
				        format(string, sizeof(string), "You need to wait %d more hours (%d minutes) before repairing all vehicles.", LFix/60, LFix);
				        SendClientMessage(playerid, COLOR_GREY, string);
				        return 1;
				    }
				    if(PlayerInfo[playerid][pLPoints] < 4) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough loyalty points for this.");
					for(new i=0; i<MAX_VEHICLES; i++)
					{
					    RepairVehicle(i);
					}
					format(string, sizeof(string), "LoyalWarn: Loyal Player %s has repaired all vehicles.", RPN(playerid));
					PlayerInfo[playerid][pLPoints] -= 4;
					LFix = 120;
				}
				case 2:
				{
				    if(LRefill)
				    {
				        format(string, sizeof(string), "You need to wait %d more hours (%d minutes) to refill everybody's health.", LRefill/60, LRefill);
				        SendClientMessage(playerid, COLOR_GREY, string);
				        return 1;
				    }
				    if(PlayerInfo[playerid][pLPoints] < 6) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough loyalty points for this.");
					for(new i=0; i<MAX_VEHICLES; i++)
					{
					    Fuel[i] = 100;
					}
					format(string, sizeof(string), "LoyalWarn: Loyal Player %s has refilled all vehicles.", RPN(playerid));
					PlayerInfo[playerid][pLPoints] -= 6;
					LRefill = 120;
				}
		    }
		    SendClientMessageToAll(COLOR_LIGHTRED, string);
		}
	}
	else if(dialogid == 27)
	{
	    if(response)
	    {
	        new string[128];
	        switch(listitem)
	        {
		        case 0:
		        {
					SetPlayerArmour(playerid, 50);
			  		SetPlayerHealth(playerid, 100);
		        	GiveZaiatWeapon(playerid, 43, 999999);
        			GiveZaiatWeapon(playerid, 24, 50);
	                format(string, sizeof(string), "* %s grabs a Camera and Deagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    		}
		        case 1:
		        {
		            ShowDialog(playerid, 7);
		        }
	        }
	    }
	}
	else if(dialogid == 41)
	{
	    if(response)
	    {
	        new string[128];
	        format(PlayerName[playerid], MAX_PLAYER_NAME, "%s", inputtext);
	        format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has requested a namechange to %s. (/approve) (/deny)", NORPN(playerid), PlayerName[playerid]);
	        SendAdminMessage(COLOR_DARKRED, 1, string);
	    }
	}
	if(dialogid == 52)
	{
	    if(response)
	    {
	        new tmpid = IsPlayerAtATM(playerid);
	        if(tmpid!=-1)
	        {
	            new path[32];
	            format(path,sizeof(path),"atm%d.txt",tmpid);
	            dini_Remove(path);
	            Delete3DTextLabel(atmInfo[tmpid][aText]);
				DestroyDynamicObject(atmInfo[tmpid][aObject]);
				atmInfo[tmpid][aX]=0.0;
				atmInfo[tmpid][aY]=0.0;
				atmInfo[tmpid][aZ]=0.0;
				atmInfo[tmpid][aA]=0.0;
				//SendClientMessage(playerid, COLOR_GREY,"ATM ID: %d destroyed successfully",tmpid);
				new string[128];
				format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has destroyed an ATM", RPN(playerid));
				SendAdminMessage(COLOR_DARKRED, 1, string);
				return 1;
			} else return 0;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY,"Destroying ATM canceled");
		    return 1;
		}
	}
	if(dialogid == 51)
	{
	    if(response)
	    {
	        new Float:Pos[4];
	        GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
	        GetPlayerFacingAngle(playerid,Pos[3]);
			//new atmid = CreateATM(Pos[0],Pos[1],Pos[2],Pos[3]);
			CreateATM(Pos[0],Pos[1],Pos[2],Pos[3]);
			//SendClientMessage(playerid, COLOR_GREY,"ATM ID: %d successfully created", atmid);
			new string[128];
   			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s has created an ATM", RPN(playerid));
			SendAdminMessage(COLOR_DARKRED, 1, string);
			return 1;
		}
		else
		{
		    SendClientMessage(playerid, COLOR_GREY,"Creating ATM canceled");
		    return 1;
		}
	}
	else if(dialogid == 89)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                if(!PlayerInfo[playerid][pFacDuty])
	                {
	                    PlayerInfo[playerid][pFacDuty] = 1;
	                    //SetPlayerColor(playerid, TRANSPARENT_FBI);
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    format(string, sizeof(string), "* %s grabs their badge, gun and mp5 from the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						GiveZaiatWeapon(playerid, 29, 500);
						GiveZaiatWeapon(playerid, 24, 200);
						SetPlayerArmour(playerid, 100);
						return 1;
	                }
	                else
	                {
      					PlayerInfo[playerid][pFacDuty] = 0;
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    SetPlayerArmour(playerid, 0);
	                    format(string, sizeof(string), "* %s places their badge in the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						return 1;
	                }
	            }
	            case 1:
	            {
	                ShowDialog(playerid, 90);
	            }
	            case 2:
	            {
	                ShowDialog(playerid, 91);
	            }
	        }
	    }
	}
	else if(dialogid == 90)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: // Nightstick
				{
				    if(PlayerInfo[playerid][pMoney] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 3, 1);
				    TaxMoney += 50;
				    GiveZaiatMoney(playerid, -50);
                    format(string, sizeof(string), "* %s grabs a Nightstick from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 1: // Mace
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 41, 500);
				    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 2: // Desert EAgle
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 24, 500);
				    TaxMoney += 200;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 3: // Shotgun
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 25, 200);
				    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a Shotgun from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 4: // MP5
				{
				    if(PlayerInfo[playerid][pMoney] < 600) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 29, 500);
				    TaxMoney += 600;
				    GiveZaiatMoney(playerid, -600);
                    format(string, sizeof(string), "* %s grabs an MP5 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 5: // M4
				{
				    if(PlayerInfo[playerid][pMoney] < 1000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 31, 500);
				    TaxMoney += 1000;
				    GiveZaiatMoney(playerid, -1000);
                    format(string, sizeof(string), "* %s grabs an M4 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 6: // Combat Shotgun
				{
				    if(PlayerInfo[playerid][pMoney] < 1500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 27, 200);
				    TaxMoney += 1500;
				    GiveZaiatMoney(playerid, -1500);
                    format(string, sizeof(string), "* %s grabs a Combat Shotgun from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 7: // Sniper Rifle
				{
				    if(PlayerInfo[playerid][pMoney] < 2500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 34, 100);
				    TaxMoney += 2500;
				    GiveZaiatMoney(playerid, -2500);
                    format(string, sizeof(string), "* %s grabs a Sniper Rifle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 8: // PainKiller
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerHealth(playerid, 100);
                    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a painkiller from the locker and swallows it.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 9: // Vest
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerArmour(playerid, 100);
				    TaxMoney += 300;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a vest from the locker and puts it on.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
 				case 10: // Arm up
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerArmour(playerid, 100);
				    SetPlayerHealth(playerid, 100);
				    GiveZaiatWeapon(playerid, 3, 1);
 				    GiveZaiatWeapon(playerid, 41, 500);
				    GiveZaiatWeapon(playerid, 24, 500);
				    GiveZaiatWeapon(playerid, 25, 200);
				    GiveZaiatWeapon(playerid, 29, 500);
				    GiveZaiatWeapon(playerid, 31, 500);
				    GiveZaiatWeapon(playerid, 34, 100);
				    TaxMoney += 10000;
				    GiveZaiatMoney(playerid, -10000);
                    format(string, sizeof(string), "* %s grabs their equipment out the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
	        }
	    }
	}
	else if(dialogid == 91)
	{
	    new string[128];
	    if(response)
	    {
			new skin = strval(inputtext);
			if(skin < 1 || skin > 299)
			{
				SendClientMessage(playerid, COLOR_GREY, "Skin must be between 1 and 299.");
				ShowDialog(playerid, 91);
			}
			else
			{
				PlayerInfo[playerid][pModel] = skin;
				SetPlayerSkin(playerid, skin);
				format(string, sizeof(string), "* %s puts on some clothes from the locker.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				return 1;
			}
	    }
	}
	else if(dialogid == 300)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                if(!PlayerInfo[playerid][pFacDuty])
	                {
	                    PlayerInfo[playerid][pFacDuty] = 1;
	                    SetPlayerColor(playerid, TRANSPARENT_HSF);
	                    format(string, sizeof(string), "* %s grabs their badge, equipment from the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						GiveZaiatWeapon(playerid, 31, 5000);
						GiveZaiatWeapon(playerid, 29, 500);
						GiveZaiatWeapon(playerid, 24, 200);
						SetPlayerArmour(playerid, 100);
						return 1;
	                }
	                else
	                {
      					PlayerInfo[playerid][pFacDuty] = 0;
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    SetPlayerArmour(playerid, 0);
	                    format(string, sizeof(string), "* %s places their badge in the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						return 1;
	                }
	            }
	            case 1:
	            {
	                ShowDialog(playerid, 301);
	            }
	            case 2:
	            {
	                //ShowDialog(playerid, 302);
	                ShowModelSelectionMenu(playerid, hsfskinlist, "Select Skin");
	            }
	            case 3:
	            {
	                ShowDialog(playerid, 302);
	            }
	        }
	    }
	}
	else if(dialogid == 301)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0: // Nightstick
				{
				    if(PlayerInfo[playerid][pMoney] < 50) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 3, 1);
				    TaxMoney += 50;
				    GiveZaiatMoney(playerid, -50);
                    format(string, sizeof(string), "* %s grabs a Nightstick from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 1: // Mace
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 41, 500);
				    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 2: // Desert EAgle
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 24, 500);
				    TaxMoney += 200;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 3: // MP5
				{
				    if(PlayerInfo[playerid][pMoney] < 600) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 29, 500);
				    TaxMoney += 600;
				    GiveZaiatMoney(playerid, -600);
                    format(string, sizeof(string), "* %s grabs an MP5 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 4: // Shotgun
				{
				    if(PlayerInfo[playerid][pMoney] < 1500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 25, 200);
				    TaxMoney += 1500;
				    GiveZaiatMoney(playerid, -1500);
                    format(string, sizeof(string), "* %s grabs a Shotgun from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 5: // Sniper Rifle
				{
				    if(PlayerInfo[playerid][pMoney] < 2500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 34, 100);
				    TaxMoney += 2500;
				    GiveZaiatMoney(playerid, -2500);
                    format(string, sizeof(string), "* %s grabs a Sniper Rifle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 6: // PainKiller
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerHealth(playerid, 100);
                    TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a painkiller from the locker and swallows it.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 7: // Vest
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerArmour(playerid, 100);
				    TaxMoney += 300;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a vest from the locker and puts it on.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
	        }
	    }
	}
	else if(dialogid == 302)
	{
	    new string[128];
	    if(response)
	    {
			new skin = strval(inputtext);
			if(skin < 1 || skin > 299)
			{
				SendClientMessage(playerid, COLOR_GREY, "Skin must be between 1 and 299.");
				ShowDialog(playerid, 302);
			}
			else
			{
				PlayerInfo[playerid][pModel] = skin;
				SetPlayerSkin(playerid, skin);
				format(string, sizeof(string), "* %s puts on some clothes from the locker.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				return 1;
			}
	    }
	}
	else if(dialogid == 303)
	{
//	    new string[128], index;
	    if(response)
	    {
			new index = strval(inputtext);
			if(index < 0 || index > 9)
			{
				SendClientMessage(playerid, COLOR_GREY, "Slot must be between 0 and 9.");
				ShowDialog(playerid, 303);
			}
			else
			{
			    //index = strlval(inputtext);
				ShowModelSelectionMenu(playerid, toylist, "Toys");
				/*if(PlayerInfo[playerid][pMoney] < 300) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				PlayerInfo[playerid][pToyModel][index] = toyslots;
				GiveZaiatMoney(playerid, -300);
				format(string, sizeof(string), "* %s has bought a toy for $300.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				SendClientMessage(playerid, COLOR_WHITE, " You can view and edit your toys using /toys.");*/
				return 1;
			}
	    }
	}
	else if(dialogid == 350)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
	            case 0:
	            {
	                if(!PlayerInfo[playerid][pFacDuty])
	                {
	                    PlayerInfo[playerid][pFacDuty] = 1;
	                    SetPlayerColor(playerid, TRANSPARENT_CORLEONE);
	                    format(string, sizeof(string), "* %s grabs their equipment from the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						GiveZaiatWeapon(playerid, 29, 500);
						GiveZaiatWeapon(playerid, 24, 200);
						SetPlayerArmour(playerid, 100);
						return 1;
	                }
	                else
	                {
      					PlayerInfo[playerid][pFacDuty] = 0;
	                    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	                    SetPlayerArmour(playerid, 0);
	                    format(string, sizeof(string), "* %s places their vest in the locker.", RPN(playerid));
						SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
						return 1;
	                }
	            }
	            case 1:
	            {
	                ShowDialog(playerid, 351);
	            }
	            case 2:
	            {
	                ShowDialog(playerid, 352);
	            }
	        }
	    }
	}
	else if(dialogid == 351)
	{
	    new string[128];
	    if(response)
	    {
	        switch(listitem)
	        {
				case 0: // Mace
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 41, 500);
				    //TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 1: // Desert EAgle
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 24, 50);
				    //TaxMoney += 200;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a Desert Eagle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 2: // MP5
				{
				    if(PlayerInfo[playerid][pMoney] < 600) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 29, 50);
				    //TaxMoney += 600;
				    GiveZaiatMoney(playerid, -600);
                    format(string, sizeof(string), "* %s grabs an MP5 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 3: // Shotgun
				{
				    if(PlayerInfo[playerid][pMoney] < 1500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 25, 50);
				    //TaxMoney += 1500;
				    GiveZaiatMoney(playerid, -1500);
                    format(string, sizeof(string), "* %s grabs a Shotgun from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 4: // Sniper Rifle
				{
				    if(PlayerInfo[playerid][pMoney] < 2500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 34, 50);
				    //TaxMoney += 2500;
				    GiveZaiatMoney(playerid, -2500);
                    format(string, sizeof(string), "* %s grabs a Sniper Rifle from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 5: // AK-47
				{
				    if(PlayerInfo[playerid][pMoney] < 5500) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    GiveZaiatWeapon(playerid, 30, 50);
				    //TaxMoney += 5500;
				    GiveZaiatMoney(playerid, -5500);
                    format(string, sizeof(string), "* %s grabs a AK-47 from the locker.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 6: // PainKiller
				{
				    if(PlayerInfo[playerid][pMoney] < 100) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerHealth(playerid, 100);
                    //TaxMoney += 100;
				    GiveZaiatMoney(playerid, -100);
                    format(string, sizeof(string), "* %s grabs a painkiller from the locker and swallows it.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
				case 7: // Vest
				{
				    if(PlayerInfo[playerid][pMoney] < 200) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money on you.");
				    SetPlayerArmour(playerid, 100);
				    //TaxMoney += 300;
				    GiveZaiatMoney(playerid, -200);
                    format(string, sizeof(string), "* %s grabs a vest from the locker and puts it on.", RPN(playerid));
					SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				}
	        }
	    }
	}
	else if(dialogid == 352)
	{
	    new string[128];
	    if(response)
	    {
			new skin = strval(inputtext);
			if(skin < 1 || skin > 299)
			{
				SendClientMessage(playerid, COLOR_GREY, "Skin must be between 1 and 299.");
				ShowDialog(playerid, 302);
			}
			else
			{
				PlayerInfo[playerid][pModel] = skin;
				SetPlayerSkin(playerid, skin);
				format(string, sizeof(string), "* %s puts on some clothes from the locker.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
				return 1;
			}
	    }
	}
    else if(dialogid == 1111 && response)
	{
		switch(listitem)
		{
			case 0: AddVehicleComponent(vehid,1010),CarmodDialog(playerid), PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
			case 1: ShowPlayerDialog(playerid,1112,DIALOG_STYLE_LIST,"Choose primary color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Select","Cancle");
			case 2: ShowPlayerDialog(playerid,1113,DIALOG_STYLE_LIST,"Choose a wheel:","Shadow\nMega\nRimshine\nWires\nClassic\nTwist\nCutter\nSwitch\nGrove\nImport\nDollar\nTrance\nAtomic\nAhab\nVirtual\nAcces\n{FF0000}Back","Select","Cancle");
			case 3: AddVehicleComponent(vehid, 1086), PlayerPlaySound(playerid,1133,0.0,0.0,0.0), CarmodDialog(playerid);
			case 4: AddVehicleComponent(vehid, 1087), PlayerPlaySound(playerid,1133,0.0,0.0,0.0), CarmodDialog(playerid);
			case 5:
			{
				if(vehmd == 562 || vehmd == 565 || vehmd == 559 || vehmd == 561 || vehmd == 560 || vehmd == 558)
				{
					ShowPlayerDialog(playerid,1114,DIALOG_STYLE_LIST,"Choose one","Paintjob\nAlien\nX-Flow\n{FF0000}Back","Select","Cancel");
				}
				else if(vehmd == 576 || vehmd == 575 || vehmd == 535)
				{
					Lowrider(playerid);
    			}
				else if(vehmd == 567 || vehmd == 536)
				{
                    ShowPlayerDialog(playerid,1002,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nHardtop Roof\nSofttop Roof\n{FF0000}Back","Select","Cancel");
				}
				else if(vehmd == 534)
				{
                    ShowPlayerDialog(playerid,1003,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nFlame Sideskirt \nArches Sideskirt Roof\n{FF0000}Back","Select","Cancel");
				}
				else if(vehmd == 496 || vehmd == 505 || vehmd == 516 || vehmd == 517 || vehmd == 518 || vehmd == 527 || vehmd == 529 || vehmd == 540 || vehmd == 546 || vehmd == 547 || vehmd == 549 || vehmd == 550 || vehmd == 551 || vehmd == 580 || vehmd == 585 || vehmd == 587 || vehmd == 589 || vehmd == 600 || vehmd == 603 || vehmd == 401 || vehmd == 410 || vehmd == 415 || vehmd == 418 || vehmd == 420 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 491 || vehmd == 492)
				{
					RegularCarDialog(playerid);
				}
				else
				{
					SendClientMessage(playerid,COLOR_GREY,"This vehicle can't be tuned.");
				}
			}
		}
	}
	new idx = GetPlayerVirtualWorld(playerid)-100, string[128];
	if(dialogid == AMMOSTOREMENU)
	{
		if(response)
		{
			if(listitem == 0)
			{
    			if(PlayerInfo[playerid][pMoney] < 4900) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				{
					if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
					BizInfo[idx][bMoney] += 5000;
					BizInfo[idx][bProducts] --;
					BizInfo[idx][bSold] ++;
					GiveZaiatMoney(playerid, -5000);
					GiveZaiatWeapon(playerid, 25, 150);
					format(string, sizeof(string), "You bought a Pumped Shotgun");
					SendClientMessage(playerid, COLOR_RED, string);
				}
			}
			if(listitem == 1)
			{
				if(PlayerInfo[playerid][pMoney] < 19000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				{
					if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
					BizInfo[idx][bMoney] += 20000;
					BizInfo[idx][bProducts] --;
					BizInfo[idx][bSold] ++;
					GiveZaiatMoney(playerid, -20000);
					GiveZaiatWeapon(playerid, 29, 150);
					format(string, sizeof(string), "You bought a Mp5");
					SendClientMessage(playerid, COLOR_RED, string);
				}
			}
			if(listitem == 2)
			{
				if(PlayerInfo[playerid][pMoney] < 34000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				{
					if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
					BizInfo[idx][bMoney] += 35000;
					BizInfo[idx][bProducts] --;
					BizInfo[idx][bSold] ++;
					GiveZaiatMoney(playerid, -35000);
					GiveZaiatWeapon(playerid, 24, 150);
					format(string, sizeof(string), "You bought a Desert Eagle");
					SendClientMessage(playerid, COLOR_RED, string);
				}
			}
			if(listitem == 3)
			{
				if(PlayerInfo[playerid][pMoney] < 74000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				{
					if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
					BizInfo[idx][bMoney] += 75000;
					BizInfo[idx][bProducts] --;
					BizInfo[idx][bSold] ++;
					GiveZaiatMoney(playerid, -75000);
					GiveZaiatWeapon(playerid, 31, 20);
					format(string, sizeof(string), "You bought a M4");
					SendClientMessage(playerid, COLOR_RED, string);
				}
			}
			if(listitem == 4)
			{
				if(PlayerInfo[playerid][pMoney] < 2000) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				{
					if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
					BizInfo[idx][bMoney] += 3000;
					BizInfo[idx][bProducts] --;
					BizInfo[idx][bSold] ++;
					GiveZaiatMoney(playerid, -3000);
					SetPlayerArmour(playerid, 50);
					format(string, sizeof(string), "You bought a KevlarVest");
					SendClientMessage(playerid, COLOR_RED, string);
				}
			}
			if(listitem == 5)
			{
				if(PlayerInfo[playerid][pMoney] < 7600) return SendClientMessage(playerid, COLOR_GREY, "You don't have enough money to do this.");
				{
					if(BizInfo[idx][bProducts] < 1) return SendClientMessage(playerid, COLOR_GREY, "This business is currently out of products.");
					BizInfo[idx][bMoney] += 7600;
					BizInfo[idx][bProducts] --;
					BizInfo[idx][bSold] ++;
					GiveZaiatMoney(playerid, -7600);
					GiveZaiatWeapon(playerid, 32, 150);
					format(string, sizeof(string), "You bought a KevlarVest");
					SendClientMessage(playerid, COLOR_RED, string);
				}
			}
		}
	}
	if(dialogid == 1112 && response)
	{
		new color1, color2;
		GetVehicleColor(vehid,color1,color2);
	    new Carray[] = {1,0,6,2,79,149,151,3,34};
	    ChangeVehicleColor(vehid,Carray[listitem],color2);
	    if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
		{
		    PlayerInfo[playerid][vC1] = Carray[listitem];
		}
		else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
		{
		    PlayerInfo[playerid][vVC1] = Carray[listitem];
		}
 		else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
		{
		    PlayerInfo[playerid][vBC1] = Carray[listitem];
		}
 		else if(GetPlayerVehicleID(playerid) == FamInfo[playerid][fVeh])
		{
		    FamInfo[playerid][fVehCol1] = Carray[listitem];
		}
	    return ShowPlayerDialog(playerid,1116,DIALOG_STYLE_LIST,"Choose second color:","White\nBlack\nOrange\nLight Blue\nDark Blue\nPurple\nRed\nDark Red\nGrey","Select","Cancle");
	}

	if(dialogid == 1116 && response)
	{
	    new color1, color2;
		GetVehicleColor(vehid,color1,color2);
	    new Carray[] = {1,0,6,2,79,149,151,3,34};
        ChangeVehicleColor(vehid,color1,Carray[listitem]);
        if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh])
		{
		    PlayerInfo[playerid][vC2] = Carray[listitem];
		}
		else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh])
		{
		    PlayerInfo[playerid][vVC2] = Carray[listitem];
		}
		else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh])
		{
		    PlayerInfo[playerid][vBC2] = Carray[listitem];
		}
 		else if(GetPlayerVehicleID(playerid) == FamInfo[playerid][fVeh])
		{
		    FamInfo[playerid][fVehCol2] = Carray[listitem];
		}
        return CarmodDialog(playerid);
	}
	if(dialogid == 829 && response) // heal
	{
		SetPlayerHealth(playerid, 100);
		SetPlayerArmour(playerid, 50);
		GiveZaiatMoney(playerid, -100);
		new stringa[128];
 		format(string, sizeof(stringa), "* %s took a vest and some painstillers.", RPN(playerid));
		if(PlayerInfo[playerid][pMaskOn] == 1)
		{
 			 format(stringa, sizeof(stringa), "* Stranger took a vest and some painstillers.");
		}
		else
		{
			format(stringa, sizeof(stringa), "* %s took a vest and some painstillers.", RPN(playerid));
		}
		SendNearbyMessage(playerid, 10, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	}
	if(dialogid == 1113 && response)
	{
	    if(listitem == 16) return CarmodDialog(playerid);
		new Warray[] = {1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098};
		AddVehicleComponent(vehid,Warray[listitem]);
		return CarmodDialog(playerid);
	}
	if(dialogid == 1114 && response)
	{
	    switch(listitem)
	    {
			case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose a paintjob:","Paintjob 1\nPaintjob 2\nPaintjob 3","Select","Cancel");
			case 1: Mod(playerid);
			case 2: Mod1(playerid);
			case 3: CarmodDialog(playerid);
		}
	}
	if(dialogid == 1001 && response)
	{
		switch(listitem)
		{
			case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose a paintjob:","Paintjob 1\nPaintjob 2\nPaintjob 3","Select","Cancel");
			case 1: Mod2(playerid);
			case 2: Mod3(playerid);
			case 3: CarmodDialog(playerid);
		}
	}
	if(dialogid  == 1002)
	{
		switch(listitem)
		{
			case 0: ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose a paintjob:","Paintjob 1\nPaintjob 2\nPaintjob 3","Select","Cancel");
			case 1: Mod2(playerid);
			case 2: Mod3(playerid);
			case 3:
			{
				if(vehmd == 567)//Savanna
				{
					AddVehicleComponent(vehid, 1130);
				}
				if(vehmd == 536)//Blade
                {
                    AddVehicleComponent(vehid, 1128);
				}
			}
			case 4:
			{
				if(vehmd == 567)//Savanna
				{
    				 AddVehicleComponent(vehid, 1131);
				}
				if(vehmd == 536)//Blade
                {
                    AddVehicleComponent(vehid, 1103);
				}
			}
			case 5: CarmodDialog(playerid);
		}
	}
	if(dialogid  == 1003)//Remington
	{
		switch(listitem)
		{
		    case 0:ShowPlayerDialog(playerid,1115,DIALOG_STYLE_LIST,"Choose a paintjob:","Paintjob 1\nPaintjob 2\nPaintjob 3","Select","Cancel");
		    case 1: Mod2(playerid);
			case 2: Mod3(playerid);
			case 3: AddVehicleComponent(vehid, 1122),AddVehicleComponent(vehid, 1101),ShowPlayerDialog(playerid,1003,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nFlame Sideskirt \nArches Sideskirt Roof\n{FF0000}Back","Select","Cancel");
			case 4: AddVehicleComponent(vehid, 1106),AddVehicleComponent(vehid, 1124),ShowPlayerDialog(playerid,1003,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\nFlame Sideskirt \nArches Sideskirt Roof\n{FF0000}Back","Select","Cancel");
			case 5: CarmodDialog(playerid);
		}
	}
	if(dialogid == 1004 && response)//regular cars
	{
	    switch(listitem)
	    {
			case 0:
			{
				ShowPlayerDialog(playerid,1010,DIALOG_STYLE_LIST,"Spoiler","Pro\nWin\nDrag\nAlpha\nChamp\nRace\nWorx\nFury\n{FF0000}Back","Select","Cancel");
			}
			case 1:
			{
			    if(vehmd == 585 || vehmd == 603 || vehmd == 439 || vehmd == 458 || vehmd == 418 || vehmd == 527 || vehmd == 580)
			    {
					AddVehicleComponent(vehid, 1006);
					return RegularCarDialog(playerid);
				}
				else if(vehmd == 439 || vehmd == 458 || vehmd == 491 || vehmd == 517 ||vehmd == 547)
			    {ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
                else if(vehmd == 415)
                {
					AddVehicleComponent(vehid, 1007);
					AddVehicleComponent(vehid, 1071);
					return RegularCarDialog(playerid);
				}
                else ShowPlayerDialog(playerid,1020,DIALOG_STYLE_LIST,"Hood","Champ\nFury\nRace\nWorx\n{FF0000}Back","Select","Cancel");
			}
			case 2:
			{
			    if(vehmd == 549 || vehmd == 585 || vehmd == 603)
				{ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
				else if(vehmd == 410 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 516 || vehmd == 491 || vehmd == 517 || vehmd == 418 || vehmd == 527 || vehmd == 580)
				{
                    AddVehicleComponent(vehid, 1007);
					AddVehicleComponent(vehid, 1071);
					return RegularCarDialog(playerid);
				}
				else if(vehmd == 415 || vehmd == 547 || vehmd == 420 || vehmd == 587)
				{CarmodDialog(playerid);}
				else
				{
					AddVehicleComponent(vehid, 1006);
					return RegularCarDialog(playerid);
				}

			}
			case 3:
			{
			    if(vehmd == 549 || vehmd == 585 || vehmd == 603 || vehmd == 551 || vehmd == 492 || vehmd == 529)
			    {
					AddVehicleComponent(vehid, 1007);
					AddVehicleComponent(vehid, 1071);
					return RegularCarDialog(playerid);
				}
				else if(vehmd == 410 || vehmd == 436 || vehmd == 439 || vehmd == 458 || vehmd == 489 || vehmd == 505)
				{ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
				else if(vehmd == 418 || vehmd == 527 || vehmd == 580 || vehmd == 491 || vehmd == 517 || vehmd == 516)
				{CarmodDialog(playerid);}
				else{ShowPlayerDialog(playerid,1040,DIALOG_STYLE_LIST,"Vents","Oval\nSquare\n{FF0000}Back","Select","Cancel");}
			}
			case 4:
			{
			    if(vehmd == 549 || vehmd == 550 || vehmd == 585 || vehmd == 603)
			    {ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
			    else if(vehmd == 489 || vehmd == 505 || vehmd == 551 || vehmd == 492 || vehmd == 529 || vehmd == 439 || vehmd == 458 || vehmd == 410 || vehmd == 436)
			    {CarmodDialog(playerid);}
			    else
			    {
					AddVehicleComponent(vehid, 1007);
					AddVehicleComponent(vehid, 1071);
					return RegularCarDialog(playerid);
				}
			}
			case 5:
			{
				if(vehmd == 585 || vehmd == 603 || vehmd == 550 || vehmd == 549)
				{CarmodDialog(playerid);}
				else{ShowPlayerDialog(playerid,1060,DIALOG_STYLE_LIST,"Lights","Round Fog\nSquare Fog\n{FF0000}Back","Select","Cancel");}
			}
			case 6: CarmodDialog(playerid);
		}
	}
	if(dialogid == 1010 && response)
	{
		if(listitem == 8) return RegularCarDialog(playerid);
		new Xarray[] = {1000,1001,1002,1003,1014,1015,1016,1023};
		AddVehicleComponent(vehid, Xarray[listitem]);
		return RegularCarDialog(playerid);
	}
	if(dialogid == 1020 && response)
	{
		if(listitem == 4) return RegularCarDialog(playerid);
		new Xarray[] = {1004,1005,1011,1012};
		AddVehicleComponent(vehid, Xarray[listitem]);
		return RegularCarDialog(playerid);
	}
	if(dialogid == 1040 && response)
	{
	    switch(listitem)
	    {
			case 0:
			{
				AddVehicleComponent(vehid, 1142);
				AddVehicleComponent(vehid, 1143);
				return RegularCarDialog(playerid);
			}
			case 1:
			{
				AddVehicleComponent(vehid, 1144);
				AddVehicleComponent(vehid, 1145);
				return RegularCarDialog(playerid);
			}
			case 2: RegularCarDialog(playerid);
		}
	}
	if(dialogid == 1060 && response)
	{
		if(listitem == 2) return RegularCarDialog(playerid);
		new Xarray[] = {1013,1024};
		AddVehicleComponent(vehid, Xarray[listitem]);
		return RegularCarDialog(playerid);
	}
	if(dialogid == 1115 && response)
	{
	    if(listitem == 3) return CarmodDialog(playerid);
		new Parray[] = {0,1,2};
		ChangeVehiclePaintjob(vehid, Parray[listitem]);
		return CarmodDialog(playerid);
	}
	if(dialogid == 1511 && response)
	{
	    if(listitem == 7) return ShowPlayerDialog(playerid,1114,DIALOG_STYLE_LIST,"Choose one","Paintjob\nAlien\nX-Flow\n{FF0000}Back","Select","Cancel");
		if(vehmd == 558)//Uranus
		{
			new Varray[] = {1090,1094,1092,1088,1164,1166,1168};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod(playerid);
		}
		if(vehmd == 559)//Jester
		{
            new Varray[] = {1069,1071,1065,1067,1162,1160,1159};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod(playerid);
		}
		if(vehmd == 560)//Sultan
		{
            new Varray[] = {1026,1027,1028,1032,1138,1169,1141};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod(playerid);
		}
		if(vehmd == 561)//Stratum
		{
            new Varray[] = {1056,1062,1064,1055,1058,1155,1154};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod(playerid);
		}
		if(vehmd == 562)//Elegy
		{
            new Varray[] = {1036,1040,1034,1038,1147,1171,1149};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod(playerid);
		}
		if(vehmd == 565)//Flash
		{
            new Varray[] = {1047,1051,1046,1054,1049,1153,1150};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod(playerid);
		}
	}
	if(dialogid == 1512 && response)
	{
	    if(listitem == 7) return ShowPlayerDialog(playerid,1114,DIALOG_STYLE_LIST,"Choose one","Paintjob\nAlien\nX-Flow\n{FF0000}Back","Select","Cancel");
	    if(vehmd == 558)//Uranus
	    {
            new Varray[] = {1093,1095,1089,1091,1163,1165,1167};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod1(playerid);
		}
	    if(vehmd == 559)//Jester
	    {
            new Varray[] = {1070,1072,1066,1068,1158,1173,1161};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod1(playerid);
		}
	    if(vehmd == 560)//Sultan
	    {
            new Varray[] = {1031,1030,1029,1033,1139,1170,1140};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod1(playerid);
		}
	    if(vehmd == 561)//Stratum
	    {
            new Varray[] = {1057,1063,1059,1061,1060,1157,1156};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod1(playerid);
		}
	    if(vehmd == 562)//Elegy
	    {
            new Varray[] = {1039,1041,1037,1035,1146,1172,1148};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod1(playerid);
		}
	    if(vehmd == 565)//Flash
	    {
            new Varray[] = {1048,1052,1045,1053,1050,1152,1151};
	 		AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod1(playerid);
		}
	}
	if(dialogid == 1513 && response)
	{
		if(vehmd == 576)
        {
			if(listitem == 5) return Lowrider(playerid);
      		new Varray[] = {1134,1137,1136,1191,1192};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod2(playerid);
		}
		if(vehmd == 575)
		{
			if(listitem == 5) return Lowrider(playerid);
  			new Varray[] = {1042,1099,1044,1174,1176};
			AddVehicleComponent(vehid,Varray[listitem]);
	 		return Mod2(playerid);
		}
		if(vehmd == 535)
		{
  			if(listitem == 6) return Lowrider(playerid);
  			new Varray[] = {1115,1109,1113,1117,1118,1120};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod2(playerid);
		}
		if(vehmd == 567)
		{
		    if(listitem == 5) return Lowrider(playerid);
			new Varray[] = {1129,1133,1102,1187,1189};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod2(playerid);
		}
		if(vehmd == 536)
		{
		    if(listitem == 5) return Lowrider(playerid);
			new Varray[] = {1104,1108,1107,1184,1182};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod2(playerid);
		}
		if(vehmd == 534)
		{
		    if(listitem == 6) return Lowrider(playerid);
			new Varray[] = {1100,1123,1125,1126,1179,1180};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod2(playerid);
		}
	}
	if(dialogid == 1514 && response)
	{
		if(vehmd == 576)
		{
		    if(listitem == 3) return Lowrider(playerid);
  			new Varray[] = {1135,1190,1193};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod3(playerid);
		}
		if(vehmd == 575)
		{
		    if(listitem == 3) return Lowrider(playerid);
  			new Varray[] = {1177,1175,1043};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod3(playerid);
		}
		if(vehmd == 535)
		{
		    if(listitem == 5) return Lowrider(playerid);
  			new Varray[] = {1110,1116,1114,1119,1121};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod3(playerid);
		}
  		if(vehmd == 567)
		{
		    if(listitem == 3) return Lowrider(playerid);
			new Varray[] = {1188,1186,1132};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod3(playerid);
		}
		if(vehmd == 536)
		{
		    if(listitem == 3) return Lowrider(playerid);
			new Varray[] = {1181,1183,1105};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod3(playerid);
		}
		if(vehmd == 534)
		{
		    if(listitem == 3) return Lowrider(playerid);
			new Varray[] = {1185,1178,1127};
			AddVehicleComponent(vehid,Varray[listitem]);
			return Mod3(playerid);
		}
	}
	if(dialogid == 550)
	{
	    if(response)
	    {
			if(listitem == 0) // Vehicle Slot 1
			{
				SendClientMessage(playerid, COLOR_WHITE, "Vehicle slot 1");
				ShowDialog(playerid, 551);
			}
			if(listitem == 1) // Vehicle Slot 2
			{
				SendClientMessage(playerid, COLOR_WHITE, "Vehicle slot 2");
				ShowDialog(playerid, 552);
			}
			if(listitem == 2) // Vehicle Slot 3
			{
				SendClientMessage(playerid, COLOR_WHITE, "Vehicle slot 3");
				ShowDialog(playerid, 553);
			}
	    }
	}	
	if(dialogid == 551)
	{
        if(!response)
        {
			new Float:carpos_x,Float:carpos_y,Float:carpos_z;
			SetVehicleNumberPlate(PlayerInfo[playerid][pVeh], inputtext[32]);
			GetVehiclePos(PlayerInfo[playerid][pVeh],carpos_x,carpos_y,carpos_z);
			SetVehicleToRespawn(PlayerInfo[playerid][pVeh]);
			SetVehiclePos(PlayerInfo[playerid][pVeh],carpos_x,carpos_y,carpos_z);
			PlayerInfo[playerid][pVehPlate] = inputtext[32];
			SendClientMessage(playerid, COLOR_GREY, "You've changed your vehicle plate (Vehicle Slot 1)");
        }
		else SendClientMessage(playerid, COLOR_GREY, "You've canceled the dialog.");
        return 1;
	}
	if(dialogid == 552)
	{
        if(!response)
        {
			new Float:carpos_x,Float:carpos_y,Float:carpos_z;
			SetVehicleNumberPlate(PlayerInfo[playerid][pVVeh], inputtext[32]);
			GetVehiclePos(PlayerInfo[playerid][pVVeh],carpos_x,carpos_y,carpos_z);
			SetVehicleToRespawn(PlayerInfo[playerid][pVVeh]);
			SetVehiclePos(PlayerInfo[playerid][pVVeh],carpos_x,carpos_y,carpos_z);
			PlayerInfo[playerid][pVVehPlate] = inputtext[32];
			SendClientMessage(playerid, COLOR_GREY, "You've changed your vehicle plate (Vehicle Slot 2)");
        }
		else SendClientMessage(playerid, COLOR_GREY, "You've canceled the dialog.");
        return 1;
	}
	if(dialogid == 553)
	{
        if(!response)
        {
			new Float:carpos_x,Float:carpos_y,Float:carpos_z;
			SetVehicleNumberPlate(PlayerInfo[playerid][pBVeh], inputtext[32]);
			GetVehiclePos(PlayerInfo[playerid][pBVeh],carpos_x,carpos_y,carpos_z);
			SetVehicleToRespawn(PlayerInfo[playerid][pBVeh]);
			SetVehiclePos(PlayerInfo[playerid][pBVeh],carpos_x,carpos_y,carpos_z);
			PlayerInfo[playerid][pBVehPlate] = inputtext[32];
			SendClientMessage(playerid, COLOR_GREY, "You've changed your vehicle plate (Vehicle Slot 3)");
        }
		else SendClientMessage(playerid, COLOR_GREY, "You've canceled the dialog.");
        return 1;
	}
	if(dialogid == DIALOGGPS)
	{
	    if(response)
	    {
	    	if(listitem == 0) // off
			{
				DisablePlayerCheckpoint(playerid);
				SendClientMessage(playerid, COLOR_WHITE, "You have cleared the marker on your map.");
			}
	    	if(listitem == 1) // bank
			{
	      		SetPlayerCheckpoint(playerid, 1462.4095,-1011.1602,26.8438, 3);
	      		SendClientMessage(playerid, COLOR_WHITE, "The bank is now marked on your map.");
			}
	    	if(listitem == 2) // Mechanicjob
			{
			     SetPlayerCheckpoint(playerid, 2330.0693,-2315.4709,13.5469,3);
			     SendClientMessage(playerid, COLOR_WHITE, "The Mechanic Job is now marked on your map");
			}
	    	if(listitem == 3) // Truckerjob
			{
			     SetPlayerCheckpoint(playerid, 919.4667,-1252.2340,16.2109, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The trucker job is now marked on your map.");
			}
	    	if(listitem == 4) // Cityhall
			{
			     SetPlayerCheckpoint(playerid, 1480.0099,-1759.8971,13.5469, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The cityhall is now marked on your map.");
			}
	    	if(listitem == 5) // dmv
			{
			     SetPlayerCheckpoint(playerid, 2045.6119,-1908.0552,13.5469, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The dmv is now marked on your map.");
			}
	    	if(listitem == 6) // drugshouse
			{
			     SetPlayerCheckpoint(playerid, 2166.1372,-1671.5070,15.0737, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The drugs house is now marked on your map.");
			}
	    	if(listitem == 7) // Cracklab
			{
			    SetPlayerCheckpoint(playerid, 2351.9863,-1170.1771,28.0509, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The crack lab is now marked on your map.");
			}
	    	if(listitem == 8) // drugspickup
			{
			    SetPlayerCheckpoint(playerid, 2939.4932,-2051.5911,3.5480, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The drugs pickup is now marked on your map.");
			}
   	    	if(listitem == 9) // materialsdropoff
			{
			    SetPlayerCheckpoint(playerid, 2172.4944,-2264.0750,13.3399, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The materials dropoff is now marked on your map.");
			}
   	    	if(listitem == 10) // materialspickup
			{
			    SetPlayerCheckpoint(playerid, 1423.6010,-1317.9398,13.5547, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The materials pickup is now marked on your map.");
			}
   	    	if(listitem == 11) // TelecomCompany
			{
			    SetPlayerCheckpoint(playerid, 1154.1257,-1180.9600,32.8187, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The telecom company is now marked on your map.");
			}
   	    	if(listitem == 12) // Dealership
			{
			    SetPlayerCheckpoint(playerid, 545.6661,-1292.2437,17.2422, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The Vehicles Dealership is now marked on your map.");
			}
   	    	if(listitem == 13) // FuelCompany
			{
			    SetPlayerCheckpoint(playerid, 246.585403,1410.487182,23.370300, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The FuelCompany is now marked on your map.");
			}
   	    	if(listitem == 14) // Mechanicjob
			{
			    SetPlayerCheckpoint(playerid, 2330.0693,-2315.4709,13.5469, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The Mechanic Job is now marked on your map.");
			}
  			if(listitem == 15) // V.I.P
			{
			    SetPlayerCheckpoint(playerid, 1797.4946,-1578.7982,14.0845, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The V.I.P is now marked on your map.");
			}
			// ShowPlayerDialog(playerid,GPS_DIALOG,DIALOG_STYLE_LIST,"GPS Locations",mstring,"OK","Cancel");
	    }
	}
	if(dialogid == DIALOGGPSJOB)
	{
	    if(response)
	    {
	    	if(listitem == 0) // off
			{
				DisablePlayerCheckpoint(playerid);
				SendClientMessage(playerid, COLOR_WHITE, "You have cleared the marker on your map.");
			}
	    	if(listitem == 1) // Mechanic
			{
	      		SetPlayerCheckpoint(playerid, 2330.0693,-2315.4709,13.5469, 3);
	      		SendClientMessage(playerid, COLOR_WHITE, "The Mechanic Job is now marked on your map.");
			}
	    	if(listitem == 2) // Lawyer
			{
			     SetPlayerCheckpoint(playerid, 1380.8300,-1088.7698,27.3844,3);
			     SendClientMessage(playerid, COLOR_WHITE, "The Lawyer Job is now marked on your map");
			}
	    	if(listitem == 3) // Trucker
			{
			     SetPlayerCheckpoint(playerid, 919.4667,-1252.2340,16.2109, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The Trucker Job is now marked on your map.");
			}
	    	if(listitem == 4) // Weapon Smuggler
			{
			     SetPlayerCheckpoint(playerid, 1415.4907,-1301.0790,13.5449, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The Weapon Smuggler Job is now marked on your map.");
			}
	    	if(listitem == 5) // Weapon Dealer
			{
			     SetPlayerCheckpoint(playerid, 2165.2358,-2271.5012,13.3413, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The Weapon Dealer Job is now marked on your map.");
			}
	    	if(listitem == 6) // Drugs Dealer
			{
			     SetPlayerCheckpoint(playerid, 2178.5518,-1660.4418,14.9644, 3);
			     SendClientMessage(playerid, COLOR_WHITE, "The Drugs Dealer Job is now marked on your map.");
			}
	    	if(listitem == 7) // Drugs Smuggler
			{
			    SetPlayerCheckpoint(playerid, 2354.7354,-1170.1056,28.0475, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The Drugs Smuggler Job is now marked on your map.");
			}
	    	if(listitem == 8) // Bodyguard
			{
			    SetPlayerCheckpoint(playerid, 2227.9976,-1718.2604,13.5321, 3);
			    SendClientMessage(playerid, COLOR_WHITE, "The Bodyguard Job is now marked on your map.");
			}
	    }
	}
	if(dialogid == DIALOGID255)
	{
		if(response)
		{
			if(listitem == 0) // Burglar Houses
			{
				ShowPlayerDialog(playerid, DIALOGID255+1, DIALOG_STYLE_LIST, "Select an Interior", "House 1\nHouse 2\nHouse 3\nHouse 4\nHouse 5\nHouse 6\nHouse 7\nHouse 8\nHouse 9\nHouse 10\nHouse 11\nHouse 12\nHouse 13\nHouse 14\nHouse 15\nHouse 16\nHouse 17\nHouse 18\nHouse 19\nHouse 20\nHouse 21\nHouse 22\nHouse 23\nHouse 24\nHouse 25\nHouse 26\nHouse 27\nHouse 28\nHouse 29\nHouse 30", "Select", "Cancel");
			}
			if(listitem == 1) // Businesses
			{
				ShowPlayerDialog(playerid, DIALOGID255+2, DIALOG_STYLE_LIST, "Select an Interior", "Budget Inn Motel room\nJefferson Motel\nOff Track Betting\nSex Shop\nSindacco Meat Factory\nZero's RC Shop\nGas Station(Dilimore)", "Select", "Cancel");
			}
			if(listitem == 2) // Bars n' C;ubs
			{
				ShowPlayerDialog(playerid, DIALOGID255+2, DIALOG_STYLE_LIST, "Select an Interior", "Alhambra\nPool Table Bar\nLil'Prob Inn", "Select", "Cancel");
			}
			if(listitem == 3) // Rastaurants
			{
				ShowPlayerDialog(playerid, DIALOGID255+4, DIALOG_STYLE_LIST, "Select an Interior", "Jay's Diner\nGant Bridge Res\nWorld of Coq\nWelcome Pump Dinner", "Select", "Cancel");
			}
			if(listitem == 4) // Girlfriends Houses
			{
				ShowPlayerDialog(playerid, DIALOGID255+5, DIALOG_STYLE_LIST, "Select an Interior", "Denise Robinson\nKatie Zhan\nHelena Wankstein\nMichelle Cannes\nBarbara Schternvart\nMillie Perkins", "Select", "Cancel");
			}
			if(listitem == 5) // Homies Houses
			{
				ShowPlayerDialog(playerid, DIALOGID255+6, DIALOG_STYLE_LIST, "Select an Interior", "Ryder House\nSweet House\nBig Smoke CF\nBig Smoke CF2", "Select", "Cancel");
			}
			if(listitem == 6) // P.I.M.P Clubs
			{
				ShowPlayerDialog(playerid, DIALOGID255+7, DIALOG_STYLE_LIST, "Select an Interior", "Stript Club\nWhore House\nTiger Skin Brothel\nJizzy Club", "Select", "Cancel");
			}
			if(listitem == 7) // Misc
			{
				ShowPlayerDialog(playerid, DIALOGID255+8, DIALOG_STYLE_LIST, "Select an Interior", "Crack Lab\nColonel Furhberger\nDrug Den\nUnused Safe House\nRC Battlefield", "Select", "Cancel");
			}
		}
		return 1;
	}

    if(dialogid == DIALOGID255+1) // Burglar Houses
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,235.508994,1189.169897,1080.339966);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,225.756989,1240.000000,1082.149902);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,223.043991,1289.259888,1082.199951);
                SetPlayerInterior(playerid,1);
			}
			if(listitem == 3)
			{
				SetPlayerPos(playerid,225.630997,1022.479980,1084.069946);
                SetPlayerInterior(playerid,7);
			}
			if(listitem == 4)
			{
				SetPlayerPos(playerid,295.138977,1474.469971,1080.519897);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 5)
			{
				SetPlayerPos(playerid,328.493988,1480.589966,1084.449951);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 6)
			{
				SetPlayerPos(playerid,385.803986,1471.769897,1080.209961);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 7)
			{
				SetPlayerPos(playerid,235.508994,1189.169897,1080.339966);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 8)
			{
				SetPlayerPos(playerid,225.756989,1240.000000,1082.149902);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 9)
			{
				SetPlayerPos(playerid,223.043991,1289.259888,1082.199951);
                SetPlayerInterior(playerid,1);
			}
            if(listitem == 10)
			{
				SetPlayerPos(playerid,225.630997,1022.479980,1084.069946);
                SetPlayerInterior(playerid,7);
			}
			if(listitem == 11)
			{
				SetPlayerPos(playerid,295.138977,1474.469971,1080.519897);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 12)
			{
				SetPlayerPos(playerid,328.493988,1480.589966,1084.449951);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 13)
			{
				SetPlayerPos(playerid,385.803986,1471.769897,1080.209961);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 14)
			{
				SetPlayerPos(playerid,375.971985,1417.269897,1081.409912);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 15)
			{
				SetPlayerPos(playerid,490.810974,1401.489990,1080.339966);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 16)
			{
				SetPlayerPos(playerid,447.734985,1400.439941,1084.339966);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 17)
			{
				SetPlayerPos(playerid,227.722992,1114.389893,1081.189941);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 18)
			{
				SetPlayerPos(playerid,260.983978,1286.549927,1080.299927);
                SetPlayerInterior(playerid,4);
			}
			if(listitem == 19)
			{
				SetPlayerPos(playerid,221.666992,1143.389893,1082.679932);
                SetPlayerInterior(playerid,4);
			}
			if(listitem == 20)
			{
				SetPlayerPos(playerid,27.132700,1341.149902,1084.449951);
                SetPlayerInterior(playerid,10);
			}
			if(listitem == 21)
			{
				SetPlayerPos(playerid,-262.601990,1456.619995,1084.449951);
                SetPlayerInterior(playerid,4);
			}
			if(listitem == 22)
			{
				SetPlayerPos(playerid,22.778299,1404.959961,1084.449951);
                SetPlayerInterior(playerid,5);
			}
			if(listitem == 23)
			{
 				SetPlayerPos(playerid,140.278000,1368.979980,1083.969971);
                SetPlayerInterior(playerid,5);
			}
			if(listitem == 24)
			{
				SetPlayerPos(playerid,234.045990,1064.879883,1084.309937);
                SetPlayerInterior(playerid,6);
			}
			if(listitem == 25)
			{
				SetPlayerPos(playerid,-68.294098,1353.469971,1080.279907);
                SetPlayerInterior(playerid,6);
			}
			if(listitem == 26)
			{
				SetPlayerPos(playerid,-285.548981,1470.979980,1084.449951);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 27)
			{
				SetPlayerPos(playerid,-42.581997,1408.109985,1084.449951);
                SetPlayerInterior(playerid,8);
			}
			if(listitem == 28)
			{
				SetPlayerPos(playerid,83.345093,1324.439941,1083.889893);
                SetPlayerInterior(playerid,9);
			}
			if(listitem == 29)
			{
				SetPlayerPos(playerid,260.941986,1238.509888,1084.259888);
                SetPlayerInterior(playerid,9);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+2) // Businesses
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,446.622986,509.318970,1001.419983);
                SetPlayerInterior(playerid,12);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,2216.339844,-1150.509888,1025.799927);
                SetPlayerInterior(playerid,15);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,833.818970,7.418000,004.179993);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 3)
			{
				SetPlayerPos(playerid,-100.325996,-22.816500,1000.741943);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 4)
			{
				SetPlayerPos(playerid,964.376953,2157.329834,1011.019958);
                SetPlayerInterior(playerid,1);
			}
			if(listitem == 5)
			{
				SetPlayerPos(playerid,-2239.569824,130.020996,1035.419922);
                SetPlayerInterior(playerid,6);
			}
			if(listitem == 6)
			{
				SetPlayerPos(playerid,662.641601,-571.398803,16.343263);
                SetPlayerInterior(playerid,0);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+3) // Bars n' C;ubs
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,493.390991,-22.722799,1000.686951);
                SetPlayerInterior(playerid,17);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,501.980988,-69.150200,998.834961);
                SetPlayerInterior(playerid,11);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,-227.028000,1401.229980,27.769798);
                SetPlayerInterior(playerid,18);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+4) // Restaurants
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,460.099976,-88.428497,999.621948);
                SetPlayerInterior(playerid,4);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,454.973950,-110.104996,999.717957);
                SetPlayerInterior(playerid,5);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,452.489990,-18.179699,1001.179993);
                SetPlayerInterior(playerid,1);
			}
			if(listitem == 3)
			{
				SetPlayerPos(playerid,681.474976,-451.150970,-25.616798);
                SetPlayerInterior(playerid,1);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+5) // Girlfriends Houses
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,244.411987,305.032990,999.231995);
                SetPlayerInterior(playerid,1);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,271.884979,306.631989,999.325989);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,291.282990,310.031982,999.154968);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 3)
			{
				SetPlayerPos(playerid,302.181000,300.722992,999.231995);
                SetPlayerInterior(playerid,4);
			}
			if(listitem == 4)
			{
				SetPlayerPos(playerid,322.197998,302.497986,999.231995);
                SetPlayerInterior(playerid,5);
			}
			if(listitem == 5)
			{
				SetPlayerPos(playerid,346.870025,309.259033,999.155700);
                SetPlayerInterior(playerid,6);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+6) // Hommies Houses
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,2464.109863,-1698.659912,1013.509949);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,2526.459961,-1679.089966,1015.500000);
                SetPlayerInterior(playerid,1);
			}
			if(listitem == 2)
			{
	  			SetPlayerPos(playerid,2549.0225,-1294.5924,1060.9844);
                SetPlayerInterior(playerid,2);
			}
			if(listitem == 3)
			{
	  		    SetPlayerPos(playerid,2547.268310,-1295.931762,1054.640625);
                SetPlayerInterior(playerid,2);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+7) // P.I.M.P Clubs
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,1212.019897,-28.663099,1001.089966);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,744.542969,1437.669922,1102.739990);
                SetPlayerInterior(playerid,6);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,964.106995,-53.205498,1001.179993);
                SetPlayerInterior(playerid,3);
			}
			if(listitem == 3)
			{
				SetPlayerPos(playerid,-2661.009766,1415.739990,923.305969);
                SetPlayerInterior(playerid,3);
			}
		}
		return 1;
	}

	if(dialogid == DIALOGID255+8) // Misc
	{
		if(response)
		{
			if(listitem == 0)
			{
				SetPlayerPos(playerid,2350.339844,-1181.649902,1028.000000);
                SetPlayerInterior(playerid,5);
			}
			if(listitem == 1)
			{
				SetPlayerPos(playerid,2807.619873,-1171.899902,1025.579956);
                SetPlayerInterior(playerid,8);
			}
			if(listitem == 2)
			{
				SetPlayerPos(playerid,318.564972,1118.209961,1083.979980);
                SetPlayerInterior(playerid,5);
			}
			if(listitem == 3)
			{
				SetPlayerPos(playerid,2324.419922,-1147.539917,1050.719971);
                SetPlayerInterior(playerid,12);
			}
			if(listitem == 4)
			{
				SetPlayerPos(playerid,-972.4957,1060.983,1345.669);
                SetPlayerInterior(playerid,10);
			}
		}
		return 1;
	}
	return 1;
}

public OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
	new string[128], idx = gEditID[playerid];
	if(response == EDIT_RESPONSE_UPDATE)
	{
	    SetDynamicObjectPos(objectid, x, y, z);
		SetDynamicObjectRot(objectid, rx, ry, rz);
	}
	else if(response == EDIT_RESPONSE_CANCEL)
	{
	    SetDynamicObjectPos(objectid, gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
		SetDynamicObjectRot(objectid, gRot[playerid][0], gRot[playerid][1], gRot[playerid][2]);
		gPos[playerid][0] = 0; gPos[playerid][1] = 0; gPos[playerid][2] = 0;
		gRot[playerid][0] = 0; gRot[playerid][1] = 0; gRot[playerid][2] = 0;
		format(string, sizeof(string), " You have canceled editing gate ID %d.", idx);
		SendClientMessage(playerid, COLOR_WHITE, string);
	}
	else if(response == EDIT_RESPONSE_FINAL)
	{
		SetDynamicObjectPos(objectid, x, y, z);
		SetDynamicObjectRot(objectid, rx, ry, rz);
		if(gEdit[playerid] == 1)
		{
		    GateInfo[idx][gCX] = x;
			GateInfo[idx][gCY] = y;
			GateInfo[idx][gCZ] = z;
			GateInfo[idx][gCRX] = rx;
			GateInfo[idx][gCRY] = ry;
			GateInfo[idx][gCRZ] = rz;
			if(IsValidDynamic3DTextLabel(GateInfo[idx][gText])) DestroyDynamic3DTextLabel(GateInfo[idx][gText]);
			format(string, sizeof(string), ""COE"(%d)", idx);
			GateInfo[idx][gText] = CreateDynamic3DTextLabel(string, COLOR_WHITE, GateInfo[idx][gCX], GateInfo[idx][gCY], GateInfo[idx][gCZ], 10);
		    gEdit[playerid] = 0;
		    gEditID[playerid] = 0;
		    format(string, sizeof(string), " You have finished editing gate ID %d's closing position.", idx);
		    SendClientMessage(playerid, COLOR_WHITE, string);
		    GateInfo[idx][gStatus] = 0;
		}
		else if(gEdit[playerid] == 2)
		{
		    GateInfo[idx][gOX] = x;
			GateInfo[idx][gOY] = y;
			GateInfo[idx][gOZ] = z;
			GateInfo[idx][gORX] = rx;
			GateInfo[idx][gORY] = ry;
			GateInfo[idx][gORZ] = rz;
			gEdit[playerid] = 0;
			gEditID[playerid] = 0;
			format(string, sizeof(string), " You have finished editing gate ID %d's opening position.", idx);
		    SendClientMessage(playerid, COLOR_WHITE, string);
		    GateInfo[idx][gStatus] = 1;
		}
	}
	return 1;
}

////////////////////////////////// STOCKS //////////////////////////////////
stock GetAntiSpamStatus()
{
	new status[32];
	if(USE_ANTI_SPAM == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiCrashStatus()
{
	new status[32];
	if(USE_ANTI_CRASH == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiVehicleHackStatus()
{
	new status[32];
	if(USE_ANTI_VEHICLE_HACK == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiFakeKillStatus()
{
	new status[32];
	if(USE_ANTI_FAKE_KILL == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiSpeedHackStatus()
{
	new status[32];
	if(USE_ANTI_SPEEDHACK == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiJetpackStatus()
{
	new status[32];
	if(USE_ANTI_JETPACK == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiHighPingStatus()
{
	new status[32];
	if(USE_ANTI_HIGHPING == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}
stock GetAntiWeaponHackStatus()
{
	new status[32];
	if(USE_ANTI_FAKE_KILL == true) { status = ""COL_NICEGREEN"ENABLED"COL_WHITE""; }
	else { status = ""COL_NICERED"DISABLED"COL_WHITE""; }
	return status;
}

forward AddSpeedBump(playerid);
public AddSpeedBump(playerid){
        new File:Handler = fopen("speedbumps.txt", io_append);
        new Float:X, Float:Y, Float:Z, Float:FA, String[128];
        GetPlayerPos(playerid, X, Y, Z);
        GetPlayerFacingAngle(playerid, FA);
        format(String, sizeof(String), "%f,%f,%f,%f\n", X, Y, Z, FA);
        if(!fwrite(Handler, String)) return false;
        if(!fclose(Handler)) return false;
        return true;
}

forward LoadSpeedBumps();
public LoadSpeedBumps(){
        if(!dini_Exists("speedbumps.txt")){
                return 1;
        }
        new File:Handler = fopen("speedbumps.txt", io_read);
        for(new i = 0; i < MAX_SPEEDBUMPS; i++){ }
        new String[256], SplitString[6][50];
        new sb = 0;
        while(fread(Handler, String)){
                split(String, SplitString, ',');
                SpeedBumps[sb][sbx] = strval(SplitString[0]);
                SpeedBumps[sb][sby] = strval(SplitString[1]);
                SpeedBumps[sb][sbz] = strval(SplitString[2]);
                SpeedBumps[sb][sbfa] = strval(SplitString[3]);
                SpeedBumps[sb][sbobjid] = CreateObject(19425, SpeedBumps[sb][sbx], SpeedBumps[sb][sby], SpeedBumps[sb][sbz]-0.3, 0.0, 0.0, SpeedBumps[sb][sbfa]);
                sb++;
        }
        fclose(Handler);
        return true;
}

public AddSpeedCam(playerid, maxspeed){
        new File:Handler = fopen("speedcams.txt", io_append);
        new Float:X, Float:Y, Float:Z, Float:FA, String[128];
        GetPlayerPos(playerid, X, Y, Z);
        GetPlayerFacingAngle(playerid, FA);
        format(String, sizeof(String), "%d,%f,%f,%f,%f\n", maxspeed, X, Y, Z, FA);
        if(!fwrite(Handler, String)) return false;
        if(!fclose(Handler)) return false;
        return true;
}

public LoadSpeedCams(){
        if(!dini_Exists("speedcams.txt")){
                return 1;
        }
        new File:Handler = fopen("speedcams.txt", io_read);
        for(new i = 0; i < MAX_SPEEDCAMS; i++){
                if(SpeedCams[i][scmaxspeed]){
                        DestroyObject(SpeedCams[i][scobjid]);
                }
        }
        new String[256], SplitString[6][24];
        new sc = 0;
        while(fread(Handler, String)){
                split(String, SplitString, ',');
                SpeedCams[sc][scmaxspeed] = strval(SplitString[0]);
                SpeedCams[sc][scx] = strval(SplitString[1]);
                SpeedCams[sc][scy] = strval(SplitString[2]);
                SpeedCams[sc][scz] = strval(SplitString[3]);
                SpeedCams[sc][scfa] = strval(SplitString[4]);
                SpeedCams[sc][scobjid] = CreateObject(18880, SpeedCams[sc][scx], SpeedCams[sc][scy], SpeedCams[sc][scz] - 1, 0.0, 0.0, SpeedCams[sc][scfa]);
                sc++;
        }
        fclose(Handler);
        return true;
}
public RemoveRadarTD(playerid)
{
	TextDrawHideForPlayer(playerid, radarTD[playerid]);
	return 1;
}
public SpeedCamsTimer(){
        new String[256], Float:tmpX, Float:tmpY;
        for(new i = 0; i < MAX_PLAYERS; i++){
                new State = GetPlayerState(i);
                if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i) && GetPlayerSpeed(i, true) > 0 && State == PLAYER_STATE_DRIVER){
                        for(new p = 0; p < MAX_SPEEDCAMS; p++){
                                tmpX = SpeedCams[p][scx];
                                tmpY = SpeedCams[p][scy];
                                GetDirectedXY(2, p, tmpX, tmpY, 5.0, 1);
                                if(IsPlayerInRangeOfPoint(i, 20.0, tmpX, tmpY, SpeedCams[p][scz])){
                                        new CSpeed;
                                        CSpeed = GetPlayerSpeed(i, true);
                                        if(CSpeed > SpeedCams[p][scmaxspeed] && SpeedCamPlayer[i] == 0){
                                                SpeedCamPlayer[i] = 1;
												TextDrawShowForPlayer(i, radarTD[i]);
												SetTimerEx("RemoveRadarTD",1000, false, "i", i);
                                                format(String, sizeof(String), "You were cought on speed cam(%d/%d) ((Pay system in make))", CSpeed, SpeedCams[p][scmaxspeed]);
                                                SendClientMessage(i, COLOR_RED, String);
                                                SetTimerEx("SpeedCamCheck", 5000, false, "d", i);
                                        }
                                }
                        }
                }
        }
}
public SpeedCamCheck(playerid){
        SpeedCamPlayer[playerid] = 0;
        return 1;
}

forward Unmute(playerid);
public Unmute(playerid)
{
	pMuted[playerid] = false;
	pLineCount[playerid] = 0;
	return 1;
}
forward LineCountReset(playerid);
public LineCountReset(playerid)
{
	pLineCount[playerid] = 0;
	return 1;
}
forward VehicleModReset(playerid);
public VehicleModReset(playerid)
{
	pVehicleMods[playerid] = 0;
	return 1;
}
forward VehicleEnterReset(playerid);
public VehicleEnterReset(playerid)
{
	pVehicles[playerid] = 0;
	return 1;
}

stock CreateMoney(Float:x,Float:y,Float:z,amount) // Money
{
    for(new i = 0; i < sizeof(MoneyInfo); i++)
  	{
  	    if(MoneyInfo[i][mCreated] == 0)
  	    {
            MoneyInfo[i][mCreated]=1;
            MoneyInfo[i][mbX]=x;
            MoneyInfo[i][mbY]=y;
            MoneyInfo[i][mbZ]=z;
            MoneyInfo[i][mPickup] = CreateDynamicPickup(1550, 23, x, y, z);
			MoneyInfo[i][mAmount] = amount;
			MoneyInfo[i][mMoneybag] = 1;
			return 1;
  	    }
  	}
  	return 0;
}

stock DeleteClosestBag(playerid)
{
    for(new i = 0; i < sizeof(MoneyInfo); i++)
  	{
  	    if(IsPlayerInRangeOfPoint(playerid, 4.0, MoneyInfo[i][mbX], MoneyInfo[i][mbY], MoneyInfo[i][mbZ]))
        {
  	        if(MoneyInfo[i][mCreated] == 1)
            {
                new sendername[MAX_PLAYER_NAME];
                new string[128];
                new location[MAX_ZONE_NAME];
                GetPlayerName(playerid, sendername, sizeof(sendername));
				GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
                format(string, sizeof(string), "WARNING: %s has destroyed a money bag in %s (%0.2f, %0.2f, %0.2f).", sendername, location, MoneyInfo[i][mbX], MoneyInfo[i][mbY], MoneyInfo[i][mbZ]);
                SendAdminMessage(COLOR_RED, 1, string);
                MoneyInfo[i][mCreated]=0;
            	MoneyInfo[i][mbX]=0.0;
            	MoneyInfo[i][mbY]=0.0;
            	MoneyInfo[i][mbZ]=0.0;
            	MoneyInfo[i][mAmount] = 0;
            	MoneyInfo[i][mMoneybag] = 0;
            	DestroyDynamicPickup(MoneyInfo[i][mPickup]);
                return 1;
  	        }
  	    }
  	}
    return 0;
}

stock DeleteAllBags()
{
    for(new i = 0; i < sizeof(MoneyInfo); i++)
  	{
  	    if(MoneyInfo[i][mCreated] == 1)
  	    {
  	        MoneyInfo[i][mCreated]=0;
            MoneyInfo[i][mbX]=0.0;
            MoneyInfo[i][mbY]=0.0;
            MoneyInfo[i][mbZ]=0.0;
            MoneyInfo[i][mAmount] = 0;
            MoneyInfo[i][mMoneybag] = 0;
            DestroyDynamicPickup(MoneyInfo[i][mPickup]);
  	    }
	}
    return 0;
}

stock AntiAdv(playerid, text[])
{
    // Anti Adv
    new strR[255], is1=0, r=0;
 	while(strlen(text[is1]))
 	{
  		if('0'<=text[is1]<='9')
  		{
	 		new is2=is1+1, p=0;
	   		while(p==0)
		  	{
		   		if('0'<=text[is2]<='9'&&strlen(text[is2]))
			   	{
				   is2++;
				}
			 	else
			  	{
				   	strmid(strR[r],text,is1,is2,255);
				   	if(strval(strR[r])<255) r++;
				    is1=is2;
				    p=1;
		    	}
		    }
	    }
    	is1++;
 	}
 	if(r>=4)
 	{
	  	new strMy[255];
	  	format(strMy, sizeof(strMy), "{FF0000}[Admin Warn]{FF6347} %s is attempting to Server Advertise: %s", NORPN(playerid), text);
	  	SendAdminMessage(COLOR_DARKRED, 1, strMy);
	   	new pr2;
	  	for(new z=0;z<r;z++)
	  	{

		   	while((pr2=strfind(text,strR[z],true))!=-1)
			{
				for(new i=pr2,j=pr2+strlen(strR[z]);i<j;i++)
				{
					text[i]='*';
				}
			}
	  	}
	  	return 1;
 	}
 	return 0;
}

stock GetDirectedXY(type, id, &Float:x, &Float:y, Float:distance, Direction)
{
        new Float:rx, Float:ry, Float:a;
        if(type == 1){
                GetPlayerFacingAngle(id, a);
        }else if(type == 2){
                GetObjectRot(id, rx, ry, a);
        }
        if(Direction <= 0){
                x -= (distance * floatsin(-a, degrees));
                y -= (distance * floatcos(-a, degrees));
        }else if(Direction >= 1){
                x += (distance * floatsin(-a, degrees));
                y += (distance * floatcos(-a, degrees));
        }
}

/*stock AntiAdv(playerid, text[])
{
	new string[128];
	if(PlayerInfo[playerid][pAdmin] < 5) {
		if(strfind(text, ":", true) != -1) {
			new
				i_numcount,
				i_period,
				i_pos;

			while(text[i_pos]) {
				if('0' <= text[i_pos] <= '9') i_numcount++;
				else if(text[i_pos] == '.') i_period++;
				i_pos++;
			}
			if(i_numcount >= 8 && i_period >= 3) {
	  			format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is attempting to Server Advertise: %s", NORPN(playerid), text);
	  			SendAdminMessage(COLOR_DARKRED, 1, string);
				Log("logs/adv.log", string);
				return 0;
			}
		}
	}
 	return 0;
}*/

stock IsAtFishingSpot(playerid)
{
	if(IsPlayerInRangeOfPoint(playerid, 2, 403.8016,-2088.7976,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 398.7358,-2088.7939,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 396.1771,-2088.7976,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 391.0683,-2088.7974,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 383.4282,-2088.7969,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 374.9623,-2088.7974,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 369.8990,-2088.7976,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 367.3003,-2088.7981,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 362.1855,-2088.7974,7.8359)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 354.5370,-2088.7983,7.8359)) return 1;
	return 0;
}

stock SendRobberyMessage(color, string[])
{
	foreach(Player, playerid)
	{
	    if(BankRobber[playerid])
	    {
	        SendClientMessage(playerid, color, string);
	    }
	}
	return 1;
}

stock IsHoldingBullets(playerid)
{
	if(GetPlayerWeapon(playerid) < 22) return 0;
	if(GetPlayerWeapon(playerid) > 38) return 0;
	return 1;
}

stock SendGymMessage(color, string[])
{
	foreach(Player, playerid)
	{
		if(GetPlayerInterior(playerid) == 5 && GetPlayerVirtualWorld(playerid) == 1)
		{
		    SendClientMessage(playerid, color, string);
		}
	}
	return 1;
}


stock CreateStrip(Float:x,Float:y,Float:z,Float:Angle)
{
    for(new i = 0; i < sizeof(SpikeInfo); i++)
  	{
  	    if(SpikeInfo[i][sCreated] == 0)
  	    {
            SpikeInfo[i][sCreated]=1;
            SpikeInfo[i][sX]=x;
            SpikeInfo[i][sY]=y;
            SpikeInfo[i][sZ]=z-0.7;
            SpikeInfo[i][sObject] = CreateDynamicObject(2899, x, y, z-0.9, 0, 0, Angle-90);
	        return 1;
  	    }
  	}
  	return 0;
}

stock DeleteAllStrip()
{
    for(new i = 0; i < sizeof(SpikeInfo); i++)
  	{
  	    if(SpikeInfo[i][sCreated] == 1)
  	    {
  	        SpikeInfo[i][sCreated]=0;
            SpikeInfo[i][sX]=0.0;
            SpikeInfo[i][sY]=0.0;
            SpikeInfo[i][sZ]=0.0;
            DestroyDynamicObject(SpikeInfo[i][sObject]);
  	    }
	}
    return 1;
}

stock DeleteClosestStrip(playerid)
{
	new done, string[128];
    for(new i = 0; i < sizeof(SpikeInfo); i++)
  	{
  	    if(IsPlayerInRangeOfPoint(playerid, 2.0, SpikeInfo[i][sX], SpikeInfo[i][sY], SpikeInfo[i][sZ]))
        {
  	        if(SpikeInfo[i][sCreated] == 1)
            {
                SpikeInfo[i][sCreated]=0;
                SpikeInfo[i][sX]=0.0;
                SpikeInfo[i][sY]=0.0;
                SpikeInfo[i][sZ]=0.0;
                DestroyDynamicObject(SpikeInfo[i][sObject]);
                format(string, sizeof(string), "LSPD: %s has removed a spike strip.", RPN(playerid));
 				SendCopMessage(COLOR_BLUE, string);
 				SendFBIMessage(COLOR_BLUE, string);
 				done = 1;
  	        }
  	    }
  	}
  	if(!done) SendClientMessage(playerid, COLOR_GREY, "You are not near a spike strip.");
    return 1;
}

encode_tires(tires1, tires2, tires3, tires4) {

	return tires1 | (tires2 << 1) | (tires3 << 2) | (tires4 << 3);

}

stock IsATowTruck(carid)
{
	if(GetVehicleModel(carid) == 485 || GetVehicleModel(carid) == 525 || GetVehicleModel(carid) == 583 || GetVehicleModel(carid) == 574)
	{
		return 1;
	}
	return 0;
}
stock GetNumberOfPlayersOnThisIP(test_ip[])
{
	new against_ip[32+1];
	new x = 0;
	new ip_count = 0;
	for(x=0; x<MAX_PLAYERS; x++) {
		if(IsPlayerConnected(x)) {
		    GetPlayerIp(x,against_ip,32);
		    if(!strcmp(against_ip,test_ip)) ip_count++;
		}
	}
	return ip_count;
}

stock AntiTPCheck(playerid)
{
	if(AntiTP[playerid])
	{
	    new string[128];
		format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been autobanned, reason: TP Hacks", RPN(playerid));
        SendClientMessageToAll(COLOR_LIGHTRED, string);
        Log("logs/ban.log", string);
		// Banreason
		new file[32];
		format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
		dini_Set(file, "BanReason", "TP Hacks");
		dini_Set(file, "BannedBy", "AutoBan");
		PlayerInfo[playerid][pBanned] = 1;
		AddBan(playerid);
		FixedKick(playerid);
	}
	return 1;
}
stock SaveMOTDS()
{
	new file[16];
	format(file, sizeof(file), "motds.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	dini_Set(file, "Server", ServerMOTD);
	dini_Set(file, "SAPD", SAPDMOTD);
	dini_Set(file, "GOV", GOVMOTD);
	dini_Set(file, "HA", HAMOTD);
	dini_Set(file, "Admin", AdminMOTD);
	print("MOTDs saved successfully.");
}
stock LoadMOTDS()
{
	new file[16];
	format(file, sizeof(file), "motds.cfg");
	format(ServerMOTD, 128, "%s", dini_Get(file, "Server"));
	format(SAPDMOTD, 128, "%s", dini_Get(file, "SAPD"));
	format(GOVMOTD, 128, "%s", dini_Get(file, "GOV"));
	format(HAMOTD, 128, "%s", dini_Get(file, "HA"));
	format(AdminMOTD, 128, "%s", dini_Get(file, "Admin"));
	print("MOTDs loaded successfully.");
}
stock LoadDrugs()
{
	new file[32];
	format(file, sizeof(file), "drugs.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	Weed = dini_Int(file, "Weed");
	Crack = dini_Int(file, "Crack");
	print("Drugs loaded successfully.");
	return 1;
}
stock SaveDrugs()
{
	new file[32];
	format(file, sizeof(file), "drugs.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	dini_IntSet(file, "Weed", Weed);
	dini_IntSet(file, "Crack", Crack);
	print("Drugs saved successfully.");
	return 1;
}

stock LoadProducts()
{
	new file[32];
	format(file, sizeof(file), "products.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	Products = dini_Int(file, "Products");
	print("Products loaded successfully.");
	return 1;
}
stock SaveProducts()
{
	new file[32];
	format(file, sizeof(file), "products.cfg");
	if(!dini_Exists(file)) dini_Create(file);
	dini_IntSet(file, "Products", Products);
	print("Products saved successfully.");
	return 1;
}

stock LoadStaticVehicles()
{
    // DMV Vehicles
	DMVCar[0] = CreateVehicle(405,2052.8206,-1903.9745,13.3249,359.6511-180,6,1,300); // Car1
	DMVCar[1] = CreateVehicle(405,2056.1641,-1903.9946,13.3470,359.6512-180,6,1,300); // Car2
	DMVCar[2] = CreateVehicle(405,2059.3220,-1904.0138,13.3470,359.6512-180,6,1,300); // Car3
	DMVCar[3] = CreateVehicle(405,2062.5098,-1904.0331,13.3470,359.6512-180,6,1,300); // Car4
	DMVCar[4] = CreateVehicle(405,2065.6597,-1904.0526,13.3470,359.6512-180,6,1,300); // Car5
//	DMVCar[0] = CreateVehicle(457,2052.8206,-1903.9745,13.3249,359.6511-180,6,1,300); // Car1
//	DMVCar[1] = CreateVehicle(457,2056.1641,-1903.9946,13.3470,359.6512-180,6,1,300); // Car2
//	DMVCar[2] = CreateVehicle(457,2059.3220,-1904.0138,13.3470,359.6512-180,6,1,300); // Car3
//	DMVCar[3] = CreateVehicle(457,2062.5098,-1904.0331,13.3470,359.6512-180,6,1,300); // Car4
//	DMVCar[4] = CreateVehicle(457,2065.6597,-1904.0526,13.3470,359.6512-180,6,1,300); // Car5

    // DMV Vehicles (Pilot)
//	DMVPCar[0] = CreateVehicle(487,1981.8250,-2191.7563,13.6506,178.6878,1,0,300); // Helicopter
//	DMVPCar[1] = CreateVehicle(487,1995.1591,-2189.4990,13.7969,182.5019,1,0,300); // Helicopter
//	DMVPCar[2] = CreateVehicle(487,2009.7246,-2190.0034,13.7143,179.6754,1,0,300); // Helicopter
//	DMVPCar[3] = CreateVehicle(487,1993.3014,-2213.0210,13.7205,2.8374,1,0,300); // Helicopter

	// Ancelotti Vehicles
	FacInfo[10][fCars][0] = CreateVehicle(579,1227.6233,-1698.8890,13.1718,180.4837,0,0,32000); // huntley.1
	FacInfo[10][fCars][1] = CreateVehicle(579,1223.8813,-1698.3345,13.1719,181.0483,0,0,32000); // huntley.2
	FacInfo[10][fCars][2] = CreateVehicle(579,1218.5659,-1697.7808,13.1719,179.0787,0,0,32000); // huntley.3
	FacInfo[10][fCars][3] = CreateVehicle(560,1259.8885,-1697.7495,13.1717,179.7589,0,0,32000); // sultan.1
	FacInfo[10][fCars][4] = CreateVehicle(560,1264.9923,-1698.0897,13.1719,182.3870,0,0,32000); // sultan.2
	FacInfo[10][fCars][5] = CreateVehicle(405,1274.9950,-1697.7700,13.1719,181.0713,0,0,32000); // sentinel.1

	// Corleone Vehicles
	FacInfo[9][fCars][0] = CreateVehicle(579,1812.5293,-1277.6428,13.6011,92.7734,222,222,32000); //
	FacInfo[9][fCars][1] = CreateVehicle(579,1812.7413,-1282.9141,13.5509,93.9408,222,222,32000); //
	FacInfo[9][fCars][2] = CreateVehicle(507,1810.7054,-1287.1771,13.4501,40.2121,0,0,32000); //
	FacInfo[9][fCars][3] = CreateVehicle(560,1807.6416,-1290.0916,13.3342,39.8907,244,244,32000); //
	FacInfo[9][fCars][4] = CreateVehicle(429,1802.7886,-1293.7577,13.1690,45.7112,0,166,32000); //
	FacInfo[9][fCars][5] = CreateVehicle(409,1794.6732,-1301.5957,13.2955,33.2452,222,1,32000); //

		// East Side Fellas
	FacInfo[13][fCars][0] = CreateVehicle(426,2796.6909,-1562.7631,10.6810,269.0125,6,0,32000); // 
	FacInfo[13][fCars][1] = CreateVehicle(426,2796.5784,-1558.4218,10.6752,268.9143,6,0,32000); // 
	FacInfo[13][fCars][2] = CreateVehicle(579,2796.3259,-1553.9834,10.9189,270.3480,6,0,32000); // 
	FacInfo[13][fCars][3] = CreateVehicle(579,2796.1196,-1549.2782,10.9193,268.0776,6,0,32000); // 
	FacInfo[13][fCars][4] = CreateVehicle(560,2803.2222,-1540.3842,10.6073,180.2256,6,0,32000); // 
	FacInfo[13][fCars][5] = CreateVehicle(560,2807.4163,-1540.3541,10.6095,181.4541,6,0,32000); // 
	FacInfo[13][fCars][6] = CreateVehicle(560,2811.4109,-1540.4742,10.5768,178.5556,6,0,32000); // 
	FacInfo[13][fCars][7] = CreateVehicle(560,2815.9712,-1540.3290,10.6078,180.1459,6,0,32000); // 
	FacInfo[13][fCars][8] = CreateVehicle(522,2822.1162,-1540.1100,10.4922,142.0145,6,0,32000); // 
	FacInfo[13][fCars][9] = CreateVehicle(522,2823.3872,-1540.7590,10.4895,143.0956,6,0,32000); // 
	FacInfo[13][fCars][10] = CreateVehicle(451,2822.2666,-1548.5287,10.6373,90.8945,6,0,32000); // 
	FacInfo[13][fCars][11] = CreateVehicle(451,2822.1748,-1553.3171,10.6345,90.8914,6,0,32000); // 
	FacInfo[13][fCars][12] = CreateVehicle(482,2822.5862,-1557.8972,11.0488,90.8181,6,0,32000); // 
	FacInfo[13][fCars][13] = CreateVehicle(482,2822.5679,-1562.0330,11.0438,90.9495,6,0,32000); // 
	FacInfo[13][fCars][14] = CreateVehicle(487,2803.7043,-1638.1514,28.8040,175.9252,6,0,32000); // 
	FacInfo[13][fCars][15] = CreateVehicle(487,2808.5835,-1608.0383,28.7361,358.7392,6,0,32000); // 	
	
	// HSF Vehicles
/*	FacInfo[8][fCars][0] = CreateVehicle(411,582.4000244,-1263.0000000,17.2999992,100.0000000,32,32,32000); //Infernus
	FacInfo[8][fCars][1] = CreateVehicle(411,581.7000122,-1259.8000488,17.6000004,99.9975586,32,32,32000); //Infernus
	FacInfo[8][fCars][2] = CreateVehicle(411,583.0999756,-1268.0000000,16.8999996,99.9975586,32,32,32000); //Infernus
	FacInfo[8][fCars][3] = CreateVehicle(411,584.0000000,-1271.8000488,16.7000008,99.9975586,32,32,32000); //Infernus
	FacInfo[8][fCars][4] = CreateVehicle(528,585.7999878,-1281.1999512,16.3999996,100.0000000,-1,-1,32000); //FBI Truck
	FacInfo[8][fCars][5] = CreateVehicle(528,584.7998047,-1277.3994141,16.7000008,99.9975586,-1,-1,32000); //FBI Truck
	FacInfo[8][fCars][6] = CreateVehicle(528,587.0999756,-1285.1999512,16.1000004,99.9975586,-1,-1,32000); //FBI Truck
	FacInfo[8][fCars][7] = CreateVehicle(579,598.0000000,-1286.0000000,15.8999996,200.0000000,45,58,32000); //Huntley
	FacInfo[8][fCars][8] = CreateVehicle(579,593.1992188,-1287.3994141,15.8000002,199.9951172,45,58,32000); //Huntley
	FacInfo[8][fCars][9] = CreateVehicle(426,607.5000000,-1284.3000488,15.6000004,200.0000000,22,34,32000); //Premier
	FacInfo[8][fCars][10] = CreateVehicle(426,602.8994141,-1285.2998047,15.6000004,199.9951172,22,34,32000); //Premier
	FacInfo[8][fCars][11] = CreateVehicle(487,590.8994141,-1277.1992188,64.5000000,0.0000000,165,169,32000); //Maverick
	FacInfo[8][fCars][12] = CreateVehicle(487,600.0999756,-1265.9000244,64.5000000,0.0000000,165,169,32000); //Maverick
	FacInfo[8][fCars][13] = CreateVehicle(487,588.4000244,-1258.0999756,64.5000000,0.0000000,165,169,32000); //Maverick*/

/*	FacInfo[8][fCars][0] = CreateVehicle(596,1907.4921,-1704.3187,5.6039,359.7049,93,1,32000); //
	FacInfo[8][fCars][1] = CreateVehicle(596,1902.4305,-1704.3811,5.6306,0.5144,93,1,32000); //
	FacInfo[8][fCars][2] = CreateVehicle(596,1898.2970,-1704.5057,5.6093,0.1723,93,1,32000); //
	FacInfo[8][fCars][3] = CreateVehicle(596,1893.2321,-1704.3342,5.6084,359.8621,93,1,32000); //
	FacInfo[8][fCars][4] = CreateVehicle(596,1888.3170,-1703.9951,5.6298,358.8859,93,1,32000); //
	FacInfo[8][fCars][5] = CreateVehicle(596,1883.3998,-1703.8606,5.6288,359.2871,93,1,32000); //
	FacInfo[8][fCars][6] = CreateVehicle(596,1878.2758,-1703.7375,5.5930,2.5513,93,1,32000); //
	FacInfo[8][fCars][7] = CreateVehicle(596,1873.3475,-1703.9694,5.6037,0.6025,93,1,32000); //
	FacInfo[8][fCars][8] = CreateVehicle(596,1868.1941,-1704.0940,5.6149,0.4063,93,1,32000); //
	FacInfo[8][fCars][9] = CreateVehicle(596,1872.4734,-1685.1179,5.6000,180.1529,93,1,32000); //
	FacInfo[8][fCars][10] = CreateVehicle(596,1868.4481,-1685.4449,5.6193,176.8086,93,1,32000); //
	FacInfo[8][fCars][11] = CreateVehicle(596,1863.8356,-1685.4951,5.6280,178.5665,93,1,32000); //
	FacInfo[8][fCars][12] = CreateVehicle(596,1859.4783,-1685.8698,5.5948,178.6846,93,1,32000); //
	FacInfo[8][fCars][13] = CreateVehicle(507,1838.9119,-1704.6995,5.6252,269.1672,93,93,32000); //
	FacInfo[8][fCars][14] = CreateVehicle(507,1839.1489,-1699.6646,5.6292,269.7756,93,93,32000); //
	FacInfo[8][fCars][15] = CreateVehicle(507,1839.1458,-1695.4155,5.6278,269.9062,93,93,32000); //
	FacInfo[8][fCars][16] = CreateVehicle(507,1839.3304,-1691.0599,5.6409,269.2614,93,93,32000); //
	FacInfo[8][fCars][17] = CreateVehicle(507,1839.0352,-1686.7308,5.6327,268.1804,93,93,32000); //
	FacInfo[8][fCars][18] = CreateVehicle(507,1839.1539,-1682.5110,5.6389,268.6353,93,93,32000); //
	FacInfo[8][fCars][19] = CreateVehicle(507,1838.9360,-1678.0292,5.6275,267.7786,93,93,32000); //
	FacInfo[8][fCars][20] = CreateVehicle(523,1837.2694,-1669.0768,5.3511,197.1920,93,93,32000); //
	FacInfo[8][fCars][21] = CreateVehicle(523,1840.8633,-1668.6902,5.3457,198.5487,93,93,32000); //
	FacInfo[8][fCars][22] = CreateVehicle(523,1842.7644,-1669.5156,5.3322,195.8520,93,93,32000); //
	FacInfo[8][fCars][23] = CreateVehicle(523,1839.4165,-1668.1823,5.3456,196.9292,93,93,32000); //
	FacInfo[8][fCars][24] = CreateVehicle(490,1839.0114,-1660.5790,5.6964,270.5123,93,1,32000); //
	FacInfo[8][fCars][25] = CreateVehicle(427,1840.7511,-1656.2748,5.9156,269.0533,1,93,32000); //
	FacInfo[8][fCars][26] = CreateVehicle(427,1840.5962,-1651.9858,5.9315,271.0798,1,93,32000); //
	FacInfo[8][fCars][27] = CreateVehicle(427,1840.7177,-1647.3993,5.9158,267.8777,1,93,32000); //
	FacInfo[8][fCars][28] = CreateVehicle(490,1839.8099,-1634.4514,5.6320,267.4928,93,93,32000); //
	FacInfo[8][fCars][29] = CreateVehicle(426,1845.8104,-1627.2059,5.5311,177.9270,93,93,32000); //
	FacInfo[8][fCars][30] = CreateVehicle(426,1851.0746,-1627.1434,5.5487,179.3706,93,93,32000); //
	FacInfo[8][fCars][31] = CreateVehicle(426,1855.7358,-1627.5195,5.5273,177.9712,93,93,32000); //
	FacInfo[8][fCars][32] = CreateVehicle(579,1860.1699,-1627.5553,5.7155,178.8487,93,93,32000); //
	FacInfo[8][fCars][33] = CreateVehicle(411,1882.1576,-1651.8386,5.5028,271.5656,93,93,32000); //
	FacInfo[8][fCars][34] = CreateVehicle(411,1881.9620,-1656.0886,5.5058,270.6616,93,93,32000); //
	FacInfo[8][fCars][35] = CreateVehicle(411,1882.0876,-1660.6622,5.5168,269.2938,93,93,32000); //
	FacInfo[8][fCars][36] = CreateVehicle(411,1882.3162,-1665.3875,5.4945,268.3829,93,93,32000); //
	FacInfo[8][fCars][37] = CreateVehicle(411,1882.1958,-1669.5000,5.4983,267.9893,93,93,32000); //
	FacInfo[8][fCars][38] = CreateVehicle(411,1881.9491,-1674.2578,5.4913,268.1466,93,93,32000); */

	FacInfo[8][fCars][0] = CreateVehicle(411,1797.7554,-1702.3247,13.2595,0.2669,93,93,32000); //
	FacInfo[8][fCars][1] = CreateVehicle(411,1793.5819,-1702.4757,13.2552,2.7585,93,93,32000); //
	FacInfo[8][fCars][2] = CreateVehicle(411,1789.4122,-1702.5399,13.2241,3.1492,93,93,32000); //
	FacInfo[8][fCars][3] = CreateVehicle(411,1784.5962,-1702.8901,13.2358,0.9649,93,93,32000); //
	FacInfo[8][fCars][4] = CreateVehicle(411,1780.2374,-1702.8115,13.2072,3.9782,93,93,32000); //
	FacInfo[8][fCars][5] = CreateVehicle(411,1776.2375,-1702.6431,13.2228,359.1606,93,93,32000); //
	FacInfo[8][fCars][6] = CreateVehicle(411,1772.5663,-1702.8702,13.2224,2.3476,93,93,32000); //
	FacInfo[8][fCars][7] = CreateVehicle(596,1772.2197,-1690.6658,13.2742,183.6508,93,93,32000); //
	FacInfo[8][fCars][8] = CreateVehicle(596,1776.1062,-1690.7542,13.2703,181.3448,93,93,32000); //
	FacInfo[8][fCars][9] = CreateVehicle(596,1780.0645,-1690.7268,13.2674,181.4956,93,93,32000); //
	FacInfo[8][fCars][10] = CreateVehicle(596,1784.2192,-1690.8046,13.2807,182.5207,93,93,32000); //
	FacInfo[8][fCars][11] = CreateVehicle(596,1788.6852,-1690.5764,13.2753,175.9561,93,93,32000); //
	FacInfo[8][fCars][12] = CreateVehicle(596,1793.1976,-1691.2347,13.3157,181.4898,93,93,32000); //
	FacInfo[8][fCars][13] = CreateVehicle(596,1797.4338,-1691.5071,13.3127,179.8638,93,93,32000); //
	FacInfo[8][fCars][14] = CreateVehicle(490,1806.9095,-1689.8235,13.4491,91.8536,93,93,32000); //
	FacInfo[8][fCars][15] = CreateVehicle(490,1805.9969,-1693.7200,13.4557,92.7933,93,93,32000); //
	FacInfo[8][fCars][16] = CreateVehicle(490,1806.9286,-1697.8014,13.4569,94.3003,93,93,32000); //
	FacInfo[8][fCars][17] = CreateVehicle(490,1806.9154,-1701.9933,13.4580,95.4330,93,93,32000); //
	FacInfo[8][fCars][18] = CreateVehicle(427,1808.8691,-1708.1665,13.6812,0.3054,93,93,32000); //
	FacInfo[8][fCars][19] = CreateVehicle(427,1805.6155,-1708.2487,13.6754,359.7655,93,93,32000); //


	// Police Vehicles
/*	FacInfo[1][fCars][1] = CreateVehicle(599,1585.0000000,-1667.6999500,6.3000000,270.0000000,0,1,32000); //Police Ranger
	FacInfo[1][fCars][2] = CreateVehicle(599,1585.0996100,-1671.5996100,6.3000000,270.0000000,0,1,32000); //Police Ranger
	FacInfo[1][fCars][3] = CreateVehicle(596,1600.6999500,-1680.3000500,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][4] = CreateVehicle(596,1600.5999800,-1684.0999800,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][5] = CreateVehicle(596,1600.8000500,-1687.8000500,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][6] = CreateVehicle(596,1600.9000200,-1692.0000000,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][7] = CreateVehicle(596,1601.0000000,-1696.0000000,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][8] = CreateVehicle(596,1601.1999500,-1700.0000000,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][9] = CreateVehicle(596,1601.4000200,-1704.0000000,5.7000000,90.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][10] = CreateVehicle(596,1595.1999500,-1710.1999500,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][11] = CreateVehicle(596,1591.5999800,-1710.3000500,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][12] = CreateVehicle(596,1587.5000000,-1710.5000000,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][13] = CreateVehicle(596,1583.5999800,-1710.5999800,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][14] = CreateVehicle(596,1578.4000200,-1710.3000500,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][15] = CreateVehicle(596,1574.3000500,-1710.5000000,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][16] = CreateVehicle(596,1570.5000000,-1710.5000000,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][17] = CreateVehicle(596,1559.0999800,-1710.0000000,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][18] = CreateVehicle(596,1566.0999800,-1710.5999800,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][19] = CreateVehicle(596,1563.0000000,-1710.5000000,5.7000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][20] = CreateVehicle(490,1529.0999800,-1683.9000200,6.2000000,270.0000000,0,1,32000); //FBI Rancher
	FacInfo[1][fCars][21] = CreateVehicle(490,1529.1992200,-1687.6992200,6.2000000,270.0000000,0,1,32000); //FBI Rancher
	FacInfo[1][fCars][22] = CreateVehicle(490,1544.9000200,-1688.9000200,6.2000000,90.0000000,0,1,32000); //FBI Rancher
	FacInfo[1][fCars][23] = CreateVehicle(490,1544.5000000,-1684.5999800,6.2000000,90.0000000,0,1,32000); //FBI Rancher
	FacInfo[1][fCars][24] = CreateVehicle(601,1530.6999500,-1645.4000200,5.8000000,180.0000000,0,1,32000); //S.W.A.T. Van
	FacInfo[1][fCars][25] = CreateVehicle(601,1526.5996100,-1645.2998000,5.8000000,180.0000000,0,1,32000); //S.W.A.T. Van
	FacInfo[1][fCars][26] = CreateVehicle(427,1538.5999800,-1645.4000200,6.1000000,182.0000000,0,1,32000); //Enforcer
	FacInfo[1][fCars][27] = CreateVehicle(427,1534.7998000,-1646.0000000,6.1000000,182.0000000,0,1,32000); //Enforcer
	FacInfo[1][fCars][28] = CreateVehicle(541,1544.3000500,-1680.0999800,5.6000000,90.0000000,0,1,32000); //Bullet
	FacInfo[1][fCars][29] = CreateVehicle(541,1544.0000000,-1676.0999800,5.6000000,90.0000000,0,1,32000); //Bullet
	FacInfo[1][fCars][30] = CreateVehicle(541,1544.4000200,-1672.3000500,5.6000000,90.0000000,0,1,32000); //Bullet
	FacInfo[1][fCars][31] = CreateVehicle(528,1544.4000200,-1667.8000500,6.1000000,90.0000000,0,1,32000); //FBI Truck
	FacInfo[1][fCars][32] = CreateVehicle(528,1544.3000500,-1663.5000000,6.1000000,90.0000000,0,1,32000); //FBI Truck
	FacInfo[1][fCars][33] = CreateVehicle(528,1544.0999800,-1659.0999800,6.1000000,90.0000000,0,1,32000); //FBI Truck
	FacInfo[1][fCars][34] = CreateVehicle(528,1543.9000200,-1655.0999800,6.1000000,90.0000000,0,1,32000); //FBI Truck
	FacInfo[1][fCars][35] = CreateVehicle(528,1544.3000500,-1651.3000500,6.1000000,90.0000000,0,1,32000); //FBI Truck
	FacInfo[1][fCars][36] = CreateVehicle(596,1535.6999500,-1677.6999500,13.2000000,0.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][37] = CreateVehicle(596,1535.5000000,-1667.7998000,13.2000000,180.0000000,0,1,32000); //Police Car (LSPD)
	FacInfo[1][fCars][38] = CreateVehicle(497,1567.1999500,-1643.1999500,28.7000000,90.0000000,0,1,32000); //Police Maverick
	FacInfo[1][fCars][39] = CreateVehicle(497,1551.7998000,-1643.0000000,28.7000000,90.0000000,0,1,32000); //Police Maverick
	FacInfo[1][fCars][40] = CreateVehicle(497,1567.5000000,-1706.0999800,28.7000000,90.0000000,0,1,32000); //Police Maverick
	FacInfo[1][fCars][41] = CreateVehicle(497,1550.7998000,-1706.6992200,28.7000000,90.0000000,0,1,32000); //Police Maverick
	FacInfo[1][fCars][42] = CreateVehicle(523,1530.0715,-1688.0465,5.4559,267.5331,1,0,32000); // Bike1
	FacInfo[1][fCars][43] = CreateVehicle(523,1526.7520,-1688.0627,5.4582,268.2188,1,0,32000); // Bike2
	FacInfo[1][fCars][44] = CreateVehicle(523,1529.9504,-1683.8184,5.4578,271.5452,1,0,32000); // Bike3
	FacInfo[1][fCars][45] = CreateVehicle(523,1526.6595,-1683.8164,5.4625,271.1716,1,0,32000); // Bike4
*/
	FacInfo[1][fCars][0] = CreateVehicle(596,1601.9502,-1683.9442,5.5580,90.0662,0,1,32000); // Crusier1
	FacInfo[1][fCars][1] = CreateVehicle(596,1601.9349,-1688.1353,5.5585,89.8182,0,1,32000); // Crusier2
	FacInfo[1][fCars][2] = CreateVehicle(596,1602.0319,-1691.9169,5.5580,90.1704,0,1,32000); // Crusier3
	FacInfo[1][fCars][3] = CreateVehicle(596,1602.1292,-1695.9916,5.5580,88.9515,0,1,32000); // Crusier4
	FacInfo[1][fCars][4] = CreateVehicle(596,1602.1547,-1700.2701,5.5580,89.4748,0,1,32000); // Crusier5
	FacInfo[1][fCars][5] = CreateVehicle(596,1602.0511,-1704.3525,5.5580,88.4754,0,1,32000); // Crusier6
	FacInfo[1][fCars][6] = CreateVehicle(599,1585.2120,-1667.6892,6.1291,270.2057,0,1,32000); // Ranger1
	FacInfo[1][fCars][7] = CreateVehicle(599,1585.1547,-1671.9965,6.1323,271.1247,0,1,32000); // Ranger2
	FacInfo[1][fCars][8] = CreateVehicle(523,1530.0715,-1688.0465,5.4559,267.5331,1,0,32000); // Bike1
	FacInfo[1][fCars][9] = CreateVehicle(523,1526.7520,-1688.0627,5.4582,268.2188,1,0,32000); // Bike2
	FacInfo[1][fCars][10] = CreateVehicle(523,1529.9504,-1683.8184,5.4578,271.5452,1,0,32000); // Bike3
	FacInfo[1][fCars][11] = CreateVehicle(523,1526.6595,-1683.8164,5.4625,271.1716,1,0,32000); // Bike4
	FacInfo[1][fCars][12] = CreateVehicle(411,1545.3519,-1680.2714,5.6263,88.9375,0,1,32000); // Speed1Infernus
	FacInfo[1][fCars][13] = CreateVehicle(411,1545.3575,-1676.2065,5.6263,90.4601,0,1,32000); // Speed2Infernus
	FacInfo[1][fCars][14] = CreateVehicle(541,1545.1260,-1672.0992,5.5249,90.8087,0,1,32000); // Speed3Bullet
	FacInfo[1][fCars][15] = CreateVehicle(541,1545.1002,-1667.9021,5.5249,90.8901,0,1,32000); // Speed4Bullet
	FacInfo[1][fCars][16] = CreateVehicle(596,1556.799,-1614.991,13.259,90,8901,1,32000); // Tow Truck
	FacInfo[1][fCars][17] = CreateVehicle(596,1563.085,-1615.032,13.260,90,8901,1,32000); // Tow Truck
	FacInfo[1][fCars][18] = CreateVehicle(601,1545.0055,-1662.9552,5.6769,88.8576,0,0,32000); // Splashy1
	FacInfo[1][fCars][19] = CreateVehicle(601,1544.9072,-1658.9329,5.6780,88.7145,0,0,32000); // Splashy2
	FacInfo[1][fCars][20] = CreateVehicle(601,1545.0282,-1655.0873,5.6767,89.4033,0,0,32000); // Splashy3
	FacInfo[1][fCars][21] = CreateVehicle(601,1545.0804,-1651.2063,5.6920,90.5362,0,0,32000); // Splashy4
	FacInfo[1][fCars][22] = CreateVehicle(427,1538.9954,-1644.9917,6.0463,180.4178,0,1,32000); // Enforcer1
	FacInfo[1][fCars][23] = CreateVehicle(427,1534.8733,-1644.9760,6.0481,179.3436,0,1,32000); // Enforcer2
	FacInfo[1][fCars][24] = CreateVehicle(427,1531.0992,-1645.0317,6.0463,179.9259,0,1,32000); // Enforcer3
	FacInfo[1][fCars][25] = CreateVehicle(427,1526.8904,-1645.1100,6.0463,180.7001,0,1,32000); // Enforcer4
	FacInfo[1][fCars][26] = CreateVehicle(497,1550.4070,-1707.7499,28.6315,90.2970,0,1,32000); // MAV 1
	FacInfo[1][fCars][27] = CreateVehicle(497,1550.4070,-1644.1296,28.6315,90.2970,0,1,32000); // MAV 2
	FacInfo[1][fCars][28] = CreateVehicle(525,1578.1487,-1607.2855,13.2614,176.8910,1,0,32000); //
	FacInfo[1][fCars][29] = CreateVehicle(525,1573.5114,-1606.9421,13.2636,178.1698,1,0,32000); //
	FacInfo[1][fCars][30] = CreateVehicle(525,1568.5466,-1606.6952,13.2609,177.6437,1,0,32000); //
	FacInfo[1][fCars][31] = CreateVehicle(525,1563.7899,-1606.4662,13.2743,178.0997,1,0,32000); //
	FacInfo[1][fCars][32] = CreateVehicle(411,1595.5092,-1710.4513,5.6298,358.4370,0,0,32000); //
	FacInfo[1][fCars][33] = CreateVehicle(415,1591.2404,-1710.2354,5.6594,359.2719,0,0,32000); //
	FacInfo[1][fCars][34] = CreateVehicle(415,1587.3308,-1710.2023,5.6477,2.0330,0,0,32000); //
	FacInfo[1][fCars][35] = CreateVehicle(541,1583.7935,-1710.4930,5.5118,1.0983,0,1,32000); //
	FacInfo[1][fCars][36] = CreateVehicle(541,1579.1252,-1710.5209,5.5138,2.2589,0,1,32000); //
	FacInfo[1][fCars][37] = CreateVehicle(523,1570.8066,-1696.5354,5.4490,149.0965,0,0,32000); //
	FacInfo[1][fCars][38] = CreateVehicle(523,1571.9725,-1692.7791,5.4456,151.6247,0,0,32000); //
	FacInfo[1][fCars][39] = CreateVehicle(523,1556.9928,-1695.8567,5.4584,208.1193,0,0,32000); //
	FacInfo[1][fCars][40] = CreateVehicle(523,1557.1016,-1693.2699,5.4726,211.1844,0,0,32000); //
	FacInfo[1][fCars][41] = CreateVehicle(490,1574.3236,-1711.1722,5.7413,359.6247,0,0,32000); //
	FacInfo[1][fCars][42] = CreateVehicle(490,1570.5698,-1710.9894,5.7802,359.6591,0,0,32000); //
	FacInfo[1][fCars][43] = CreateVehicle(528,1564.7800,-1711.7427,6.2886,358.2166,0,1,32000); //
	FacInfo[1][fCars][44] = CreateVehicle(528,1562.9760,-1711.1046,5.9337,359.2206,0,1,32000); //
	FacInfo[1][fCars][45] = CreateVehicle(596,1557.3580,-1711.1659,5.8917,0.3778,0,1,32000); //
	FacInfo[1][fCars][46] = CreateVehicle(599,1585.1805,-1675.5908,6.0861,271.0794,0,1,32000); //
	FacInfo[1][fCars][47] = CreateVehicle(599,1585.4402,-1679.2402,6.0919,269.5941,0,1,32000); //
	FacInfo[1][fCars][48] = CreateVehicle(596,1544.3315,-1684.4758,5.7371,90.0150,0,1,32000); //
	FacInfo[1][fCars][49] = CreateVehicle(596,1544.3851,-1688.8959,5.7515,89.8131,0,1,32000); //
	FacInfo[1][fCars][50] = CreateVehicle(596,1535.8220,-1677.6128,13.2245,180.8089,0,0,32000); //
	FacInfo[1][fCars][51] = CreateVehicle(596,1535.6903,-1669.2754,13.2188,180.7261,0,1,32000); //
//	for(new i=17; i < 27; i++) // Splashy & Enforcer can't be blown up
//	{
//	    SetVehicleHealth(FacInfo[1][fCars][i], 9999999);
//	}
	// Trucker Vehicles
	JobInfo[JOB_TRUCKER][jCars][0] = CreateVehicle(403,828.1430,-1206.7531,17.5750,177.7319,0,0,32000); //  Truck 1
	JobInfo[JOB_TRUCKER][jCars][1] = CreateVehicle(403,833.0169,-1206.6677,17.5942,180.6274,0,0,32000); //  Truck 2
	JobInfo[JOB_TRUCKER][jCars][2] = CreateVehicle(403,864.1891,-1206.6876,17.5818,181.0961,0,0,32000); //  Truck 3
	JobInfo[JOB_TRUCKER][jCars][3] = CreateVehicle(403,869.7891,-1206.6667,17.6172,180.5650,0,0,32000); //  Truck 4
	JobInfo[JOB_TRUCKER][jCars][4] = CreateVehicle(403,901.0715,-1206.6938,17.5859,178.1667,0,0,32000); //  Truck 5
	JobInfo[JOB_TRUCKER][jCars][5] = CreateVehicle(403,864.9567,-1245.5764,15.4640,270.6534,0,0,32000); //  Truck 6
	JobInfo[JOB_TRUCKER][jCars][6] = CreateVehicle(403,865.4672,-1255.6616,15.4962,270.4795,0,0,32000); //  Truck 7
	JobInfo[JOB_TRUCKER][jCars][7] = CreateVehicle(403,850.1177,-1290.0117,14.2813,269.9596,0,0,32000); //  Truck 8
	JobInfo[JOB_TRUCKER][jCars][8] = CreateVehicle(403,849.2173,-1297.2113,14.2361,270.0633,0,0,32000); //  Truck 9

	JobInfo[JOB_TRUCKER][jTrailers][0] = CreateVehicle(591,845.7068,-1182.5035,17.6460,180.5562,0,0,32000); // Trailer 1
	JobInfo[JOB_TRUCKER][jTrailers][1] = CreateVehicle(591,850.9149,-1182.3046,17.6307,179.1538,0,0,32000); // Trailer 2
	JobInfo[JOB_TRUCKER][jTrailers][2] = CreateVehicle(591,880.8871,-1186.8956,17.6167,179.7932,0,0,32000); // Trailer 3
	JobInfo[JOB_TRUCKER][jTrailers][3] = CreateVehicle(591,885.1745,-1187.8447,17.6075,180.1618,0,0,32000); // Trailer 4
	JobInfo[JOB_TRUCKER][jTrailers][4] = CreateVehicle(591,916.0290,-1187.4880,17.6083,177.2168,0,0,32000); // Trailer 5
	JobInfo[JOB_TRUCKER][jTrailers][5] = CreateVehicle(591,843.0379,-1227.0488,16.3866,264.4783,0,0,32000); // Trailer 6
	JobInfo[JOB_TRUCKER][jTrailers][6] = CreateVehicle(591,886.4359,-1271.2347,15.3462,93.1418,0,0,32000); // Trailer 7
	JobInfo[JOB_TRUCKER][jTrailers][7] = CreateVehicle(591,827.0930,-1273.9810,14.2713,272.5196,0,0,32000); // Trailer 8
	JobInfo[JOB_TRUCKER][jTrailers][8] = CreateVehicle(591,869.7812,-1284.4115,14.7894,2.5218,0,0,32000); // Trailer 9

	// Hitman Angecy Vehicles
	FacInfo[3][fCars][0] = CreateVehicle(426,2216.8999023,-1353.5999756,23.7999992,270.0000000,0,0,32000); //Premier
	FacInfo[3][fCars][1] = CreateVehicle(426,2216.6992188,-1363.6992188,23.7999992,270.0000000,0,0,32000); //Premier
	FacInfo[3][fCars][2] = CreateVehicle(426,2216.7998047,-1360.1992188,23.7999992,270.0000000,0,0,32000); //Premier
	FacInfo[3][fCars][3] = CreateVehicle(426,2216.8000488,-1357.0000000,23.7999992,270.0000000,0,0,32000); //Premier
	FacInfo[3][fCars][4] = CreateVehicle(402,2229.3999023,-1353.6999512,23.8999996,90.0000000,0,0,32000); //Buffalo
	FacInfo[3][fCars][5] = CreateVehicle(402,2229.3999023,-1357.1999512,23.8999996,90.0000000,0,0,32000); //Buffalo
	FacInfo[3][fCars][6] = CreateVehicle(402,2229.3999023,-1360.6999512,23.8999996,90.0000000,0,0,32000); //Buffalo
	FacInfo[3][fCars][7] = CreateVehicle(402,2229.5000000,-1364.1999512,23.8999996,90.0000000,0,0,32000); //Buffalo
	FacInfo[3][fCars][8] = CreateVehicle(451,2229.6000977,-1367.9000244,23.7999992,90.0000000,0,0,32000); //Turismo

	// Government Vehicles
	FacInfo[2][fCars][0] = CreateVehicle(507,1454.8051,-1749.6378,13.4003,359.8444,0,0,32000); //
	FacInfo[2][fCars][1] = CreateVehicle(507,1508.3206,-1747.2850,13.3839,358.2296,0,0,32000); //
	FacInfo[2][fCars][2] = CreateVehicle(445,1498.1503,-1758.7665,13.4203,359.1969,0,1,32000); //
	FacInfo[2][fCars][3] = CreateVehicle(445,1461.9093,-1758.4252,13.4219,0.3443,0,1,32000); //
	FacInfo[2][fCars][4] = CreateVehicle(596,1487.3528,-1744.4673,13.3787,271.1690,0,1,32000); //
	FacInfo[2][fCars][5] = CreateVehicle(409,1479.6102,-1744.5171,13.3500,270.0058,0,1,32000); //
	FacInfo[2][fCars][6] = CreateVehicle(596,1472.1770,-1744.5638,13.3789,271.5066,0,1,32000); //
	FacInfo[2][fCars][7] = CreateVehicle(541,1485.0409,-1756.3292,13.1720,335.0711,0,222,32000); //
	FacInfo[2][fCars][8] = CreateVehicle(541,1475.2595,-1756.4846,13.1717,33.5516,0,222,32000); //

//	FacInfo[2][fCars][0] = CreateVehicle(507,1454.8049,-1749.6432,13.4354,359.8442,0,0,32000); // Gov 1
//	FacInfo[2][fCars][1] = CreateVehicle(507,1507.4797,-1749.7860,13.4354,359.8442,0,0,32000); // Gov 2
//	FacInfo[2][fCars][2] = CreateVehicle(411,1553.87561035,-1800.87670898,13.36687469,0,0,0,32000); // Gov 3
//	FacInfo[2][fCars][3] = CreateVehicle(409,1553.95983887,-1792.64355469,13.47187519,0,0,0,32000); // Gov 4
//	FacInfo[2][fCars][4] = CreateVehicle(411,1554.12536621,-1783.99707031,13.36687469,0,0,0,32000); // Gov 5
//	FacInfo[2][fCars][5] = CreateVehicle(426,1409.08972168,-1783.57421875,13.36687469,0,0,0,32000); // Gov 6
//	FacInfo[2][fCars][6] = CreateVehicle(579,1408.93505859,-1789.69201660,13.64551258,0,0,0,32000); // Gov 7
//	FacInfo[2][fCars][7] = CreateVehicle(579,1409.09741211,-1796.20727539,13.64551258,0,0,0,32000); // Gov 8

	/*FacInfo[2][fCars][0] = CreateVehicle(409,1481.777,-1847.329,13.518,0,0,0,32000); // Gov 1
	FacInfo[2][fCars][1] = CreateVehicle(426,1481.662,-1854.899,13.464,0,0,0,32000); // Gov 2
	FacInfo[2][fCars][2] = CreateVehicle(411,1467.592,-1859.342,13.447,0,0,0,32000); // Gov 3
	FacInfo[2][fCars][3] = CreateVehicle(411,1496.052,-1858.941,13.447,0,0,0,32000); // Gov 4
	FacInfo[2][fCars][4] = CreateVehicle(579,1501.167,-1858.639,13.654,0,0,0,32000); // Gov 5
	FacInfo[2][fCars][5] = CreateVehicle(579,1462.377,-1858.759,13.659,0,0,0,32000); // Gov 6
	FacInfo[2][fCars][6] = CreateVehicle(507,1457.331,-1858.185,13.546,0,0,0,32000); // Gov 7
	FacInfo[2][fCars][7] = CreateVehicle(507,1506.201,-1858.390,13.546,0,0,0,32000); // Gov 8*/


	// SA News Vehicles
	FacInfo[4][fCars][0] = CreateVehicle(582,770.3323,-1334.0879,13.5999,178.7927,1,6,32000); // News1
	FacInfo[4][fCars][1] = CreateVehicle(582,765.2671,-1333.9707,13.6022,178.8279,1,6,32000); // News2
	FacInfo[4][fCars][2] = CreateVehicle(582,760.0087,-1333.8882,13.5979,178.7898,1,6,32000); // News3
	FacInfo[4][fCars][3] = CreateVehicle(582,754.6099,-1333.7980,13.5991,180.2735,1,6,32000); // News4
	FacInfo[4][fCars][4] = CreateVehicle(582,749.0009,-1333.7161,13.5978,180.0546,1,6,32000); // News5
	FacInfo[4][fCars][5] = CreateVehicle(582,743.3420,-1333.6884,13.5983,180.0397,1,6,32000); // News6
	FacInfo[4][fCars][6] = CreateVehicle(488,743.7799,-1365.5004,25.8675,270.3967,1,6,32000); // News7
	FacInfo[4][fCars][7] = CreateVehicle(488,736.9495,-1376.4574,25.8464,182.8519,1,6,32000); // News8

	// Leone Vehicles
	FacInfo[5][fCars][0] = CreateVehicle(560,921.594,-920.290,42.250,178.7927,53,53,32000); // Leone 1
	FacInfo[5][fCars][1] = CreateVehicle(560,916.268,-920.723,42.250,178.7927,53,53,32000); // Leone 2
	FacInfo[5][fCars][2] = CreateVehicle(560,911.010,-920.929,42.251,178.7927,53,53,32000); // Leone 3
	FacInfo[5][fCars][3] = CreateVehicle(560,905.652,-921.086,42.255,178.7927,53,53,32000); // Leone 4
	FacInfo[5][fCars][4] = CreateVehicle(522,930.426,-926.085,42.174,178.7927,1,53,32000); // Leone 5
	FacInfo[5][fCars][5] = CreateVehicle(522,930.817,-929.622,42.176,178.7927,1,53,32000); // Leone 6
	FacInfo[5][fCars][6] = CreateVehicle(451,899.221,-908.907,44.281,178.7927,53,53,32000); // Leone 7
	FacInfo[5][fCars][7] = CreateVehicle(409,898.670,-899.891,45.625,178.7927,53,53,32000); // Leone 8
	FacInfo[5][fCars][8] = CreateVehicle(494,891.7000122,-922.7000122,42.2999992,0.0000000,-1,-1,32000); // Leone 9
	FacInfo[5][fCars][9] = CreateVehicle(504,888.2999878,-923.7999878,42.2999992,0.0000000,43,8,32000); // Leone 10
	FacInfo[5][fCars][10] = CreateVehicle(469,885.2999878,-1044.5999756,31.7000008,0.0000000,32,32,32000); // Leone 11

	// FBI Vehicles
	FacInfo[6][fCars][0] = CreateVehicle(490,1670.0999756,-1694.6999512,20.7999992,90.0000000,0,0,32000); //FBI Rancher
	FacInfo[6][fCars][1] = CreateVehicle(490,1670.0999756,-1701.9000244,20.7999992,90.0000000,0,0,32000); //FBI Rancher
	FacInfo[6][fCars][2] = CreateVehicle(490,1670.0000000,-1698.1992188,20.7999992,90.0000000,0,0,32000); //FBI Rancher
	FacInfo[6][fCars][3] = CreateVehicle(490,1670.0999756,-1705.4000244,20.7999992,90.0000000,0,0,32000); //FBI Rancher
	FacInfo[6][fCars][4] = CreateVehicle(490,1670.0999756,-1709.0000000,20.7999992,90.0000000,0,0,32000); //FBI Rancher
	FacInfo[6][fCars][5] = CreateVehicle(490,1670.1999512,-1712.5999756,20.7999992,90.0000000,0,0,32000); //FBI Rancher
	FacInfo[6][fCars][6] = CreateVehicle(415,1670.4000244,-1716.1999512,20.2999992,90.0000000,0,0,32000); //Cheetah
	FacInfo[6][fCars][7] = CreateVehicle(415,1670.5000000,-1719.5999756,20.2999992,90.0000000,0,0,32000); //Cheetah
	FacInfo[6][fCars][8] = CreateVehicle(596,1661.0999756,-1695.4000244,20.2999992,180.0000000,0,0,32000); //Police Car (LSPD)
	FacInfo[6][fCars][9] = CreateVehicle(596,1656.5996094,-1695.5996094,20.2999992,180.0000000,0,0,32000); //Police Car (LSPD)
	FacInfo[6][fCars][10] = CreateVehicle(497,1658.5999756,-1681.0999756,21.7000008,90.0000000,0,0,32000); //Police Maverick
	FacInfo[6][fCars][11] = CreateVehicle(522,1645.6999512,-1702.5000000,20.1000004,240.0000000,0,0,32000); //NRG-500
	FacInfo[6][fCars][12] = CreateVehicle(522,1645.2998047,-1709.8994141,20.1000004,239.9963379,0,0,32000); //NRG-500
	FacInfo[6][fCars][13] = CreateVehicle(522,1645.3994141,-1707.5996094,20.1000004,239.9963379,0,0,32000); //NRG-500
	FacInfo[6][fCars][14] = CreateVehicle(522,1645.5000000,-1705.2998047,20.1000004,239.9963379,0,0,32000); //NRG-500

	// Los Santos Emergency Service LSEMS
	FacInfo[7][fCars][0] = CreateVehicle(407,1748.3829,-1747.9281,13.7744,180.0712,3,1,32000); // 
	FacInfo[7][fCars][1] = CreateVehicle(407,1748.6029,-1758.3413,13.7432,180.9496,3,1,32000); // 
	FacInfo[7][fCars][2] = CreateVehicle(407,1748.4728,-1766.8018,13.7668,180.4189,3,1,32000); // 
	FacInfo[7][fCars][3] = CreateVehicle(544,1756.3384,-1769.2765,13.7683,178.9834,3,1,32000); // 
	FacInfo[7][fCars][4] = CreateVehicle(544,1756.2090,-1758.7180,13.7739,179.9845,3,1,32000); // 
	FacInfo[7][fCars][5] = CreateVehicle(544,1756.4340,-1748.7028,13.7894,181.3313,3,1,32000); // 
	FacInfo[7][fCars][6] = CreateVehicle(490,1778.6106,-1746.5713,13.4404,90.3327,3,3,32000); // 
	FacInfo[7][fCars][7] = CreateVehicle(490,1778.5767,-1755.4246,13.4363,92.1382,3,3,32000); // 
	FacInfo[7][fCars][8] = CreateVehicle(490,1778.6075,-1763.8606,13.4345,90.0532,3,3,32000); // 
	FacInfo[7][fCars][9] = CreateVehicle(487,1773.9156,-1808.0706,13.6843,353.2404,3,1,32000); // 
	FacInfo[7][fCars][10] = CreateVehicle(487,1755.4858,-1803.8158,13.6912,265.5859,3,1,32000); // 
	FacInfo[7][fCars][11] = CreateVehicle(563,1793.8298,-1754.2671,28.3154,271.3506,3,1,32000); // 
	FacInfo[7][fCars][12] = CreateVehicle(525,1808.1135,-1763.9407,13.4106,269.3816,1,3,32000); // 
	FacInfo[7][fCars][13] = CreateVehicle(525,1808.2380,-1755.2046,13.4314,270.6046,1,3,32000); // 
	FacInfo[7][fCars][14] = CreateVehicle(525,1808.2163,-1746.5768,13.4227,272.4330,1,3,32000); // 
	FacInfo[7][fCars][15] = CreateVehicle(416,1177.3706,-1338.9548,14.0644,270.7084,3,1,32000); // 
	FacInfo[7][fCars][16] = CreateVehicle(416,1177.5300,-1308.7626,14.0071,269.6306,3,1,32000); // 
	FacInfo[7][fCars][17] = CreateVehicle(487,1161.7380,-1317.4604,31.7439,270.1925,3,1,32000); // 
	FacInfo[7][fCars][18] = CreateVehicle(487,1162.5532,-1303.3596,31.6593,269.0653,3,1,32000); //

	// Special Weapons And Tactics
	FacInfo[11][fCars][0] = CreateVehicle(490,1524.3247,-1460.1340,9.6249,177.5571,0,53,32000); // 
	FacInfo[11][fCars][1] = CreateVehicle(490,1520.3882,-1460.1622,9.6280,179.0331,0,53,32000); // 
	FacInfo[11][fCars][2] = CreateVehicle(490,1516.4552,-1460.2220,9.6300,178.7311,0,53,32000); // 
	FacInfo[11][fCars][2] = CreateVehicle(490,1512.4081,-1460.2430,9.6324,179.3911,0,53,32000); // 
	FacInfo[11][fCars][3] = CreateVehicle(402,1511.8181,-1478.1353,9.3591,359.5111,53,0,32000); // 
	FacInfo[11][fCars][4] = CreateVehicle(402,1518.9291,-1478.4989,9.3325,358.9245,53,0,32000); // 
	FacInfo[11][fCars][5] = CreateVehicle(402,1515.3450,-1478.7512,9.3130,356.4527,53,0,32000); // 
	FacInfo[11][fCars][6] = CreateVehicle(601,1523.2432,-1478.1810,9.2590,358.3056,53,53,32000); // 
	
	// San Andreas Task Force
	FacInfo[12][fCars][0] = CreateVehicle(528,298.9634,-1536.5194,24.6410,53.7739,0,0,32000); // 
	FacInfo[12][fCars][1] = CreateVehicle(528,295.2345,-1540.4613,24.6617,54.6987,0,0,32000); // 
	FacInfo[12][fCars][2] = CreateVehicle(528,292.0420,-1544.9576,24.6644,56.0784,0,0,32000); // 
	FacInfo[12][fCars][3] = CreateVehicle(528,278.1311,-1535.3872,24.6429,235.4216,0,0,32000); // 
	FacInfo[12][fCars][4] = CreateVehicle(528,281.4324,-1531.1152,24.5925,234.6351,0,0,32000); // 
	FacInfo[12][fCars][5] = CreateVehicle(528,284.4856,-1526.7932,24.6313,237.4221,0,0,32000); // 
	FacInfo[12][fCars][6] = CreateVehicle(490,288.0249,-1522.3615,24.5075,235.3547,0,0,32000); // 
	FacInfo[12][fCars][7] = CreateVehicle(490,291.0310,-1518.3352,24.5080,233.9404,0,0,32000); // 
	FacInfo[12][fCars][8] = CreateVehicle(490,294.6859,-1513.3048,24.4950,234.1549,0,0,32000); // 
	FacInfo[12][fCars][9] = CreateVehicle(490,297.6976,-1508.9255,24.5100,236.9112,0,0,32000); // 
	FacInfo[12][fCars][10] = CreateVehicle(490,300.9218,-1504.2241,24.5109,233.2375,0,0,32000); // 
	FacInfo[12][fCars][11] = CreateVehicle(427,304.0289,-1501.1605,24.7382,235.6415,0,0,32000); // 
	FacInfo[12][fCars][12] = CreateVehicle(528,300.3874,-1490.6257,24.6387,234.3167,0,0,32000); // 
	FacInfo[12][fCars][13] = CreateVehicle(528,303.7109,-1486.1063,24.6379,236.5370,0,0,32000); // 
	FacInfo[12][fCars][14] = CreateVehicle(528,306.4940,-1481.5259,24.6401,235.5768,0,0,32000); // 

	print("Static vehicles loaded.");
	return 1;
}
stock LoadObjects() // Objects
{
	// SA-MP
//	CreateDynamicObject(18750, 1975.203002, 3779.311523, -0.243506, 0.000000, 0.000000, -45.00000);

	// Rest
	SAPDLobby[0] = CreateDynamicObject(14819, 246.4050, 72.3000, 1003.6700, 0.0000, 0.0000, 180.0000); // SAPD Lobby Door Left
	SAPDLobby[1] = CreateDynamicObject(14819, 246.4050, 72.5750, 1003.6650, 0.0000, 0.0000, 0.0000); // SAPD Lobby Door Right
	SAPDLobby[2] = CreateDynamicObject(13360, 246.9850, 72.4500, 1003.7000, 0.0000, 0.0000, 180.0000); // SAPD Lobby Door Left Block
	SAPDLobby[3] = CreateDynamicObject(13360, 245.8330, 72.4500, 1003.7000, 0.0000, 0.0000, 180.0000); // SAPD Lobby Door Right Block

	SAPDCells[0] = CreateDynamicObject(14819,259.105194,90.812126,1002.584350,0.000000,0.000000,-90.000000); // SAPD Cells Door Left
	SAPDCells[1] = CreateDynamicObject(14819,258.843353,90.840599,1002.584350,0.000000,0.000000,91.000000); // SAPD Cells Door Right
	SAPDCells[2] = CreateDynamicObject(13360,258.949157,91.412040,1002.528625,0.000000,0.000000,-90.000000); // SAPD Cells Door Left Block
	SAPDCells[3] = CreateDynamicObject(13360,258.949157,90.292076,1002.528625,0.000000,0.000000,90.000000); // SAPD Cells Door Right Block

	SAPDBarrier = CreateDynamicObject(968, 1544.6943359375, -1630.73046875, 13.27956199646, 0.000000, 90, 90); // SAPD Barrier
	SAPDGate =  CreateDynamicObject(971, 1588.6428222656, -1638.02734375, 15.240161895752, 0, 0, 181.03271484375); // SAPD Gate

	SAPDOffice[0] = CreateDynamicObject(13360,255.494674,85.290985,1002.445312,0.000000,0.000000,0.000000); // SAPD Office Door Left
	SAPDOffice[1] = CreateDynamicObject(13360,254.380661,85.286033,1002.445312,0.000000,0.000000,180.000000); // SAPD Office Door Right

	SAPDChief[0] = CreateDynamicObject(14819,222.281802,69.786598,1005.079895,0.000000,0.000000,-90.000000);// Chief's Door Right
	SAPDChief[1] = CreateDynamicObject(14819,222.002853,69.801109,1005.079895,0.000000,0.000000,-270.000000);// Chief's Door Left
	SAPDChief[2] = CreateDynamicObject(13360,222.120773,70.343833,1005.128601,0.000000,0.000000,-90.000000); // Chief's Block Right
	SAPDChief[3] = CreateDynamicObject(13360,222.120773,69.220504,1005.128601,0.000000,0.000000,-270.000000); // Chief's Block Left

	// Bank Vault
	BankVault = CreateDynamicObject(2634, 2242.202148, 1631.861694, 961.833129, 0.000000, 0.000000, 9.799999);

	// NA HQ
	SAGate1 = CreateDynamicObject(975, 777.457580, -1384.939453, 14.392275, 0.000000, 0.000000, -179.999908);
	SAGate2 = CreateDynamicObject(975, 778.548583, -1330.212890, 14.167037, 0.000000, 0.000000, -1.800000);

    CreateDynamicObject(1522, 731.941955, -1358.044311, 22.105916, 0.000000, 0.000000, -90.100074);
	CreateDynamicObject(14488, 1211.8000488281, -760.20001220703, 1074.3000488281, 0, 0, 0);
	CreateDynamicObject(6874, 1212.4000244141, -754.70001220703, 1055.0999755859, 0, 0, 269.83056640625);
	CreateDynamicObject(1537, 1218.5999755859, -770.79998779297, 1072, 0, 0, 181.02136230469);
	CreateDynamicObject(1294, 1217.1909179688, -770.755859375, 1076.2299804688, 0, 0, 0);
	CreateDynamicObject(2395, 1218.4000244141, -749.40002441406, 1072.1999511719, 0, 0, 270.22546386719);
	CreateDynamicObject(2395, 1218.4000244141, -753.09997558594, 1072.1999511719, 0, 0, 270.22521972656);
	CreateDynamicObject(2395, 1218.8000488281, -756.70001220703, 1072.1999511719, 0, 0, 317.83325195313);
	CreateDynamicObject(2395, 1221.6999511719, -758.90002441406, 1072.1999511719, 0, 0, 355.91711425781);
	CreateDynamicObject(2395, 1218.8000488281, -756.70001220703, 1074.9399414063, 0, 0, 317.82897949219);
	CreateDynamicObject(2395, 1221.6999511719, -758.90002441406, 1074.9399414063, 0, 0, 355.9130859375);
	CreateDynamicObject(2395, 1218.4000244141, -753.09997558594, 1074.9399414063, 0, 0, 270.22521972656);
	CreateDynamicObject(2395, 1218.4000244141, -749.40002441406, 1074.9300537109, 0, 0, 270.22521972656);
	CreateDynamicObject(2796, 1219.9000244141, -757.59997558594, 1074.8000488281, 0, 0, 317.83337402344);
	CreateDynamicObject(1536, 1219.1999511719, -757, 1072, 0, 0, 317.83337402344);
	CreateDynamicObject(627, 1218.4000244141, -757.20001220703, 1074, 0, 0, 0);
	CreateDynamicObject(627, 1220.1999511719, -758.90002441406, 1074, 0, 0, 0);
	CreateDynamicObject(627, 1218, -749.5, 1074, 0, 0, 77.531341552734);
	CreateDynamicObject(1533, 1218.4000244141, -750.70001220703, 1072.1999511719, 0, 0, 268.865234375);
	CreateDynamicObject(1533, 1218.4000244141, -752.20001220703, 1072.1999511719, 0, 0, 268.86291503906);
	CreateDynamicObject(627, 1217.8000488281, -754.5, 1074, 0, 0, 77.530517578125);
	CreateDynamicObject(16151, 1221.1999511719, -764.5, 1072.5, 0, 0, 0);
	CreateDynamicObject(1775, 1222.1999511719, -765.90002441406, 1073.3000488281, 0, 0, 270.22546386719);
	CreateDynamicObject(1491, 1221.1999511719, -768.10009765625, 1070.6199951172, 0, 0, 0);
	CreateDynamicObject(2773, 1215.9000244141, -765.79998779297, 1072.5, 0, 0, 272.94592285156);
	CreateDynamicObject(2773, 1214.3000488281, -766.70001220703, 1072.5, 0, 0, 324.63220214844);
	CreateDynamicObject(2773, 1213.5, -768.5, 1072.5, 0, 0, 345.03283691406);
	CreateDynamicObject(2773, 1214.0999755859, -770, 1072.5, 0, 0, 59.842254638672);
	CreateDynamicObject(1432, 1216.0999755859, -769.29998779297, 1072.1999511719, 0, 0, 353.19897460938);
	CreateDynamicObject(1432, 1215.6999511719, -767.20001220703, 1072.1999511719, 0, 0, 5.4357604980469);
	CreateDynamicObject(1361, 1216.5999755859, -764.90002441406, 1072.9000244141, 0, 0, 0);
	CreateDynamicObject(1361, 1213.4000244141, -767.40002441406, 1072.9000244141, 0, 0, 0);
	CreateDynamicObject(1361, 1213, -769.5, 1072.9000244141, 0, 0, 0);
	CreateDynamicObject(1361, 1214.5, -765.5, 1072.9000244141, 0, 0, 0);
	CreateDynamicObject(630, 1217.9000244141, -755.29998779297, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1217.9000244141, -756, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1218.1999511719, -756.5, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1218, -750.29998779297, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1217.6999511719, -753.70001220703, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1220.8000488281, -759.20001220703, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1221.5999755859, -759.29998779297, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1216.8000488281, -764.90002441406, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1214.5999755859, -765.5, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1213.5, -767.40002441406, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(630, 1213, -769.40002441406, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(638, 1210.5999755859, -770.19995117188, 1072.9000244141, 0, 0, 270.22546386719);
	CreateDynamicObject(638, 1207.4000244141, -770.20001220703, 1072.9000244141, 0, 0, 270.22521972656);
	CreateDynamicObject(638, 1204.1999511719, -770.20001220703, 1072.9000244141, 0, 0, 270.22314453125);
	CreateDynamicObject(1544, 1216.4000244141, -769.70001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1216.3000488281, -769.59997558594, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1216, -768.79998779297, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.9000244141, -769, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.8000488281, -768.90002441406, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1543, 1216.4000244141, -769.5, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1543, 1215.8000488281, -769, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1543, 1215.9000244141, -768.79998779297, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1543, 1216.0999755859, -768.70001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1520, 1216.0999755859, -769.70001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1520, 1216, -769.79998779297, 1072.8000488281, 0, 0, 36.725372314453);
	CreateDynamicObject(1541, 1221.8000488281, -767.09997558594, 1074.1999511719, 0, 0, 88.413055419922);
	CreateDynamicObject(1542, 1222, -767.09997558594, 1073.5, 0, 0, 93.397888183594);
	CreateDynamicObject(1542, 1222, -767.09997558594, 1073.1999511719, 0, 0, 93.394775390625);
	CreateDynamicObject(1512, 1216, -769.29998779297, 1073, 0, 0, 36.725372314453);
	CreateDynamicObject(1512, 1216.0999755859, -769.09997558594, 1073, 0, 0, 321.91046142578);
	CreateDynamicObject(1512, 1215.4000244141, -766.90002441406, 1073, 0, 0, 13.602111816406);
	CreateDynamicObject(1512, 1215.5, -767, 1073, 0, 0, 340.9560546875);
	CreateDynamicObject(1520, 1215.4000244141, -767.09997558594, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1520, 1215.1999511719, -767, 1072.8000488281, 0, 0, 334.15606689453);
	CreateDynamicObject(1486, 1216.1999511719, -767.29998779297, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1216.0999755859, -767.40002441406, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1216.1999511719, -767.40002441406, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1215.4000244141, -767.70001220703, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1215.4000244141, -767.59997558594, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1215.3000488281, -767.70001220703, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1215.9000244141, -766.79998779297, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1216, -766.90002441406, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1215.9000244141, -766.90002441406, 1073, 0, 0, 0);
	CreateDynamicObject(1486, 1215.6999511719, -766.90002441406, 1073, 0, 0, 0);
	CreateDynamicObject(1544, 1215.5999755859, -767.70001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.5999755859, -767.59997558594, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.5, -767.70001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.8000488281, -767.20001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.8000488281, -767.29998779297, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1215.6999511719, -767.20001220703, 1072.8000488281, 0, 0, 0);
	CreateDynamicObject(1544, 1221.6999511719, -760.90002441406, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1221.6999511719, -761.09997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1221.4000244141, -761.29998779297, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1221.5, -761.09997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.8000488281, -761.09997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.9000244141, -761.20001220703, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.6999511719, -761.20001220703, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.3000488281, -761.79998779297, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.3000488281, -761.70001220703, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.1999511719, -761.79998779297, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.4000244141, -762.59997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.1999511719, -762.70001220703, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1544, 1220.1999511719, -762.59997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220.3000488281, -762.40002441406, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220, -762.5, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220, -762.70001220703, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220.4000244141, -761.90002441406, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220.0999755859, -762, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220.0999755859, -761.70001220703, 1073.1999511719, 0, 0, 0);
	CreateDynamicObject(1543, 1221.3000488281, -760.90002441406, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1221.5999755859, -761, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1221.3000488281, -761, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1221.6999511719, -761.20001220703, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1221.5, -761.40002441406, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1221.0999755859, -761.09997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1221.0999755859, -761.29998779297, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220.6999511719, -761.09997558594, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(1543, 1220.5999755859, -761.40002441406, 1073.0999755859, 0, 0, 0);
	CreateDynamicObject(2671, 1219.1999511719, -769.09997558594, 1072.1999511719, 0, 0, 347.75817871094);
	CreateDynamicObject(2671, 1218.1999511719, -767, 1072.1999511719, 0, 0, 321.91162109375);
	CreateDynamicObject(2267, 1216.5999755859, -770.53002929688, 1074.0999755859, 0, 0, 180.45141601563);
	CreateDynamicObject(2266, 1221.5, -769.70001220703, 1073.9000244141, 0, 0, 268.86535644531);
	CreateDynamicObject(2266, 1221.5, -769.70001220703, 1073.0999755859, 0, 0, 268.86291503906);
	CreateDynamicObject(2266, 1221.5, -768.70001220703, 1073.0999755859, 0, 0, 268.86291503906);
	CreateDynamicObject(2266, 1221.5, -768.70001220703, 1073.9000244141, 0, 0, 268.86291503906);
	CreateDynamicObject(2172, 1209.4000244141, -767.79998779297, 1072.1999511719, 0, 0, 51.687561035156);
	CreateDynamicObject(2172, 1209.3000488281, -766.40002441406, 1072.1999511719, 0, 0, 232.13781738281);
	CreateDynamicObject(2172, 1206.4000244141, -766.59997558594, 1072.1999511719, 0, 0, 232.13562011719);
	CreateDynamicObject(2172, 1206.5, -768, 1072.1999511719, 0, 0, 51.685180664063);
	CreateDynamicObject(1806, 1210.5, -768.09997558594, 1072.1999511719, 0, 0, 0);
	CreateDynamicObject(1806, 1207.8000488281, -768.59997558594, 1072.1999511719, 0, 0, 34.004974365234);
	CreateDynamicObject(1806, 1208.3000488281, -766, 1072.1999511719, 0, 0, 355.91943359375);
	CreateDynamicObject(1806, 1205.4000244141, -766.59997558594, 1072.1999511719, 0, 0, 279.74645996094);
	CreateDynamicObject(2164, 1202.0999755859, -769.09997558594, 1072.1999511719, 0, 0, 91.133453369141);
	CreateDynamicObject(2164, 1202.0999755859, -767.19989013672, 1072.1999511719, 0, 0, 91.131591796875);
	CreateDynamicObject(2596, 1205.8000488281, -770.59997558594, 1075, 0, 0, 180.45141601563);
	CreateDynamicObject(2596, 1205, -770.70001220703, 1075, 0, 0, 180.45043945313);
	CreateDynamicObject(2596, 1204.1999511719, -770.59997558594, 1075, 0, 0, 180.45043945313);
	CreateDynamicObject(1752, 1204.8000488281, -770.79998779297, 1073.8000488281, 0, 0, 184.53198242188);
	CreateDynamicObject(627, 1182.6999511719, -768.59997558594, 1074, 0, 0, 0);
	CreateDynamicObject(627, 1202.4000244141, -770.40002441406, 1074, 0, 0, 10.881591796875);
	CreateDynamicObject(2395, 1202.4000244141, -754.29998779297, 1072.1999511719, 0, 0, 1.3601989746094);
	CreateDynamicObject(2395, 1206, -753.79998779297, 1072.1999511719, 0, 0, 54.404876708984);
	CreateDynamicObject(1491, 1207.8000488281, -751.09997558594, 1072.1999511719, 0, 0, 91.133453369141);
	CreateDynamicObject(2395, 1207.8000488281, -749.09997558594, 1071.9702148438, 0, 0, 102.01147460938);
	CreateDynamicObject(2395, 1207.8900146484, -750.59997558594, 1074.6999511719, 0, 0, 91.129852294922);
	CreateDynamicObject(2395, 1206, -753.79998779297, 1074.9400634766, 0, 0, 54.404296875);
	CreateDynamicObject(2395, 1202.4000244141, -754.29998779297, 1074.9499511719, 0, 0, 1.3568115234375);
	CreateDynamicObject(2395, 1205.5, -753.90002441406, 1072.1999511719, 0, 0, 185.44079589844);
	CreateDynamicObject(2395, 1207.5, -751.40002441406, 1072.1999511719, 0, 0, 234.4052734375);
	CreateDynamicObject(2395, 1201.8000488281, -754, 1072.1999511719, 0, 0, 133.75250244141);
	CreateDynamicObject(2395, 1201.8000488281, -754, 1074.9500732422, 0, 0, 133.74758911133);
	CreateDynamicObject(2395, 1205.5, -753.90002441406, 1074.9499511719, 0, 0, 185.43823242188);
	CreateDynamicObject(1294, 1200.8000488281, -754.29998779297, 1076, 0, 0, 0);
	CreateDynamicObject(1294, 1200.6999511719, -754.40002441406, 1076, 0, 0, 0);
	CreateDynamicObject(1294, 1204.5999755859, -753.90002441406, 1076, 0, 0, 0);
	CreateDynamicObject(2395, 1207.5, -751.40002441406, 1074.9499511719, 0, 0, 234.404296875);
	CreateDynamicObject(1294, 1206.4000244141, -751.09997558594, 1076, 0, 0, 0);
	CreateDynamicObject(1294, 1206.5, -749.59997558594, 1076, 0, 0, 0);
	CreateDynamicObject(1294, 1206.3000488281, -749.59997558594, 1076, 0, 0, 0);
	CreateDynamicObject(1294, 1206.1999511719, -751.09997558594, 1076, 0, 0, 0);
	CreateDynamicObject(2395, 1207.6999511719, -747.79998779297, 1074.6999511719, 0, 0, 270);
	CreateDynamicObject(2395, 1205.9000244141, -746.90002441406, 1072, 0, 0, 302.86437988281);
	CreateDynamicObject(14782, 1202.4000244141, -750.59997558594, 1073.1999511719, 0, 0, 89.773254394531);
	CreateDynamicObject(2700, 1204.6999511719, -753.79998779297, 1074.5, 0, 0, 93.853912353516);
	CreateDynamicObject(2700, 1203.8000488281, -753.90002441406, 1074.5, 0, 0, 93.852813720703);
	CreateDynamicObject(2400, 1203, -749.29998779297, 1072.1999511719, 0, 0, 0);
	CreateDynamicObject(2394, 1203.8000488281, -749.79998779297, 1073.5999755859, 0, 0, 0);
	CreateDynamicObject(2394, 1204.9000244141, -749.79998779297, 1072.9000244141, 0, 0, 0);
	CreateDynamicObject(2614, 1204.3000488281, -753.92443847656, 1075.6999511719, 0, 0, 184.98785400391);
	CreateDynamicObject(1280, 1204.0999755859, -753.59997558594, 1072.5999755859, 0, 0, 275.66638183594);
	CreateDynamicObject(1280, 1206.3000488281, -752.20001220703, 1072.5999755859, 0, 0, 325.99133300781);
	CreateDynamicObject(2845, 1202.9000244141, -750.70001220703, 1072.1999511719, 0, 0, 0);
	CreateDynamicObject(2846, 1203.9000244141, -750.59997558594, 1072.1999511719, 0, 0, 0);
	CreateDynamicObject(2843, 1203.5999755859, -751, 1072.1999511719, 0, 0, 0);
	CreateDynamicObject(2676, 1204.3000488281, -751.40002441406, 1072.3049316406, 0, 0, 59.848876953125);
	CreateDynamicObject(1999, 1204.6999511719, -763.29998779297, 1072.1999511719, 0, 0, 270.22546386719);
	CreateDynamicObject(1999, 1204.6999511719, -760, 1072.1999511719, 0, 0, 271.58544921875);
	CreateDynamicObject(1999, 1204.5999755859, -756.59997558594, 1072.1999511719, 0, 0, 271.580078125);
	CreateDynamicObject(2163, 1202, -764.40002441406, 1072, 0, 0, 90);
	CreateDynamicObject(2167, 1202, -762.59997558594, 1072, 0, 0, 90);
	CreateDynamicObject(2164, 1202, -760.20001220703, 1072, 0, 0, 89.773315429688);
	CreateDynamicObject(2164, 1202.0999755859, -757.90002441406, 1072.1999511719, 0, 0, 89.769287109375);
	CreateDynamicObject(2773, 1203.4000244141, -765.40002441406, 1072.5, 0, 0, 301.51062011719);
	CreateDynamicObject(2773, 1203.5, -755.59997558594, 1072.5, 0, 0, 244.38000488281);
	CreateDynamicObject(2773, 1201.6999511719, -755.79998779297, 1072.5, 0, 0, 304.22912597656);
	CreateDynamicObject(1808, 1202.1999511719, -761.40002441406, 1072, 0, 0, 91.133453369141);
	CreateDynamicObject(1806, 1203.1999511719, -764.40002441406, 1072.1999511719, 0, 0, 279.74487304688);
	CreateDynamicObject(1806, 1204, -760.5, 1072.1999511719, 0, 0, 238.93872070313);
	CreateDynamicObject(1806, 1203.3000488281, -757.29998779297, 1072.1999511719, 0, 0, 255.25891113281);

	// Fire Station
	fdgate1 = CreateObject(2909, 1811.59, -1791.36, 13.87,   0.00, 0.00, 0.00);
	fdgate2 = CreateObject(2909, 1811.59, -1799.77, 13.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(11008, 1792.03, -1759.35, 19.44,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1805.90, -1742.66, 13.13,   0.00, 0.00, 270.00);
	CreateDynamicObject(640, 1805.75, -1776.46, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(640, 1808.66, -1742.67, 13.13,   0.00, 0.00, 270.00);
	CreateDynamicObject(640, 1808.73, -1776.46, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(1215, 1811.51, -1776.46, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1811.50, -1742.73, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1805.28, -1742.24, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(983, 1808.46, -1742.25, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(983, 1808.46, -1776.85, 13.26,   0.00, 0.00, -89.76);
	CreateDynamicObject(983, 1805.25, -1776.04, 13.26,   0.00, 0.00, -90.12);
	CreateDynamicObject(983, 1805.25, -1743.04, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(983, 1808.43, -1743.06, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(983, 1808.46, -1742.25, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(983, 1808.47, -1776.05, 13.26,   0.00, 0.00, -90.06);
	CreateDynamicObject(983, 1805.26, -1776.84, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(640, 1808.69, -1750.68, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(640, 1805.80, -1751.27, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(640, 1805.79, -1750.69, 13.13,   0.00, 0.00, 269.82);
	CreateDynamicObject(983, 1805.28, -1751.69, 13.26,   0.00, 0.00, -90.24);
	CreateDynamicObject(983, 1808.43, -1750.27, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(983, 1805.24, -1750.25, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(983, 1808.45, -1751.70, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(640, 1808.68, -1751.28, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(1215, 1811.52, -1751.33, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1811.50, -1750.70, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1808.44, -1758.89, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(983, 1805.23, -1758.88, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(983, 1805.25, -1760.30, 13.26,   0.00, 0.00, -90.24);
	CreateDynamicObject(640, 1806.04, -1759.26, 13.13,   0.00, 0.00, 269.82);
	CreateDynamicObject(640, 1806.07, -1759.93, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(640, 1808.72, -1759.93, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(640, 1808.72, -1759.26, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(983, 1808.44, -1760.30, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(1215, 1811.53, -1759.95, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1811.54, -1759.30, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1805.89, -1767.93, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(983, 1805.31, -1768.28, 13.26,   0.00, 0.00, -90.12);
	CreateDynamicObject(983, 1805.29, -1767.49, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(983, 1808.50, -1767.50, 13.26,   0.00, 0.00, -90.18);
	CreateDynamicObject(640, 1808.78, -1767.91, 13.13,   0.00, 0.00, 269.88);
	CreateDynamicObject(983, 1808.51, -1768.29, 13.26,   0.00, 0.00, -89.76);
	CreateDynamicObject(1215, 1811.53, -1767.91, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(1364, 1805.23, -1769.04, 13.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(1364, 1809.61, -1769.02, 13.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(1290, 1807.44, -1759.55, 18.47,   0.00, 0.00, 88.03);
	CreateDynamicObject(1290, 1807.62, -1751.06, 18.47,   0.00, 0.00, 88.03);
	CreateDynamicObject(1364, 1805.23, -1775.32, 13.36,   0.00, 0.00, -179.94);
	CreateDynamicObject(1364, 1809.65, -1775.30, 13.36,   0.00, 0.00, -179.94);
	CreateDynamicObject(983, 1808.46, -1742.25, 13.26,   0.00, 0.00, -90.30);
	CreateDynamicObject(18850, 1793.02, -1755.00, 14.35,   0.00, 0.00, 0.00);
	CreateDynamicObject(16096, 1783.37, -1765.01, 28.62,   0.00, 0.00, -180.00);
	CreateDynamicObject(1215, 1775.84, -1742.66, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1759.95, -1745.53, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(640, 1778.77, -1742.66, 13.25,   0.00, 0.00, 270.31);
	CreateDynamicObject(983, 1778.91, -1751.66, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(640, 1778.63, -1750.68, 13.25,   0.00, 0.00, 270.37);
	CreateDynamicObject(640, 1778.64, -1751.26, 13.25,   0.00, 0.00, 270.37);
	CreateDynamicObject(983, 1778.90, -1750.35, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(1215, 1775.77, -1750.74, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1775.78, -1751.29, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1779.28, -1758.90, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(1215, 1776.11, -1759.37, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1776.12, -1759.87, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1778.94, -1759.30, 13.25,   0.00, 0.00, 270.37);
	CreateDynamicObject(983, 1779.26, -1760.26, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(640, 1778.93, -1759.86, 13.25,   0.00, 0.00, 270.37);
	CreateDynamicObject(983, 1781.16, -1815.59, 13.25,   0.00, 0.00, -180.36);
	CreateDynamicObject(983, 1779.46, -1776.04, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(1215, 1776.36, -1776.47, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1779.22, -1768.29, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(640, 1778.91, -1767.93, 13.25,   0.00, 0.00, 270.37);
	CreateDynamicObject(1215, 1776.04, -1767.92, 13.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1779.11, -1767.54, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(3881, 1808.80, -1781.05, 14.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(3361, 1801.69, -1777.95, 14.05,   0.00, 0.00, -180.12);
	CreateDynamicObject(2773, 1778.68, -1773.87, 13.04,   0.00, 0.00, -90.00);
	CreateDynamicObject(2773, 1778.60, -1770.51, 13.04,   0.00, 0.00, -90.00);
	CreateDynamicObject(640, 1760.34, -1750.66, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(983, 1778.99, -1743.02, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(983, 1760.71, -1745.52, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(983, 1760.73, -1751.93, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(983, 1760.75, -1758.33, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(983, 1760.76, -1764.71, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(640, 1760.32, -1745.03, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(983, 1759.95, -1751.95, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(640, 1760.35, -1756.49, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(983, 1759.95, -1758.40, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(640, 1760.36, -1760.89, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(983, 1759.96, -1764.79, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(1215, 1760.32, -1769.98, 13.08,   0.00, 0.00, 0.00);
	CreateDynamicObject(16375, 1793.59, -1822.18, 12.60,   0.00, 0.00, -8.88);
	CreateDynamicObject(3578, 1752.77, -1747.43, 13.33,   0.00, 0.00, -89.76);
	CreateDynamicObject(3578, 1752.78, -1755.31, 13.33,   0.00, 0.00, -89.76);
	CreateDynamicObject(3578, 1752.80, -1762.69, 13.33,   0.00, 0.00, -89.76);
	CreateDynamicObject(19425, 1750.56, -1779.07, 12.52,   0.00, 0.00, 0.00);
	CreateDynamicObject(19425, 1747.26, -1779.09, 12.52,   0.00, 0.00, 0.00);
	CreateDynamicObject(19425, 1755.12, -1779.03, 12.52,   0.00, 0.00, 0.00);
	CreateDynamicObject(19425, 1758.31, -1779.04, 12.52,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1779.20, -1776.43, 13.25,   0.00, 0.00, 270.37);
	CreateDynamicObject(2773, 1804.43, -1771.10, 13.15,   0.00, 0.00, -90.18);
	CreateDynamicObject(2773, 1804.29, -1773.20, 13.15,   0.00, 0.00, -90.18);
	CreateDynamicObject(8674, 1811.65, -1809.13, 13.79,   0.00, 0.00, -90.00);
	CreateDynamicObject(8674, 1811.64, -1781.97, 13.79,   0.00, 0.00, -90.00);
	CreateDynamicObject(8674, 1811.64, -1816.81, 13.79,   0.00, 0.00, -90.00);
	CreateDynamicObject(8674, 1745.60, -1747.38, 13.79,   0.00, 0.00, -269.70);
	CreateDynamicObject(8674, 1745.63, -1757.66, 13.79,   0.00, 0.00, -269.88);
	CreateDynamicObject(8674, 1745.63, -1767.94, 13.79,   0.00, 0.00, -270.12);
	CreateDynamicObject(8674, 1745.61, -1778.25, 13.79,   0.00, 0.00, -270.12);
	CreateDynamicObject(8674, 1745.61, -1788.55, 13.79,   0.00, 0.00, -270.12);
	CreateDynamicObject(8674, 1745.60, -1798.84, 13.79,   0.00, 0.00, -270.12);
	CreateDynamicObject(8674, 1745.59, -1803.97, 13.79,   0.00, 0.00, -270.12);
	CreateDynamicObject(8674, 1750.57, -1810.54, 13.79,   0.00, 0.00, -375.30);
	CreateDynamicObject(7922, 1810.53, -1821.36, 13.95,   0.00, 0.00, -179.64);
	CreateDynamicObject(8674, 1760.49, -1813.27, 13.79,   0.00, 0.00, -375.36);
	CreateDynamicObject(8674, 1770.42, -1815.96, 13.79,   0.00, 0.00, -374.88);
	CreateDynamicObject(8674, 1780.36, -1818.61, 13.79,   0.00, 0.00, -374.88);
	CreateDynamicObject(8674, 1790.29, -1821.26, 13.79,   0.00, 0.00, -374.88);
	CreateDynamicObject(8674, 1800.42, -1822.49, 13.79,   0.00, 0.00, -358.74);
	CreateDynamicObject(8674, 1805.54, -1822.39, 13.79,   0.00, 0.00, -358.74);
	CreateDynamicObject(1223, 1775.96, -1767.93, 12.52,   0.00, 0.00, 162.48);
	CreateDynamicObject(8841, 1760.42, -1764.23, 15.50,   0.00, 0.00, 270.13);
	CreateDynamicObject(640, 1760.36, -1767.00, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(640, 1760.35, -1772.88, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(983, 1760.77, -1771.10, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(983, 1759.96, -1771.18, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(1215, 1760.31, -1753.61, 13.04,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1760.37, -1775.73, 13.25,   0.00, 0.00, 180.01);
	CreateDynamicObject(983, 1760.79, -1775.88, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(983, 1759.96, -1775.99, 13.25,   0.00, 0.00, -179.94);
	CreateDynamicObject(8674, 1750.74, -1742.27, 13.79,   0.00, 0.00, -360.06);
	CreateDynamicObject(8674, 1761.03, -1742.27, 13.79,   0.00, 0.00, -360.06);
	CreateDynamicObject(8674, 1771.34, -1742.25, 13.79,   0.00, 0.00, -360.06);
	CreateDynamicObject(8674, 1776.48, -1742.27, 13.79,   0.00, 0.00, -360.06);
	CreateDynamicObject(3578, 1752.83, -1770.07, 13.33,   0.00, 0.00, -89.76);
	CreateDynamicObject(3578, 1752.84, -1774.22, 13.33,   0.00, 0.00, -89.76);
	CreateDynamicObject(640, 1794.02, -1780.81, 13.25,   0.00, 0.00, 179.71);
	CreateDynamicObject(640, 1791.00, -1783.16, 13.25,   0.00, 0.00, 90.49);
	CreateDynamicObject(640, 1787.12, -1783.19, 13.25,   0.00, 0.00, 90.49);
	CreateDynamicObject(640, 1784.09, -1783.22, 13.25,   0.00, 0.00, 90.49);
	CreateDynamicObject(983, 1787.62, -1777.60, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(1676, 1789.21, -1777.19, 14.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(1676, 1786.04, -1777.24, 14.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1790.79, -1774.40, 13.25,   0.00, 0.00, -179.34);
	CreateDynamicObject(983, 1784.40, -1774.44, 13.25,   0.00, 0.00, -179.34);
	CreateDynamicObject(1775, 1795.02, -1777.21, 13.66,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1790.46, -1777.25, 13.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1784.81, -1777.28, 13.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1787.66, -1776.22, 13.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(2690, 1781.66, -1776.86, 14.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(2690, 1792.11, -1776.87, 14.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1794.03, -1779.29, 13.25,   0.00, 0.00, 179.71);
	CreateDynamicObject(640, 1781.61, -1805.87, 13.25,   0.00, 0.00, 179.71);
	CreateDynamicObject(640, 1781.58, -1811.22, 13.25,   0.00, 0.00, 179.71);
	CreateDynamicObject(640, 1781.54, -1816.12, 13.25,   0.00, 0.00, 179.71);
	CreateDynamicObject(983, 1779.46, -1776.81, 13.25,   0.00, 0.00, -89.52);
	CreateDynamicObject(983, 1781.19, -1809.21, 13.25,   0.00, 0.00, -180.30);
	CreateDynamicObject(983, 1781.20, -1806.02, 13.25,   0.00, 0.00, -180.30);
	CreateDynamicObject(1215, 1781.64, -1803.01, 13.13,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1781.93, -1815.77, 13.25,   0.00, 0.00, -180.60);
	CreateDynamicObject(983, 1781.98, -1809.38, 13.25,   0.00, 0.00, -180.60);
	CreateDynamicObject(983, 1782.02, -1805.98, 13.25,   0.00, 0.00, -180.60);
	CreateDynamicObject(16375, 1744.07, -1825.85, 12.60,   0.00, 0.00, -91.32);
	CreateDynamicObject(1294, 1769.12, -1736.39, 16.91,   3.14, 0.00, -91.47);
	CreateDynamicObject(1294, 1826.20, -1736.81, 16.91,   3.14, 0.00, -1.83);
	CreateDynamicObject(1294, 1803.90, -1736.50, 16.91,   3.14, 0.00, -91.47);
	
	//V.I.P
	CreateDynamicObject(970, 1791.80005, -1600.90002, 13.10000,   0.00000, 0.00000, 348.00000);
	CreateDynamicObject(970, 1785.59998, -1599.69995, 13.10000,   0.00000, 0.00000, 348.00000);
	CreateDynamicObject(640, 1792.19995, -1601.00000, 13.20000,   0.00000, 0.00000, 78.00000);
	CreateDynamicObject(640, 1785.59998, -1599.40002, 13.20000,   0.00000, 0.00000, 76.00000);
	CreateDynamicObject(869, 1797.09998, -1598.50000, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1797.50000, -1595.90002, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1805.59998, -1595.50000, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1797.59998, -1599.69995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1795.40002, -1596.80005, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1795.50000, -1598.59998, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1795.19995, -1600.19995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1800.00000, -1599.00000, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1799.09998, -1600.19995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1797.00000, -1599.80005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1803.50000, -1598.40002, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1801.80005, -1600.00000, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1803.50000, -1596.19995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1803.59998, -1599.19995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1801.80005, -1600.40002, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1799.30005, -1594.19995, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1797.59998, -1595.00000, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1798.00000, -1597.50000, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1805.30005, -1596.90002, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1805.59998, -1593.80005, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1807.19995, -1594.69995, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1804.69995, -1597.30005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1806.00000, -1596.90002, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1802.90002, -1596.69995, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1806.69995, -1596.50000, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1808.19995, -1595.40002, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1809.00000, -1593.80005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(866, 1806.40002, -1594.50000, 13.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1810.30005, -1593.69995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1809.30005, -1595.09998, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1806.80005, -1588.30005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1810.30005, -1591.69995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1809.19995, -1589.50000, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1808.00000, -1587.30005, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1809.59998, -1588.19995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1809.09998, -1585.69995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1809.30005, -1586.69995, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(871, 1810.40002, -1584.19995, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1810.09998, -1584.90002, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1809.19995, -1588.19995, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(870, 1809.90002, -1586.50000, 13.30000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1803.69995, -1590.40002, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1806.69995, -1587.80005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1804.40002, -1589.40002, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1801.19995, -1591.80005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1800.19995, -1593.30005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(869, 1796.90002, -1596.30005, 13.50000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3515, 1806.40002, -1596.19995, 15.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3472, 1801.40002, -1598.80005, 13.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3472, 1808.90002, -1591.40002, 13.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3472, 1811.30005, -1582.80005, 13.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3472, 1794.40002, -1595.19995, 12.90000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3115, 1783.09998, -1574.00000, 22.80000,   0.00000, 0.00000, 42.00000);
	CreateDynamicObject(3115, 1797.00000, -1559.80005, 22.80000,   0.00000, 0.00000, 312.00000);
	CreateDynamicObject(2985, 1794.69995, -1584.19995, 17.20000,   0.00000, 0.00000, 314.00000);
	CreateDynamicObject(2921, 1793.79590, -1584.38086, 16.79421,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(2921, 1802.00000, -1576.40002, 16.80000,   0.00000, 0.00000, 246.00000);
	CreateDynamicObject(640, 1812.00000, -1579.69995, 13.20000,   0.00000, 0.00000, 346.00000);
	CreateDynamicObject(639, 1803.80005, -1569.69995, 19.40000,   0.00000, 0.00000, 128.00000);
	CreateDynamicObject(640, 1813.69995, -1564.59998, 13.20000,   0.00000, 0.00000, 74.00000);
	CreateDynamicObject(970, 1814.19995, -1565.09998, 13.10000,   0.00000, 0.00000, 344.00000);
	CreateDynamicObject(970, 1812.69995, -1579.80005, 13.10000,   0.00000, 0.00000, 76.00000);
	CreateDynamicObject(700, 1795.59998, -1598.90002, 13.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(700, 1809.40002, -1586.59998, 13.00000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(1557, 1797.00000, -1577.69995, 13.10000,   0.00000, 0.00000, 280.00000);
	CreateDynamicObject(1557, 1797.40002, -1580.69995, 13.10000,   0.00000, 0.00000, 96.00000);
	CreateDynamicObject(1649, 1805.85669, -1566.36316, 14.20000,   0.00000, 0.00000, 42.00000);
	CreateDynamicObject(970, 1796.80005, -1601.50000, 13.10000,   0.00000, 0.00000, 356.00000);
	CreateDynamicObject(970, 1801.09998, -1601.69995, 13.10000,   0.00000, 0.00000, 358.00000);
	CreateDynamicObject(970, 1804.69995, -1600.40002, 13.10000,   0.00000, 0.00000, 40.00000);
	CreateDynamicObject(970, 1807.59998, -1598.00000, 13.10000,   0.00000, 0.00000, 40.00000);
	CreateDynamicObject(970, 1809.69995, -1596.30005, 13.10000,   0.00000, 0.00000, 40.00000);
	CreateDynamicObject(970, 1811.30005, -1592.69995, 13.10000,   0.00000, 0.00000, 90.00000);
	CreateDynamicObject(970, 1811.30005, -1588.90002, 13.10000,   0.00000, 0.00000, 90.00000);
	CreateDynamicObject(970, 1811.30005, -1584.50000, 13.10000,   0.00000, 0.00000, 270.00000);
	CreateDynamicObject(970, 1809.00000, -1583.69995, 13.10000,   0.00000, 0.00000, 38.00000);
	CreateDynamicObject(970, 1805.90002, -1586.09998, 13.10000,   0.00000, 0.00000, 38.00000);
	CreateDynamicObject(970, 1802.50000, -1588.80005, 13.10000,   0.00000, 0.00000, 38.00000);
	CreateDynamicObject(970, 1801.40002, -1593.80005, 13.60000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(970, 1799.69995, -1591.19995, 13.10000,   0.00000, 0.00000, 38.00000);
	CreateDynamicObject(970, 1794.59998, -1599.09998, 13.10000,   0.00000, 0.00000, 90.00000);
	CreateDynamicObject(970, 1796.80005, -1593.69995, 13.10000,   0.00000, 0.00000, 38.00000);
	CreateDynamicObject(970, 1794.69995, -1596.59998, 13.10000,   0.00000, 0.00000, 76.00000);
	CreateDynamicObject(3934, 1797.40002, -1561.40002, 23.10000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3934, 1784.30005, -1575.09998, 23.10000,   0.00000, 0.00000, 0.00000);
	CreateDynamicObject(3657, 1800.30005, -1589.80005, 13.00000,   0.00000, 0.00000, 218.00000);
	CreateDynamicObject(3657, 1807.90002, -1583.80005, 13.00000,   0.00000, 0.00000, 218.00000);

	// SWAT Hide-Out
	CreateDynamicObject(19355, 2357.75, -647.42, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2357.74, -649.40, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -652.43, 125.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.92, -655.55, 125.37,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -657.83, 121.94,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -654.70, 125.53,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -651.54, 125.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -649.28, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.97, -647.42, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19385, 2356.22, -650.94, 128.80,   0.00, 0.00, 90.33);
	CreateDynamicObject(19428, 2354.62, -650.94, 128.82,   0.00, 0.00, 90.09);
	CreateDynamicObject(19355, 2356.23, -645.91, 128.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2353.06, -645.92, 128.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2350.52, -645.90, 128.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2350.50, -659.40, 128.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2352.40, -659.40, 128.78,   0.00, 0.00, 90.00);
	//CreateDynamicObject(1491, 2356.96, -650.91, 127.06,   0.00, 0.00, 180.28); // Unused Door
	CreateDynamicObject(19370, 2355.98, -649.38, 127.07,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.99, -647.54, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.59, -647.51, 127.07,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.67, -647.51, 127.07,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.61, -649.27, 127.07,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.75, -649.27, 127.07,   0.00, 90.00, 0.00);
	CreateDynamicObject(14409, 2351.85, -654.37, 123.97,   0.00, 0.00, 179.94);
	CreateDynamicObject(14409, 2351.07, -654.37, 123.97,   0.00, 0.00, 179.94);
	CreateDynamicObject(19355, 2353.91, -652.43, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.92, -655.55, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -657.83, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -651.54, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -654.70, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -657.86, 128.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -657.86, 125.29,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -657.83, 125.35,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.96, -657.86, 121.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.97, -660.62, 122.02,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.97, -660.62, 125.29,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -660.51, 125.32,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -660.51, 122.02,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.98, -663.79, 125.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -663.63, 125.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2348.98, -663.79, 122.02,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 2353.91, -663.63, 122.02,   0.00, 0.00, 0.00);
	CreateDynamicObject(19370, 2352.15, -663.63, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.10, -666.25, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2348.64, -666.26, 123.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.58, -666.25, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19355, 2348.05, -666.59, 124.52,   0.00, 0.00, 321.83);
	CreateDynamicObject(19370, 2348.77, -663.07, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.25, -663.07, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2348.69, -663.62, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19355, 2350.28, -662.19, 125.61,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2354.52, -662.11, 122.25,   0.00, 0.00, 90.00);
	CreateDynamicObject(19370, 2352.08, -660.92, 127.06,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.52, -660.96, 127.06,   0.00, 90.00, 0.00);
	CreateDynamicObject(19473, 2348.86, -660.11, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2349.66, -660.29, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2350.56, -660.21, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2351.42, -660.22, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2352.28, -660.22, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2353.12, -660.16, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2348.76, -661.17, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2349.64, -661.24, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2350.46, -661.28, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2351.36, -661.27, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2352.16, -661.33, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2353.06, -661.27, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2353.96, -660.16, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2353.98, -661.36, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2354.86, -660.14, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2354.88, -661.38, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2354.96, -662.52, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2354.00, -662.50, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2353.02, -662.47, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2352.10, -662.53, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2351.14, -662.57, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2350.22, -662.50, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2349.28, -662.42, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19473, 2348.40, -662.35, 126.97,   0.00, 0.00, 223.18);
	CreateDynamicObject(19355, 2348.05, -666.59, 121.08,   0.00, 0.00, 321.83);
	CreateDynamicObject(19355, 2354.93, -666.39, 124.57,   0.00, 0.00, 40.38);
	CreateDynamicObject(19355, 2354.93, -666.39, 121.08,   0.00, 0.00, 40.38);
	CreateDynamicObject(19370, 2348.64, -669.40, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.09, -669.41, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.57, -669.41, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19355, 2356.20, -669.12, 124.56,   0.00, 0.00, 10.32);
	CreateDynamicObject(19355, 2356.20, -669.12, 121.08,   0.00, 0.00, 10.32);
	CreateDynamicObject(19355, 2356.50, -672.28, 124.51,   0.00, 0.00, 0.72);
	CreateDynamicObject(19355, 2347.06, -669.43, 124.53,   0.00, 0.00, 359.73);
	CreateDynamicObject(19355, 2347.06, -669.43, 121.08,   0.00, 0.00, 359.73);
	CreateDynamicObject(19355, 2347.04, -672.59, 124.50,   0.00, 0.00, 359.73);
	CreateDynamicObject(19355, 2347.04, -672.59, 121.08,   0.00, 0.00, 359.73);
	CreateDynamicObject(19370, 2348.65, -672.57, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.03, -672.55, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.47, -672.57, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19355, 2356.50, -672.28, 121.08,   0.00, 0.00, 0.72);
	CreateDynamicObject(19370, 2348.67, -675.67, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.00, -675.69, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.46, -675.69, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19355, 2350.54, -665.14, 125.61,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2353.72, -665.13, 125.61,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2347.03, -675.71, 124.52,   0.00, 0.00, 359.73);
	CreateDynamicObject(19355, 2347.03, -675.71, 121.08,   0.00, 0.00, 359.73);
	CreateDynamicObject(19355, 2356.55, -675.44, 124.48,   0.00, 0.00, 0.72);
	CreateDynamicObject(19355, 2356.55, -675.44, 121.08,   0.00, 0.00, 0.72);
	CreateDynamicObject(19355, 2355.00, -676.93, 124.46,   0.00, 0.00, 89.89);
	CreateDynamicObject(19355, 2351.84, -676.92, 124.46,   0.00, 0.00, 89.89);
	CreateDynamicObject(19355, 2348.74, -676.93, 124.46,   0.00, 0.00, 89.89);
	CreateDynamicObject(19355, 2355.00, -676.93, 121.08,   0.00, 0.00, 89.89);
	CreateDynamicObject(19355, 2351.84, -676.92, 121.08,   0.00, 0.00, 89.89);
	CreateDynamicObject(19355, 2348.72, -676.93, 121.31,   0.00, 0.00, 89.89);
	CreateDynamicObject(19370, 2348.64, -666.26, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.10, -666.25, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.58, -666.25, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2348.64, -669.40, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.09, -669.41, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.57, -669.41, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2348.65, -672.55, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.03, -672.55, 120.90,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.47, -672.57, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2348.67, -675.67, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.00, -675.69, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2355.46, -675.69, 123.95,   0.00, 90.00, 0.00);
	CreateDynamicObject(1703, 2349.26, -670.67, 120.88,   0.00, 0.00, 69.98);
	CreateDynamicObject(1703, 2353.25, -668.92, 120.88,   0.00, 0.00, 288.98);
	CreateDynamicObject(1703, 2353.70, -672.90, 120.88,   0.00, 0.00, 217.00);
	CreateDynamicObject(1703, 2350.65, -673.96, 120.88,   0.00, 0.00, 133.50);
	CreateDynamicObject(1827, 2351.50, -671.24, 120.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(1769, 2351.08, -667.88, 120.94,   0.00, 0.00, 0.30);
	CreateDynamicObject(1491, 2352.94, -662.10, 120.89,   0.00, 0.00, 180.13);
	CreateDynamicObject(1491, 2349.92, -662.12, 120.89,   0.00, 0.00, 359.89);
	CreateDynamicObject(19355, 2353.46, -662.19, 125.61,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 2348.36, -662.08, 122.25,   0.00, 0.00, 90.00);
	CreateDynamicObject(19435, 2349.71, -662.13, 126.21,   90.00, 90.00, 360.00);
	CreateDynamicObject(19435, 2353.21, -662.14, 126.36,   90.00, 90.00, 360.00);
	CreateDynamicObject(19435, 2353.21, -662.14, 124.18,   90.00, 90.00, 360.00);
	CreateDynamicObject(19435, 2349.71, -662.13, 124.18,   90.00, 90.00, 360.00);
	CreateDynamicObject(19435, 2353.21, -662.14, 125.75,   90.00, 90.00, 360.00);
	CreateDynamicObject(19435, 2349.71, -662.13, 125.70,   90.00, 90.00, 360.00);
	CreateDynamicObject(356, 2351.00, -662.04, 125.60,   0.00, 0.00, 4.75);
	CreateDynamicObject(19370, 2355.99, -647.54, 127.07,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2356.01, -649.34, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.55, -647.56, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.67, -647.55, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.53, -649.33, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.67, -649.33, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.24, -652.47, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.66, -652.47, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.66, -655.59, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.24, -655.59, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2350.66, -657.77, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(19370, 2352.24, -657.79, 130.45,   0.00, 90.00, 0.00);
	CreateDynamicObject(2255, 2356.24, -646.49, 128.75,   0.00, 0.00, 0.00);
	CreateDynamicObject(2257, 2351.98, -646.03, 128.72,   0.00, 0.00, 359.70);
	CreateDynamicObject(19123, 2349.20, -646.15, 127.43,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 2357.49, -646.17, 127.43,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 2357.45, -650.73, 127.43,   0.00, 0.00, 0.00);
	CreateDynamicObject(2242, 2353.51, -661.73, 121.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(2242, 2349.37, -661.73, 121.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, 2353.52, -661.78, 121.71,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, 2349.36, -661.80, 121.71,   0.00, 0.00, 0.00);
	CreateDynamicObject(2256, 2351.31, -676.82, 122.43,   0.00, 0.00, 180.00);
	CreateDynamicObject(2261, 2355.90, -671.99, 122.29,   0.00, 0.00, 270.63);
	CreateDynamicObject(2267, 2347.19, -671.44, 122.71,   0.00, 0.00, 91.77);
	CreateDynamicObject(19279, 2359.25, -650.25, 127.23,   0.00, 0.00, 89.99);
	CreateDynamicObject(19279, 2359.13, -646.58, 127.23,   0.00, 0.00, 90.22);
	
	// Fire Station
	//New Fire Station - yet a-fucking-again - 5/26/2012 BrianWilliam
/*	CreateDynamicObject(8417, 1317.07, -1366.98, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1306.83, -1365.36, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1317.95, 1361.40, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1312.26, -1327.11, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1312.28, -1310.30, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1306.50, -1325.60, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1307.65, -1320.53, 12.42,   0.00, 180.00, 0.00);
	CreateDynamicObject(3660, 1333.09, -1375.27, 14.75,   0.00, 0.00, 270.04);
	CreateDynamicObject(3660, 1324.04, -1384.40, 14.75,   0.00, 0.00, 180.28);
	CreateDynamicObject(3660, 1333.09, -1363.77, 14.75,   0.00, 0.00, 270.04);
	CreateDynamicObject(3660, 1304.45, -1384.52, 14.75,   0.00, 0.00, 180.28);
	CreateDynamicObject(3660, 1284.80, -1384.64, 14.75,   0.00, 0.00, 180.28);
	CreateDynamicObject(3660, 1333.09, -1344.13, 14.75,   0.00, 0.00, 270.04);
	CreateDynamicObject(3660, 1333.09, -1324.62, 14.75,   0.00, 0.00, 270.04);
	CreateDynamicObject(3660, 1333.09, -1305.07, 14.75,   0.00, 0.00, 270.04);
	CreateDynamicObject(3660, 1333.09, -1300.66, 14.75,   0.00, 0.00, 270.04);
	CreateDynamicObject(3660, 1279.89, -1384.64, 14.75,   0.00, 0.00, 180.28);
	CreateDynamicObject(3660, 1280.70, -1291.46, 14.75,   0.00, 0.00, 180.28);
	CreateDynamicObject(19447, 1326.79, -1310.46, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1325.10, -1305.69, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1318.49, -1305.71, 14.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1312.73, -1305.71, 15.05,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1307.00, -1305.71, 15.45,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1301.28, -1305.71, 14.82,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1294.84, -1305.71, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1293.31, -1307.30, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.33, -1313.65, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.33, -1322.82, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1332.01, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1341.22, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1350.71, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1293.31, -1356.87, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1298.12, -1358.35, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1302.84, -1360.03, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1302.83, -1366.57, 14.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1302.91, -1373.05, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1303.69, -1376.02, 14.12,   0.00, 0.00, 32.82);
	CreateDynamicObject(19355, 1305.39, -1378.65, 14.12,   0.00, 0.00, 32.82);
	CreateDynamicObject(19447, 1311.00, -1379.94, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1320.53, -1379.96, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1325.27, -1379.96, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1326.79, -1375.06, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1320.07, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1329.35, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1338.90, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1348.45, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1358.03, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1367.55, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1291.28, -1352.48, 14.12,   0.00, 0.00, 25.00);
	CreateDynamicObject(19447, 1291.30, -1324.60, 14.12,   0.00, 0.00, -25.00);
	CreateDynamicObject(19447, 1289.30, -1333.74, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1289.28, -1343.36, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1322.80, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1332.01, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1341.22, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1350.71, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1293.31, -1313.65, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1293.31, -1307.30, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1291.28, -1324.60, 17.56,   0.00, 0.00, -25.00);
	CreateDynamicObject(19447, 1289.26, -1333.74, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1289.26, -1343.36, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1291.28, -1352.48, 17.56,   0.00, 0.00, 25.00);
	CreateDynamicObject(19355, 1293.31, -1356.87, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1298.12, -1358.35, 17.56,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1302.84, -1359.96, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1302.91, -1366.68, 18.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1302.91, -1373.05, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1303.71, -1376.02, 17.56,   0.00, 0.00, 32.82);
	CreateDynamicObject(19355, 1305.39, -1378.67, 17.56,   0.00, 0.00, 32.82);
	CreateDynamicObject(19447, 1311.00, -1379.94, 17.56,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1320.53, -1379.96, 17.56,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1325.27, -1379.96, 17.56,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1326.79, -1375.06, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1367.55, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1358.03, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.78, -1348.51, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1338.90, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1329.35, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1320.01, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1326.79, -1310.44, 17.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1325.06, -1305.71, 17.56,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1318.70, -1305.69, 18.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1309.10, -1305.72, 19.34,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1302.87, -1305.71, 19.34,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1294.84, -1305.71, 17.56,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1301.28, -1305.71, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1307.00, -1305.71, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1312.73, -1305.71, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1318.49, -1305.73, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1302.89, -1363.07, 18.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1302.83, -1366.57, 14.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19388, 1304.50, -1358.35, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1316.86, -1358.35, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1322.03, -1358.35, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1322.03, -1358.35, 17.56,   180.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1316.86, -1358.35, 17.56,   180.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1307.57, -1358.35, 17.56,   180.00, 1.00, -90.00);
	CreateDynamicObject(19450, 1310.80, -1358.35, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1322.03, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1312.44, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19388, 1306.08, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19388, 1303.74, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19388, 1301.37, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19358, 1298.18, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19358, 1294.97, -1322.56, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1322.03, -1322.56, 17.56,   180.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1312.44, -1322.56, 17.56,   180.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1302.91, -1322.56, 17.56,   180.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1298.18, -1322.56, 17.56,   180.00, 0.00, 90.00);
	CreateDynamicObject(19430, 1288.97, -1336.60, 12.85,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.97, -1340.02, 12.85,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.98, -1341.13, 12.85,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.97, -1333.25, 12.85,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.97, -1331.87, 12.71,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.96, -1330.96, 12.58,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1287.60, -1331.06, 12.58,   0.00, 90.00, 45.00);
	CreateDynamicObject(19430, 1286.67, -1333.65, 12.58,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1286.67, -1336.41, 12.58,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1286.69, -1339.70, 12.58,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1287.68, -1343.49, 12.58,   0.00, 90.00, -45.00);
	CreateDynamicObject(19430, 1286.69, -1341.05, 12.58,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.64, -1331.18, 12.71,   0.00, 90.00, 45.00);
	CreateDynamicObject(19430, 1287.60, -1333.59, 12.71,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1287.60, -1337.03, 12.71,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1287.60, -1340.46, 12.71,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1288.62, -1342.87, 12.71,   0.00, 90.00, -45.00);
	CreateDynamicObject(1557, 1289.19, -1341.65, 12.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(1557, 1289.19, -1338.63, 12.88,   0.00, 0.00, -90.00);
	CreateDynamicObject(1557, 1289.19, -1338.67, 12.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(1557, 1289.19, -1335.67, 12.88,   0.00, 0.00, -90.00);
	CreateDynamicObject(1557, 1289.19, -1335.71, 12.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(1557, 1289.19, -1332.69, 12.88,   0.00, 0.00, -90.00);
	CreateDynamicObject(2614, 1289.12, -1334.33, 17.15,   0.00, 0.00, -90.00);
	CreateDynamicObject(2614, 1289.12, -1340.16, 17.15,   0.00, 0.00, -90.00);
	CreateDynamicObject(11489, 1284.91, -1337.52, 12.28,   0.00, 0.00, -89.22);
	CreateDynamicObject(19430, 1285.38, -1334.85, 12.58,   0.00, 90.00, 90.00);
	CreateDynamicObject(19430, 1284.49, -1333.71, 12.58,   0.00, 90.00, 108.00);
	CreateDynamicObject(19430, 1285.68, -1333.40, 12.58,   0.00, 90.00, 99.30);
	CreateDynamicObject(19430, 1285.43, -1339.84, 12.58,   0.00, 90.00, 63.06);
	CreateDynamicObject(19430, 1285.65, -1341.45, 12.58,   0.00, 90.00, 147.00);
	CreateDynamicObject(19430, 1284.88, -1342.06, 12.58,   0.00, 90.00, 180.48);
	CreateDynamicObject(11245, 1284.79, -1338.03, 28.44,   0.00, -70.00, 247.38);
	CreateDynamicObject(1223, 1289.04, -1332.57, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1223, 1289.04, -1341.81, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1223, 1307.02, -1305.58, 12.38,   0.00, 0.00, 30.00);
	CreateDynamicObject(1223, 1301.29, -1305.58, 12.38,   0.00, 0.00, 30.00);
	CreateDynamicObject(1223, 1312.70, -1305.58, 12.38,   0.00, 0.00, 30.00);
	CreateDynamicObject(1223, 1318.45, -1305.58, 12.38,   0.00, 0.00, 30.00);
	CreateDynamicObject(1223, 1295.72, -1305.58, 12.38,   0.00, 0.00, 30.00);
	CreateDynamicObject(1223, 1302.69, -1372.39, 12.38,   0.00, 0.00, 173.28);
	CreateDynamicObject(1223, 1302.71, -1366.57, 12.38,   0.00, 0.00, 241.86);
	CreateDynamicObject(1223, 1302.74, -1361.08, 12.38,   0.00, 0.00, 238.74);
	CreateDynamicObject(3851, 1293.21, -1313.00, 17.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(3851, 1326.69, -1314.48, 17.29,   0.00, 0.00, 0.00);
	CreateDynamicObject(3851, 1326.91, -1330.14, 15.31,   0.00, 0.00, 0.00);
	CreateDynamicObject(3851, 1326.87, -1369.12, 15.31,   0.00, 0.00, 0.00);
	CreateDynamicObject(3851, 1312.63, -1380.07, 15.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(3851, 1320.44, -1380.06, 15.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(3851, 1326.87, -1350.14, 15.31,   0.00, 0.00, 0.00);
	CreateDynamicObject(3851, 1326.87, -1314.48, 17.29,   0.00, 0.00, 0.00);
	CreateDynamicObject(3851, 1293.39, -1313.00, 17.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(1696, 1295.06, -1323.97, 20.18,   0.00, 0.00, 242.12);
	CreateDynamicObject(1696, 1293.09, -1327.77, 20.18,   0.00, 0.00, 242.12);
	CreateDynamicObject(1696, 1292.06, -1331.31, 20.18,   0.00, 0.00, -90.36);
	CreateDynamicObject(1696, 1292.06, -1336.75, 20.18,   0.00, 0.00, -90.36);
	CreateDynamicObject(1696, 1292.08, -1342.19, 20.18,   0.00, 0.00, -90.36);
	CreateDynamicObject(1696, 1292.06, -1345.48, 20.18,   0.00, 0.00, -90.36);
	CreateDynamicObject(1696, 1292.68, -1349.24, 20.18,   0.00, 0.00, -64.80);
	CreateDynamicObject(1696, 1294.84, -1353.73, 20.18,   0.00, 0.00, -64.80);
	CreateDynamicObject(19447, 1296.05, -1351.05, 22.07,   0.00, 0.00, 26.28);
	CreateDynamicObject(19447, 1294.02, -1342.01, 22.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1296.24, -1325.84, 22.08,   0.00, 0.00, 334.51);
	CreateDynamicObject(1696, 1296.56, -1319.74, 20.30,   0.00, 0.00, 270.20);
	CreateDynamicObject(1696, 1296.56, -1314.36, 20.30,   0.00, 0.00, 270.20);
	CreateDynamicObject(1696, 1296.56, -1309.11, 20.30,   0.00, 0.00, 270.20);
	CreateDynamicObject(19447, 1303.11, -1321.57, 22.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1312.63, -1321.55, 22.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1318.49, -1321.55, 22.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1324.33, -1322.68, 22.07,   0.00, 0.00, 43.08);
	CreateDynamicObject(19447, 1325.43, -1328.63, 22.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1325.43, -1338.17, 22.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1325.43, -1347.55, 22.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1302.94, -1355.34, 22.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1312.47, -1355.34, 22.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1324.31, -1353.46, 22.07,   0.00, 0.00, -45.00);
	CreateDynamicObject(19355, 1323.47, -1354.31, 22.07,   0.00, 0.00, -45.00);
	CreateDynamicObject(19447, 1317.66, -1355.34, 22.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(5721, 1302.69, -1338.51, 18.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(5721, 1306.22, -1347.06, 18.42,   0.00, 0.00, -90.00);
	CreateDynamicObject(5721, 1313.78, -1347.02, 18.42,   0.00, 0.00, -90.00);
	CreateDynamicObject(5721, 1316.77, -1344.01, 18.42,   0.00, 0.00, -90.00);
	CreateDynamicObject(5721, 1316.74, -1332.04, 18.42,   0.00, 0.00, -90.00);
	CreateDynamicObject(1694, 1315.93, -1317.36, 29.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1301.32, -1305.69, 18.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1296.57, -1307.75, 20.30,   0.00, 0.00, 270.20);
	CreateDynamicObject(19447, 1309.08, -1305.70, 18.07,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1318.70, -1305.71, 19.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1308.45, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1313.41, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1318.71, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1323.98, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1334.39, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1329.29, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1339.73, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1345.01, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1350.27, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1355.55, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1360.85, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1366.20, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1371.62, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1376.90, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1324.39, -1377.82, 20.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1696, 1299.91, -1355.39, 20.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1296.78, -1357.08, 19.65,   0.00, 105.00, 269.10);
	CreateDynamicObject(19428, 1294.82, -1357.08, 19.65,   0.00, 105.00, 223.38);
	CreateDynamicObject(19428, 1295.61, -1356.88, 19.65,   0.00, 105.00, 256.20);
	CreateDynamicObject(1696, 1305.19, -1355.39, 20.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(1696, 1310.52, -1355.39, 20.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(1696, 1315.98, -1355.39, 20.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(1696, 1319.94, -1355.39, 20.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(19454, 1320.31, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1316.79, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1313.42, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1310.03, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1306.58, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1303.18, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1300.65, -1316.81, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1300.67, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1304.06, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1307.49, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1310.81, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1314.25, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1317.68, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1320.28, -1310.11, 21.20,   0.00, 90.00, 0.00);
	CreateDynamicObject(16101, 1294.84, -1323.28, 23.93,   0.00, 0.00, -2.40);
	CreateDynamicObject(16368, 1294.84, -1323.22, 34.83,   0.00, 0.00, 1.98);
	CreateDynamicObject(3851, 1291.52, -1353.26, 16.22,   0.00, 0.00, 25.14);
	CreateDynamicObject(19447, 1321.99, -1359.86, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1321.99, -1363.26, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1321.99, -1366.73, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1321.99, -1370.17, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1321.99, -1373.45, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1321.99, -1376.73, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1321.99, -1378.26, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1378.27, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1374.73, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1371.31, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1367.86, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1364.53, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1361.27, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1312.40, -1359.82, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1307.65, -1359.85, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1307.65, -1363.36, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1307.65, -1366.77, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1307.65, -1370.13, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1307.65, -1373.41, 19.36,   0.00, 90.00, 90.00);
	CreateDynamicObject(19435, 1304.60, -1376.01, 19.36,   0.00, 90.00, 125.10);
	CreateDynamicObject(19435, 1305.85, -1375.04, 19.36,   0.00, 90.00, 125.10);
	CreateDynamicObject(19435, 1306.84, -1374.75, 19.36,   0.00, 90.00, 125.10);
	CreateDynamicObject(19435, 1306.93, -1378.20, 19.36,   0.00, 90.00, 90.12);
	CreateDynamicObject(19435, 1305.94, -1377.99, 19.36,   0.00, 90.00, 123.90);
	CreateDynamicObject(3660, 1292.12, -1330.12, 14.75,   0.00, 0.00, -90.00);
	CreateDynamicObject(3660, 1290.18, -1330.16, 14.75,   0.00, 0.00, 91.18);
	CreateDynamicObject(640, 1282.73, -1329.57, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(640, 1282.73, -1345.69, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(3660, 1290.18, -1348.68, 14.75,   0.00, 0.00, 90.00);
	CreateDynamicObject(3660, 1291.91, -1348.65, 14.75,   0.00, 0.00, 91.18);
	CreateDynamicObject(19454, 1294.94, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1298.41, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1301.78, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1305.20, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1308.67, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1312.07, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1315.38, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1318.47, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1321.55, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1324.57, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1324.99, -1318.15, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1324.93, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1322.10, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1318.88, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1315.96, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1312.79, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1309.47, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1306.24, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1302.87, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1299.66, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1296.53, -1310.43, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1295.12, -1310.42, 19.31,   0.00, 90.00, 0.00);
	CreateDynamicObject(19455, 1303.33, -1322.76, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(19455, 1307.76, -1358.23, 14.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(9241, 1311.34, -1337.47, 25.58,   0.00, 0.00, 90.61);
	CreateDynamicObject(19447, 1294.05, -1334.94, 22.08,   0.00, 0.00, 0.00);
	CreateDynamicObject(19454, 1295.63, -1326.36, 23.77,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1295.63, -1335.97, 23.77,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1295.64, -1345.58, 23.77,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1295.66, -1348.77, 23.77,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1302.14, -1355.03, 23.77,   0.00, 90.00, 90.00);
	CreateDynamicObject(19454, 1311.78, -1355.04, 23.77,   0.00, 90.00, 90.00);
	CreateDynamicObject(19454, 1322.66, -1355.03, 23.77,   0.00, 90.00, 90.00);
	CreateDynamicObject(19454, 1315.00, -1355.03, 23.79,   0.00, 90.00, 90.00);*/
	
	// House Level 11
      //Front door
    CreateObject(1493,1327.8599854,-1071.8100586,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 2
    new door = CreateObject(1506,1327.7998047,-1070.2998047,3457.8999023,0.0000000,0.0000000,270.0000000,250); //Object number 3
    SetObjectMaterial(door, 0, 3967, "cj_airprt", "Road_blank256HV");
       
    new doorh1 = CreateObject(1502,1325.4499512,-1072.6199951,3457.8339844,0.0000000,0.0000000,0.0000000,250); //Object number 67
    SetObjectMaterial(doorh1, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK");
       
        //Walls
    new wall = CreateObject(19445,1327.8800049,-1071.0999756,3459.6000977,0.0000000,0.0000000,0.0000000,250); //Object number 1
    new wall1 = CreateObject(19445,1323.0999756,-1076.0000000,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 4
    new wall2 = CreateObject(19445,1321.4000244,-1077.3229980,3459.6000977,0.0000000,0.0000000,0.0000000,250); //Object number 9
    new wall3 = CreateObject(19445,1318.1999512,-1064.9830322,3459.6000977,0.0000000,0.0000000,0.0000000,250); //Object number 13
    new wall4 = CreateObject(19445,1323.0999756,-1065.3000488,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 14
    new wall5 = CreateObject(19445,1327.8800049,-1061.5000000,3459.6000977,0.0000000,0.0000000,0.0000000,250); //Object number 15
    new wall6 = CreateObject(19445,1313.5000000,-1076.0000000,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 18
    new wall7 = CreateObject(19445,1311.5999756,-1071.0999756,3459.6000977,0.0000000,0.0000000,0.0000000,250); //Object number 19
    new wall8 = CreateObject(19445,1313.4000244,-1066.3000488,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 20
   
    new wall9 = CreateObject(19353,1323.0000000,-1072.5999756,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 6
    new wall10 = CreateObject(19353,1326.1999512,-1069.6999512,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 10
    new wall11 = CreateObject(19353,1319.8000488,-1069.6999512,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 12
   
    new wall12 = CreateObject(19383,1326.1999512,-1072.5999756,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 8
    new wall13 = CreateObject(19383,1323.0000000,-1069.6999512,3459.6000977,0.0000000,0.0000000,270.0000000,250); //Object number 11
       
    SetObjectMaterial(wall, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall1, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall2, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall3, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall4, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall5, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall6, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall7, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall8, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall9, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall10, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall11, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall12, 0, 3967, "cj_airprt", "bigbrick");
    SetObjectMaterial(wall13, 0, 3967, "cj_airprt", "bigbrick");
       
    //Kitchen:
    new kfloor = CreateObject(19378,1312.9000244,-1066.5000000,3457.8220215,0.0000000,90.0000000,0.0000000,250); //Object number 21
    SetObjectMaterial(kfloor, 0, 3961, "lee_kitch", "dinerfloor01_128"); //Floor
       
 
    new k1 = CreateObject(2139,1315.0000000,-1070.1999512,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 33
    new k2 = CreateObject(2139,1315.0996094,-1066.9091797,3457.8930664,0.0000000,0.0000000,0.0000000,250); //Object number 40
    new k3 = CreateObject(2139,1315.9599609,-1070.1999512,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 41
    new k4 = CreateObject(2139,1315.9880371,-1069.1719971,3457.8999023,0.0000000,0.0000000,180.0000000,250); //Object number 42
    new k5 = CreateObject(2139,1315.0283203,-1069.1719971,3457.8999023,0.0000000,0.0000000,180.0000000,250); //Object number 43
       
    new k6 = CreateObject(2137,1312.1999512,-1067.8800049,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 26
    new k7 = CreateObject(2137,1313.1600342,-1066.9000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 29
    new k8 = CreateObject(2137,1312.1992188,-1068.8496094,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 30
       
    new k9 = CreateObject(2136,1312.1929932,-1070.8199463,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 27
 
    new k10 = CreateObject(2305,1312.1999512,-1066.9000244,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 28
 
    new k11 = CreateObject(2135,1314.1300049,-1066.9000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 31
 
    new k12 = CreateObject(2140,1316.0600586,-1066.9000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 32
    new k13 = CreateObject(2140,1317.0200195,-1066.9000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 34
       
    SetObjectMaterial(k1, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
    SetObjectMaterial(k2, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
    SetObjectMaterial(k3, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
    SetObjectMaterial(k4, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
    SetObjectMaterial(k5, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
       
    SetObjectMaterial(k6, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
    SetObjectMaterial(k7, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
    SetObjectMaterial(k8, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
       
	SetObjectMaterial(k6, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
	SetObjectMaterial(k7, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
	SetObjectMaterial(k8, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
       
	SetObjectMaterial(k9, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
	SetObjectMaterial(k9, 4, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
		   
	SetObjectMaterial(k10, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
	SetObjectMaterial(k10, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
		   
	SetObjectMaterial(k11, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Kitchentable
		   
	SetObjectMaterial(k12, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Fridge
	SetObjectMaterial(k13, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Fridge
		   
	SetObjectMaterial(k12, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Fridge
	SetObjectMaterial(k13, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Fridge
       
       
        //Main floor:
	new mainfloor = CreateObject(19379,1322.6999512,-1071.0999756,3457.8200684,0.0000000,90.0000000,0.0000000,250); //Object number 0
	new mainfloor1 = CreateObject(19379,1312.1999512,-1071.0999756,3457.8210449,0.0000000,90.0000000,0.0000000,250); //Object number 17
	SetObjectMaterial(mainfloor, 0, 19070, "WSSections", "wood1");
	SetObjectMaterial(mainfloor1, 0, 19070, "WSSections", "wood1");
       
        //Living room
	CreateObject(14518,1309.4000244,-1082.9000244,3459.3000488,0.0000000,0.0000000,217.9962158,250); //Plant decoration
	CreateObject(2238,1320.9200, -1074.5200, 3458.8020,0.0000000,0.0000000,0.0000000,250); //Lavalamp
	CreateObject(2026,1313.6999512,-1073.9000244,3461.1000977,0.0000000,0.0000000,0.0000000,250); //Lamp behind TV
	CreateObject(2822,1315.0999756,-1069.6999512,3458.9599609,0.0000000,0.0000000,0.0000000,250); //Plates
	CreateObject(2820,1312.0999756,-1070.4000244,3458.9599609,0.0000000,0.0000000,0.0000000,250); //Dirty plates

	new tvtable = CreateObject(2315,1320.8000488,-1073.7399902,3457.8999023,0.0000000,0.0000000,270.0000000,250); //Object number 39
	new tv = CreateObject(2267,1320.8199, -1074.5000, 3459.0000,0.0000000,0.0000000,270.0000000,250); //Object number 48
	new couch = CreateObject(1713,1316.0999756,-1075.1999512,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 36
	new couch1 = CreateObject(1713,1317.1999512,-1072.3000488,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 44
	new chair = CreateObject(2120,1313.8000488,-1075.0000000,3458.5000000,0.0000000,0.0000000,270.0000000,250); //Object number 35
	new chair1 = CreateObject(2120,1313.8000488,-1072.5999756,3458.5000000,0.0000000,0.0000000,90.0000000,250); //Object number 38
	new table = CreateObject(2112,1313.8000488,-1073.8000488,3458.3000488,0.0000000,0.0000000,0.0000000,250); //Object number 37
		   
	SetObjectMaterial(tvtable, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //TVtable
	SetObjectMaterial(tv, 1, 2267, "picture_frame", "CJ_PAINTING19", 0xFF000000); //TV
	SetObjectMaterial(tv, 0, 3967, "cj_airprt", "Road_blank256HV"); //TV
	SetObjectMaterial(couch, 2, 1726, "mrk_couches2", "kb_sofa5_256"); //Couch carpet
	SetObjectMaterial(couch1, 2, 1726, "mrk_couches2", "kb_sofa5_256"); //Couch carpet
	SetObjectMaterial(couch, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Panel
	SetObjectMaterial(couch1, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Panel
	SetObjectMaterial(chair, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Chair
	SetObjectMaterial(chair1, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Chair
	SetObjectMaterial(table, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Table
 
    CreateObject(2233, 1321.45, -1073.97, 3458.39,   0.00, 0.00, 270.00);
	CreateObject(2233, 1321.45, -1075.83, 3458.39,   0.00, 0.00, 270.00);
	CreateObject(2026, 1321.46, -1074.57, 3458.98,   0.00, 90.00, 0.00);
	new tvback = CreateObject(2267, 1320.88, -1074.53, 3459.00,   0.00, 0.00, 90.00);
	SetObjectMaterial(tvback, 1, 3781, "LSOffice1floors", "carpet13-256x256");
	SetObjectMaterial(tvback, 0, 3781, "LSOffice1floors", "carpet13-256x256");
       
	new carpet = CreateObject(19432, 1317.24, -1074.20, 3457.83,   0.00, 90.00, 270.00);
	new carpet1 = CreateObject(19432, 1318.84, -1074.20, 3457.83,   0.00, 90.00, 270.00);
	SetObjectMaterial(carpet, 0, 3781, "LSOffice1floors", "carpet13-256x256");
	SetObjectMaterial(carpet1, 0, 3781, "LSOffice1floors", "carpet13-256x256");
       
	//Bedroom:
	CreateObject(14518,1323.9000244,-1061.3000488,3459.3000488,0.0000000,0.0000000,218.0000000,250); //Plant decoration
	CreateObject(2835,1323.0999756,-1067.9000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Rug
	CreateObject(2870,1318.8000488,-1067.0999756,3459.0500488,0.0000000,0.0000000,40.0000000,250); //Bowel decoration
	CreateObject(2813, 1327.17, -1065.99, 3458.46,   0.00, 0.00, 0.00); //Books
		   
	new room = CreateObject(19377,1323.4000244,-1064.9000244,3457.8220215,0.0000000,90.0000000,0.0000000,250); //Object number 16
	SetObjectMaterial(room, 0, 3781, "LSOffice1floors", "carpet13-256x256"); //Floor
       
	new bed = CreateObject(2299,1324.3000488,-1067.0000000,3457.8999023,0.0000000,0.0000000,270.0000000,250); //Object number 53
	SetObjectMaterial(bed, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bed
	SetObjectMaterial(bed, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bed
	SetObjectMaterial(bed, 0, 3781, "LSOffice1floors", "carpet13-256x256"); //Bed
		   
	new cupb = CreateObject(1741,1320.0000000,-1068.0999756,3457.8999023,0.0000000,0.0000000,90.0000000,250); //Object number 62
	new cupb1 = CreateObject(1743,1320.5000000,-1066.9000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 63
	SetObjectMaterial(cupb, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Cupboard
	SetObjectMaterial(cupb1, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Cupboard1
	SetObjectMaterial(cupb1, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Cupboard1
		   
	new book = CreateObject(1742, 1320.82, -1069.73, 3457.89,   0.00, 0.00, 180.00);
	SetObjectMaterial(book, 2, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bookshelf
		   
	new btable = CreateObject(1819, 1326.61, -1066.56, 3457.96,   0.00, 0.00, 0.00);
	new btable1 = CreateObject(1819, 1326.61, -1069.47, 3457.96,   0.00, 0.00, 0.00);
	SetObjectMaterial(btable, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bed table
	SetObjectMaterial(btable1, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bed table
	SetObjectMaterial(btable, 1, 2528, "kbcouch1", "kbcornice_2_128"); //Bed table
	SetObjectMaterial(btable1, 1, 2528, "kbcouch1", "kbcornice_2_128"); //Bed table
       
       
	//Bathroom:
	CreateObject(2741,1327.6986, -1074.9509, 3459.3640,0.0000, 0.0000, 270.0000, 250); //Soap
		   
	new bath = CreateObject(19377, 1326.61, -1077.37, 3457.822,   0.00, 90.00, 0.00,250); //Object number 5
	SetObjectMaterial(bath, 0, 3967, "cj_airprt", "Slabs"); //Floor
		   
	new bcarpet = CreateObject(2815,1324.5999756,-1074.8000488,3457.9099121,0.0000000,0.0000000,0.0000000,250); //Object number 59
	SetObjectMaterial(bcarpet, 0, 3781, "LSOffice1floors", "carpet13-256x256"); //Carpet
		   
	new toilet = CreateObject(2528,1325.6999512,-1075.4000244,3457.8999023,0.0000000,0.0000000,180.0000000,250); //Object number 54
	SetObjectMaterial(toilet, 4, 3781, "LSOffice1floors", "carpet13-256x256"); //Toilet
		   
	new btub = CreateObject(2526,1322.0000000,-1075.4000244,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 55
	SetObjectMaterial(btub, 0, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bathtub
		   
	new shower = CreateObject(2527,1322.0000000,-1074.1999512,3457.8999023,0.0000000,0.0000000,0.0000000,250); //Object number 56
	SetObjectMaterial(shower, 1, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Shower
		   
	new sink = CreateObject(2139, 1327.28, -1075.26, 3457.89,   0.00, 0.00, 270.00);
	new sink1 = CreateObject(2136, 1327.29, -1073.29, 3457.90,   0.00, 0.00, 270.00);
	SetObjectMaterial(sink, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Bathroomtable
	SetObjectMaterial(sink1, 3, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Sink
	SetObjectMaterial(sink1, 4, 2528, "cj_bathroom", "CJ_WOOD_DARK"); //Sink
       
    //Ceiling
	new ceiling = CreateObject(19377,1322.8000488,-1070.0000000,3461.1999512,0.0000000,90.0000000,0.0000000,250); //Object number 22
    new ceiling1 = CreateObject(19377,1322.8000488,-1079.5999756,3461.1999512,0.0000000,90.0000000,0.0000000,250); //Object number 23
    new ceiling2 = CreateObject(19377,1312.3000488,-1079.5999756,3461.1999512,0.0000000,90.0000000,0.0000000,250); //Object number 24
    new ceiling3 = CreateObject(19377,1312.3000488,-1070.0000000,3461.1999512,0.0000000,90.0000000,0.0000000,250); //Object number 25
 
    SetObjectMaterial(ceiling, 0, 3781, "LSOffice1floors", "ceilingtiles3-128x128");
    SetObjectMaterial(ceiling1, 0, 3781, "LSOffice1floors", "ceilingtiles3-128x128");
    SetObjectMaterial(ceiling2, 0, 3781, "LSOffice1floors", "ceilingtiles3-128x128");
    SetObjectMaterial(ceiling3, 0, 3781, "LSOffice1floors", "ceilingtiles3-128x128");
   
    //Frames
    CreateObject(2260, 1327.32, -1067.54, 3459.76,   0.00, 0.00, 270.00);
    CreateObject(2261, 1324.50, -1065.88, 3459.74,   0.00, 0.00, 0.00);
    CreateObject(2262, 1323.45, -1072.02, 3459.83,   0.00, 0.00, 180.00);
    CreateObject(2264, 1318.02, -1075.38, 3459.77,   0.00, 0.00, 180.00);
    CreateObject(2265, 1312.18, -1073.46, 3459.79,   0.00, 0.00, 90.00);
    CreateObject(2270, 1312.21, -1070.74, 3459.89,   0.00, 0.00, 90.00);
    CreateObject(2271, 1317.62, -1068.36, 3459.97,   0.00, 0.00, 270.00);
    CreateObject(2263, 1320.31, -1070.31, 3459.86,   0.00, 0.00, 0.00);

/*	// Floor 9
	CreateDynamicObject(3534,1784.52441406,-1300.07128906,66.02582550,0.00000000,0.00000000,0.00000000); //object(trdlamp01) (1)
	CreateDynamicObject(3534,1788.43652344,-1300.07128906,66.02582550,0.00000000,0.00000000,0.00000000); //object(trdlamp01) (2)
	CreateDynamicObject(2627,1780.32043457,-1296.39587402,64.77574921,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (1)
	CreateDynamicObject(2630,1781.97949219,-1295.98828125,64.80075073,0.00000000,0.00000000,179.99450684); //object(gym_bike) (1)
	CreateDynamicObject(2755,1782.67333984,-1303.73217773,66.52585602,0.00000000,0.00000000,90.00000000); //object(dojo_wall) (1)
	CreateDynamicObject(14446,1816.66699219,-1299.73242188,65.37578583,0.00000000,0.00000000,179.99450684); //object(smokes_bed) (1)
	CreateDynamicObject(638,1791.34826660,-1303.77587891,65.49969482,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateDynamicObject(1417,1813.07177734,-1301.27868652,67.37570953,0.00000000,0.00000000,179.99450684); //object(dyn_cupboard) (1)
	CreateDynamicObject(1742,1813.30419922,-1301.69494629,64.82575226,0.00000000,0.00000000,179.99450684); //object(med_bookshelf) (1)
	CreateDynamicObject(1744,1816.54492188,-1301.70898438,67.12589264,0.00000000,0.00000000,179.99450684); //object(med_shelf) (1)
	CreateDynamicObject(2828,1816.17578125,-1301.39648438,67.45091248,0.00000000,0.00000000,335.99487305); //object(gb_ornament02) (1)
	CreateDynamicObject(2279,1815.39257812,-1301.06542969,67.74059296,0.00000000,0.00000000,179.99450684); //object(frame_thick_6) (1)
	CreateDynamicObject(1649,1813.37597656,-1293.18750000,66.37517548,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (1)
	CreateDynamicObject(1649,1813.37597656,-1293.18750000,66.37517548,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (2)
	CreateDynamicObject(1649,1817.70507812,-1293.18750000,66.37517548,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (3)
	CreateDynamicObject(1649,1817.64746094,-1293.18750000,66.37517548,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (4)
	CreateDynamicObject(1649,1811.00097656,-1295.61816406,66.37517548,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (5)
	CreateDynamicObject(1649,1811.00097656,-1295.61816406,66.37517548,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (6)
	CreateDynamicObject(14556,1817.54882812,-1296.23144531,66.34836578,0.00000000,0.00000000,90.00000000); //object(zerowardrobe) (1)
	CreateDynamicObject(2844,1816.98046875,-1300.48437500,65.51879883,358.99517822,0.49926758,69.25683594); //object(gb_bedclothes03) (1)
	CreateDynamicObject(2971,1787.65820312,-1307.76562500,64.82575226,0.00000000,0.00000000,0.00000000); //object(k_smashboxes) (1)
	CreateDynamicObject(2386,1818.11035156,-1297.03613281,65.07576752,0.00000000,0.00000000,0.00000000); //object(cj_sweater_f_1) (1)
	CreateDynamicObject(2391,1818.06347656,-1297.13769531,66.07582855,0.00000000,0.00000000,179.99450684); //object(cj_jean_cream) (1)
	CreateDynamicObject(2401,1818.20703125,-1296.40820312,66.47585297,0.00000000,0.00000000,270.00000000); //object(cj_trackies_white) (1)
	CreateDynamicObject(2389,1818.07714844,-1295.71875000,66.10083008,0.00000000,0.00000000,0.00000000); //object(cj_4_sweaters) (1)
	CreateDynamicObject(2654,1817.72753906,-1296.15234375,65.15077209,0.00000000,0.00000000,0.00000000); //object(cj_shoe_box) (1)
	CreateDynamicObject(1961,1818.45214844,-1299.90136719,67.55091858,0.00000000,0.00000000,90.00000000); //object(record3) (1)
	CreateDynamicObject(2075,1816.33691406,-1299.60546875,69.42843628,0.00000000,0.00000000,0.00000000); //object(cj_mlight9) (1)
	CreateDynamicObject(1649,1811.00097656,-1295.61816406,68.58744049,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (6)
	CreateDynamicObject(1649,1811.00097656,-1295.61816406,68.58744049,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (6)
	CreateDynamicObject(1649,1813.37597656,-1293.18750000,68.58744049,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (1)
	CreateDynamicObject(1649,1813.37597656,-1293.18750000,68.58744049,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (1)
	CreateDynamicObject(1649,1817.70507812,-1293.18750000,68.58744049,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (3)
	CreateDynamicObject(1649,1817.64746094,-1293.18750000,68.58744049,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (3)
	CreateDynamicObject(1649,1778.67285156,-1297.53417969,66.37517548,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (13)
	CreateDynamicObject(1649,1778.67285156,-1297.53417969,66.37517548,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (14)
	CreateDynamicObject(1649,1778.67285156,-1297.53417969,68.58744049,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (15)
	CreateDynamicObject(1649,1778.67285156,-1297.53417969,68.58744049,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (16)
	CreateDynamicObject(1649,1778.67285156,-1309.11621094,66.37517548,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (17)
	CreateDynamicObject(1649,1778.67285156,-1309.11621094,66.37517548,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (18)
	CreateDynamicObject(1649,1778.67285156,-1309.33789062,68.58744049,0.00000000,0.00000000,270.00000000); //object(wglasssmash) (19)
	CreateDynamicObject(1649,1778.67285156,-1309.33789062,68.58744049,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (20)
	CreateDynamicObject(2141,1771.78320312,-1298.89355469,64.80075073,0.00000000,0.00000000,21.56506348); //object(cj_kitch2_l) (1)
	CreateDynamicObject(2133,1772.68713379,-1298.52600098,64.80175781,0.00000000,0.00000000,23.72613525); //object(cj_kitch2_r) (1)
	CreateDynamicObject(2130,1773.12011719,-1306.82617188,64.82575226,0.00000000,0.00000000,154.91271973); //object(cj_k1_sink) (1)
	CreateDynamicObject(2294,1775.82373047,-1308.08801270,64.80454254,0.00000000,0.00000000,154.90722656); //object(cj_k_cooker1) (1)
	CreateDynamicObject(1808,1778.48120117,-1299.22009277,64.80075073,0.00000000,0.00000000,270.00000000); //object(cj_watercooler2) (1)
	CreateDynamicObject(1649,1814.81835938,-1312.21313477,66.19017029,0.00000000,0.00000000,190.00000000); //object(wglasssmash) (7)
	CreateDynamicObject(1502,1816.97351074,-1311.88720703,64.81501007,0.00000000,0.00000000,10.00000000); //object(gen_doorint04) (1)
	CreateDynamicObject(1649,1814.81835938,-1312.21313477,66.19017029,0.00000000,0.00000000,10.00000000); //object(wglasssmash) (8)
	CreateDynamicObject(1649,1814.81835938,-1312.21313477,68.55436707,0.00000000,0.00000000,190.00000000); //object(wglasssmash) (9)
	CreateDynamicObject(1649,1814.81835938,-1312.21313477,68.55436707,0.00000000,0.00000000,10.00000000); //object(wglasssmash) (10)
	CreateDynamicObject(1649,1816.71459961,-1311.88391113,68.55436707,0.00000000,0.00000000,190.00000000); //object(wglasssmash) (11)
	CreateDynamicObject(1649,1816.71459961,-1311.88391113,68.55436707,0.00000000,0.00000000,10.00000000); //object(wglasssmash) (12)
	CreateDynamicObject(2184,1830.89526367,-1315.47509766,64.83274078,0.00000000,0.00000000,256.00000000); //object(med_office6_desk_2) (1)
	CreateDynamicObject(2184,1833.44470215,-1314.18688965,64.83274078,0.00000000,0.00000000,199.00000000); //object(med_office6_desk_2) (2)
	CreateDynamicObject(1714,1832.65368652,-1316.68359375,64.80843353,0.00000000,0.00000000,233.99996948); //object(kb_swivelchair1) (1)
	CreateDynamicObject(2190,1833.53527832,-1314.76330566,65.60848236,0.00000000,0.00000000,0.00000000); //object(pc_1) (1)
	CreateDynamicObject(2201,1831.36083984,-1317.25598145,65.60848236,0.00000000,0.00000000,6.00000000); //object(printer_1) (1)
	CreateDynamicObject(2233,1819.75305176,-1311.60827637,64.80843353,0.00000000,0.00000000,0.00000000); //object(swank_speaker_4) (1)
	CreateDynamicObject(2233,1814.43774414,-1311.96533203,64.80161285,0.00000000,0.00000000,60.00000000); //object(swank_speaker_4) (2)
	CreateDynamicObject(3111,1831.60266113,-1315.48645020,65.63348389,0.00000000,0.00000000,138.00000000); //object(st_arch_plan) (1)
	CreateDynamicObject(2286,1833.37365723,-1316.15966797,67.02563477,0.00000000,0.00000000,242.00000000); //object(frame_5) (1)
	CreateDynamicObject(1726,1826.11645508,-1304.41198730,64.79544830,0.00000000,0.00000000,90.00000000); //object(mrk_seating2) (1)
	CreateDynamicObject(1726,1826.15014648,-1301.94580078,64.79544830,0.00000000,0.00000000,90.00000000); //object(mrk_seating2) (2)
	CreateDynamicObject(1726,1826.15869141,-1299.48107910,64.79544830,0.00000000,0.00000000,90.00000000); //object(mrk_seating2) (3)
	CreateDynamicObject(2311,1827.59313965,-1304.02465820,64.81467438,0.00000000,0.00000000,90.00000000); //object(cj_tv_table2) (1)
	CreateDynamicObject(2311,1827.59790039,-1301.63732910,64.81467438,0.00000000,0.00000000,90.00000000); //object(cj_tv_table2) (2)
	CreateDynamicObject(2311,1827.60424805,-1299.28466797,64.81467438,0.00000000,0.00000000,90.00000000); //object(cj_tv_table2) (3)
	CreateDynamicObject(1726,1829.03906250,-1302.45507812,64.79544830,0.00000000,0.00000000,270.00000000); //object(mrk_seating2) (4)
	CreateDynamicObject(1726,1829.02783203,-1299.97912598,64.79544830,0.00000000,0.00000000,270.00000000); //object(mrk_seating2) (5)
	CreateDynamicObject(1726,1829.03454590,-1297.55187988,64.79544830,0.00000000,0.00000000,270.00000000); //object(mrk_seating2) (6)
	CreateDynamicObject(14565,1823.11291504,-1295.85144043,69.55821228,0.00000000,0.00000000,180.00000000); //object(triad_bar_stuff) (1)
	CreateDynamicObject(16151,1825.25805664,-1292.36914062,65.15023804,0.00000000,0.00000000,180.00000000); //object(ufo_bar) (1)
	CreateDynamicObject(1951,1827.51660156,-1298.39196777,65.50833130,0.00000000,0.00000000,0.00000000); //object(kb_beer01) (1)
	CreateDynamicObject(1551,1827.97241211,-1299.93261719,65.56043243,0.00000000,0.00000000,0.00000000); //object(dyn_wine_big) (1)
	CreateDynamicObject(1510,1827.91210938,-1300.27636719,65.33936310,0.00000000,0.00000000,0.00000000); //object(dyn_ashtry) (1)
	CreateDynamicObject(1510,1827.70312500,-1302.05175781,65.33936310,0.00000000,0.00000000,0.00000000); //object(dyn_ashtry) (2)
	CreateDynamicObject(1667,1827.84484863,-1298.96618652,65.40874481,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (1)
	CreateDynamicObject(2921,1814.76513672,-1318.90356445,68.97117615,0.00000000,356.00000000,268.00000000); //object(kmb_cam) (1)
	CreateDynamicObject(16782,1814.50415039,-1316.36877441,68.02246094,0.00000000,0.00000000,0.00000000); //object(a51_radar_scan) (1)
	CreateDynamicObject(1932,1827.95349121,-1304.18200684,65.32016754,0.00000000,0.00000000,0.00000000); //object(chip_stack15) (1)
	CreateDynamicObject(1926,1827.79028320,-1304.25268555,65.32016754,0.00000000,0.00000000,0.00000000); //object(pkr_chp_hi10) (1)
	CreateDynamicObject(1911,1827.87207031,-1304.23632812,65.32016754,0.00000000,0.00000000,0.00000000); //object(chip_stack11) (1)
	CreateDynamicObject(1830,1813.12280273,-1311.95520020,64.78081512,0.00000000,0.00000000,180.00000000); //object(kb_bandit1) (1)
	CreateDynamicObject(14455,1824.38110352,-1306.11315918,66.39382172,0.00000000,0.00000000,269.75000000); //object(gs_bookcase) (1)
	CreateDynamicObject(2258,1818.47082520,-1309.89538574,68.14946747,0.00000000,0.00000000,269.75000000); //object(frame_clip_5) (1)
	CreateDynamicObject(2265,1817.97558594,-1308.80847168,67.70776367,0.00000000,0.00000000,269.25000000); //object(frame_slim_6) (1)
	CreateDynamicObject(2282,1817.97387695,-1308.93615723,66.44141388,0.00000000,0.00000000,269.75000000); //object(frame_thick_4) (1)
	CreateDynamicObject(632,1816.79138184,-1307.27685547,65.23243713,0.00000000,0.00000000,206.00000000); //object(veg_palmkb7) (1)
	CreateDynamicObject(2196,1831.40734863,-1315.82604980,65.60848236,0.00000000,0.00000000,0.00000000); //object(work_lamp1) (1)
	CreateDynamicObject(1742,1834.96875000,-1313.55676270,64.81058502,0.00000000,0.00000000,239.99998474); //object(med_bookshelf) (2)
	CreateDynamicObject(2853,1830.61560059,-1316.61218262,65.60848236,0.00000000,0.00000000,0.00000000); //object(gb_bedmags03) (1)
	CreateDynamicObject(3084,1829.61560059,-1286.98376465,68.44384766,0.00000000,0.00000000,0.00000000); //object(trdcsgrgdoor_lvs) (1)
	CreateDynamicObject(3084,1829.61572266,-1287.00244141,65.96697235,0.00000000,0.00000000,0.00000000); //object(trdcsgrgdoor_lvs) (2)
	CreateDynamicObject(2885,1831.03906250,-1274.96875000,69.94490051,35.99670410,0.00000000,149.99084473); //object(xref_garagedoor) (2)
	CreateDynamicObject(1710,1831.50866699,-1277.42480469,64.76844025,0.00000000,0.00000000,150.00000000); //object(kb_couch07) (1)
	CreateDynamicObject(15038,1818.00354004,-1292.65979004,65.42837524,0.00000000,0.00000000,0.00000000); //object(plant_pot_3_sv) (1)
	CreateDynamicObject(18014,1817.99438477,-1289.83215332,65.25939941,0.00000000,0.00000000,0.00000000); //object(int_rest_veg03) (1)
	CreateDynamicObject(1597,1816.81677246,-1273.84411621,67.09188080,0.00000000,0.00000000,121.99996948); //object(cntrlrsac1) (1)
	CreateDynamicObject(1235,1812.66577148,-1275.89562988,65.35974121,0.00000000,0.00000000,34.00000000); //object(wastebin) (1)
	CreateDynamicObject(2204,1823.04956055,-1286.89392090,64.84966278,0.00000000,0.00000000,180.00000000); //object(med_office8_cabinet) (1)
	CreateDynamicObject(1753,1816.71533203,-1277.12060547,64.75534058,0.00000000,0.00000000,31.99768066); //object(swank_couch_1) (1)
	CreateDynamicObject(1753,1822.40698242,-1276.12695312,64.75534058,0.00000000,0.00000000,303.99560547); //object(swank_couch_1) (2)
	CreateDynamicObject(1753,1819.84960938,-1281.47399902,64.75534058,0.00000000,0.00000000,157.99438477); //object(swank_couch_1) (4)
	CreateDynamicObject(2357,1819.90222168,-1278.54406738,65.03420258,0.00000000,0.00000000,0.00000000); //object(dunc_dinning) (1)
	CreateDynamicObject(1668,1826.20678711,-1291.35827637,65.92235565,0.00000000,0.00000000,0.00000000); //object(propvodkabotl1) (1)
	CreateDynamicObject(1827,1830.66711426,-1274.88745117,64.72490692,0.00000000,0.00000000,0.00000000); //object(man_sdr_tables) (1)
	CreateDynamicObject(1670,1830.53198242,-1274.70483398,65.17165375,0.00000000,0.00000000,0.00000000); //object(propcollecttable) (1)
	CreateDynamicObject(1544,1818.10156250,-1278.94726562,65.44448090,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (1)
	CreateDynamicObject(1665,1818.89208984,-1278.86999512,65.47993469,0.00000000,0.00000000,0.00000000); //object(propashtray1) (1)
	CreateDynamicObject(1667,1818.32690430,-1279.03283691,65.53305817,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (2)
	CreateDynamicObject(2276,1817.96252441,-1290.01293945,67.87812805,0.00000000,0.00000000,264.00000000); //object(frame_fab_3) (1)
	CreateDynamicObject(2269,1817.97448730,-1290.07971191,66.99803925,0.00000000,0.00000000,268.00000000); //object(frame_wood_4) (1)
	CreateDynamicObject(1657,1773.15942383,-1302.60205078,69.40209961,0.00000000,0.00000000,0.00000000); //object(htl_fan_rotate_nt) (1)
	CreateDynamicObject(2257,1772.81958008,-1307.19580078,68.16950989,0.00000000,0.00000000,152.00000000); //object(frame_clip_4) (1)
	CreateDynamicObject(2636,1776.72082520,-1303.21936035,65.40683746,0.00000000,0.00000000,315.99975586); //object(cj_pizza_chair) (1)
	CreateDynamicObject(2636,1775.15234375,-1302.14538574,65.40683746,0.00000000,0.00000000,157.99438477); //object(cj_pizza_chair) (2)
	CreateDynamicObject(2636,1776.65856934,-1301.39355469,65.45482635,0.00000000,0.00000000,59.99633789); //object(cj_pizza_chair) (3)
	CreateDynamicObject(2821,1775.85900879,-1302.41369629,65.50357819,0.00000000,0.00000000,95.99853516); //object(gb_foodwrap01) (1)
	CreateDynamicObject(2104,1824.69714355,-1287.07897949,64.81204224,0.00000000,0.00000000,0.00000000); //object(swank_hi_fi) (1)
	CreateDynamicObject(2104,1835.34716797,-1287.07995605,64.80291748,0.00000000,0.00000000,0.00000000); //object(swank_hi_fi) (2)
	CreateDynamicObject(2297,1832.89086914,-1272.10974121,64.73532104,0.00000000,0.00000000,264.00000000); //object(tv_unit_2) (1)
	CreateDynamicObject(2101,1824.95166016,-1295.82141113,65.73532867,0.00000000,0.00000000,0.00000000); //object(med_hi_fi_3) (1)
	CreateDynamicObject(2100,1829.98413086,-1287.21398926,64.74456024,0.00000000,0.00000000,0.00000000); //object(med_hi_fi_2) (1)
	CreateDynamicObject(2475,1806.27807617,-1303.54931641,64.99627686,0.00000000,0.00000000,270.00000000); //object(cj_hobby_shelf_3) (1)
	CreateDynamicObject(1708,1827.95703125,-1281.58508301,64.79912567,0.00000000,0.00000000,310.00000000); //object(kb_chair02) (1)
	CreateDynamicObject(1708,1825.52453613,-1281.14379883,64.76626587,0.00000000,0.00000000,0.00000000); //object(kb_chair02) (2)
	CreateDynamicObject(2725,1827.31201172,-1281.07275391,64.94618225,0.00000000,0.00000000,0.00000000); //object(lm_striptable) (1)
	CreateDynamicObject(2964,1826.10937500,-1284.34179688,64.77562714,0.00000000,0.00000000,48.00000000); //object(k_pooltablesm) (1)
	CreateDynamicObject(2997,1825.89147949,-1284.49877930,65.70558167,0.00000000,0.00000000,0.00000000); //object(k_poolballstp03) (1)
	CreateDynamicObject(3105,1825.35595703,-1284.73889160,65.70558167,0.00000000,0.00000000,0.00000000); //object(k_poolballspt07) (1)
	CreateDynamicObject(3106,1825.19750977,-1284.66528320,65.70558167,0.00000000,0.00000000,0.00000000); //object(k_poolball8) (1)
	CreateDynamicObject(3003,1826.64758301,-1283.80566406,65.70597839,0.00000000,0.00000000,0.00000000); //object(k_poolballcue) (1)
	CreateDynamicObject(2965,1827.22851562,-1281.07214355,65.40441132,0.00000000,0.00000000,0.00000000); //object(k_pooltriangle01) (1)
	CreateDynamicObject(3004,1826.13366699,-1284.57495117,65.66757965,0.00000000,0.00000000,0.00000000); //object(k_poolq2) (1)
	CreateDynamicObject(3004,1825.27087402,-1284.55737305,66.31754303,300.23403931,213.18911743,11.47247314); //object(k_poolq2) (2)
	CreateDynamicObject(2044,1806.01525879,-1303.28271484,65.15789795,0.00000000,0.00000000,0.00000000); //object(cj_mp5k) (1)
	CreateDynamicObject(2036,1806.09814453,-1303.68908691,65.83471680,0.00000000,0.00000000,270.01721191); //object(cj_psg1) (1)
	CreateDynamicObject(2035,1806.15380859,-1303.88781738,65.13687134,0.00000000,0.00000000,270.37042236); //object(cj_m16) (1)
	CreateDynamicObject(2034,1806.06896973,-1304.27990723,65.83094788,0.00000000,0.00000000,85.78775024); //object(cj_sawnoff) (1)
	CreateDynamicObject(1654,1806.20056152,-1304.47363281,65.33640289,0.00000000,0.00000000,269.82803345); //object(dynamite) (1)
	CreateDynamicObject(1242,1805.95397949,-1304.14575195,65.29428101,0.00000000,0.00000000,90.22039795); //object(bodyarmour) (1)
	CreateDynamicObject(2710,1832.85559082,-1315.14013672,65.70888519,0.00000000,0.00000000,0.00000000); //object(watch_pickup) (1)
	CreateDynamicObject(2061,1806.13586426,-1303.83239746,67.47821045,0.00000000,0.00000000,266.52331543); //object(cj_shells1) (1)
	CreateDynamicObject(2037,1806.11486816,-1303.43566895,66.58963776,0.00000000,359.94201660,268.06097412); //object(cj_pistol_ammo) (1)
	CreateDynamicObject(2037,1806.10620117,-1303.85668945,66.58963776,0.00000000,359.93957520,268.06091309); //object(cj_pistol_ammo) (2)
	CreateDynamicObject(2037,1806.10925293,-1304.35534668,66.58963776,0.00000000,359.93957520,268.06091309); //object(cj_pistol_ammo) (3)
	CreateDynamicObject(2037,1806.10351562,-1304.12414551,66.58963776,0.00000000,359.93957520,268.06091309); //object(cj_pistol_ammo) (4)
	CreateDynamicObject(2037,1806.11022949,-1303.64978027,66.58963776,0.00000000,359.93957520,268.06091309); //object(cj_pistol_ammo) (5)
	CreateDynamicObject(2037,1806.09741211,-1303.17773438,66.58963776,0.00000000,359.93957520,268.06091309); //object(cj_pistol_ammo) (6)
	CreateDynamicObject(14455,1799.75158691,-1295.07067871,66.45759583,0.00000000,359.76800537,183.94853210); //object(gs_bookcase) (2)
	CreateDynamicObject(2628,1783.49072266,-1296.54479980,64.81717682,0.00000000,0.00000000,0.00000000); //object(gym_bench2) (1)
	CreateDynamicObject(2134,1773.60546875,-1298.12377930,64.80168152,0.00000000,0.00000000,23.17340088); //object(cj_kitch2_m) (1)
	CreateDynamicObject(2133,1774.52258301,-1297.74414062,64.80707550,0.00000000,0.00000000,23.53771973); //object(cj_kitch2_r) (2)
	CreateDynamicObject(2134,1775.43823242,-1297.33764648,64.80658722,0.00000000,0.00000000,23.80914307); //object(cj_kitch2_m) (2)
	CreateDynamicObject(2133,1776.34484863,-1296.95361328,64.80707550,0.00000000,0.00000000,23.53271484); //object(cj_kitch2_r) (3)
	CreateDynamicObject(2141,1777.25146484,-1296.50903320,64.75669861,0.00000000,0.00000000,22.43569946); //object(cj_kitch2_l) (3)
	CreateDynamicObject(14527,1823.65783691,-1282.07275391,67.33525848,0.00000000,0.00000000,0.00000000); //object(fannyfan) (1)
	CreateDynamicObject(2421,1774.54772949,-1297.36462402,65.77874756,0.00000000,0.00000000,23.01571655); //object(cj_ff_microw) (1)
	CreateDynamicObject(2202,1822.86450195,-1312.26757812,64.82456970,0.00000000,0.00000000,0.05801392); //object(photocopier_2) (1)
	CreateDynamicObject(2127,1774.91723633,-1307.68835449,64.80672455,0.00000000,0.00000000,155.49769592); //object(cj_k1_fridge_unit) (2)
	CreateDynamicObject(1433,1776.12207031,-1302.35485840,64.99619293,0.00000000,0.00000000,45.93978882); //object(dyn_table_1) (1)
	CreateDynamicObject(1704,1828.00952148,-1305.74121094,64.81100464,0.00000000,0.00000000,179.51293945); //object(kb_chair03) (1)
	CreateDynamicObject(1669,1826.26989746,-1294.10046387,65.92715454,0.00000000,0.00000000,0.00000000); //object(propwinebotl1) (1)
	CreateDynamicObject(1668,1827.67248535,-1302.70947266,65.48207092,0.00000000,0.00000000,0.00000000); //object(propvodkabotl1) (2)
	CreateDynamicObject(1664,1827.45935059,-1301.01672363,65.47247314,0.00000000,0.00000000,0.00000000); //object(propwinebotl2) (1)
	CreateDynamicObject(1551,1826.06945801,-1295.25744629,66.01511383,0.00000000,0.00000000,0.00000000); //object(dyn_wine_big) (2)
	CreateDynamicObject(1517,1826.15649414,-1290.35058594,65.97460175,0.00000000,0.00000000,0.00000000); //object(dyn_wine_break) (1)
	CreateDynamicObject(1512,1827.61389160,-1303.40771484,65.51761627,0.00000000,0.00000000,0.00000000); //object(dyn_wine_03) (1)
	CreateDynamicObject(1510,1826.28051758,-1293.10485840,65.79404449,0.00000000,0.00000000,0.00000000); //object(dyn_ashtry) (3)
	CreateDynamicObject(1661,1801.23559570,-1304.18298340,69.42411804,0.00000000,0.00000000,0.00000000); //object(htl_fan_rotate_dy) (1)
	CreateDynamicObject(2922,1818.49316406,-1311.02478027,66.30498505,0.00000000,0.00000000,89.45596313); //object(kmb_keypad) (1)*/

	//Floor 19 Made By DonKmotr
	CreateDynamicObject(14866, 1832.70, -1273.60, 119.70,   0.00, 0.00, 311.99);
	CreateDynamicObject(2100, 1830.50, -1270.30, 119.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(2108, 1831.80, -1272.50, 119.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1768, 1834.00, -1278.50, 119.20,   0.00, 2.00, 270.00);
	CreateDynamicObject(16779, 1825.30, -1274.20, 124.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(2743, 1818.40, -1272.20, 120.50,   0.00, 0.00, 37.99);
	CreateDynamicObject(3794, 1817.40, -1274.50, 119.50,   0.00, 0.00, 32.00);
	CreateDynamicObject(2600, 1824.80, -1271.30, 120.10,   0.00, 0.00, 33.99);
	CreateDynamicObject(1523, 1818.70, -1318.30, 119.34,   0.00, 0.00, 89.98);
	CreateDynamicObject(3964, 1825.91, -1284.54, 122.80,   0.00, 0.00, 89.55);
	CreateDynamicObject(3794, 1816.10, -1273.90, 119.60,   0.00, 0.00, 32.00);
	CreateDynamicObject(2572, 1813.20, -1279.50, 119.20,   0.00, 0.00, 40.00);
	CreateDynamicObject(1829, 1832.50, -1316.30, 119.70,   0.00, 0.00, 236.00);
	CreateDynamicObject(1829, 1832.10, -1317.10, 119.60,   0.00, 0.00, 239.99);
	CreateDynamicObject(1836, 1816.76, -1284.51, 119.30,   0.00, 0.00, 354.00);
	CreateDynamicObject(2779, 1817.80, -1287.90, 119.10,   0.00, 0.00, 267.99);
	CreateDynamicObject(2357, 1814.00, -1292.40, 119.60,   0.00, 0.00, 87.98);
	CreateDynamicObject(1720, 1814.70, -1293.90, 119.30,   0.00, 0.00, 267.99);
	CreateDynamicObject(1720, 1814.70, -1293.20, 119.30,   0.00, 0.00, 267.98);
	CreateDynamicObject(1727, 1813.50, -1289.70, 119.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(1720, 1814.70, -1291.30, 119.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(1720, 1813.40, -1291.60, 119.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1720, 1813.40, -1290.90, 119.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1720, 1813.30, -1292.30, 119.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1720, 1813.30, -1293.00, 119.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1720, 1813.20, -1293.70, 119.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(1720, 1814.70, -1292.60, 119.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(1720, 1814.70, -1292.00, 119.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(1727, 1814.30, -1295.00, 119.30,   0.00, 0.00, 175.99);
	CreateDynamicObject(2262, 1817.70, -1291.80, 122.30,   0.00, 0.00, 267.99);
	CreateDynamicObject(2395, 1827.39, -1311.76, 121.60,   0.00, 0.00, 179.99);
	CreateDynamicObject(2395, 1818.72, -1317.80, 121.85,   0.00, 0.00, 91.20);
	CreateDynamicObject(1961, 1821.70, -1311.80, 122.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(1208, 1818.82, -1312.27, 119.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(1481, 1819.05, -1314.18, 119.50,   0.00, 0.00, 92.00);
	CreateDynamicObject(2710, 1818.85, -1312.30, 120.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(2036, 1819.80, -1311.80, 121.20,   0.00, 91.99, 95.99);
	CreateDynamicObject(1577, 1818.85, -1313.00, 119.30,   0.00, 0.00, 92.00);
	CreateDynamicObject(1550, 1819.40, -1312.30, 119.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(1550, 1820.07, -1312.69, 119.60,   0.00, 0.00, 0.00);
	CreateDynamicObject(1550, 1819.31, -1313.04, 119.60,   0.00, 0.00, 0.00);
	CreateDynamicObject(1550, 1819.60, -1312.60, 119.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(1550, 1819.90, -1312.30, 119.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(3092, 1819.21, -1314.11, 119.80,   0.00, 86.00, 271.99);
	CreateDynamicObject(2276, 1814.50, -1274.70, 122.40,   0.00, 0.00, 24.00);
	CreateDynamicObject(2261, 1819.90, -1271.40, 121.40,   0.00, 0.00, 25.99);
	CreateDynamicObject(14458, 1824.30, -1270.20, 120.30,   0.00, 0.00, 319.99);
	CreateDynamicObject(1714, 1826.90, -1312.40, 119.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(1705, 1828.70, -1317.60, 119.00,   0.00, 0.00, 179.99);
	CreateDynamicObject(2607, 1826.90, -1313.20, 119.60,   0.00, 0.00, 0.00);
	CreateDynamicObject(1705, 1827.20, -1317.70, 119.00,   0.00, 0.00, 179.99);
	CreateDynamicObject(1523, 1818.71, -1316.82, 119.34,   0.00, 0.00, 91.51);
	CreateDynamicObject(2395, 1824.25, -1315.09, 119.26,   0.00, 0.00, 271.99);
	CreateDynamicObject(2395, 1824.24, -1315.08, 121.80,   0.00, 0.00, 271.99);
	CreateDynamicObject(2395, 1827.40, -1311.76, 118.90,   0.00, 0.00, 179.99);
	CreateDynamicObject(2395, 1831.11, -1311.64, 118.90,   0.00, 0.00, 181.99);
	CreateDynamicObject(1491, 1833.85, -1311.65, 119.30,   0.00, 0.00, 181.94);
	CreateDynamicObject(1491, 1833.81, -1311.68, 119.30,   0.00, 0.00, 2.38);
	CreateDynamicObject(2395, 1831.10, -1311.60, 121.60,   0.00, 0.00, 181.99);
	CreateDynamicObject(2395, 1834.83, -1311.48, 121.60,   0.00, 0.00, 181.99);
	CreateDynamicObject(2395, 1823.99, -1288.01, 121.90,   0.00, 0.00, 89.99);
	CreateDynamicObject(2395, 1825.43, -1284.84, 119.10,   0.00, 0.00, 2.00);
	CreateDynamicObject(2395, 1820.20, -1284.57, 119.10,   0.00, 0.00, 354.00);
	CreateDynamicObject(2395, 1832.14, -1284.37, 121.50,   0.00, 0.00, 5.99);
	CreateDynamicObject(2395, 1812.28, -1283.92, 121.60,   0.00, 0.00, 354.00);
	CreateDynamicObject(2395, 1815.00, -1284.03, 121.70,   0.00, 0.00, 354.00);
	CreateDynamicObject(2395, 1818.60, -1284.40, 121.50,   0.00, 0.00, 354.00);
	CreateDynamicObject(2395, 1822.32, -1284.80, 121.50,   0.00, 0.00, 359.99);
	CreateDynamicObject(2395, 1826.00, -1284.79, 121.50,   0.00, 0.00, 1.99);
	CreateDynamicObject(2395, 1829.73, -1284.63, 121.50,   0.00, 0.00, 5.99);
	CreateDynamicObject(1491, 1814.53, -1283.91, 119.10,   0.00, 0.00, 174.00);
	CreateDynamicObject(2395, 1818.74, -1284.89, 121.80,   0.00, 0.00, 265.53);
	CreateDynamicObject(1491, 1813.19, -1283.79, 119.10,   0.00, 0.00, 171.99);
	CreateDynamicObject(2395, 1815.00, -1284.02, 119.10,   0.00, 0.00, 354.00);
	CreateDynamicObject(1491, 1803.90, -1299.90, 119.30,   0.00, 0.00, 143.99);
	CreateDynamicObject(1491, 1783.80, -1296.62, 119.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(2395, 1783.70, -1297.10, 119.20,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1783.70, -1297.10, 119.20,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1783.71, -1295.70, 121.70,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1783.40, -1306.20, 119.10,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1783.41, -1308.00, 119.10,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1783.40, -1306.21, 121.80,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1783.35, -1309.64, 121.68,   0.00, 0.00, 269.99);
	CreateDynamicObject(15036, 1817.00, -1299.30, 120.41,   0.00, 0.00, 90.00);
	CreateDynamicObject(2395, 1824.00, -1288.02, 119.20,   0.00, 0.00, 89.99);
	CreateDynamicObject(2255, 1824.80, -1312.80, 121.80,   0.00, 0.00, 94.00);
	CreateDynamicObject(2256, 1825.34, -1311.91, 122.60,   0.00, 0.00, 0.00);
	CreateDynamicObject(2258, 1827.10, -1311.93, 122.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(2265, 1828.80, -1312.30, 121.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1976, 1824.21, -1298.20, 122.80,   0.00, 0.00, 90.00);
	CreateDynamicObject(1975, 1824.30, -1297.00, 121.60,   0.00, 0.00, 90.00);
	CreateDynamicObject(14391, 1824.40, -1293.20, 120.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(16151, 1833.60, -1303.50, 119.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(2395, 1797.10, -1295.10, 119.30,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1774.25, -1301.80, 121.92,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1783.70, -1299.20, 121.70,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1800.00, -1297.20, 119.30,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1783.95, -1299.84, 121.99,   0.00, 0.00, 90.25);
	CreateDynamicObject(2395, 1802.33, -1298.65, 121.95,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1800.40, -1297.50, 121.80,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1802.90, -1299.30, 121.80,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1805.68, -1301.34, 121.70,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1824.10, -1311.40, 121.80,   0.00, 0.00, 271.99);
	CreateDynamicObject(2395, 1824.12, -1311.38, 119.26,   0.00, 0.00, 271.99);
	CreateDynamicObject(2395, 1818.40, -1312.30, 121.90,   0.00, 0.00, 271.99);
	CreateDynamicObject(2395, 1818.51, -1315.40, 121.80,   0.00, 0.00, 271.99);
	CreateDynamicObject(2286, 1817.50, -1272.40, 121.70,   0.00, 0.00, 34.00);
	CreateDynamicObject(2288, 1815.80, -1274.00, 121.40,   0.00, 0.00, 28.00);
	CreateDynamicObject(2395, 1823.70, -1284.88, 119.10,   0.00, 0.00, 2.00);
	CreateDynamicObject(1491, 1835.31, -1283.94, 119.26,   0.00, 0.00, 185.99);
	CreateDynamicObject(1491, 1833.83, -1284.10, 119.26,   0.00, 0.00, 185.98);
	CreateDynamicObject(2395, 1829.15, -1284.69, 119.10,   0.00, 0.00, 5.47);
	CreateDynamicObject(1892, 1833.30, -1311.40, 119.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(2275, 1824.80, -1295.70, 121.90,   0.00, 0.00, 94.00);
	CreateDynamicObject(3017, 1827.00, -1313.30, 120.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(1736, 1826.90, -1311.90, 121.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(1808, 1820.50, -1270.80, 119.30,   0.00, 0.00, 34.00);
	CreateDynamicObject(1828, 1830.80, -1275.60, 119.50,   0.00, 0.00, 132.00);
	CreateDynamicObject(2147, 1814.90, -1301.00, 119.30,   0.00, 0.00, 180.00);
	CreateDynamicObject(2190, 1826.10, -1313.00, 120.00,   0.00, 0.00, 114.00);
	CreateDynamicObject(2297, 1830.20, -1279.70, 119.30,   0.00, 0.00, 110.00);
	CreateDynamicObject(2332, 1833.30, -1315.70, 119.80,   0.00, 0.00, 234.00);
	CreateDynamicObject(2514, 1778.90, -1295.82, 119.20,   0.00, 0.00, 22.00);
	CreateDynamicObject(2515, 1777.90, -1296.00, 120.00,   0.00, 0.00, 24.00);
	CreateDynamicObject(2517, 1770.50, -1299.30, 119.20,   0.00, 0.00, 270.00);
	CreateDynamicObject(2516, 1773.75, -1301.38, 119.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(2395, 1780.40, -1301.97, 121.50,   0.00, 0.00, 1.99);
	CreateDynamicObject(2395, 1779.10, -1302.00, 118.80,   0.00, 0.00, 1.98);
	CreateDynamicObject(2395, 1775.24, -1302.14, 118.80,   0.00, 0.00, 1.98);
	CreateDynamicObject(2395, 1778.30, -1302.04, 118.80,   0.00, 0.00, 1.98);
	CreateDynamicObject(2395, 1771.51, -1302.16, 118.80,   0.00, 0.00, 359.98);
	CreateDynamicObject(2395, 1771.50, -1302.16, 121.50,   0.00, 0.00, 359.98);
	CreateDynamicObject(2395, 1775.00, -1302.15, 121.50,   0.00, 0.00, 1.99);
	CreateDynamicObject(2395, 1778.60, -1302.03, 121.50,   0.00, 0.00, 1.99);
	CreateDynamicObject(1491, 1783.54, -1311.30, 119.20,   0.00, 0.00, 267.99);
	CreateDynamicObject(1491, 1783.70, -1301.80, 119.27,   0.00, 0.00, 179.99);
	CreateDynamicObject(2627, 1772.70, -1306.10, 119.20,   0.00, 0.00, 80.00);
	CreateDynamicObject(2628, 1775.70, -1307.60, 119.40,   0.00, 0.00, 156.00);
	CreateDynamicObject(2630, 1776.50, -1303.10, 119.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(2818, 1773.90, -1300.80, 119.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(2630, 1773.20, -1304.60, 119.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(2630, 1778.00, -1303.10, 119.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(2628, 1773.60, -1303.00, 119.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(2395, 1797.50, -1295.40, 121.90,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1799.84, -1296.85, 121.90,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1799.84, -1296.85, 119.22,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1804.95, -1300.55, 121.76,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1802.33, -1298.65, 119.22,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1806.59, -1301.70, 119.22,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1806.44, -1301.61, 121.96,   0.00, 0.00, 144.03);
	CreateDynamicObject(2395, 1783.80, -1307.11, 121.96,   0.00, 0.00, 88.37);
	CreateDynamicObject(2395, 1783.94, -1298.31, 121.71,   0.00, 0.00, 90.25);
	CreateDynamicObject(2395, 1783.95, -1299.84, 119.30,   0.00, 0.00, 90.25);
	CreateDynamicObject(2395, 1783.95, -1303.57, 119.30,   0.00, 0.00, 90.25);
	CreateDynamicObject(2395, 1783.95, -1303.57, 122.01,   0.00, 0.00, 90.25);
	CreateDynamicObject(2395, 1783.70, -1299.40, 119.20,   0.00, 0.00, 269.99);
	CreateDynamicObject(2395, 1785.41, -1301.69, 121.76,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1777.98, -1301.77, 121.88,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1774.25, -1301.80, 119.20,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1777.98, -1301.77, 119.20,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1781.69, -1301.73, 119.20,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1781.69, -1301.73, 121.86,   0.00, 0.00, 180.55);
	CreateDynamicObject(2395, 1804.23, -1300.30, 119.30,   0.00, 0.00, 323.99);
	CreateDynamicObject(2395, 1783.60, -1312.33, 121.71,   0.00, 0.00, 88.37);
	CreateDynamicObject(2395, 1783.80, -1307.11, 119.30,   0.00, 0.00, 88.37);
	CreateDynamicObject(2395, 1783.67, -1310.83, 119.30,   0.00, 0.00, 88.37);
	CreateDynamicObject(2395, 1783.67, -1310.83, 122.01,   0.00, 0.00, 88.37);
	CreateDynamicObject(2395, 1818.40, -1312.30, 119.30,   0.00, 0.00, 271.99);
	CreateDynamicObject(2395, 1818.66, -1314.88, 119.30,   0.00, 0.00, 92.27);
	CreateDynamicObject(2395, 1818.70, -1315.04, 121.95,   0.00, 0.00, 92.27);
	CreateDynamicObject(2395, 1824.67, -1311.93, 121.81,   0.00, 0.00, 359.62);
	CreateDynamicObject(2395, 1824.38, -1314.12, 119.26,   0.00, 0.00, 91.73);
	CreateDynamicObject(2395, 1824.38, -1314.12, 121.91,   0.00, 0.00, 91.73);
	CreateDynamicObject(2395, 1824.49, -1317.81, 121.91,   0.00, 0.00, 91.73);
	CreateDynamicObject(2395, 1824.49, -1317.81, 119.23,   0.00, 0.00, 91.73);
	CreateDynamicObject(2395, 1829.13, -1311.89, 119.11,   0.00, 0.00, 1.35);
	CreateDynamicObject(2395, 1824.67, -1311.93, 119.23,   0.00, 0.00, 359.62);
	CreateDynamicObject(2395, 1828.39, -1311.96, 119.23,   0.00, 0.00, 1.35);
	CreateDynamicObject(2395, 1828.39, -1311.96, 119.23,   0.00, 0.00, 1.35);
	CreateDynamicObject(2395, 1828.38, -1311.96, 121.89,   0.00, 0.00, 1.35);
	CreateDynamicObject(2395, 1832.12, -1311.82, 121.79,   0.00, 0.00, 1.35);
	CreateDynamicObject(2395, 1831.91, -1311.60, 118.90,   0.00, 0.00, 181.99);
	CreateDynamicObject(2395, 1831.87, -1284.19, 119.10,   0.00, 0.00, 185.51);
	CreateDynamicObject(2395, 1835.59, -1283.92, 121.70,   0.00, 0.00, 184.79);
	CreateDynamicObject(2395, 1828.17, -1284.52, 119.10,   0.00, 0.00, 180.94);
	CreateDynamicObject(2395, 1824.47, -1284.55, 119.10,   0.00, 0.00, 177.72);
	CreateDynamicObject(2395, 1820.75, -1284.38, 119.10,   0.00, 0.00, 175.02);
	CreateDynamicObject(2395, 1817.75, -1284.11, 119.10,   0.00, 0.00, 174.72);
	CreateDynamicObject(2395, 1814.64, -1283.83, 121.60,   0.00, 0.00, 173.91);
	CreateDynamicObject(2395, 1818.28, -1284.21, 121.80,   0.00, 0.00, 173.91);
	CreateDynamicObject(2395, 1822.00, -1284.51, 121.80,   0.00, 0.00, 174.82);
	CreateDynamicObject(2395, 1825.73, -1284.57, 121.80,   0.00, 0.00, 179.66);
	CreateDynamicObject(2395, 1829.36, -1284.47, 121.80,   0.00, 0.00, 182.23);
	CreateDynamicObject(2395, 1833.04, -1284.14, 121.80,   0.00, 0.00, 184.79);
	CreateDynamicObject(2395, 1816.60, -1284.19, 119.10,   0.00, 0.00, 354.00);
	CreateDynamicObject(2395, 1818.74, -1284.89, 119.10,   0.00, 0.00, 265.53);

	//Floor 12 Made By Scottygraham1990
/*	CreateDynamicObject(2773, 1784.50, -1299.74, 12.90,   -4.00, 0.00, 0.00);
	CreateDynamicObject(2773, 1788.93, -1299.76, 12.90,   -4.00, 0.00, 0.00);
	CreateDynamicObject(3437, 1797.06, -1296.22, 13.37,   0.00, 0.00, 71.22);
	CreateDynamicObject(3437, 1798.67, -1295.39, 13.37,   0.00, 0.00, 339.08);
	CreateDynamicObject(3437, 1800.61, -1296.71, 13.37,   0.00, 0.00, 313.25);
	CreateDynamicObject(3437, 1801.68, -1298.17, 13.37,   0.00, 0.00, 286.95);
	CreateDynamicObject(3437, 1803.65, -1298.30, 13.37,   0.00, 0.00, 159.15);
	CreateDynamicObject(3437, 1802.01, -1298.21, 13.37,   0.00, 0.00, 159.15);
	CreateDynamicObject(3437, 1805.36, -1297.29, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1807.01, -1295.51, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1808.94, -1293.70, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1810.61, -1292.35, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1812.19, -1290.88, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1814.02, -1289.40, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1815.87, -1287.66, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1817.48, -1286.14, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1817.16, -1284.70, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.90, -1282.17, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.55, -1279.78, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.31, -1277.39, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.14, -1275.26, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(1886, 1798.03, -1306.29, 16.94,   18.00, 0.00, 212.54);
	CreateDynamicObject(3437, 1798.84, -1296.21, 13.37,   0.00, 0.00, 5.18);
	CreateDynamicObject(1886, 1776.63, -1306.58, 16.94,   18.00, 0.00, 142.25);
	CreateDynamicObject(3437, 1817.42, -1273.88, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1819.94, -1273.78, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1822.43, -1273.67, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1825.07, -1273.56, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1827.56, -1273.40, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1830.03, -1273.23, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1831.52, -1274.55, 13.37,   0.00, 0.00, 96.15);
	CreateDynamicObject(3437, 1831.70, -1277.16, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1831.83, -1279.65, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1831.96, -1282.18, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.09, -1284.66, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.22, -1287.03, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.23, -1289.42, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.25, -1291.96, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.26, -1294.25, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.28, -1296.66, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.29, -1299.25, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.34, -1301.86, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.38, -1304.24, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.42, -1306.70, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.46, -1308.99, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.50, -1311.48, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.54, -1313.89, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1831.18, -1315.09, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1828.72, -1315.03, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1826.35, -1314.98, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1823.79, -1314.93, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1821.62, -1314.88, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1819.41, -1315.01, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1817.25, -1315.15, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1815.92, -1313.70, 13.37,   0.00, 0.00, 271.42);
	CreateDynamicObject(3437, 1815.51, -1311.54, 13.37,   0.00, 0.00, 271.42);
	CreateDynamicObject(3437, 1814.45, -1309.41, 13.37,   0.00, 0.00, 320.65);
	CreateDynamicObject(3437, 1812.48, -1308.61, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1809.83, -1308.67, 13.37,   0.00, 0.00, 1.61);
	CreateDynamicObject(3437, 1807.24, -1308.53, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1804.79, -1308.47, 13.37,   0.00, 0.00, 2.30);
	CreateDynamicObject(3437, 1802.10, -1308.51, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1799.68, -1308.44, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1797.22, -1308.38, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1795.10, -1308.55, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1792.51, -1308.66, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1790.02, -1308.77, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1787.71, -1308.87, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1785.53, -1308.97, 13.37,   0.00, 0.00, 352.23);
	CreateDynamicObject(3437, 1783.44, -1308.88, 13.37,   0.00, 0.00, 352.23);
	CreateDynamicObject(3437, 1781.15, -1308.79, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1778.76, -1308.63, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1776.24, -1308.59, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1774.89, -1307.25, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1774.73, -1304.90, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1774.55, -1302.31, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1774.39, -1299.91, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1775.10, -1297.58, 13.37,   0.00, 0.00, 236.43);
	CreateDynamicObject(3437, 1776.56, -1296.38, 13.37,   0.00, 0.00, 198.35);
	CreateDynamicObject(3437, 1777.65, -1296.11, 13.37,   0.00, 0.00, 198.35);
	CreateDynamicObject(3437, 1778.55, -1296.17, 13.37,   0.00, 0.00, 185.77);
	CreateDynamicObject(3437, 1780.28, -1296.85, 13.37,   0.00, 0.00, 111.52);
	CreateDynamicObject(3437, 1775.08, -1298.42, 13.37,   0.00, 0.00, 264.37);
	CreateDynamicObject(3437, 1775.01, -1300.55, 13.37,   0.00, 0.00, 264.37);
	CreateDynamicObject(3437, 1774.91, -1302.81, 13.37,   0.00, 0.00, 264.37);
	CreateDynamicObject(3437, 1775.71, -1307.35, 13.37,   0.00, 0.00, 328.20);
	CreateDynamicObject(3437, 1777.76, -1308.06, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1779.84, -1308.05, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1782.12, -1308.04, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1782.12, -1308.04, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1784.39, -1307.93, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1786.75, -1308.03, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1789.21, -1308.13, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1791.26, -1308.20, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1793.45, -1308.28, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1795.37, -1308.32, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1798.58, -1307.54, 13.37,   0.00, 0.00, 229.05);
	CreateDynamicObject(3437, 1799.74, -1305.26, 13.37,   0.00, 0.00, 257.35);
	CreateDynamicObject(3437, 1800.01, -1302.73, 13.37,   0.00, 0.00, 265.55);
	CreateDynamicObject(3437, 1800.25, -1300.18, 13.37,   0.00, 0.00, 265.55);
	CreateDynamicObject(3437, 1800.29, -1298.02, 13.37,   0.00, 0.00, 265.55);
	CreateDynamicObject(3437, 1778.48, -1295.88, 13.37,   0.00, 0.00, 190.94);
	CreateDynamicObject(1491, 1782.86, -1309.05, 80.87,   0.00, 0.00, 89.67);
	CreateDynamicObject(0, 1831.27, -1298.30, 80.87,   0.00, 0.00, 279.93);
	CreateDynamicObject(2681, 1832.46, -1312.52, 81.17,   0.00, 0.00, 172.74);
	CreateDynamicObject(2778, 1831.31, -1312.35, 81.17,   0.00, 0.00, 170.78);
	CreateDynamicObject(2232, 1167.52, -1577.26, 83.57,   0.00, 0.00, 77.65);
	CreateDynamicObject(1775, 1826.76, -1311.62, 82.09,   0.00, 0.00, 170.84);
	CreateDynamicObject(2779, 1833.66, -1312.73, 81.13,   0.00, 0.00, 171.68);
	CreateDynamicObject(2290, 1813.31, -1291.08, 81.06,   0.00, 0.00, 0.18);
	CreateDynamicObject(1754, 1811.70, -1292.06, 81.06,   0.00, 0.00, 45.18);
	CreateDynamicObject(14820, 1805.68, -1303.71, 81.71,   0.00, 0.00, 269.72);
	CreateDynamicObject(1740, 1781.14, -1301.63, 81.09,   0.00, 0.00, 270.39);
	CreateDynamicObject(14535, 1814.12, -1298.68, 83.00,   0.00, 0.00, 90.46);
	CreateDynamicObject(2233, 1818.25, -1293.39, 81.14,   0.00, 0.00, 270.25);
	CreateDynamicObject(2225, 1818.25, -1293.83, 81.13,   0.00, 0.00, 273.14);
	CreateDynamicObject(2077, 1782.34, -1301.63, 82.16,   0.00, 0.00, 322.69);
	CreateDynamicObject(1714, 1816.57, -1288.49, 81.26,   0.00, 0.00, 45.09);
	CreateDynamicObject(1836, 1832.23, -1285.63, 81.95,   0.00, 0.00, 88.84);
	CreateDynamicObject(2528, 1787.25, -1307.48, 81.13,   0.00, 0.00, 0.56);
	CreateDynamicObject(2523, 1784.36, -1307.52, 81.13,   0.00, 0.00, 359.12);
	CreateDynamicObject(2526, 1789.32, -1308.69, 81.06,   0.00, 0.00, 90.08);
	CreateDynamicObject(14446, 1780.91, -1303.73, 81.66,   0.00, 0.00, 269.92);
	CreateDynamicObject(1829, 1771.44, -1300.86, 81.56,   0.00, 0.00, 89.69);
	CreateDynamicObject(2606, 1776.78, -1296.54, 82.98,   0.00, 0.00, 23.33);
	CreateDynamicObject(14806, 1771.30, -1303.49, 82.16,   0.00, 0.00, 91.69);
	CreateDynamicObject(14807, 1815.58, -1291.32, 82.46,   0.00, 0.00, 267.40);
	CreateDynamicObject(1740, 1781.15, -1305.91, 81.09,   0.00, 0.00, 270.39);
	CreateDynamicObject(2606, 1776.78, -1296.54, 83.49,   0.00, 0.00, 23.33);
	CreateDynamicObject(2606, 1776.78, -1296.54, 83.99,   0.00, 0.00, 23.33);
	CreateDynamicObject(2606, 1776.78, -1296.54, 82.48,   0.00, 0.00, 23.33);
	CreateDynamicObject(2332, 1771.12, -1299.98, 81.56,   0.00, 0.00, 89.69);
	CreateDynamicObject(2332, 1771.12, -1299.11, 81.56,   0.00, 0.00, 89.69);
	CreateDynamicObject(2573, 1772.62, -1298.62, 81.17,   0.00, 0.00, 22.83);
	CreateDynamicObject(2562, 1776.43, -1308.40, 81.17,   0.00, 0.00, 153.32);
	CreateDynamicObject(2395, 1782.73, -1304.28, 81.09,   0.00, 0.00, 269.74);
	CreateDynamicObject(2395, 1786.66, -1307.05, 81.09,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1786.67, -1307.03, 83.82,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1783.86, -1307.04, 81.09,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1783.85, -1307.03, 83.82,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1782.74, -1304.29, 83.80,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1782.74, -1309.52, 81.09,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1782.73, -1309.52, 83.81,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1782.74, -1306.91, 83.35,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1726.65, -1271.30, 83.30,   0.00, 0.00, 269.95);
	CreateDynamicObject(2395, 1782.90, -1312.27, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.90, -1312.27, 83.82,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.91, -1307.04, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.91, -1307.04, 83.83,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.92, -1308.91, 83.37,   0.00, 0.00, 90.81);
	CreateDynamicObject(2395, 1789.98, -1308.61, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.99, -1308.61, 83.82,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.94, -1312.34, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.94, -1312.34, 83.82,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.75, -1305.86, 83.82,   0.00, 0.00, 270.84);
	CreateDynamicObject(2395, 1789.75, -1305.86, 81.08,   0.00, 0.00, 270.84);
	CreateDynamicObject(2395, 1789.79, -1309.59, 81.08,   0.00, 0.00, 269.32);
	CreateDynamicObject(2395, 1789.79, -1309.59, 83.82,   0.00, 0.00, 269.32);
	CreateDynamicObject(2395, 1783.32, -1307.02, 81.09,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1783.32, -1307.02, 83.82,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1818.25, -1298.43, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.22, -1294.72, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1817.84, -1301.45, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1814.10, -1301.42, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1815.10, -1295.88, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1817.86, -1295.68, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1815.10, -1295.88, 83.83,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1817.86, -1295.68, 83.83,   0.00, 0.00, 180.35);
	CreateDynamicObject(2395, 1818.22, -1294.72, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.25, -1298.43, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1817.84, -1301.45, 83.83,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1814.10, -1301.42, 83.83,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1810.37, -1301.40, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1810.37, -1301.40, 83.83,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1811.45, -1295.91, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1807.74, -1295.94, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1807.67, -1295.94, 83.83,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1811.38, -1295.92, 83.83,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1814.14, -1295.71, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1810.43, -1295.74, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1810.42, -1295.74, 83.83,   0.00, 0.00, 180.35);
	CreateDynamicObject(2395, 1814.14, -1295.71, 83.83,   0.00, 0.00, 180.35);
	CreateDynamicObject(2395, 1807.05, -1298.24, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.05, -1298.24, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(1491, 1807.22, -1295.88, 80.87,   0.00, 0.00, 269.25);
	CreateDynamicObject(2395, 1807.29, -1300.99, 81.09,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.29, -1300.99, 83.83,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.29, -1300.63, 81.09,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.29, -1300.63, 83.83,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.06, -1297.88, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.06, -1297.88, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.09, -1296.36, 83.37,   0.00, 0.00, 269.50);
	CreateDynamicObject(2395, 1807.23, -1299.12, 83.37,   0.00, 0.00, 89.20);
	CreateDynamicObject(2395, 1818.20, -1291.05, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.17, -1287.45, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.20, -1291.05, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.17, -1287.43, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1821.46, -1286.92, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1821.47, -1286.92, 83.83,   0.00, 0.00, 179.64);
	CreateDynamicObject(2395, 1823.71, -1286.91, 83.83,   0.00, 0.00, 180.22);
	CreateDynamicObject(2233, 1818.30, -1294.73, 81.14,   0.00, 0.00, 272.21);
	CreateDynamicObject(2077, 1782.33, -1305.89, 82.16,   0.00, 0.00, 322.69);
	CreateDynamicObject(2395, 1782.75, -1300.55, 81.09,   0.00, 0.00, 269.74);
	CreateDynamicObject(2395, 1782.79, -1296.96, 81.09,   0.00, 0.00, 269.44);
	CreateDynamicObject(1491, 1782.90, -1296.48, 80.87,   0.00, 0.00, 89.37);
	CreateDynamicObject(2395, 1782.79, -1296.96, 83.83,   0.00, 0.00, 269.44);
	CreateDynamicObject(2395, 1782.75, -1300.55, 83.61,   0.00, 0.00, 269.74);
	CreateDynamicObject(2395, 1782.80, -1295.47, 83.38,   0.00, 0.00, 269.44);
	CreateDynamicObject(2395, 1782.97, -1301.96, 81.09,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1782.97, -1301.96, 83.82,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1782.93, -1299.72, 81.09,   0.00, 0.00, 89.36);
	CreateDynamicObject(2395, 1782.93, -1299.72, 83.82,   0.00, 0.00, 89.36);
	CreateDynamicObject(2395, 1782.94, -1298.13, 83.37,   0.00, 0.00, 89.36);
	CreateDynamicObject(2395, 1783.41, -1298.05, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1787.07, -1298.02, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1790.31, -1302.69, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1786.16, -1297.83, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1790.14, -1299.93, 81.09,   0.00, 0.00, 269.33);
	CreateDynamicObject(0, 1790.20, -1299.44, 80.97,   0.00, 0.00, 89.37);
	CreateDynamicObject(2395, 1790.16, -1298.39, 83.36,   0.00, 0.00, 269.33);
	CreateDynamicObject(2395, 1790.32, -1301.13, 83.37,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1786.16, -1297.83, 83.82,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1789.82, -1297.83, 81.09,   0.00, 0.00, 179.86);
	CreateDynamicObject(2395, 1789.82, -1297.83, 83.82,   0.00, 0.00, 179.86);
	CreateDynamicObject(2395, 1783.41, -1298.05, 83.82,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1787.07, -1298.02, 83.82,   0.00, 0.00, 0.60);
	CreateDynamicObject(2240, 1783.25, -1298.38, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(2257, 1790.16, -1300.52, 83.18,   0.00, 0.00, 269.52);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(948, 1789.65, -1300.78, 81.13,   0.00, 0.00, 269.72);
	CreateDynamicObject(2259, 1788.12, -1298.45, 82.86,   0.00, 0.00, 0.12);
	CreateDynamicObject(2261, 1785.26, -1298.48, 82.86,   0.00, 0.00, 0.12);
	CreateDynamicObject(2784, 1831.91, -1287.76, 82.45,   0.00, 0.00, 268.75);
	CreateDynamicObject(2256, 1782.97, -1299.86, 83.14,   0.00, 0.00, 90.76);
	CreateDynamicObject(2118, 1787.10, -1298.47, 81.13,   0.00, 0.00, 179.85);
	CreateDynamicObject(2255, 1798.02, -1295.50, 82.51,   0.00, 0.00, 4.07);
	CreateDynamicObject(2259, 1796.49, -1295.59, 82.29,   0.00, 0.00, 3.80);
	CreateDynamicObject(2527, 1788.31, -1311.60, 81.14,   0.00, 0.00, 270.51);
	CreateDynamicObject(2293, 1814.34, -1292.82, 81.14,   0.00, 0.00, 180.44);
	CreateDynamicObject(2235, 1806.08, -1304.21, 81.14,   0.00, 0.00, 88.57);
	CreateDynamicObject(1978, 1830.45, -1298.88, 82.16,   0.00, 0.00, 181.40);
	CreateDynamicObject(2247, 1786.63, -1298.63, 82.40,   0.00, 0.00, 179.85);
	CreateDynamicObject(2249, 1783.50, -1300.78, 81.77,   0.00, 0.00, 121.62);
	CreateDynamicObject(1828, 1786.71, -1299.73, 81.14,   0.00, 0.00, 179.85);
	CreateDynamicObject(1754, 1817.01, -1292.01, 81.06,   0.00, 0.00, 306.31);
	CreateDynamicObject(14806, 1814.49, -1295.07, 82.15,   0.00, 0.00, 181.07);
	CreateDynamicObject(2257, 1818.20, -1289.79, 83.51,   0.00, 0.00, 270.67);
	CreateDynamicObject(2256, 1818.25, -1294.38, 83.51,   0.00, 0.00, 270.37);
	CreateDynamicObject(2255, 1814.60, -1295.25, 83.51,   0.00, 0.00, 180.37);
	CreateDynamicObject(2259, 1808.87, -1295.31, 83.51,   0.00, 0.00, 180.37);
	CreateDynamicObject(2707, 1818.10, -1298.52, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1818.10, -1299.82, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1817.89, -1301.11, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1816.57, -1301.27, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1817.90, -1296.25, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1816.57, -1296.08, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1818.06, -1297.36, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2232, 1167.52, -1577.26, 83.57,   0.00, 0.00, 77.65);
	CreateDynamicObject(14535, 1814.12, -1298.68, 83.00,   0.00, 0.00, 90.46);
	CreateDynamicObject(2395, 1782.73, -1304.28, 81.09,   0.00, 0.00, 269.74);
	CreateDynamicObject(2395, 1786.66, -1307.05, 81.09,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1786.67, -1307.03, 83.82,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1783.86, -1307.04, 81.09,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1783.85, -1307.03, 83.82,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1782.74, -1304.29, 83.80,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1782.74, -1309.52, 81.09,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1782.73, -1309.52, 83.81,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1782.74, -1306.91, 83.35,   0.00, 0.00, 270.05);
	CreateDynamicObject(2395, 1726.65, -1271.30, 83.30,   0.00, 0.00, 269.95);
	CreateDynamicObject(2395, 1782.90, -1312.27, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.90, -1312.27, 83.82,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.91, -1307.04, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.91, -1307.04, 83.83,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1782.92, -1308.91, 83.37,   0.00, 0.00, 90.81);
	CreateDynamicObject(2395, 1789.98, -1308.61, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.99, -1308.61, 83.82,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.94, -1312.34, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.94, -1312.34, 83.82,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1789.75, -1305.86, 83.82,   0.00, 0.00, 270.84);
	CreateDynamicObject(2395, 1789.75, -1305.86, 81.08,   0.00, 0.00, 270.84);
	CreateDynamicObject(2395, 1789.79, -1309.59, 81.08,   0.00, 0.00, 269.32);
	CreateDynamicObject(2395, 1789.79, -1309.59, 83.82,   0.00, 0.00, 269.32);
	CreateDynamicObject(2395, 1783.32, -1307.02, 81.09,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1783.32, -1307.02, 83.82,   0.00, 0.00, 359.85);
	CreateDynamicObject(2395, 1818.25, -1298.43, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.22, -1294.72, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1817.84, -1301.45, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1814.10, -1301.42, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1815.10, -1295.88, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1817.86, -1295.68, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1815.10, -1295.88, 83.83,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1817.86, -1295.68, 83.83,   0.00, 0.00, 180.35);
	CreateDynamicObject(2395, 1818.22, -1294.72, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.25, -1298.43, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1817.84, -1301.45, 83.83,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1814.10, -1301.42, 83.83,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1810.37, -1301.40, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1810.37, -1301.40, 83.83,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1811.45, -1295.91, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1807.74, -1295.94, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1807.67, -1295.94, 83.83,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1811.38, -1295.92, 83.83,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1814.14, -1295.71, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1810.43, -1295.74, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1810.42, -1295.74, 83.83,   0.00, 0.00, 180.35);
	CreateDynamicObject(2395, 1814.14, -1295.71, 83.83,   0.00, 0.00, 180.35);
	CreateDynamicObject(2395, 1807.05, -1298.24, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.05, -1298.24, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.29, -1300.99, 81.09,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.29, -1300.99, 83.83,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.29, -1300.63, 81.09,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.29, -1300.63, 83.83,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1807.06, -1297.88, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.06, -1297.88, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1807.09, -1296.36, 83.37,   0.00, 0.00, 269.50);
	CreateDynamicObject(2395, 1807.23, -1299.12, 83.37,   0.00, 0.00, 89.20);
	CreateDynamicObject(2395, 1818.20, -1291.05, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.17, -1287.45, 81.09,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.20, -1291.05, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1818.17, -1287.43, 83.83,   0.00, 0.00, 270.52);
	CreateDynamicObject(2395, 1821.46, -1286.92, 81.09,   0.00, 0.00, 179.65);
	CreateDynamicObject(2395, 1821.47, -1286.92, 83.83,   0.00, 0.00, 179.64);
	CreateDynamicObject(2395, 1823.71, -1286.91, 83.83,   0.00, 0.00, 180.22);
	CreateDynamicObject(2395, 1782.75, -1300.55, 81.09,   0.00, 0.00, 269.74);
	CreateDynamicObject(2395, 1782.79, -1296.96, 81.09,   0.00, 0.00, 269.44);
	CreateDynamicObject(2395, 1782.79, -1296.96, 83.83,   0.00, 0.00, 269.44);
	CreateDynamicObject(2395, 1782.75, -1300.55, 83.61,   0.00, 0.00, 269.74);
	CreateDynamicObject(2395, 1782.80, -1295.47, 83.38,   0.00, 0.00, 269.44);
	CreateDynamicObject(2395, 1782.97, -1301.96, 81.09,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1782.97, -1301.96, 83.82,   0.00, 0.00, 90.72);
	CreateDynamicObject(2395, 1782.93, -1299.72, 81.09,   0.00, 0.00, 89.36);
	CreateDynamicObject(2395, 1782.93, -1299.72, 83.82,   0.00, 0.00, 89.36);
	CreateDynamicObject(2395, 1782.94, -1298.13, 83.37,   0.00, 0.00, 89.36);
	CreateDynamicObject(2395, 1783.41, -1298.05, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1787.07, -1298.02, 81.09,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1790.31, -1302.69, 81.09,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1786.16, -1297.83, 81.09,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1790.14, -1299.93, 81.09,   0.00, 0.00, 269.33);
	CreateDynamicObject(2395, 1790.16, -1298.39, 83.36,   0.00, 0.00, 269.33);
	CreateDynamicObject(2395, 1790.32, -1301.13, 83.37,   0.00, 0.00, 89.39);
	CreateDynamicObject(2395, 1786.16, -1297.83, 83.82,   0.00, 0.00, 180.36);
	CreateDynamicObject(2395, 1789.82, -1297.83, 81.09,   0.00, 0.00, 179.86);
	CreateDynamicObject(2395, 1789.82, -1297.83, 83.82,   0.00, 0.00, 179.86);
	CreateDynamicObject(2395, 1783.41, -1298.05, 83.82,   0.00, 0.00, 0.60);
	CreateDynamicObject(2395, 1787.07, -1298.02, 83.82,   0.00, 0.00, 0.60);
	CreateDynamicObject(2240, 1783.25, -1298.38, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(2257, 1790.16, -1300.52, 83.18,   0.00, 0.00, 269.52);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(1506, -716.06, -2691.40, 81.64,   0.00, 0.00, 269.72);
	CreateDynamicObject(948, 1789.65, -1300.78, 81.13,   0.00, 0.00, 269.72);
	CreateDynamicObject(2259, 1788.12, -1298.45, 82.86,   0.00, 0.00, 0.12);
	CreateDynamicObject(2261, 1785.26, -1298.48, 82.86,   0.00, 0.00, 0.12);
	CreateDynamicObject(2256, 1782.97, -1299.86, 83.14,   0.00, 0.00, 90.76);
	CreateDynamicObject(2118, 1787.10, -1298.47, 81.13,   0.00, 0.00, 179.85);
	CreateDynamicObject(2247, 1786.63, -1298.63, 82.40,   0.00, 0.00, 179.85);
	CreateDynamicObject(2249, 1783.50, -1300.78, 81.77,   0.00, 0.00, 121.62);
	CreateDynamicObject(1828, 1786.71, -1299.73, 81.14,   0.00, 0.00, 179.85);
	CreateDynamicObject(2707, 1818.10, -1298.52, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1818.10, -1299.82, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1817.89, -1301.11, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1816.57, -1301.27, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1817.90, -1296.25, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1816.57, -1296.08, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2707, 1818.06, -1297.36, 82.80,   0.00, 0.00, 90.46);
	CreateDynamicObject(2395, 1823.70, -1286.91, 81.09,   0.00, 0.00, 180.22);
	CreateDynamicObject(2395, 1824.36, -1290.20, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.74, -1311.31, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.36, -1290.20, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.43, -1293.93, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.50, -1297.66, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.56, -1301.38, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.63, -1305.12, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.71, -1308.84, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.43, -1293.93, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.50, -1297.66, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.56, -1301.38, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.63, -1305.12, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1824.69, -1308.77, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1821.45, -1311.94, 83.85,   0.00, 0.00, 0.61);
	CreateDynamicObject(2395, 1806.31, -1308.05, 83.85,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1818.85, -1311.95, 83.85,   0.00, 0.00, 0.61);
	CreateDynamicObject(2395, 1835.12, -1313.44, 83.84,   0.00, 0.00, 170.73);
	CreateDynamicObject(2395, 1818.28, -1308.65, 83.85,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1818.85, -1311.95, 81.13,   0.00, 0.00, 0.61);
	CreateDynamicObject(2395, 1818.28, -1308.67, 81.13,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1818.28, -1304.94, 83.85,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1811.71, -1306.11, 83.85,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1815.41, -1306.10, 83.85,   0.00, 0.00, 0.23);
	CreateDynamicObject(1491, 1828.35, -1312.44, 81.13,   0.00, 0.00, 350.61);
	CreateDynamicObject(2395, 1807.99, -1306.13, 83.85,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1811.71, -1306.11, 81.13,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1806.66, -1306.11, 83.85,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1807.98, -1306.13, 81.13,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1806.01, -1302.83, 83.85,   0.00, 0.00, 271.32);
	CreateDynamicObject(2395, 1806.66, -1306.11, 81.13,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1805.99, -1302.02, 83.85,   0.00, 0.00, 271.32);
	CreateDynamicObject(2395, 1809.29, -1301.54, 83.85,   0.00, 0.00, 178.51);
	CreateDynamicObject(2395, 1805.99, -1302.02, 81.13,   0.00, 0.00, 271.32);
	CreateDynamicObject(2395, 1806.01, -1302.83, 81.13,   0.00, 0.00, 271.32);
	CreateDynamicObject(2395, 1809.29, -1301.54, 81.13,   0.00, 0.00, 178.51);
	CreateDynamicObject(2395, 1818.29, -1304.98, 81.13,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1806.11, -1309.00, 83.85,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1814.17, -1312.47, 83.88,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1806.11, -1305.28, 83.85,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1806.11, -1305.28, 81.13,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1824.74, -1311.31, 81.10,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1806.29, -1311.75, 83.85,   0.00, 0.00, 89.66);
	CreateDynamicObject(2395, 1806.32, -1308.04, 81.13,   0.00, 0.00, 91.08);
	CreateDynamicObject(2395, 1815.41, -1306.10, 81.13,   0.00, 0.00, 0.23);
	CreateDynamicObject(2395, 1817.55, -1311.79, 83.64,   0.00, 0.00, 182.76);
	CreateDynamicObject(2395, 1816.37, -1312.03, 81.13,   0.00, 0.00, 2.47);
	CreateDynamicObject(2395, 1816.37, -1312.03, 83.88,   0.00, 0.00, 2.47);
	CreateDynamicObject(2395, 1814.38, -1315.23, 83.82,   0.00, 0.00, 89.66);
	CreateDynamicObject(2395, 1814.38, -1315.23, 81.13,   0.00, 0.00, 89.66);
	CreateDynamicObject(2395, 1814.83, -1312.07, 83.64,   0.00, 0.00, 2.17);
	CreateDynamicObject(2395, 1819.11, -1311.70, 81.13,   0.00, 0.00, 182.76);
	CreateDynamicObject(2395, 1819.11, -1311.70, 83.88,   0.00, 0.00, 182.76);
	CreateDynamicObject(2395, 1806.11, -1309.00, 81.13,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1814.17, -1312.47, 81.13,   0.00, 0.00, 269.85);
	CreateDynamicObject(2395, 1806.29, -1311.75, 81.13,   0.00, 0.00, 89.66);
	CreateDynamicObject(2527, 1807.71, -1311.13, 81.13,   0.00, 0.00, 89.66);
	CreateDynamicObject(2526, 1809.87, -1307.77, 81.13,   0.00, 0.00, 89.66);
	CreateDynamicObject(2528, 1813.75, -1306.58, 81.13,   0.00, 0.00, 1.17);
	CreateDynamicObject(2524, 1815.92, -1306.56, 81.13,   0.00, 0.00, 1.17);
	CreateDynamicObject(2395, 1829.57, -1312.53, 83.64,   0.00, 0.00, 170.73);
	CreateDynamicObject(2395, 1833.07, -1313.08, 83.84,   0.00, 0.00, 170.73);
	CreateDynamicObject(2395, 1833.07, -1313.08, 81.10,   0.00, 0.00, 170.73);
	CreateDynamicObject(2395, 1823.14, -1311.75, 83.83,   0.00, 0.00, 352.02);
	CreateDynamicObject(2395, 1827.90, -1312.25, 83.84,   0.00, 0.00, 170.73);
	CreateDynamicObject(2395, 1821.47, -1311.91, 81.13,   0.00, 0.00, 0.61);
	CreateDynamicObject(2395, 1827.90, -1312.25, 81.10,   0.00, 0.00, 170.73);
	CreateDynamicObject(2395, 1825.15, -1312.01, 83.83,   0.00, 0.00, 351.10);
	CreateDynamicObject(2395, 1823.14, -1311.75, 81.10,   0.00, 0.00, 352.02);
	CreateDynamicObject(2395, 1830.32, -1312.83, 83.83,   0.00, 0.00, 351.10);
	CreateDynamicObject(2395, 1825.12, -1312.02, 81.10,   0.00, 0.00, 351.10);
	CreateDynamicObject(2395, 1827.81, -1312.40, 83.63,   0.00, 0.00, 350.95);
	CreateDynamicObject(2395, 1830.32, -1312.83, 81.10,   0.00, 0.00, 351.10);
	CreateDynamicObject(2395, 1832.71, -1313.20, 81.10,   0.00, 0.00, 349.92);
	CreateDynamicObject(2395, 1832.71, -1313.20, 83.83,   0.00, 0.00, 349.92);
	CreateDynamicObject(1491, 1814.35, -1312.04, 81.13,   0.00, 0.00, 2.47);
	CreateDynamicObject(14446, 1821.29, -1313.64, 81.74,   0.00, 0.00, 0.74);
	CreateDynamicObject(1740, 1823.53, -1313.41, 81.13,   0.00, 0.00, 0.74);
	CreateDynamicObject(14806, 1821.36, -1317.33, 82.17,   0.00, 0.00, 179.15);
	CreateDynamicObject(1740, 1819.15, -1313.45, 81.13,   0.00, 0.00, 0.74);
	CreateDynamicObject(2077, 1819.11, -1312.26, 82.20,   0.00, 0.00, 0.74);
	CreateDynamicObject(2077, 1823.52, -1312.26, 82.20,   0.00, 0.00, 0.74);
	CreateDynamicObject(2562, 1833.72, -1314.33, 81.15,   0.00, 0.00, 241.37);
	CreateDynamicObject(2573, 1824.50, -1312.39, 81.25,   0.00, 0.00, 349.94);
	CreateDynamicObject(2395, 1835.17, -1313.44, 81.10,   0.00, 0.00, 170.99);
	CreateDynamicObject(14831, 1826.17, -1283.74, 82.81,   0.00, 0.00, 211.43);
	CreateDynamicObject(1517, 1816.00, -1273.59, 82.60,   0.00, 0.00, 31.72);
	CreateDynamicObject(1836, 1832.17, -1289.84, 81.95,   0.00, 0.00, 88.91);
	CreateDynamicObject(1836, 1831.72, -1285.62, 81.95,   0.00, 0.00, 268.64);
	CreateDynamicObject(2325, 1832.21, -1287.81, 82.73,   0.00, 0.00, 88.57);
	CreateDynamicObject(0, 1831.65, -1289.82, 81.95,   0.00, 0.00, 268.64);
	CreateDynamicObject(1836, 1831.64, -1289.83, 81.95,   0.00, 0.00, 268.64);
	CreateDynamicObject(2325, 1831.60, -1287.73, 82.73,   0.00, 0.00, 268.64);
	CreateDynamicObject(2350, 1830.66, -1290.51, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1830.63, -1288.78, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1832.89, -1290.60, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2028, 1814.06, -1294.73, 81.82,   0.00, 0.00, 178.73);
	CreateDynamicObject(2350, 1833.14, -1284.57, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1832.90, -1286.38, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1832.94, -1288.56, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2188, 1825.45, -1292.72, 82.15,   0.00, 0.00, 91.41);
	CreateDynamicObject(1978, 1829.99, -1301.95, 80.87,   0.00, 0.00, 279.93);
	CreateDynamicObject(2188, 1825.44, -1306.51, 82.15,   0.00, 0.00, 91.41);
	CreateDynamicObject(2964, 1831.32, -1305.83, 81.13,   0.00, 0.00, 127.70);
	CreateDynamicObject(1998, 1816.69, -1287.56, 81.16,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1816.33, -1277.00, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(1511, 1814.72, -1273.94, 83.10,   0.00, 0.00, 31.72);
	CreateDynamicObject(1511, 1816.47, -1272.90, 83.10,   0.00, 0.00, 31.72);
	CreateDynamicObject(1511, 1818.30, -1271.84, 83.10,   0.00, 0.00, 31.72);
	CreateDynamicObject(1488, 1817.48, -1272.32, 83.10,   0.00, 0.00, 31.72);
	CreateDynamicObject(1488, 1815.58, -1273.41, 83.10,   0.00, 0.00, 31.72);
	CreateDynamicObject(1488, 1813.86, -1274.48, 83.10,   0.00, 0.00, 31.72);
	CreateDynamicObject(1520, 1814.39, -1274.42, 82.38,   0.00, 0.00, 31.72);
	CreateDynamicObject(1520, 1815.55, -1273.75, 82.38,   0.00, 0.00, 31.72);
	CreateDynamicObject(1520, 1816.95, -1272.97, 82.38,   0.00, 0.00, 31.72);
	CreateDynamicObject(1520, 1818.75, -1271.91, 82.38,   0.00, 0.00, 31.72);
	CreateDynamicObject(1520, 1818.75, -1274.02, 82.38,   0.00, 0.00, 31.72);
	CreateDynamicObject(1520, 1817.21, -1275.32, 82.38,   0.00, 0.00, 31.72);
	CreateDynamicObject(1517, 1813.67, -1275.14, 82.60,   0.00, 0.00, 31.72);
	CreateDynamicObject(1517, 1815.75, -1275.81, 82.60,   0.00, 0.00, 31.72);
	CreateDynamicObject(4587, 1803.09, -1294.20, 71.53,   0.00, 0.00, 0.00);
	CreateDynamicObject(1517, 1817.93, -1274.55, 82.60,   0.00, 0.00, 31.72);
	CreateDynamicObject(1517, 1817.80, -1272.69, 82.60,   0.00, 0.00, 31.72);
	CreateDynamicObject(1517, 1815.07, -1274.16, 82.60,   0.00, 0.00, 31.72);
	CreateDynamicObject(2350, 1830.98, -1284.79, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1819.45, -1275.09, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1818.32, -1275.96, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1817.22, -1276.48, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(2350, 1830.90, -1286.65, 81.62,   0.00, 0.00, 269.87);
	CreateDynamicObject(14809, 1822.34, -1282.23, 82.63,   0.00, 0.00, 0.72);*/

	//Floor 4
	CreateDynamicObject(2395,1787.80004883,-1295.19995117,37.50000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (1)
	CreateDynamicObject(2395,1791.50000000,-1295.19995117,37.50000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (2)
	CreateDynamicObject(2395,1784.09997559,-1295.19995117,37.50000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,1780.40002441,-1295.19995117,37.50000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (4)
	CreateDynamicObject(2395,1779.50000000,-1295.19995117,37.50000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (5)
	CreateDynamicObject(2395,1779.50000000,-1295.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (6)
	CreateDynamicObject(2395,1783.19995117,-1295.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (7)
	CreateDynamicObject(2395,1786.90002441,-1295.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (8)
	CreateDynamicObject(2395,1790.59997559,-1295.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (9)
	CreateDynamicObject(2395,1791.59997559,-1295.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (10)
	CreateDynamicObject(2395,1794.30004883,-1295.00000000,37.50000000,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (11)
	CreateDynamicObject(2395,1790.59997559,-1295.00000000,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1786.90002441,-1295.00000000,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (13)
	CreateDynamicObject(2395,1783.19995117,-1295.00000000,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (14)
	CreateDynamicObject(2395,1779.89941406,-1295.00000000,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (15)
	CreateDynamicObject(2395,1779.90002441,-1295.00000000,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (16)
	CreateDynamicObject(2395,1783.59997559,-1295.00000000,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (17)
	CreateDynamicObject(2395,1787.29980469,-1295.00000000,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1791.00000000,-1295.00000000,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (19)
	CreateDynamicObject(2395,1794.19995117,-1295.00000000,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (20)
	CreateDynamicObject(2395,1783.90002441,-1302.00000000,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.90002441,-1298.30004883,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.89941406,-1298.39941406,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.89941406,-1302.09960938,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.69921875,-1295.59960938,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.69921875,-1299.29980469,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.69921875,-1299.29980469,39.90000153,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1783.69921875,-1295.59960938,39.90000153,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1309.00000000,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1789.39941406,-1308.50000000,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1789.30004883,-1303.69995117,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1306.30004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1309.00000000,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1785.69995117,-1308.69995117,37.50000000,0.00000000,0.00000000,180.00000000); //object(gen_doorint01) (2)
	CreateDynamicObject(2395,1788.89941406,-1308.59960938,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1786.19995117,-1308.80004883,37.50000000,0.00000000,0.00000000,359.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.00000000,-1309.30004883,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.19995117,-1312.00000000,37.50000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.19995117,-1312.00000000,40.20000076,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.00000000,-1309.30004883,40.20000076,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1787.40002441,-1308.59997559,40.00000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1788.90002441,-1308.59997559,40.00000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1786.19995117,-1308.80004883,40.00000000,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.59997559,-1308.80004883,40.00000000,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.59997559,-1312.59997559,37.59999847,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1786.09997559,-1312.59997559,37.59999847,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1786.09997559,-1312.59997559,39.90000153,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1784.59997559,-1312.59997559,39.90000153,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1788.90002441,-1312.09997559,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1787.40002441,-1312.09997559,37.50000000,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1787.40002441,-1312.09997559,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1788.90002441,-1312.30004883,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.00000000,-1312.09997559,40.09999847,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1312.09997559,39.79999924,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59960938,-1308.50000000,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1306.50000000,37.29999924,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1311.69995117,37.29999924,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1312.09997559,37.29999924,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(3440,1789.39941406,-1312.39941406,40.50000000,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1789.40002441,-1312.40002441,39.90000153,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (2)
	CreateDynamicObject(3440,1784.00000000,-1312.40002441,40.50000000,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (3)
	CreateDynamicObject(3440,1784.00000000,-1312.40002441,39.79999924,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (4)
	CreateDynamicObject(3440,1784.30004883,-1308.69995117,39.79999924,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (5)
	CreateDynamicObject(3440,1784.30004883,-1308.69995117,40.29999924,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (6)
	CreateDynamicObject(2395,1824.50000000,-1295.40002441,40.00000000,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1824.50000000,-1295.40002441,37.29999924,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.19995117,-1295.40002441,37.29999924,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.19995117,-1295.40002441,40.00000000,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1294.50000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1294.50000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.29980469,-1294.50000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.30004883,-1294.50000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59960938,-1297.79980469,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.29980469,-1311.19921875,37.29999924,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59997559,-1294.09997559,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59960938,-1310.59960938,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1824.59960938,-1311.19921875,37.29999924,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59960938,-1303.00000000,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59960938,-1305.39941406,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1831.50000000,-1299.79980469,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(1491,1831.50000000,-1307.40002441,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1831.39941406,-1291.29980469,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.39941406,-1295.09960938,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.39941406,-1300.29980469,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.40002441,-1302.69995117,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.40002441,-1307.90002441,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.19921875,-1300.19921875,37.29999924,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1824.50000000,-1300.19995117,37.29999924,0.00000000,0.00000000,359.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.30004883,-1300.00000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1300.00000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59960938,-1290.39941406,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1825.89941406,-1287.00000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1287.00000000,37.29999924,0.00000000,0.00000000,180.23352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.39941406,-1287.59960938,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.29980469,-1287.19921875,37.29999924,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1310.89941406,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.40002441,-1310.90002441,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1827.90002441,-1287.09997559,37.50000000,0.00000000,0.00000000,180.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1823.19921875,-1287.19921875,37.29999924,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(14384,1826.19995117,-1273.50000000,39.09999847,0.00000000,0.00000000,0.00000000); //object(kitchen_bits) (1)
	CreateDynamicObject(2395,1829.69995117,-1270.59997559,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.29980469,-1270.59960938,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.90002441,-1273.40002441,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.50000000,-1273.39941406,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2120,1827.00000000,-1278.90002441,38.20000076,0.00000000,0.00000000,0.00000000); //object(med_din_chair_4) (1)
	CreateDynamicObject(2120,1826.00000000,-1280.19995117,38.20000076,0.00000000,0.00000000,270.00000000); //object(med_din_chair_4) (2)
	CreateDynamicObject(2120,1824.69995117,-1280.19995117,38.20000076,0.00000000,0.00000000,270.00000000); //object(med_din_chair_4) (3)
	CreateDynamicObject(2120,1823.69995117,-1278.90002441,38.20000076,0.00000000,0.00000000,179.99450684); //object(med_din_chair_4) (4)
	CreateDynamicObject(2120,1824.69995117,-1277.69995117,38.20000076,0.00000000,0.00000000,90.00000000); //object(med_din_chair_4) (5)
	CreateDynamicObject(2120,1826.00000000,-1277.69995117,38.20000076,0.00000000,0.00000000,90.00000000); //object(med_din_chair_4) (6)
	CreateDynamicObject(2637,1825.40002441,-1279.00000000,38.00000000,0.00000000,0.00000000,0.00000000); //object(cj_pizza_table2) (1)
	CreateDynamicObject(11665,1817.59997559,-1274.09997559,38.29999924,0.00000000,0.00000000,119.99816895); //object(kb_chair03ext) (1)
	CreateDynamicObject(1491,1822.40002441,-1275.40002441,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1822.30004883,-1275.90002441,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.50000000,-1278.59997559,37.29999924,0.00000000,0.00000000,90.23901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.30004883,-1279.59997559,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.50000000,-1282.30004883,37.29999924,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.89941406,-1282.89941406,37.29999924,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1826.59997559,-1282.90002441,37.29999924,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1825.59997559,-1282.69995117,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.29980469,-1282.69921875,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.89941406,-1282.29980469,37.29999924,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.90002441,-1278.59997559,37.29999924,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1829.80004883,-1275.40002441,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1829.69921875,-1279.50000000,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.69995117,-1275.90002441,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2802,1830.90002441,-1279.90002441,37.90000153,0.00000000,0.00000000,190.00000000); //object(castable1) (1)
	CreateDynamicObject(1999,1830.80004883,-1272.90002441,37.59999847,0.00000000,0.00000000,36.00000000); //object(officedesk2) (1)
	CreateDynamicObject(1663,1831.59997559,-1273.19995117,38.00000000,0.00000000,0.00000000,190.00000000); //object(swivelchair_b) (1)
	CreateDynamicObject(2297,1817.40002441,-1299.59997559,37.50000000,0.00000000,0.00000000,180.00000000); //object(tv_unit_2) (1)
	CreateDynamicObject(2395,1818.09997559,-1299.50000000,37.29999924,0.00000000,0.00000000,219.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.09997559,-1299.50000000,40.00000000,0.00000000,0.00000000,219.97923279); //object(cj_sports_wall) (18)
	CreateDynamicObject(2225,1818.40002441,-1298.80004883,37.59999847,0.00000000,0.00000000,270.00000000); //object(swank_hi_fi_2) (1)
	CreateDynamicObject(2395,1818.39941406,-1296.00000000,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.39941406,-1292.29980469,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.40002441,-1288.80004883,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.40002441,-1287.50000000,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.39941406,-1287.50000000,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.40002441,-1291.19995117,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.40002441,-1294.90002441,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1818.40002441,-1298.59997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1815.30004883,-1301.50000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1815.30004883,-1301.50000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1809.59997559,-1301.50000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1813.30004883,-1301.50000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1813.30004883,-1301.50000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1809.59960938,-1301.50000000,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(1753,1810.40002441,-1299.50000000,37.59999847,0.00000000,0.00000000,70.00000000); //object(swank_couch_1) (1)
	CreateDynamicObject(1753,1814.50000000,-1294.69995117,37.59999847,0.00000000,0.00000000,19.99938965); //object(swank_couch_1) (2)
	CreateDynamicObject(2576,1824.30004883,-1300.59997559,37.59999847,0.00000000,0.00000000,0.00000000); //object(hotel_dresser_8) (1)
	CreateDynamicObject(2395,1822.50000000,-1273.40002441,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.50000000,-1277.09997559,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.50000000,-1280.80004883,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.50000000,-1282.30004883,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.30004883,-1270.59997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.30004883,-1274.30004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.30004883,-1278.00000000,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.30004883,-1279.59997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1822.90002441,-1282.90002441,40.00000000,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1826.59997559,-1282.90002441,40.00000000,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1825.69995117,-1282.69995117,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.39941406,-1282.69921875,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.90002441,-1282.30004883,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.90002441,-1278.59997559,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.90002441,-1274.90002441,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.90002441,-1273.40002441,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.69995117,-1279.50000000,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.69995117,-1275.80004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.69921875,-1272.09960938,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1829.69995117,-1270.59997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(3440,1822.50000000,-1282.59997559,40.50000000,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1822.50000000,-1282.59960938,39.50000000,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1829.59997559,-1282.80004883,39.50000000,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1829.59960938,-1282.79980469,40.59999847,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(2604,1829.50000000,-1294.09997559,38.29999924,0.00000000,0.00000000,180.00000000); //object(cj_police_counter) (1)
	CreateDynamicObject(2606,1824.50000000,-1293.00000000,40.79999924,0.00000000,0.00000000,90.00000000); //object(cj_police_counter2) (1)
	CreateDynamicObject(2608,1825.89941406,-1294.00000000,38.29999924,0.00000000,0.00000000,0.00000000); //object(polce_shelf) (1)
	CreateDynamicObject(11334,1798.90002441,-1304.69995117,38.40000153,0.00000000,0.00000000,270.00000000); //object(recroomstuff) (1)
	CreateDynamicObject(14719,1828.09997559,-1297.50000000,39.29999924,0.00000000,0.00000000,270.00000000); //object(int2lasmone01) (1)
	CreateDynamicObject(2395,1828.30004883,-1298.40002441,37.29999924,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.80004883,-1295.09997559,37.29999924,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.30004883,-1298.40002441,40.00000000,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.80004883,-1295.09997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(14805,1815.00000000,-1309.09997559,38.40000153,0.00000000,0.00000000,180.00000000); //object(bdupsnew_int) (1)
	CreateDynamicObject(2126,1795.30004883,-1308.09997559,38.20000076,0.00000000,0.00000000,0.00000000); //object(coffee_swank_5) (1)
	CreateDynamicObject(2126,1795.30004883,-1308.09997559,37.79999924,0.00000000,0.00000000,0.00000000); //object(coffee_swank_5) (2)
	CreateDynamicObject(2609,1824.59997559,-1292.80004883,38.29999924,0.00000000,0.00000000,90.00000000); //object(cj_p_fileing1) (1)
	CreateDynamicObject(2610,1824.59997559,-1293.30004883,38.40000153,0.00000000,0.00000000,90.00000000); //object(cj_p_fileing2) (1)
	CreateDynamicObject(2615,1831.40002441,-1292.00000000,40.20000076,0.00000000,0.00000000,270.00000000); //object(police_nb3) (1)
	CreateDynamicObject(2395,1831.40002441,-1291.30004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2612,1824.30004883,-1291.90002441,39.70000076,0.00000000,0.00000000,90.00000000); //object(police_nb2) (1)
	CreateDynamicObject(2002,1830.90002441,-1291.40002441,37.59999847,0.00000000,0.00000000,270.00000000); //object(water_coolnu) (1)
	CreateDynamicObject(2395,1831.59997559,-1297.80004883,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59997559,-1294.09997559,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59997559,-1290.40002441,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.40002441,-1287.59997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1300.00000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.30004883,-1300.00000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59997559,-1301.59997559,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.19995117,-1300.19995117,40.00000000,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1824.69995117,-1300.19995117,40.00000000,0.00000000,0.00000000,359.97802734); //object(cj_sports_wall) (18)
	CreateDynamicObject(3440,1822.40002441,-1270.40002441,39.50000000,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1822.40002441,-1270.40002441,40.59999847,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1829.80004883,-1270.30004883,40.59999847,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1829.80004883,-1270.30004883,39.79999924,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(2202,1830.90002441,-1288.59997559,37.40000153,0.00000000,0.00000000,270.00000000); //object(photocopier_2) (1)
	CreateDynamicObject(14532,1824.90002441,-1287.90002441,38.59999847,0.00000000,0.00000000,220.00000000); //object(tv_stand_driv) (1)
	CreateDynamicObject(1663,1829.30004883,-1290.00000000,38.09999847,0.00000000,0.00000000,340.00000000); //object(swivelchair_b) (2)
	CreateDynamicObject(1671,1828.90002441,-1292.19995117,38.09999847,0.00000000,0.00000000,210.00000000); //object(swivelchair_a) (1)
	CreateDynamicObject(1663,1828.09997559,-1290.19995117,38.09999847,0.00000000,0.00000000,29.99938965); //object(swivelchair_b) (3)
	CreateDynamicObject(1721,1824.50000000,-1290.69995117,37.59999847,0.00000000,0.00000000,269.98718262); //object(est_chair1) (5)
	CreateDynamicObject(2008,1828.59997559,-1291.40002441,37.59999847,0.00000000,0.00000000,0.00000000); //object(officedesk1) (1)
	CreateDynamicObject(1721,1824.50000000,-1291.40002441,37.59999847,0.00000000,0.00000000,269.98352051); //object(est_chair1) (6)
	CreateDynamicObject(2395,1831.00000000,-1287.00000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.30004883,-1287.00000000,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(3440,1831.40002441,-1287.30004883,40.59999847,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(3440,1831.40002441,-1287.30004883,39.79999924,0.00000000,0.00000000,0.00000000); //object(arptpillar01_lvs) (1)
	CreateDynamicObject(11631,1828.90002441,-1287.90002441,38.79999924,0.00000000,0.00000000,0.00000000); //object(ranch_desk) (1)
	CreateDynamicObject(2395,1828.30004883,-1287.19995117,40.00000000,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1824.59997559,-1287.19995117,40.00000000,0.00000000,0.00000000,359.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1307.40002441,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.00000000,-1307.40002441,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.30004883,-1307.40002441,40.00000000,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1827.30004883,-1307.40002441,37.29999924,0.00000000,0.00000000,179.98352051); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59997559,-1310.59997559,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1828.30004883,-1311.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1824.59997559,-1311.19995117,40.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (18)
	CreateDynamicObject(11665,1825.80004883,-1305.80004883,38.29999924,0.00000000,0.00000000,270.00000000); //object(kb_chair03ext) (2)
	CreateDynamicObject(1745,1829.19995117,-1303.69995117,37.59999847,0.00000000,0.00000000,0.00000000); //object(med_bed_3) (1)
	CreateDynamicObject(2395,1831.59997559,-1305.30004883,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.59997559,-1307.00000000,40.00000000,0.00000000,0.00000000,89.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.40002441,-1300.30004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.40002441,-1304.30004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1831.40002441,-1304.00000000,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1298.40002441,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1303.50000000,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1789.40002441,-1300.30004883,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1789.59997559,-1302.09997559,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.59997559,-1298.40002441,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1295.59997559,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1300.69995117,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1300.90002441,40.20000076,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.30004883,-1297.19995117,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1789.40002441,-1295.59997559,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2224,1783.50000000,-1310.19995117,37.59999847,0.00000000,0.00000000,190.00000000); //object(cj_sphere_tv) (1)
	CreateDynamicObject(2297,1775.90002441,-1296.80004883,37.59999847,0.00000000,0.00000000,340.00000000); //object(tv_unit_2) (2)
	CreateDynamicObject(2298,1779.69995117,-1296.90002441,37.59999847,0.00000000,0.00000000,270.00000000); //object(swank_bed_7) (1)
	CreateDynamicObject(2333,1782.09997559,-1304.19995117,37.50000000,0.00000000,0.00000000,270.00000000); //object(cj_bed_furn_1b) (1)
	CreateDynamicObject(2344,1782.90002441,-1304.00000000,38.50000000,0.00000000,0.00000000,42.00000000); //object(cj_remote) (1)
	CreateDynamicObject(2517,1788.59997559,-1312.50000000,37.59999847,0.00000000,0.00000000,0.00000000); //object(cj_shower1) (1)
	CreateDynamicObject(2523,1785.90002441,-1309.19995117,37.59999847,0.00000000,0.00000000,0.00000000); //object(cj_b_sink3) (1)
	CreateDynamicObject(2525,1787.09997559,-1311.59997559,37.59999847,0.00000000,0.00000000,180.00000000); //object(cj_toilet4) (1)
	CreateDynamicObject(2630,1777.40002441,-1304.69995117,37.59999847,0.00000000,0.00000000,180.00000000); //object(gym_bike) (1)
	CreateDynamicObject(2395,1774.90002441,-1305.19995117,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1774.90002441,-1301.50000000,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1774.90002441,-1296.19995117,37.50000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(1491,1775.00000000,-1301.00000000,37.50000000,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2395,1774.90002441,-1297.50000000,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1774.90002441,-1301.19995117,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1774.90002441,-1304.90002441,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1774.90002441,-1305.19995117,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1304.19995117,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1307.90002441,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1308.40002441,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1308.40002441,40.20000076,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1304.69995117,40.20000076,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1301.00000000,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1299.00000000,40.00000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1775.09997559,-1299.00000000,37.50000000,0.00000000,0.00000000,89.99450684); //object(cj_sports_wall) (18)
	CreateDynamicObject(2818,1780.40002441,-1304.00000000,37.59999847,0.00000000,0.00000000,0.00000000); //object(gb_bedrug02) (1)
	CreateDynamicObject(2819,1777.90002441,-1301.40002441,37.59999847,0.00000000,0.00000000,0.00000000); //object(gb_bedclothes01) (1)
	CreateDynamicObject(1726,1780.30004883,-1309.30004883,37.59999847,0.00000000,0.00000000,40.00000000); //object(mrk_seating2) (1)
	CreateDynamicObject(2096,1772.59997559,-1299.19995117,37.59999847,0.00000000,0.00000000,300.00000000); //object(cj_rockingchair) (1)
	CreateDynamicObject(2096,1772.59997559,-1300.69995117,37.59999847,0.00000000,0.00000000,239.99816895); //object(cj_rockingchair) (2)
	CreateDynamicObject(643,1772.90002441,-1305.00000000,38.09999847,0.00000000,0.00000000,130.00000000); //object(kb_chr_tbl_test) (1)
	CreateDynamicObject(2395,1831.40002441,-1298.80004883,40.00000000,0.00000000,0.00000000,269.98901367); //object(cj_sports_wall) (18)

	// Highland Security Firm
	CreateDynamicObject(19458, 1519.46, -1649.37, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1515.98, -1649.36, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1519.42, -1640.01, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1516.00, -1639.99, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1522.93, -1587.99, -29.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1549.81, -1615.77, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1553.30, -1615.79, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1556.78, -1615.76, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1560.24, -1615.77, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1563.74, -1615.75, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1567.17, -1615.75, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1570.65, -1615.77, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1574.11, -1615.82, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1577.58, -1615.86, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1574.15, -1625.24, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1577.65, -1625.23, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1570.66, -1625.22, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1567.21, -1625.21, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1563.71, -1625.25, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1560.25, -1625.24, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1556.76, -1625.24, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1553.29, -1625.25, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19458, 1549.85, -1625.25, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(14877, 1522.78, -1589.92, -28.69,   0.00, 0.00, 270.00);
	CreateDynamicObject(19461, 1504.91, -1622.45, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1504.88, -1609.75, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1504.90, -1632.08, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1500.23, -1631.32, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1500.11, -1612.27, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19458, 1521.15, -1588.84, -28.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(19458, 1524.40, -1588.47, -28.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(19458, 1522.90, -1583.96, -27.96,   -90.00, 90.00, 0.00);
	CreateDynamicObject(19461, 1548.17, -1610.55, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1548.11, -1623.27, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1548.09, -1632.85, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1552.85, -1629.86, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1562.28, -1629.85, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1571.87, -1629.84, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1581.29, -1629.85, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1552.98, -1611.09, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1562.53, -1611.06, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1572.06, -1611.06, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1581.37, -1611.07, -24.89,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1579.22, -1625.61, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1579.25, -1615.98, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19415, 1500.18, -1619.33, -24.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(19415, 1500.21, -1622.45, -24.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(19415, 1500.21, -1625.65, -24.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(19415, 1500.23, -1628.80, -24.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1501.05, -1620.94, -24.94,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19442, 1500.99, -1623.96, -24.94,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19442, 1501.11, -1627.28, -24.94,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19442, 1501.11, -1630.32, -24.94,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19442, 1500.99, -1617.82, -24.94,   -180.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1490.65, -1631.32, -24.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1481.15, -1631.32, -24.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1472.55, -1631.33, -24.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1490.68, -1612.26, -24.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1481.22, -1612.27, -24.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1471.75, -1612.25, -24.88,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1473.59, -1616.97, -24.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1473.62, -1626.50, -24.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(2049, 1487.51, -1621.00, -26.16,   0.00, 0.00, 90.00);
	CreateDynamicObject(19442, 1487.39, -1620.90, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1476.35, -1626.75, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1481.71, -1623.26, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1479.30, -1614.85, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1479.96, -1619.84, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1485.23, -1616.80, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(2049, 1485.37, -1616.80, -25.64,   0.00, 0.00, 90.00);
	CreateDynamicObject(2049, 1480.13, -1619.83, -25.51,   0.00, 0.00, 90.00);
	CreateDynamicObject(2049, 1481.89, -1623.28, -26.16,   0.00, 0.00, 90.00);
	CreateDynamicObject(2049, 1479.44, -1614.83, -25.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(2049, 1476.53, -1626.90, -25.25,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1504.90, -1616.03, -24.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19397, 1548.12, -1616.85, -24.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1521.25, -1649.22, -27.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1521.26, -1639.66, -27.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1529.04, -1654.06, -24.73,   0.00, 0.00, 90.00);
	CreateDynamicObject(3850, 1525.57, -1654.05, -24.73,   0.00, 0.00, 90.00);
	CreateDynamicObject(3850, 1522.18, -1654.06, -24.73,   0.00, 0.00, 90.00);
	CreateDynamicObject(1536, 1545.25, -1651.25, -26.55,   0.00, 0.00, 90.00);
	CreateDynamicObject(1536, 1545.22, -1648.29, -26.55,   0.00, 0.00, 270.00);
	CreateDynamicObject(3051, 1528.28, -1584.34, -25.23,   0.00, 0.00, -45.00);
	CreateDynamicObject(3051, 1527.10, -1584.31, -25.23,   0.00, 0.00, 134.00);
	CreateDynamicObject(1491, 1515.31, -1635.25, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(1491, 1514.46, -1647.11, -26.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, 1514.43, -1616.83, -26.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, 1504.98, -1616.77, -26.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, 1538.51, -1617.65, -26.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, 1548.08, -1617.62, -26.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, 1536.08, -1609.96, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(1491, 1521.96, -1609.82, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(1491, 1515.34, -1609.74, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1544.95, -1651.60, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1544.94, -1648.05, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1531.23, -1653.96, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1537.93, -1654.16, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1521.69, -1663.17, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1521.76, -1635.74, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1534.54, -1635.83, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1537.91, -1635.59, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1537.87, -1634.31, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1534.63, -1628.37, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1518.45, -1628.30, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1514.96, -1615.03, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1514.99, -1610.07, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1521.83, -1610.06, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1535.60, -1610.35, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1538.29, -1615.70, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1525.07, -1602.63, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1530.96, -1602.58, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1524.42, -1594.13, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1529.22, -1585.05, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1526.19, -1584.90, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1517.36, -1586.62, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1515.93, -1584.84, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1497.60, -1584.56, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1497.70, -1602.60, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1513.80, -1602.69, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1543.64, -1605.30, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1538.93, -1605.22, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(19397, 1553.07, -1618.49, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1556.27, -1618.47, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1559.49, -1618.46, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1562.55, -1618.47, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1565.40, -1618.45, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1568.58, -1618.43, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1571.77, -1618.44, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1574.96, -1618.44, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19397, 1578.05, -1618.44, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1576.01, -1623.38, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1573.13, -1623.27, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1570.23, -1623.24, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1563.96, -1623.29, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1560.92, -1623.37, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1557.71, -1623.36, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1554.51, -1623.36, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19461, 1551.41, -1623.22, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19415, 1552.95, -1628.00, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1556.09, -1628.03, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1559.17, -1628.03, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1562.46, -1628.01, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1565.60, -1628.02, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19461, 1567.04, -1623.33, -24.89,   -180.00, 0.00, 0.00);
	CreateDynamicObject(19415, 1568.69, -1627.96, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1571.61, -1627.96, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1574.51, -1627.94, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(19415, 1577.63, -1627.94, -24.98,   0.00, 0.00, 90.00);
	CreateDynamicObject(2949, 1553.79, -1618.44, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1556.97, -1618.40, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1560.21, -1618.40, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1563.28, -1618.41, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1566.11, -1618.35, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1569.31, -1618.37, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1572.49, -1618.35, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1575.67, -1618.36, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2949, 1578.71, -1618.37, -26.61,   0.00, 0.00, 270.00);
	CreateDynamicObject(2010, 1548.61, -1629.15, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1578.70, -1611.61, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1548.67, -1611.71, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(1801, 1559.17, -1622.94, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1562.47, -1622.78, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1565.49, -1622.92, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1568.59, -1622.92, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1571.73, -1623.04, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1574.69, -1623.05, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1577.61, -1623.10, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1555.99, -1622.94, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(1801, 1552.91, -1622.90, -26.64,   0.00, 0.00, -180.00);
	CreateDynamicObject(2198, 1527.50, -1613.09, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1530.74, -1613.21, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1533.53, -1613.62, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1525.72, -1617.46, -26.53,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1529.18, -1617.94, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1532.68, -1618.60, -26.53,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1524.54, -1621.21, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1528.39, -1622.07, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1531.85, -1622.75, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1531.22, -1626.54, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1527.16, -1625.87, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1523.04, -1625.63, -26.53,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1519.07, -1613.90, -26.59,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1518.70, -1618.54, -26.53,   0.00, 0.00, 46.00);
	CreateDynamicObject(2198, 1518.40, -1622.95, -26.53,   0.00, 0.00, 46.00);
	CreateDynamicObject(1806, 1526.90, -1617.87, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1525.73, -1621.59, -26.58,   0.00, 0.00, 44.00);
	CreateDynamicObject(1806, 1530.06, -1618.41, -26.58,   0.00, 0.00, 40.00);
	CreateDynamicObject(1806, 1529.18, -1622.50, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1527.91, -1626.14, -26.58,   0.00, 0.00, 40.00);
	CreateDynamicObject(1806, 1523.73, -1626.07, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1519.27, -1623.04, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1531.93, -1626.91, -26.58,   0.00, 0.00, 33.00);
	CreateDynamicObject(1806, 1532.74, -1623.03, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1533.51, -1618.78, -26.58,   0.00, 0.00, 40.00);
	CreateDynamicObject(1806, 1534.44, -1613.93, -26.58,   0.00, 0.00, 42.00);
	CreateDynamicObject(1806, 1531.70, -1613.48, -26.58,   0.00, 0.00, 55.00);
	CreateDynamicObject(1806, 1528.49, -1613.16, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1519.56, -1618.48, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(1806, 1519.89, -1613.94, -26.58,   0.00, 0.00, 47.00);
	CreateDynamicObject(2164, 1533.90, -1609.98, -26.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, 1532.14, -1609.99, -26.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, 1530.42, -1609.98, -26.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, 1528.64, -1609.99, -26.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, 1526.87, -1609.98, -26.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, 1525.14, -1609.99, -26.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(2612, 1514.53, -1620.90, -25.12,   0.00, 0.00, 90.00);
	CreateDynamicObject(2611, 1514.53, -1622.48, -25.11,   0.00, 0.00, 90.00);
	CreateDynamicObject(2611, 1514.54, -1624.06, -25.11,   0.00, 0.00, 90.00);
	CreateDynamicObject(2611, 1514.55, -1625.62, -25.11,   0.00, 0.00, 90.00);
	CreateDynamicObject(2611, 1514.55, -1612.15, -25.11,   0.00, 0.00, 90.00);
	CreateDynamicObject(2606, 1528.08, -1628.57, -24.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2606, 1530.06, -1628.56, -24.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2616, 1525.45, -1628.74, -24.70,   0.00, 0.00, 180.00);
	CreateDynamicObject(2310, 1521.71, -1639.02, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1521.56, -1642.76, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1521.64, -1647.76, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2604, 1518.98, -1637.29, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(2604, 1518.95, -1642.70, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(2604, 1519.00, -1648.15, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1520.12, -1648.01, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1520.25, -1642.86, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1520.37, -1638.71, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1511.23, -1587.03, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1510.40, -1586.97, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1509.38, -1586.94, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1508.38, -1586.90, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1507.27, -1586.84, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2208, 1508.56, -1588.14, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2208, 1505.70, -1588.13, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1506.26, -1586.89, -26.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1506.26, -1589.12, -26.18,   0.00, 0.00, -90.00);
	CreateDynamicObject(2310, 1507.32, -1589.13, -26.18,   0.00, 0.00, -90.00);
	CreateDynamicObject(2310, 1508.31, -1589.15, -26.18,   0.00, 0.00, -90.00);
	CreateDynamicObject(2310, 1509.32, -1589.06, -26.18,   0.00, 0.00, -90.00);
	CreateDynamicObject(2310, 1510.34, -1589.02, -26.18,   0.00, 0.00, -90.00);
	CreateDynamicObject(2310, 1511.20, -1588.99, -26.18,   0.00, 0.00, -90.00);
	CreateDynamicObject(2310, 1504.68, -1588.07, -26.18,   0.00, 0.00, 900.00);
	CreateDynamicObject(1491, 1515.37, -1590.90, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2611, 1508.49, -1590.89, -25.16,   0.00, 0.00, 180.00);
	CreateDynamicObject(2611, 1509.97, -1590.89, -25.16,   0.00, 0.00, 180.00);
	CreateDynamicObject(2611, 1506.98, -1590.88, -25.16,   0.00, 0.00, 180.00);
	CreateDynamicObject(3077, 1501.85, -1587.84, -26.47,   0.00, 0.00, -90.00);
	CreateDynamicObject(2630, 1510.18, -1592.21, -26.57,   0.00, 0.00, 0.00);
	CreateDynamicObject(2628, 1510.39, -1600.82, -26.53,   0.00, 0.00, 135.00);
	CreateDynamicObject(2627, 1507.20, -1599.99, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2628, 1502.50, -1593.40, -26.53,   0.00, 0.00, 47.00);
	CreateDynamicObject(2628, 1504.27, -1593.23, -26.53,   0.00, 0.00, 47.00);
	CreateDynamicObject(2628, 1506.79, -1592.86, -26.53,   0.00, 0.00, 47.00);
	CreateDynamicObject(2627, 1504.54, -1599.79, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2627, 1502.23, -1599.70, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(1491, 1514.42, -1594.57, -26.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(2631, 1499.18, -1594.92, -26.57,   0.00, 0.00, 0.00);
	CreateDynamicObject(2631, 1499.16, -1597.47, -26.57,   0.00, 0.00, 0.00);
	CreateDynamicObject(2390, 1508.02, -1591.30, -25.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(2390, 1508.71, -1591.33, -25.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(2371, 1543.59, -1598.90, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2371, 1543.50, -1603.15, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2371, 1543.53, -1601.03, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(2390, 1543.66, -1598.10, -25.87,   -22.58, 0.00, -0.06);
	CreateDynamicObject(2394, 1543.59, -1600.44, -25.74,   0.00, 0.00, 91.00);
	CreateDynamicObject(2394, 1543.55, -1602.66, -25.74,   0.00, 0.00, 91.00);
	CreateDynamicObject(1703, 1526.00, -1654.85, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(1703, 1523.50, -1654.83, -26.62,   0.00, 0.00, 0.00);
	CreateDynamicObject(1703, 1521.91, -1658.66, -26.62,   0.00, 0.00, 90.00);
	CreateDynamicObject(1703, 1527.93, -1602.41, -26.62,   0.00, 0.00, 180.00);
	CreateDynamicObject(1703, 1530.41, -1602.40, -26.62,   0.00, 0.00, 180.00);
	CreateDynamicObject(3077, 1486.54, -1646.86, -26.47,   0.00, 0.00, -90.00);
	CreateDynamicObject(2208, 1488.59, -1648.04, -26.62,   0.00, 0.00, 90.00);
	CreateDynamicObject(2310, 1500.88, -1644.80, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1500.79, -1645.90, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1500.73, -1648.14, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1500.72, -1649.22, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1498.54, -1648.22, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1498.54, -1649.14, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1496.63, -1649.15, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1496.66, -1648.07, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1498.80, -1645.61, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1498.92, -1644.58, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1496.75, -1645.61, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1496.77, -1644.56, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1494.33, -1644.60, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1494.29, -1645.78, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1494.38, -1648.04, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1494.31, -1649.08, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1492.03, -1649.07, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1492.05, -1648.07, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1492.17, -1644.57, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2310, 1492.15, -1645.73, -26.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1490.87, -1644.27, -26.22,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1490.69, -1649.51, -26.22,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1501.45, -1644.42, -26.22,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1501.40, -1649.25, -26.22,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1502.12, -1645.90, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1501.91, -1647.90, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1490.48, -1645.60, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1490.29, -1648.00, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(1703, 1528.43, -1662.72, -26.62,   0.00, 0.00, 2700.00);
	CreateDynamicObject(1703, 1530.92, -1662.72, -26.62,   0.00, 0.00, 2700.00);
	CreateDynamicObject(1703, 1533.40, -1662.75, -26.62,   0.00, 0.00, 2700.00);
	CreateDynamicObject(1703, 1535.88, -1662.76, -26.62,   0.00, 0.00, 2700.00);
	CreateDynamicObject(2163, 1539.13, -1596.46, -26.59,   0.00, 0.00, 9000.00);
	CreateDynamicObject(1359, 1543.35, -1604.21, -25.82,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1533.65, -1628.30, -25.82,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1522.24, -1655.55, -25.82,   0.00, 0.00, 0.00);
	CreateDynamicObject(2690, 1522.05, -1654.24, -26.02,   0.00, 0.00, 0.00);
	CreateDynamicObject(2690, 1519.98, -1635.52, -24.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(1808, 1528.89, -1654.49, -26.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(2610, 1536.46, -1596.64, -25.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(2610, 1537.40, -1596.65, -25.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1535.66, -1597.21, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2610, 1537.88, -1596.64, -25.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(2610, 1536.93, -1596.65, -25.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(2610, 1538.38, -1596.64, -25.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(2614, 1521.39, -1645.22, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(2614, 1521.39, -1640.84, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(2614, 1521.39, -1640.84, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(2614, 1521.40, -1650.16, -26.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(1557, 1522.03, -1584.04, -29.51,   0.00, 0.00, 0.00);
	CreateDynamicObject(2690, 1539.78, -1605.68, -25.37,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1522.70, -1628.91, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1530.12, -1628.91, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1529.28, -1609.89, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19431, 1534.41, -1609.88, -24.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(19431, 1520.21, -1609.78, -24.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(19431, 1518.64, -1609.78, -24.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1521.10, -1605.05, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1521.09, -1595.52, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1521.09, -1586.09, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1524.41, -1588.86, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1531.38, -1588.92, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1531.38, -1598.45, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1524.38, -1605.17, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1535.21, -1605.18, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1535.22, -1595.70, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1544.25, -1600.81, -25.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1538.55, -1610.49, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1538.41, -1623.27, -25.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1538.42, -1632.80, -25.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1538.42, -1639.78, -25.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1545.33, -1649.19, -25.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1538.46, -1658.74, -25.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1521.17, -1658.87, -25.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1514.42, -1652.80, -25.11,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1514.41, -1639.95, -24.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1514.40, -1630.55, -24.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1514.40, -1622.53, -24.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1514.39, -1609.67, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1514.39, -1600.17, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19431, 1514.38, -1591.56, -24.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1517.76, -1605.07, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1517.76, -1595.53, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1517.77, -1586.15, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1486.02, -1646.86, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1504.92, -1652.88, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1504.78, -1639.80, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1535.01, -1630.58, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1517.80, -1630.56, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1522.67, -1635.29, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1530.17, -1635.31, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1543.18, -1653.99, -25.03,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1543.28, -1644.49, -25.03,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1516.46, -1654.12, -25.12,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1525.98, -1663.64, -25.03,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1534.88, -1663.64, -25.03,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1509.65, -1648.11, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1509.52, -1644.62, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1500.41, -1651.57, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1490.82, -1651.57, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1500.11, -1642.46, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1490.56, -1642.45, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1543.35, -1618.50, -25.12,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1543.39, -1615.24, -25.12,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1539.83, -1596.14, -25.12,   0.00, 0.00, -90.00);
	CreateDynamicObject(2163, 1541.15, -1596.50, -26.59,   0.00, 0.00, 9000.00);
	CreateDynamicObject(2163, 1541.13, -1596.49, -25.70,   0.00, 0.00, 9000.00);
	CreateDynamicObject(2163, 1539.11, -1596.45, -25.67,   0.00, 0.00, 9000.00);
	CreateDynamicObject(2390, 1543.66, -1598.63, -25.87,   -22.58, 0.00, -0.06);
	CreateDynamicObject(2390, 1543.67, -1599.14, -25.87,   -22.58, 0.00, -0.06);
	CreateDynamicObject(19450, 1543.29, -1605.76, -25.12,   0.00, 0.00, -90.00);
	CreateDynamicObject(2390, 1543.66, -1597.58, -25.87,   -22.58, 0.00, -0.06);
	CreateDynamicObject(19450, 1529.32, -1603.25, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1526.73, -1584.16, -24.95,   0.00, 0.00, -90.00);
	CreateDynamicObject(19431, 1521.18, -1584.15, -24.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, 1525.99, -1654.10, -26.82,   0.00, 0.00, -90.00);
	CreateDynamicObject(3850, 1521.21, -1652.33, -23.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1521.23, -1648.91, -23.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1521.23, -1645.48, -23.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1521.23, -1642.05, -23.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1521.24, -1638.60, -23.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(3850, 1521.26, -1635.18, -23.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1509.66, -1617.87, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1509.66, -1614.47, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1497.01, -1598.38, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, 1497.02, -1588.86, -24.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(19431, 1517.34, -1586.00, -24.96,   0.00, 0.00, 222.00);
	CreateDynamicObject(19431, 1516.28, -1584.83, -24.96,   0.00, 0.00, 222.00);
	CreateDynamicObject(19450, 1509.60, -1603.17, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1501.00, -1603.17, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1501.68, -1584.23, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1511.22, -1584.22, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1509.72, -1590.83, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19450, 1500.29, -1590.85, -24.98,   0.00, 0.00, -90.00);
	CreateDynamicObject(19384, 1514.39, -1616.09, -24.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(19384, 1538.55, -1616.90, -24.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(19384, 1514.40, -1646.37, -24.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(19384, 1514.35, -1593.86, -24.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(19384, 1516.14, -1590.82, -24.99,   0.00, 0.00, 90.00);
	CreateDynamicObject(19384, 1516.11, -1609.67, -24.99,   0.00, 0.00, 90.00);
	CreateDynamicObject(19384, 1522.75, -1609.76, -24.99,   0.00, 0.00, 90.00);
	CreateDynamicObject(19384, 1536.87, -1609.92, -24.99,   0.00, 0.00, 90.00);
	CreateDynamicObject(19384, 1536.69, -1634.85, -24.99,   0.00, 0.00, 90.00);
	CreateDynamicObject(19384, 1516.10, -1635.17, -24.99,   0.00, 0.00, 90.00);
	CreateDynamicObject(19462, 1540.17, -1649.14, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1543.65, -1649.16, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.74, -1649.49, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1533.24, -1649.50, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.78, -1649.49, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.30, -1649.47, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.68, -1639.88, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1533.23, -1640.04, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.73, -1640.04, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.26, -1639.88, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.79, -1639.82, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.80, -1649.44, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.79, -1620.95, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.79, -1611.32, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1533.34, -1624.18, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1533.31, -1614.56, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.82, -1614.54, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.87, -1624.17, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.40, -1615.17, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.39, -1624.81, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.99, -1624.02, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.92, -1614.42, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1519.44, -1614.46, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1519.49, -1624.08, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1516.00, -1620.98, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1516.00, -1611.35, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1515.91, -1601.79, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1515.99, -1592.24, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1516.03, -1582.70, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1512.55, -1589.11, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1509.09, -1589.11, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1505.66, -1589.11, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1502.20, -1589.06, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1498.74, -1589.07, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1512.56, -1598.73, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1509.15, -1598.74, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1505.72, -1598.75, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1502.20, -1598.60, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1498.75, -1598.67, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.93, -1604.89, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.88, -1595.68, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.32, -1598.53, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.73, -1598.49, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.07, -1588.99, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.56, -1588.87, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.72, -1630.52, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1516.15, -1630.63, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1509.59, -1646.42, -26.65,   0.00, 90.00, 90.00);
	CreateDynamicObject(19462, 1503.05, -1646.73, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1499.58, -1646.70, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1496.09, -1646.82, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1492.60, -1646.78, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1489.15, -1646.64, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1485.70, -1646.43, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.65, -1659.11, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1533.16, -1659.13, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1529.66, -1659.11, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1526.21, -1659.09, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1522.77, -1659.02, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1503.13, -1626.45, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1499.67, -1626.42, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1503.12, -1616.86, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1499.64, -1616.80, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1537.00, -1601.72, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1540.47, -1600.92, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1543.92, -1600.87, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1536.98, -1592.05, -26.65,   0.00, 90.00, 0.00);
	CreateDynamicObject(19462, 1509.69, -1616.12, -26.65,   0.00, 90.00, 90.00);
	CreateDynamicObject(19462, 1543.36, -1616.82, -26.65,   0.00, 90.00, 90.00);
	CreateDynamicObject(2010, 1535.54, -1634.21, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, 1535.14, -1625.42, -26.58,   0.00, 0.00, 0.00);
	CreateDynamicObject(19449, 1496.19, -1617.10, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1496.18, -1626.74, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1492.74, -1617.05, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1492.72, -1626.68, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1489.27, -1617.15, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1489.22, -1626.79, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1485.77, -1626.53, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1485.77, -1616.89, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1482.27, -1616.96, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1482.26, -1626.55, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1478.77, -1616.96, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1478.77, -1626.58, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1475.26, -1617.14, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19449, 1475.26, -1626.77, -26.57,   0.00, 90.00, 0.00);
	CreateDynamicObject(19442, 1486.65, -1630.08, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1493.42, -1625.83, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(19442, 1492.75, -1613.97, -26.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(2049, 1486.76, -1630.09, -25.25,   0.00, 0.00, 90.00);
	CreateDynamicObject(2049, 1493.54, -1625.90, -25.25,   0.00, 0.00, 90.00);
	CreateDynamicObject(2049, 1492.87, -1614.02, -25.25,   0.00, 0.00, 90.00);
	CreateDynamicObject(19454, 1516.08, -1614.53, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1519.58, -1614.49, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1523.06, -1614.50, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.55, -1614.49, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.94, -1614.48, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1533.41, -1614.46, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.86, -1614.49, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.56, -1623.99, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1533.05, -1624.10, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.52, -1624.08, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.02, -1624.13, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.52, -1624.02, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1519.01, -1624.06, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1515.50, -1624.10, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1516.16, -1604.82, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1516.07, -1595.21, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1512.67, -1598.47, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1509.22, -1598.47, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1505.72, -1598.48, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1502.28, -1598.50, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1498.80, -1598.49, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1498.89, -1588.93, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1502.38, -1588.93, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1505.89, -1588.94, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1509.38, -1588.92, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1512.78, -1588.90, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1516.19, -1585.65, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.77, -1604.94, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.76, -1595.35, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.69, -1585.73, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.25, -1589.05, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.74, -1589.04, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.59, -1598.45, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.07, -1598.48, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1503.18, -1616.83, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1499.69, -1616.81, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1499.72, -1626.41, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1503.15, -1626.50, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1496.22, -1626.41, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1496.16, -1616.79, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1492.72, -1616.86, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1489.23, -1616.88, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1485.71, -1616.77, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1482.23, -1616.87, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1478.77, -1616.85, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1475.26, -1616.78, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1478.83, -1626.46, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1475.36, -1626.32, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1482.32, -1626.49, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1485.83, -1626.45, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1489.36, -1626.47, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1492.76, -1626.48, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.91, -1604.89, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.92, -1595.32, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1540.38, -1600.85, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1543.87, -1600.86, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1503.12, -1647.07, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1499.63, -1647.08, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1496.16, -1647.07, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1492.69, -1647.04, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1489.21, -1647.07, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1485.77, -1647.03, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1515.99, -1633.74, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1516.03, -1643.32, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1516.03, -1652.92, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1519.52, -1652.91, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1519.51, -1643.32, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1519.50, -1633.88, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.57, -1633.56, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.59, -1643.17, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.57, -1652.77, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1540.02, -1649.22, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1543.49, -1649.17, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1536.61, -1662.27, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1533.16, -1662.22, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.66, -1662.20, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.33, -1662.09, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.82, -1662.07, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1533.07, -1652.60, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1533.14, -1643.06, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1533.16, -1633.56, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.60, -1652.55, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.09, -1652.52, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.77, -1652.49, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.70, -1642.91, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1522.69, -1633.31, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.21, -1642.94, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.62, -1642.98, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1526.16, -1633.35, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1529.69, -1633.58, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1549.97, -1624.94, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1553.43, -1624.97, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1556.86, -1624.95, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1560.35, -1624.95, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1563.85, -1624.95, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1567.35, -1624.96, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1570.82, -1624.96, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1574.27, -1624.95, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1577.77, -1624.91, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1577.70, -1615.29, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1574.20, -1615.29, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1570.73, -1615.32, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1567.25, -1615.32, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1563.82, -1615.33, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1560.33, -1615.34, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1556.82, -1615.31, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1553.39, -1615.38, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1549.90, -1615.43, -23.40,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, 1543.30, -1616.65, -23.40,   0.00, 90.00, 90.00);
	CreateDynamicObject(19454, 1509.67, -1616.28, -23.40,   0.00, 90.00, 90.00);
	CreateDynamicObject(19454, 1509.52, -1646.25, -23.40,   0.00, 90.00, 90.00);
	CreateDynamicObject(1893, 1528.68, -1614.61, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1525.76, -1614.61, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1522.48, -1614.63, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1528.56, -1615.98, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1528.49, -1617.36, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1525.80, -1617.38, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1525.78, -1616.02, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1522.38, -1615.96, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1522.35, -1617.32, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1522.20, -1622.97, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1522.21, -1623.95, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1522.12, -1625.13, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1525.56, -1622.98, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1525.55, -1624.00, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1525.55, -1625.16, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1528.31, -1622.97, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1528.44, -1623.98, -22.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, 1528.31, -1625.20, -22.92,   0.00, 0.00, 0.00);

	// Interior Mafia Corleone
	CreateDynamicObject(15054, 6295.3012695313, -2248.3735351563, 29.191822052002, 0, 0, 0);
	CreateDynamicObject(1829, 6300.98046875, -2238.3142089844, 27.656351089478, 0, 0, 0);
	CreateDynamicObject(2358, 6302.3393554688, -2237.8029785156, 27.30835723877, 0, 0, 0);
	CreateDynamicObject(2358, 6302.3388671875, -2237.802734375, 27.551622390747, 0, 0, 0);
	CreateDynamicObject(2358, 6302.3388671875, -2237.802734375, 27.794887542725, 0, 0, 0);
	CreateDynamicObject(2358, 6301.708984375, -2237.8898925781, 27.30835723877, 0, 0, 270.5712890625);
	CreateDynamicObject(2358, 6301.708984375, -2237.8896484375, 27.551622390747, 0, 0, 270.5712890625);
	CreateDynamicObject(2358, 6301.708984375, -2237.8896484375, 27.794887542725, 0, 0, 270.5712890625);
	CreateDynamicObject(2358, 6301.708984375, -2237.8896484375, 28.038152694702, 0, 0, 270.5712890625);
	CreateDynamicObject(2061, 6301.1982421875, -2237.7380371094, 28.427707672119, 0, 0, 0);
	CreateDynamicObject(2061, 6300.716796875, -2237.8046875, 28.427707672119, 0, 0, 0);
	CreateDynamicObject(2035, 6302.2099609375, -2241.3256835938, 27.600034713745, 0, 297.40002441406, 266.09985351563);
	CreateDynamicObject(2035, 6301.001953125, -2241.2717285156, 27.600034713745, 0, 297.39990234375, 266.09985351563);
	CreateDynamicObject(2035, 6301.5205078125, -2241.3520507813, 27.600034713745, 0, 297.39990234375, 266.09985351563);
	CreateDynamicObject(2885, 6303.025390625, -2238.5002441406, 33.873138427734, 0, 0, 90.236206054688);
	CreateDynamicObject(16151, 6285.1850585938, -2240.3317871094, 27.492656707764, 0, 0, 180.73083496094);
	CreateDynamicObject(1665, 6286.2236328125, -2241.158203125, 28.108528137207, 0, 0, 0);
	CreateDynamicObject(1520, 6286.1059570313, -2240.7348632813, 28.200830459595, 0, 0, 0);
	CreateDynamicObject(1667, 6286.3432617188, -2241.9606933594, 28.186655044556, 0, 0, 0);
	CreateDynamicObject(2475, 6301.9331054688, -2241.50390625, 28.456790924072, 0, 0, 179.73034667969);
	CreateDynamicObject(2044, 6302.1064453125, -2241.2238769531, 28.631187438965, 0, 0, 0);
	CreateDynamicObject(2044, 6301.646484375, -2241.1811523438, 28.631187438965, 0, 0, 0);
	CreateDynamicObject(2044, 6301.2231445313, -2241.2824707031, 28.631187438965, 0, 0, 0);
	CreateDynamicObject(2044, 6302.1040039063, -2241.3078613281, 29.35613822937, 0, 0, 0);
	CreateDynamicObject(2044, 6301.7836914063, -2241.318359375, 29.277667999268, 0, 0, 0);
	CreateDynamicObject(2044, 6301.3515625, -2241.2629394531, 29.277667999268, 0, 0, 0);
	CreateDynamicObject(1506, 6300.24609375, -2246.638671875, 27.207651138306, 0, 0, 89.302947998047);
	CreateDynamicObject(1491, 6297.41796875, -2247.9689941406, 27.194473266602, 0, 0, 0);
	CreateDynamicObject(1491, 6294.1020507813, -2245.150390625, 27.199148178101, 0, 0, 269.57958984375);
	CreateDynamicObject(1491, 6296.91796875, -2243.8198242188, 27.198747634888, 0, 0, 180.14007568359);
	CreateDynamicObject(2025, 6299.8579101563, -2239.1486816406, 27.191822052002, 0, 0, 271.32629394531);
	CreateDynamicObject(2207, 6294.8569335938, -2236.775390625, 27.191822052002, 0, 0, 0);
	CreateDynamicObject(1723, 6296.5581054688, -2240.4104003906, 27.191822052002, 0, 0, 180.46533203125);
	CreateDynamicObject(1724, 6297.9379882813, -2238.9001464844, 27.191822052002, 0, 0, 247.32635498047);
	CreateDynamicObject(1724, 6293.4208984375, -2239.865234375, 27.191822052002, 0, 0, 119.16296386719);
	CreateDynamicObject(1714, 6296.2006835938, -2235.2890625, 27.191822052002, 0, 0, 330.775390625);
	CreateDynamicObject(2566, 6298.7954101563, -2251.6611328125, 27.771640777588, 0, 0, 180.46533203125);
	CreateDynamicObject(2297, 6295.5493164063, -2248.2746582031, 27.191822052002, 0, 0, 314.84851074219);
	CreateDynamicObject(1736, 6294.2153320313, -2243.2861328125, 29.470735549927, 0, 0, 186.02880859375);
	CreateDynamicObject(2518, 6290.9936523438, -2244.5544433594, 27.191822052002, 0, 0, 0);
	CreateDynamicObject(2528, 6291.0283203125, -2247.4404296875, 27.191822052002, 0, 0, 181.99206542969);
	CreateDynamicObject(2522, 6288.1879882813, -2245.8156738281, 27.191822052002, 0, 0, 90.200073242188);

	// Corleone Deel 2 HQ -140.4608,-4056.7969,1554.6260
	CreateDynamicObject(19452, -150.58, -4055.54, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -154.08, -4055.55, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -147.09, -4055.54, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -143.60, -4055.52, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -140.12, -4055.52, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -136.64, -4055.52, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -136.69, -4065.14, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -140.17, -4065.15, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -143.63, -4065.14, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -147.10, -4065.14, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -150.60, -4065.12, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -157.51, -4055.55, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -160.98, -4055.57, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -133.22, -4065.13, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -129.75, -4065.14, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -126.27, -4065.16, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19452, -122.77, -4065.16, 1553.54,   0.00, 90.00, 0.00);
	CreateDynamicObject(19450, -134.91, -4055.50, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -121.12, -4065.22, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -152.42, -4065.12, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -162.78, -4055.59, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -162.28, -4050.71, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -152.65, -4050.70, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -142.28, -4052.81, 1555.18,   0.00, 0.00, 116.00);
	CreateDynamicObject(19450, -157.15, -4060.36, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19431, -162.65, -4060.36, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -130.17, -4060.38, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -120.60, -4060.39, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -125.81, -4069.92, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -135.34, -4069.92, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -144.92, -4069.91, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19450, -154.52, -4069.92, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19388, -134.89, -4061.96, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -134.90, -4068.37, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19388, -152.42, -4058.72, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -152.42, -4052.31, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(1536, -137.36, -4050.75, 1553.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(19388, -136.57, -4050.69, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(2207, -144.60, -4063.08, 1553.62,   0.00, 0.00, 180.00);
	CreateDynamicObject(2208, -144.63, -4063.73, 1553.55,   0.00, 0.00, 0.00);
	CreateDynamicObject(2208, -149.05, -4063.78, 1553.55,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, -147.75, -4066.43, 1553.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2164, -146.01, -4066.44, 1553.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2167, -145.78, -4069.84, 1553.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2200, -146.67, -4069.83, 1553.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2161, -144.67, -4066.49, 1553.64,   0.00, 0.00, 180.00);
	CreateDynamicObject(2161, -143.36, -4066.48, 1553.64,   0.00, 0.00, 180.00);
	CreateDynamicObject(2161, -141.95, -4066.24, 1553.64,   0.00, 0.00, 195.00);
	CreateDynamicObject(2164, -149.64, -4066.14, 1553.71,   0.00, 0.00, 149.00);
	CreateDynamicObject(2164, -151.15, -4065.23, 1553.71,   0.00, 0.00, 149.00);
	CreateDynamicObject(19431, -149.85, -4066.18, 1555.18,   0.00, 0.00, 60.00);
	CreateDynamicObject(19431, -142.11, -4066.37, 1555.18,   0.00, 0.00, 105.00);
	CreateDynamicObject(19450, -147.69, -4066.58, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(19431, -140.62, -4065.96, 1555.18,   0.00, 0.00, 105.00);
	CreateDynamicObject(19431, -151.21, -4065.40, 1555.18,   0.00, 0.00, 60.00);
	CreateDynamicObject(19431, -152.59, -4064.60, 1555.18,   0.00, 0.00, 60.00);
	CreateDynamicObject(19431, -139.48, -4065.10, 1555.18,   0.00, 0.00, 149.00);
	CreateDynamicObject(2161, -140.67, -4065.89, 1553.64,   0.00, 0.00, 195.00);
	CreateDynamicObject(2167, -148.91, -4069.85, 1553.71,   0.00, 0.00, 180.00);
	CreateDynamicObject(2208, -157.73, -4053.60, 1553.55,   0.00, 0.00, 0.00);
	CreateDynamicObject(2208, -160.56, -4056.84, 1553.55,   0.00, 0.00, 90.00);
	CreateDynamicObject(2208, -157.75, -4057.38, 1553.55,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -148.08, -4055.69, 1555.18,   0.00, 0.00, 117.00);
	CreateDynamicObject(1714, -145.49, -4064.87, 1553.58,   0.00, 0.00, 180.00);
	CreateDynamicObject(1714, -161.75, -4055.65, 1553.58,   0.00, 0.00, 90.00);
	CreateDynamicObject(1671, -157.39, -4052.33, 1554.08,   0.00, 0.00, 0.00);
	CreateDynamicObject(1671, -156.42, -4052.31, 1554.08,   0.00, 0.00, 0.00);
	CreateDynamicObject(1671, -155.38, -4052.33, 1554.08,   0.00, 0.00, 0.00);
	CreateDynamicObject(1671, -155.40, -4058.67, 1554.08,   0.00, 0.00, 180.00);
	CreateDynamicObject(1671, -156.26, -4058.67, 1554.08,   0.00, 0.00, 180.00);
	CreateDynamicObject(1671, -157.18, -4058.71, 1554.08,   0.00, 0.00, 180.00);
	CreateDynamicObject(1671, -145.28, -4061.98, 1554.08,   0.00, 0.00, 270.00);
	CreateDynamicObject(3533, -138.73, -4063.71, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -152.29, -4063.61, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -162.73, -4059.60, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -162.51, -4051.48, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -134.79, -4050.84, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -138.57, -4050.82, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -121.01, -4060.75, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -121.16, -4069.35, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3533, -134.71, -4069.96, 1554.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(2894, -144.71, -4063.67, 1554.43,   0.00, 0.00, -33.00);
	CreateDynamicObject(2894, -146.39, -4063.81, 1554.43,   0.00, 0.00, 47.00);
	CreateDynamicObject(2894, -160.61, -4055.60, 1554.43,   0.00, 0.00, -91.00);
	CreateDynamicObject(3077, -162.66, -4055.38, 1553.26,   -0.61, 0.00, 90.00);
	CreateDynamicObject(2357, -126.59, -4061.15, 1553.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(1703, -131.01, -4064.93, 1553.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(1742, -132.46, -4060.33, 1553.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(1742, -131.05, -4060.35, 1553.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(1742, -129.62, -4060.34, 1553.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(2357, -130.00, -4068.98, 1553.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(1786, -129.92, -4069.28, 1554.31,   0.00, 0.00, 180.00);
	CreateDynamicObject(1703, -133.21, -4066.27, 1553.63,   0.00, 0.00, 33.00);
	CreateDynamicObject(1703, -128.40, -4065.09, 1553.63,   0.00, 0.00, -33.00);
	CreateDynamicObject(2230, -127.65, -4060.39, 1554.31,   0.00, 0.00, 0.00);
	CreateDynamicObject(2230, -125.00, -4060.39, 1554.31,   0.00, 0.00, 0.00);
	CreateDynamicObject(1485, -127.95, -4061.62, 1554.31,   0.00, 0.00, 0.00);
	CreateDynamicObject(2654, -126.77, -4061.23, 1554.54,   0.00, 0.00, 113.00);
	CreateDynamicObject(19450, -124.43, -4061.89, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(19388, -124.43, -4068.25, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2653, -123.68, -4061.03, 1555.40,   90.00, 0.00, 0.00);
	CreateDynamicObject(2528, -122.23, -4062.22, 1553.64,   0.00, 0.00, 0.00);
	CreateDynamicObject(2653, -122.23, -4060.96, 1555.40,   90.00, 0.00, 0.00);
	CreateDynamicObject(2528, -123.70, -4062.27, 1553.64,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -122.76, -4062.16, 1555.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(2518, -123.81, -4064.76, 1554.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(2518, -122.14, -4064.79, 1554.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(1808, -133.42, -4060.62, 1553.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(1808, -138.70, -4062.80, 1553.63,   0.00, 0.00, 180.00);
	CreateDynamicObject(1808, -158.50, -4060.11, 1553.63,   0.00, 0.00, 180.00);
	CreateDynamicObject(2400, -149.47, -4066.75, 1553.75,   0.00, 0.00, 0.00);
	CreateDynamicObject(2381, -147.51, -4067.17, 1555.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(2381, -148.77, -4067.17, 1555.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(1703, -151.85, -4069.08, 1553.63,   0.00, 0.00, 90.00);
	CreateDynamicObject(1703, -143.57, -4054.10, 1553.63,   0.00, 0.00, 26.00);
	CreateDynamicObject(1703, -145.85, -4055.19, 1553.63,   0.00, 0.00, 26.00);
	CreateDynamicObject(1703, -135.51, -4057.63, 1553.63,   0.00, 0.00, -90.00);
	CreateDynamicObject(1703, -135.51, -4055.09, 1553.63,   0.00, 0.00, -90.00);
	CreateDynamicObject(1491, -152.40, -4059.47, 1553.51,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, -134.88, -4062.69, 1553.51,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, -124.39, -4068.97, 1553.51,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, -124.35, -4066.92, 1553.51,   0.00, 0.00, 0.00);
	CreateDynamicObject(1491, -122.67, -4066.92, 1553.51,   0.00, 0.00, 0.00);
	CreateDynamicObject(19450, -119.62, -4066.91, 1557.76,   0.00, 0.00, 90.00);
	CreateDynamicObject(2010, -138.44, -4051.99, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -135.49, -4052.13, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -146.60, -4055.57, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -151.88, -4059.78, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -140.28, -4064.88, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -137.89, -4062.93, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -135.93, -4069.44, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -144.73, -4069.49, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -149.72, -4069.45, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -132.97, -4068.82, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -127.15, -4068.74, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -124.90, -4062.56, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -134.11, -4060.92, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -121.52, -4068.37, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -161.18, -4051.59, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -153.03, -4051.36, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -161.62, -4059.72, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(2010, -153.05, -4059.86, 1553.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(19388, -136.40, -4063.71, 1555.18,   0.00, 0.00, 90.00);
	CreateDynamicObject(1491, -137.19, -4063.73, 1553.51,   0.00, 0.00, 0.00);
	CreateDynamicObject(2690, -152.29, -4061.00, 1554.69,   0.00, 0.00, 90.00);
	CreateDynamicObject(2690, -152.26, -4069.58, 1554.69,   0.00, 0.00, 90.00);
	CreateDynamicObject(19454, -136.63, -4055.53, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -136.63, -4065.13, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -133.06, -4065.20, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -129.62, -4065.17, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -126.22, -4065.11, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -122.75, -4064.99, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -140.11, -4065.03, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -143.61, -4065.01, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -147.08, -4065.00, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -150.57, -4065.03, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -150.59, -4055.42, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -147.09, -4055.43, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -143.59, -4055.44, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -140.11, -4055.42, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -154.19, -4055.59, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -157.55, -4055.60, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(19454, -161.04, -4055.45, 1556.78,   0.00, 90.00, 0.00);
	CreateDynamicObject(16780, -145.54, -4064.55, 1556.81,   0.00, 0.00, 0.00);
	CreateDynamicObject(2740, -145.06, -4062.05, 1556.54,   0.00, 0.00, 0.00);
	CreateDynamicObject(2740, -143.79, -4062.22, 1556.54,   0.00, 0.00, 0.00);
	CreateDynamicObject(2740, -146.41, -4061.89, 1556.54,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -160.73, -4056.03, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -160.76, -4054.99, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -156.76, -4053.53, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -156.80, -4057.36, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -148.57, -4068.36, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -138.64, -4067.82, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -124.10, -4062.91, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -122.50, -4062.97, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -127.29, -4064.07, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -130.11, -4064.10, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -132.89, -4064.10, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -132.94, -4065.63, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -130.25, -4065.73, 1557.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1893, -127.37, -4065.79, 1557.20,   0.00, 0.00, 0.00);

	// LS Elevator Building Ground Floor
	CreateDynamicObject(2773, 1784.50, -1299.74, 12.90,   -4.00, 0.00, 0.00);
	CreateDynamicObject(2773, 1788.93, -1299.76, 12.90,   -4.00, 0.00, 0.00);
	CreateDynamicObject(3437, 1797.06, -1296.22, 13.37,   0.00, 0.00, 71.22);
	CreateDynamicObject(3437, 1798.67, -1295.39, 13.37,   0.00, 0.00, 339.08);
	CreateDynamicObject(3437, 1800.61, -1296.71, 13.37,   0.00, 0.00, 313.25);
	CreateDynamicObject(3437, 1801.68, -1298.17, 13.37,   0.00, 0.00, 286.95);
	CreateDynamicObject(3437, 1803.65, -1298.30, 13.37,   0.00, 0.00, 159.15);
	CreateDynamicObject(3437, 1802.01, -1298.21, 13.37,   0.00, 0.00, 159.15);
	CreateDynamicObject(3437, 1805.36, -1297.29, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1807.01, -1295.51, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1808.94, -1293.70, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1810.61, -1292.35, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1812.19, -1290.88, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1814.02, -1289.40, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1815.87, -1287.66, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1817.48, -1286.14, 13.37,   0.00, 0.00, 222.93);
	CreateDynamicObject(3437, 1817.16, -1284.70, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.90, -1282.17, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.55, -1279.78, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.31, -1277.39, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(3437, 1816.14, -1275.26, 13.37,   0.00, 0.00, 272.77);
	CreateDynamicObject(1886, 1798.03, -1306.29, 16.94,   18.00, 0.00, 212.54);
	CreateDynamicObject(3437, 1798.84, -1296.21, 13.37,   0.00, 0.00, 5.18);
	CreateDynamicObject(1886, 1776.63, -1306.58, 16.94,   18.00, 0.00, 142.25);
	CreateDynamicObject(3437, 1817.42, -1273.88, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1819.94, -1273.78, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1822.43, -1273.67, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1825.07, -1273.56, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1827.56, -1273.40, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1830.03, -1273.23, 13.37,   0.00, 0.00, 181.51);
	CreateDynamicObject(3437, 1831.52, -1274.55, 13.37,   0.00, 0.00, 96.15);
	CreateDynamicObject(3437, 1831.70, -1277.16, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1831.83, -1279.65, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1831.96, -1282.18, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.09, -1284.66, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.22, -1287.03, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.23, -1289.42, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.25, -1291.96, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.26, -1294.25, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.28, -1296.66, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.29, -1299.25, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.34, -1301.86, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.38, -1304.24, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.42, -1306.70, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.46, -1308.99, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.50, -1311.48, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1832.54, -1313.89, 13.37,   0.00, 0.00, 88.76);
	CreateDynamicObject(3437, 1831.18, -1315.09, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1828.72, -1315.03, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1826.35, -1314.98, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1823.79, -1314.93, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1821.62, -1314.88, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1819.41, -1315.01, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1817.25, -1315.15, 13.37,   0.00, 0.00, 354.52);
	CreateDynamicObject(3437, 1815.92, -1313.70, 13.37,   0.00, 0.00, 271.42);
	CreateDynamicObject(3437, 1815.51, -1311.54, 13.37,   0.00, 0.00, 271.42);
	CreateDynamicObject(3437, 1814.45, -1309.41, 13.37,   0.00, 0.00, 320.65);
	CreateDynamicObject(3437, 1812.48, -1308.61, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1809.83, -1308.67, 13.37,   0.00, 0.00, 1.61);
	CreateDynamicObject(3437, 1807.24, -1308.53, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1804.79, -1308.47, 13.37,   0.00, 0.00, 2.30);
	CreateDynamicObject(3437, 1802.10, -1308.51, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1799.68, -1308.44, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1797.22, -1308.38, 13.37,   0.00, 0.00, 359.12);
	CreateDynamicObject(3437, 1795.10, -1308.55, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1792.51, -1308.66, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1790.02, -1308.77, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1787.71, -1308.87, 13.37,   0.00, 0.00, 0.69);
	CreateDynamicObject(3437, 1785.53, -1308.97, 13.37,   0.00, 0.00, 352.23);
	CreateDynamicObject(3437, 1783.44, -1308.88, 13.37,   0.00, 0.00, 352.23);
	CreateDynamicObject(3437, 1781.15, -1308.79, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1778.76, -1308.63, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1776.24, -1308.59, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1774.89, -1307.25, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1774.73, -1304.90, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1774.55, -1302.31, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1774.39, -1299.91, 13.37,   0.00, 0.00, 270.81);
	CreateDynamicObject(3437, 1775.10, -1297.58, 13.37,   0.00, 0.00, 236.43);
	CreateDynamicObject(3437, 1776.56, -1296.38, 13.37,   0.00, 0.00, 198.35);
	CreateDynamicObject(3437, 1777.65, -1296.11, 13.37,   0.00, 0.00, 198.35);
	CreateDynamicObject(3437, 1778.55, -1296.17, 13.37,   0.00, 0.00, 185.77);
	CreateDynamicObject(3437, 1780.28, -1296.85, 13.37,   0.00, 0.00, 111.52);
	CreateDynamicObject(3437, 1775.08, -1298.42, 13.37,   0.00, 0.00, 264.37);
	CreateDynamicObject(3437, 1775.01, -1300.55, 13.37,   0.00, 0.00, 264.37);
	CreateDynamicObject(3437, 1774.91, -1302.81, 13.37,   0.00, 0.00, 264.37);
	CreateDynamicObject(3437, 1775.71, -1307.35, 13.37,   0.00, 0.00, 328.20);
	CreateDynamicObject(3437, 1777.76, -1308.06, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1779.84, -1308.05, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1782.12, -1308.04, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1782.12, -1308.04, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1784.39, -1307.93, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1786.75, -1308.03, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1789.21, -1308.13, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1791.26, -1308.20, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1793.45, -1308.28, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1795.37, -1308.32, 13.37,   0.00, 0.00, 0.40);
	CreateDynamicObject(3437, 1798.58, -1307.54, 13.37,   0.00, 0.00, 229.05);
	CreateDynamicObject(3437, 1799.74, -1305.26, 13.37,   0.00, 0.00, 257.35);
	CreateDynamicObject(3437, 1800.01, -1302.73, 13.37,   0.00, 0.00, 265.55);
	CreateDynamicObject(3437, 1800.25, -1300.18, 13.37,   0.00, 0.00, 265.55);
	CreateDynamicObject(3437, 1800.29, -1298.02, 13.37,   0.00, 0.00, 265.55);
	CreateDynamicObject(3437, 1778.48, -1295.88, 13.37,   0.00, 0.00, 190.94);

	// LS Elevator Building Floor 2
	CreateDynamicObject(1642,1786.7636719,-1300.5549316,26.6912384,0.0000000,0.0000000,90.0000000); //object(beachtowel02) (1)
	CreateDynamicObject(2796,1783.6806641,-1299.8974609,29.5125828,0.0000000,0.0000000,270.0000000); //object(cj_air_d_6) (1)
	CreateDynamicObject(11245,1778.2402344,-1295.6035156,16.5725403,0.0000000,0.0000000,90.0000000); //object(sfsefirehseflag) (1)
	CreateDynamicObject(11245,1798.7236328,-1295.2832031,16.5725403,0.0000000,0.0000000,90.0000000); //object(sfsefirehseflag) (2)
	CreateDynamicObject(2412,1789.2755127,-1300.4190674,26.6659527,0.0000000,0.0000000,0.0000000); //object(cj_detector) (1)
	CreateDynamicObject(2412,1784.9213867,-1300.4111328,26.6659489,0.0000000,0.0000000,0.0000000); //object(cj_detector) (2)
	CreateDynamicObject(2172,1809.5760498,-1301.0808105,26.6592350,0.0000000,0.0000000,180.0000000); //object(med_office2_desk_1) (1)
	CreateDynamicObject(2174,1799.9404297,-1300.0329590,26.6342354,0.0000000,0.0000000,90.0000000); //object(med_office4_desk_2) (1)
	CreateDynamicObject(2181,1801.9840088,-1297.0347900,26.6592350,0.0000000,0.0000000,0.0000000); //object(med_office5_desk_2) (1)
	CreateDynamicObject(2182,1799.9908447,-1298.0328369,26.6592350,0.0000000,0.0000000,0.0000000); //object(med_office5_desk_1) (1)
	CreateDynamicObject(2605,1809.6491699,-1297.8383789,27.0326729,0.0000000,0.0000000,269.9945068); //object(polce_desk1) (2)
	CreateDynamicObject(2008,1804.1774902,-1300.9846191,26.6592350,0.0000000,0.0000000,180.0000000); //object(officedesk1) (2)
	CreateDynamicObject(2165,1807.2440186,-1298.8105469,26.6342354,0.0000000,0.0000000,90.0000000); //object(med_office_desk_1) (1)
	CreateDynamicObject(1806,1807.7877197,-1296.2468262,26.6397934,0.0000000,0.0000000,39.4891357); //object(med_office_chair) (1)
	CreateDynamicObject(3386,1809.6175537,-1295.3399658,26.6342354,0.0000000,0.0000000,89.9945068); //object(a51_srack2_) (1)
	CreateDynamicObject(3388,1808.6336670,-1295.3369141,26.6342354,0.0000000,0.0000000,90.0000000); //object(a51_srack4_) (2)
	CreateDynamicObject(3389,1799.9816895,-1301.0170898,26.6342354,0.0000000,0.0000000,180.0000000); //object(a51_srack1_) (1)
	CreateDynamicObject(1549,1806.6470947,-1301.2938232,26.6342354,0.0000000,0.0000000,30.0000000); //object(cj_ashtray_b) (1)
	CreateDynamicObject(2162,1801.7227783,-1294.8623047,26.6342354,0.0000000,0.0000000,0.0000000); //object(med_office_unit_1) (1)
	CreateDynamicObject(2164,1803.4940186,-1294.8739014,26.6342354,0.0000000,0.0000000,0.0000000); //object(med_office_unit_5) (1)
	CreateDynamicObject(2191,1806.2558594,-1297.2878418,26.6342354,0.0000000,0.0000000,270.0000000); //object(med_office2_cab) (1)
	CreateDynamicObject(2199,1805.2515869,-1294.9140625,26.6592350,0.0000000,0.0000000,359.9945068); //object(med_office6_mc_1) (1)
	CreateDynamicObject(2737,1810.0119629,-1297.6748047,28.4957523,0.0000000,0.0000000,270.0000000); //object(police_nb_car) (1)
	CreateDynamicObject(2610,1809.7062988,-1299.0734863,27.4846954,0.0000000,0.0000000,270.0000000); //object(cj_p_fileing2) (2)
	CreateDynamicObject(2606,1803.7170410,-1301.3522949,28.3932896,0.0000000,0.0000000,180.0000000); //object(cj_police_counter2) (4)
	CreateDynamicObject(15036,1799.0258789,-1309.9420166,27.7881241,0.0000000,0.0000000,90.0000000); //object(kit_cab_washin_sv) (1)
	CreateDynamicObject(2685,1800.4442139,-1309.9866943,28.0439434,0.0000000,0.0000000,270.0000000); //object(cj_food_post1) (1)
	CreateDynamicObject(2687,1800.4288330,-1309.5222168,28.0608006,0.0000000,0.0000000,270.0000000); //object(cj_food_post3) (1)
	CreateDynamicObject(632,1794.3183594,-1312.8188477,27.1168480,0.0000000,0.0000000,279.2303467); //object(veg_palmkb7) (3)
	CreateDynamicObject(2227,1793.6418457,-1309.2916260,26.6611710,0.0000000,0.0000000,90.0000000); //object(swank_hi_fi_3) (1)
	CreateDynamicObject(2859,1797.6485596,-1306.8488770,27.1809883,0.0000000,0.0000000,0.0000000); //object(gb_kitchtakeway04) (1)
	CreateDynamicObject(1546,1797.6765137,-1311.6679688,27.7367020,0.0000000,0.0000000,0.0000000); //object(cj_pint_glass) (3)
	CreateDynamicObject(2700,1799.7691650,-1299.2768555,29.1956062,0.0000000,0.0000000,0.0000000); //object(cj_sex_tv2) (1)
	CreateDynamicObject(2395,1783.7851562,-1298.4667969,26.6159229,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.7841797,-1301.7490234,29.1358204,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.7851562,-1298.4667969,29.3558350,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(1502,1783.6816406,-1300.4628906,26.6461353,0.0000000,0.0000000,90.0000000); //object(gen_doorint04) (1)
	CreateDynamicObject(2395,1783.7773438,-1303.6123047,26.6159229,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1780.4619141,-1299.0097656,26.6259289,0.0000000,0.0000000,359.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.6835938,-1303.1425781,26.6259289,0.0000000,0.0000000,89.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1781.7470703,-1302.5166016,26.6259289,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.5371094,-1300.9306641,26.4109097,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.6835938,-1303.1425781,29.3608780,0.0000000,0.0000000,89.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.5312500,-1299.4277344,29.1460304,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(1778,1780.3759766,-1299.4013672,26.6511402,0.0000000,0.0000000,179.9945068); //object(cj_mop_pail) (1)
	CreateDynamicObject(1789,1779.5498047,-1299.5478516,27.2111893,0.0000000,0.0000000,29.9981689); //object(cj_chambermaid) (1)
	CreateDynamicObject(2523,1780.8564453,-1299.4658203,26.6711311,0.0000000,0.0000000,0.0000000); //object(cj_b_sink3) (1)
	CreateDynamicObject(2528,1782.3208008,-1301.8304443,26.6661491,0.0000000,0.0000000,270.0000000); //object(cj_toilet3) (1)
	CreateDynamicObject(2713,1779.1142578,-1299.7744141,27.0224018,0.0000000,0.0000000,119.9981384); //object(cj_bucket) (1)
	CreateDynamicObject(2741,1780.9199219,-1299.0175781,28.0866375,0.0000000,0.0000000,0.0000000); //object(cj_soap_disp) (1)
	CreateDynamicObject(2742,1782.2418213,-1299.0773926,28.2011414,0.0000000,0.0000000,0.0000000); //object(cj_handdrier) (1)
	CreateDynamicObject(2395,1783.4970703,-1302.5156250,26.6259289,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1781.7470703,-1302.5166016,29.3608780,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1780.4619141,-1299.0097656,29.3608780,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.4970703,-1302.5156250,29.3608780,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1780.4765625,-1301.1054688,26.4109058,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.2353516,-1300.9501953,26.4109058,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(1523,1778.5228271,-1301.0668945,26.6411438,0.0000000,0.0000000,0.0000000); //object(gen_doorext10) (1)
	CreateDynamicObject(1549,1783.3876953,-1300.7275391,26.6711502,0.0000000,0.0000000,69.9993896); //object(cj_ashtray_b) (2)
	CreateDynamicObject(2818,1781.3280029,-1302.3170166,26.6489067,0.0000000,0.0000000,0.0000000); //object(gb_bedrug02) (1)
	CreateDynamicObject(2395,1778.6668701,-1299.8192139,26.6259289,0.0000000,0.0000000,29.9816895); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.6660156,-1299.8183594,29.3608780,0.0000000,0.0000000,29.9761963); //object(cj_sports_wall) (23)
	CreateDynamicObject(1502,1793.7315674,-1301.6411133,26.6461353,0.0000000,0.0000000,0.0000000); //object(gen_doorint04) (1)
	CreateDynamicObject(2395,1793.2783203,-1301.5341797,26.6159229,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.8300781,-1304.8691406,26.6159229,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.8298340,-1308.3948975,26.6159229,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.8271484,-1311.6593018,26.6159229,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(1726,1796.8393555,-1311.6583252,26.6561413,0.0000000,0.0000000,179.9945068); //object(mrk_seating2) (2)
	CreateDynamicObject(1549,1797.2845459,-1311.6496582,26.6511574,0.0000000,0.0000000,0.0000000); //object(cj_ashtray_b) (2)
	CreateDynamicObject(1727,1799.9692383,-1306.4345703,26.6561413,0.0000000,0.0000000,270.0000000); //object(mrk_seating2b) (1)
	CreateDynamicObject(2395,1800.4215088,-1308.9777832,26.6159229,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.4226074,-1305.5252686,26.6159229,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1798.4869385,-1306.1876221,26.6159229,0.0000000,0.0000000,359.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1795.7089844,-1306.1884766,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1795.1680908,-1302.0953369,26.6159229,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1795.1679688,-1302.8940430,26.6159229,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(632,1796.3339844,-1306.8007812,27.1168480,0.0000000,0.0000000,339.2303467); //object(veg_palmkb7) (3)
	CreateDynamicObject(1726,1796.1572266,-1306.7197266,26.6561413,0.0000000,0.0000000,0.0000000); //object(mrk_seating2) (1)
	CreateDynamicObject(1808,1793.9577637,-1310.6217041,26.6311340,0.0000000,0.0000000,90.0000000); //object(cj_watercooler2) (1)
	CreateDynamicObject(2233,1793.6394043,-1309.6401367,26.6611404,0.0000000,0.0000000,90.0000000); //object(swank_speaker_4) (2)
	CreateDynamicObject(2233,1793.6386719,-1308.7387695,26.6611404,0.0000000,0.0000000,90.0000000); //object(swank_speaker_4) (2)
	CreateDynamicObject(1432,1797.0477295,-1309.3856201,26.7711525,0.0000000,0.0000000,0.0000000); //object(dyn_table_2) (1)
	CreateDynamicObject(2425,1797.5971680,-1312.0433350,27.6079788,0.0000000,0.0000000,179.9945068); //object(cj_ff_juice) (1)
	CreateDynamicObject(2149,1800.2097168,-1308.1215820,27.7860146,0.0000000,0.0000000,270.0000000); //object(cj_microwave1) (1)
	CreateDynamicObject(2663,1797.5354004,-1309.3123779,27.6213093,0.0000000,0.0000000,9.9975586); //object(cj_bs_bag) (1)
	CreateDynamicObject(2839,1799.7745361,-1311.5681152,27.6450520,0.0000000,0.0000000,210.0000000); //object(gb_takeaway04) (2)
	CreateDynamicObject(2769,1800.2022705,-1308.0997314,27.6964321,0.0000000,0.0000000,60.0000000); //object(cj_cj_burg2) (2)
	CreateDynamicObject(2768,1798.2037354,-1311.5059814,27.6803551,0.0000000,0.0000000,190.0000000); //object(cj_cb_burg) (3)
	CreateDynamicObject(2222,1796.7232666,-1309.6434326,27.4548492,0.0000000,0.0000000,32.0000000); //object(rustyhigh) (1)
	CreateDynamicObject(2768,1798.3969727,-1311.6879883,27.6803551,0.0000000,0.0000000,129.9975586); //object(cj_cb_burg) (4)
	CreateDynamicObject(2814,1797.0300293,-1308.8977051,27.3864899,0.0000000,0.0000000,0.0000000); //object(gb_takeaway01) (2)
	CreateDynamicObject(1546,1796.8494873,-1309.3673096,27.4617062,0.0000000,0.0000000,0.0000000); //object(cj_pint_glass) (3)
	CreateDynamicObject(1546,1797.2230225,-1309.2650146,27.4617062,0.0000000,0.0000000,0.0000000); //object(cj_pint_glass) (3)
	CreateDynamicObject(2395,1793.2783203,-1301.5341797,29.3558350,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.8300781,-1304.8691406,29.3558350,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.8291016,-1308.3945312,29.3558350,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.8271484,-1311.6591797,29.3558350,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1795.1679688,-1302.0947266,29.3558350,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1795.1679688,-1302.8935547,29.3558350,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1795.7089844,-1306.1884766,29.3558350,0.0000000,0.0000000,359.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1798.4863281,-1306.1875000,29.3558350,0.0000000,0.0000000,359.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.4218750,-1305.5244141,29.3558350,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.4208984,-1308.9775391,29.3558350,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1794.0446777,-1301.7724609,29.1308384,0.0000000,0.0000000,359.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1798.4779053,-1301.5245361,26.4159260,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1802.1756592,-1301.5286865,26.4159260,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.3511963,-1296.8785400,26.4159260,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(1502,1799.4492188,-1296.4111328,26.6461353,0.0000000,0.0000000,90.0000000); //object(gen_doorint04) (1)
	CreateDynamicObject(2395,1799.3508301,-1299.4553223,26.4159260,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1796.9936523,-1301.5278320,29.1308384,0.0000000,0.0000000,179.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.7188721,-1301.5355225,29.1308384,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.5256348,-1299.6168213,26.4159260,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.5261230,-1303.3171387,26.4159260,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.3469238,-1295.3266602,29.1308384,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.3397217,-1299.0506592,29.1308384,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.5332031,-1298.0771484,29.1308384,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1799.5423584,-1301.7998047,29.1308384,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1802.7005615,-1301.4808350,26.4159260,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1802.7001953,-1301.4804688,26.4159260,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.6038818,-1301.4958496,26.3909264,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.3564453,-1301.4814453,29.1308384,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1802.7001953,-1301.4804688,29.1308384,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.0292969,-1301.4833984,29.1308384,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.4281006,-1301.4844971,26.4159260,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.8282471,-1294.8806152,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.5317383,-1294.8798828,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.9357910,-1294.8759766,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.0289307,-1295.3364258,26.6159229,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.0275879,-1298.8736572,26.6159229,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(1502,1804.8745117,-1301.6180420,26.6461353,0.0000000,0.0000000,0.0000000); //object(gen_doorint04) (1)
	CreateDynamicObject(2395,1800.8281250,-1294.8798828,29.3558350,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.5312500,-1294.8798828,29.3558350,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.9302979,-1294.8763428,29.3558350,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.0283203,-1295.3359375,29.3558350,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.0273438,-1298.8730469,29.3558350,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2193,1806.6397705,-1296.3264160,26.6342354,0.0000000,0.0000000,359.9945068); //object(med_office2_desk_2) (1)
	CreateDynamicObject(2610,1809.6987305,-1299.5737305,27.4846954,0.0000000,0.0000000,270.0000000); //object(cj_p_fileing2) (2)
	CreateDynamicObject(2161,1802.1813965,-1301.5034180,26.6342354,0.0000000,0.0000000,180.0000000); //object(med_office_unit_4) (3)
	CreateDynamicObject(2700,1799.7622070,-1298.6257324,29.1956062,0.0000000,0.0000000,0.0000000); //object(cj_sex_tv2) (1)
	CreateDynamicObject(2700,1799.7553711,-1297.9743652,29.1956062,0.0000000,0.0000000,0.0000000); //object(cj_sex_tv2) (1)
	CreateDynamicObject(2161,1802.1806641,-1301.5029297,27.9592152,0.0000000,0.0000000,179.9945068); //object(med_office_unit_4) (3)
	CreateDynamicObject(2606,1803.7167969,-1301.3515625,28.8432827,0.0000000,0.0000000,179.9945068); //object(cj_police_counter2) (4)
	CreateDynamicObject(2606,1803.7167969,-1301.3515625,29.2932758,0.0000000,0.0000000,179.9945068); //object(cj_police_counter2) (4)
	CreateDynamicObject(1776,1807.4644775,-1301.1035156,27.7336273,0.0000000,0.0000000,180.0000000); //object(cj_candyvendor) (2)
	CreateDynamicObject(2606,1809.8183594,-1299.7382812,28.8432827,0.0000000,0.0000000,269.9890137); //object(cj_police_counter2) (4)
	CreateDynamicObject(1806,1809.2098389,-1297.8565674,26.6397934,0.0000000,0.0000000,269.4848633); //object(med_office_chair) (1)
	CreateDynamicObject(1806,1808.2977295,-1297.9652100,26.6397934,0.0000000,0.0000000,109.4836426); //object(med_office_chair) (1)
	CreateDynamicObject(1806,1809.5704346,-1300.2054443,26.6397934,0.0000000,0.0000000,119.4787598); //object(med_office_chair) (1)
	CreateDynamicObject(1806,1803.0640869,-1299.9603271,26.6397934,0.0000000,0.0000000,219.4763184); //object(med_office_chair) (1)
	CreateDynamicObject(1806,1801.0582275,-1299.6724854,26.6397934,0.0000000,0.0000000,59.4738770); //object(med_office_chair) (1)
	CreateDynamicObject(1806,1800.9569092,-1297.7290039,26.6397934,0.0000000,0.0000000,119.4689941); //object(med_office_chair) (1)
	CreateDynamicObject(1806,1802.0330811,-1298.1744385,26.6397934,0.0000000,0.0000000,329.4653320); //object(med_office_chair) (1)
	CreateDynamicObject(2395,1804.9576416,-1304.7800293,26.6159229,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.9542236,-1308.4843750,26.6159229,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.9531250,-1310.8343506,26.6159229,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.2659912,-1312.5687256,26.6159229,0.0000000,0.0000000,125.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.9869385,-1309.0339355,26.6159229,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.9884033,-1305.3818359,26.6159229,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.3146973,-1302.0426025,26.6159229,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.3175049,-1302.6676025,26.6159229,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.8487549,-1305.9685059,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.1627197,-1312.1717529,26.6159229,0.0000000,0.0000000,179.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1812.4050293,-1312.1770020,26.6159229,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(1714,1809.7416992,-1309.1876221,26.6397934,0.0000000,0.0000000,270.0000000); //object(kb_swivelchair1) (1)
	CreateDynamicObject(1715,1806.8470459,-1308.1761475,26.6647930,0.0000000,0.0000000,40.0000000); //object(kb_swivelchair2) (1)
	CreateDynamicObject(2205,1808.1862793,-1309.8864746,26.6397934,0.0000000,0.0000000,90.0000000); //object(med_office8_desk_1) (1)
	CreateDynamicObject(1715,1806.7563477,-1310.2128906,26.6647930,0.0000000,0.0000000,129.9957275); //object(kb_swivelchair2) (2)
	CreateDynamicObject(2002,1805.4053955,-1309.9895020,26.6397934,0.0000000,0.0000000,90.0000000); //object(water_coolnu) (1)
	CreateDynamicObject(2103,1808.4405518,-1306.1123047,28.3647709,0.0000000,0.0000000,0.0000000); //object(low_hi_fi_1) (1)
	CreateDynamicObject(2190,1807.9067383,-1309.7200928,27.5762558,0.0000000,0.0000000,90.0000000); //object(pc_1) (1)
	CreateDynamicObject(2202,1806.8559570,-1306.3843994,26.6397934,0.0000000,0.0000000,0.0000000); //object(photocopier_2) (1)
	CreateDynamicObject(2344,1808.0584717,-1308.6644287,27.5944214,0.0000000,0.0000000,250.0000000); //object(cj_remote) (1)
	CreateDynamicObject(2828,1807.9910889,-1308.3791504,27.5762558,0.0000000,0.0000000,214.2500000); //object(gb_ornament02) (1)
	CreateDynamicObject(2894,1808.3002930,-1309.1372070,27.5762558,0.0000000,0.0000000,270.0000000); //object(kmb_rhymesbook) (1)
	CreateDynamicObject(2196,1808.3720703,-1308.6384277,27.5672073,0.0000000,0.0000000,330.0000000); //object(work_lamp1) (1)
	CreateDynamicObject(2395,1804.9570312,-1304.7792969,29.3409042,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.9541016,-1308.4843750,29.3409042,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.9531250,-1310.8339844,26.6159229,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1804.9531250,-1310.8339844,29.3409042,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.2656250,-1312.5683594,29.3409042,0.0000000,0.0000000,125.9802246); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.1621094,-1312.1708984,29.3409042,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1812.4042969,-1312.1767578,29.3409042,0.0000000,0.0000000,179.9725342); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.9863281,-1309.0332031,29.3409042,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.9882812,-1305.3818359,29.3409042,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.8486328,-1305.9677734,29.3409042,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.3144531,-1302.0419922,29.3409042,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1806.3173828,-1302.6669922,29.3409042,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(1744,1807.7220459,-1305.7745361,28.0230846,0.0000000,0.0000000,0.0000000); //object(med_shelf) (1)
	CreateDynamicObject(2024,1796.3023682,-1299.7197266,26.5897942,0.0000000,0.0000000,0.0000000); //object(mrk_liv_tble) (1)
	CreateDynamicObject(2066,1808.6397705,-1306.4447021,26.6397934,0.0000000,0.0000000,0.0000000); //object(cj_m_fileing2) (1)
	CreateDynamicObject(2163,1804.9254150,-1307.8620605,26.6397934,0.0000000,0.0000000,90.0000000); //object(med_office_unit_2) (1)
	CreateDynamicObject(2199,1804.9835205,-1309.2442627,26.6397934,0.0000000,0.0000000,90.0000000); //object(med_office6_mc_1) (2)
	CreateDynamicObject(2608,1807.1538086,-1311.9957275,28.1708145,0.0000000,0.0000000,180.0000000); //object(polce_shelf) (1)
	CreateDynamicObject(2609,1805.5289307,-1311.0607910,27.0215092,0.0000000,0.0000000,125.9835205); //object(cj_p_fileing1) (1)
	CreateDynamicObject(2609,1805.7980957,-1311.4509277,27.0215092,0.0000000,0.0000000,125.9802246); //object(cj_p_fileing1) (2)
	CreateDynamicObject(1792,1805.4863281,-1311.4284668,27.7548466,0.0000000,0.0000000,120.0000000); //object(swank_tv_1) (1)
	CreateDynamicObject(2608,1809.0313721,-1312.0067139,28.1708145,0.0000000,0.0000000,179.9945068); //object(polce_shelf) (2)
	CreateDynamicObject(2332,1809.5324707,-1306.3582764,27.0776787,0.0000000,0.0000000,0.0000000); //object(kev_safe) (1)
	CreateDynamicObject(1549,1805.3637695,-1310.5537109,26.6342354,0.0000000,0.0000000,119.9981384); //object(cj_ashtray_b) (1)
	CreateDynamicObject(2342,1808.4107666,-1308.4121094,27.6851063,0.0000000,0.0000000,60.0000000); //object(donut_disp) (1)
	CreateDynamicObject(2967,1807.9376221,-1309.5402832,27.5762558,0.0000000,0.0000000,110.0000000); //object(mobile1993a) (1)
	CreateDynamicObject(2855,1807.5393066,-1306.1243896,28.3635826,0.0000000,0.0000000,0.0000000); //object(gb_bedmags05) (1)
	CreateDynamicObject(630,1805.2171631,-1306.2827148,27.6649513,0.0000000,0.0000000,50.0000000); //object(veg_palmkb8) (1)
	CreateDynamicObject(2257,1810.0163574,-1309.1647949,29.0024452,0.0000000,0.0000000,270.0000000); //object(frame_clip_4) (1)
	CreateDynamicObject(2395,1805.0386963,-1301.6917725,29.1058388,0.0000000,0.0000000,359.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(1723,1797.9437256,-1301.0122070,26.6397934,0.0000000,0.0000000,180.0000000); //object(mrk_seating1) (1)
	CreateDynamicObject(1723,1798.8542480,-1297.9335938,26.6397934,0.0000000,0.0000000,269.9945068); //object(mrk_seating1) (2)
	CreateDynamicObject(632,1798.0994873,-1301.5023193,27.0897865,0.0000000,0.0000000,210.0000000); //object(veg_palmkb7) (1)
	CreateDynamicObject(632,1798.0869141,-1297.5114746,27.0897865,0.0000000,0.0000000,209.9981689); //object(veg_palmkb7) (2)
	CreateDynamicObject(2265,1791.3073730,-1301.0731201,28.1584187,0.0000000,0.0000000,180.0000000); //object(frame_slim_6) (1)
	CreateDynamicObject(2264,1792.8018799,-1301.0743408,28.2349854,0.0000000,0.0000000,180.0000000); //object(frame_slim_5) (1)
	CreateDynamicObject(2262,1798.9195557,-1298.2600098,28.2664375,0.0000000,0.0000000,270.0000000); //object(frame_slim_3) (1)
	CreateDynamicObject(2261,1798.8992920,-1299.8720703,28.2113113,0.0000000,0.0000000,270.0000000); //object(frame_slim_2) (1)
	CreateDynamicObject(2260,1796.8331299,-1301.0972900,28.3095093,0.0000000,0.0000000,180.0000000); //object(frame_slim_1) (1)
	CreateDynamicObject(2258,1783.7486572,-1297.0872803,28.5760345,0.0000000,0.0000000,90.0000000); //object(frame_clip_5) (1)
	CreateDynamicObject(2868,1796.8444824,-1299.2219238,27.1237793,0.0000000,0.0000000,0.0000000); //object(gb_ornament03) (1)
	CreateDynamicObject(2852,1796.2554932,-1299.3981934,27.1237793,0.0000000,0.0000000,0.0000000); //object(gb_bedmags02) (1)
	CreateDynamicObject(2826,1797.3815918,-1299.2072754,27.1237793,0.0000000,0.0000000,0.0000000); //object(gb_novels04) (1)
	CreateDynamicObject(2262,1805.3951416,-1302.6384277,28.0412579,0.0000000,0.0000000,90.0000000); //object(frame_slim_3) (2)
	CreateDynamicObject(2266,1805.8542480,-1303.4693604,27.9941864,0.0000000,0.0000000,270.0000000); //object(frame_wood_5) (1)
	CreateDynamicObject(2261,1805.4023438,-1304.8894043,27.9533157,0.0000000,0.0000000,90.0000000); //object(frame_slim_2) (2)
	CreateDynamicObject(2259,1798.4852295,-1306.6496582,28.6916180,0.0000000,0.0000000,0.0000000); //object(frame_clip_6) (1)
	CreateDynamicObject(2395,1790.6452637,-1301.5189209,29.3558350,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1786.9611816,-1301.5167236,29.3558350,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(1886,1784.4965820,-1301.0637207,31.6663361,17.8649902,0.0000000,111.6549988); //object(shop_sec_cam) (1)
	CreateDynamicObject(2395,1809.6461182,-1294.7011719,26.6558762,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1809.6456299,-1294.6761475,29.1808491,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1805.9189453,-1294.6826172,29.1808491,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1805.9189453,-1294.6826172,26.6558762,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1802.2801514,-1294.6898193,26.6558762,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1802.3707275,-1294.6707764,29.1808529,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1809082,-1297.9829102,29.1308384,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1638184,-1301.6948242,29.1308384,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1868896,-1301.7109375,26.4808521,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1926270,-1298.0383301,26.4808521,0.0000000,0.0000000,89.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.2464600,-1295.1934814,26.6159229,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1783.2460938,-1295.1933594,29.0159016,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1780.9897461,-1295.2076416,29.0159016,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1782.0147705,-1295.2290039,26.6159229,0.0000000,0.0000000,179.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.2297363,-1299.4499512,29.1460304,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.2294922,-1299.4492188,26.3960304,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1780.5959473,-1304.2059326,26.4109058,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.8175049,-1304.2012939,26.4109058,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.8173828,-1304.2011719,29.0358849,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1781.3719482,-1304.1994629,29.0358849,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.2358398,-1300.8999023,26.3960304,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1778.2353516,-1300.8994141,29.1460037,0.0000000,0.0000000,269.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.6719971,-1308.9656982,29.3558350,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.6718750,-1308.9648438,26.6308460,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.6932373,-1305.2398682,26.6308460,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1793.6923828,-1305.2392578,29.3558273,0.0000000,0.0000000,269.9890137); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1790.5200195,-1305.9296875,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1790.5195312,-1305.9296875,29.3409042,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.9550781,-1312.3087158,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1803.3054199,-1312.3078613,26.6159229,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1800.9550781,-1312.3085938,29.3409004,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1803.6621094,-1312.2905273,29.3409004,0.0000000,0.0000000,359.9780273); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1566162,-1308.9691162,29.3409042,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1562500,-1308.9687500,26.6409187,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1500244,-1312.3217773,26.6409187,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1810.1243896,-1312.3217773,29.3408928,0.0000000,0.0000000,89.9835205); //object(cj_sports_wall) (23)

	// Pirate Island
/*	CreateDynamicObject(10410, -2077.97, -7664.46, 16.15,   0.00, 0.00, 249.99);
	CreateDynamicObject(6295, -2167.59, -7731.46, 75.98,   0.00, 0.00, 313.99);
	CreateDynamicObject(8493, -2069.85, -7560.68, 17.75,   0.00, 0.00, 286.00);
	CreateDynamicObject(9159, -2069.90, -7560.67, 17.66,   0.00, 0.00, 286.00);
	CreateDynamicObject(3886, -2045.37, -7603.08, 1.17,   0.00, 0.00, 112.00);
	CreateDynamicObject(3886, -2054.76, -7607.02, 1.17,   0.00, 0.00, 112.00);
	CreateDynamicObject(3886, -2063.81, -7611.25, 1.17,   0.00, 0.00, 113.99);
	CreateDynamicObject(3886, -2073.07, -7615.65, 1.17,   0.00, 0.00, 115.99);
	CreateDynamicObject(3886, -2082.34, -7619.91, 1.17,   0.00, 0.00, 115.99);
	CreateDynamicObject(3886, -2037.72, -7605.93, -24.58,   180.00, 0.00, 19.99);
	CreateDynamicObject(3886, -2034.00, -7614.66, -24.58,   179.99, 0.00, 23.98);
	CreateDynamicObject(3886, -2029.41, -7622.55, -24.58,   179.99, 0.00, 35.98);
	CreateDynamicObject(3886, -2026.52, -7627.24, -24.58,   179.99, 0.00, 37.98);
	CreateDynamicObject(3886, -2041.69, -7607.25, -25.08,   179.99, 0.00, 21.98);
	CreateDynamicObject(3886, -2046.06, -7608.58, -25.08,   179.99, 0.00, 21.98);
	CreateDynamicObject(3886, -2048.62, -7609.62, -25.08,   179.99, 0.00, 35.98);
	CreateDynamicObject(3886, -2053.34, -7612.22, -24.83,   179.99, 0.00, 23.97);
	CreateDynamicObject(3886, -2057.36, -7613.09, -24.83,   179.99, 0.00, 15.97);
	CreateDynamicObject(3886, -2058.91, -7614.17, -24.83,   179.99, 0.00, 43.97);
	CreateDynamicObject(3886, -2063.58, -7616.35, -24.83,   179.99, 0.00, 19.97);
	CreateDynamicObject(3886, -2067.72, -7617.73, -24.83,   179.99, 0.00, 19.96);
	CreateDynamicObject(3886, -2071.55, -7619.26, -24.83,   179.99, 0.00, 23.96);
	CreateDynamicObject(3886, -2074.91, -7620.97, -24.83,   179.99, 0.00, 27.96);
	CreateDynamicObject(3886, -2079.52, -7622.90, -24.83,   179.99, 0.00, 21.96);
	CreateDynamicObject(3886, -2084.46, -7623.97, -24.83,   179.99, 0.00, 11.96);
	CreateDynamicObject(3886, -2082.42, -7622.48, -37.58,   179.99, 0.00, 33.95);
	CreateDynamicObject(3886, -2079.69, -7621.20, -37.58,   179.99, 0.00, 17.95);
	CreateDynamicObject(3886, -2075.49, -7619.32, -37.58,   179.99, 0.00, 25.95);
	CreateDynamicObject(3886, -2072.36, -7617.98, -37.58,   179.99, 0.00, 21.95);
	CreateDynamicObject(3886, -2084.94, -7623.42, -37.58,   179.99, 0.00, 31.95);
	CreateDynamicObject(11245, -2168.12, -7732.64, 102.32,   0.00, 289.99, 0.00);
	CreateDynamicObject(16410, -2104.77, -7654.68, 16.91,   0.00, 0.00, 8.00);
	CreateDynamicObject(3249, -2067.42, -7629.32, 1.82,   0.00, 0.00, 205.99);
	CreateDynamicObject(16690, -2041.82, -7650.43, 5.23,   0.00, 0.00, 25.99);
	CreateDynamicObject(16051, -2063.61, -7621.02, 5.32,   0.00, 0.00, 296.00);
	CreateDynamicObject(16105, -2054.06, -7619.60, 3.71,   0.00, 0.00, 294.00);
	CreateDynamicObject(711, -2051.69, -7614.59, 7.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2074.21, -7630.26, 8.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2039.92, -7614.29, 7.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(837, -2048.89, -7618.19, 2.70,   0.00, 0.00, 291.99);
	CreateDynamicObject(711, -2058.12, -7637.76, 8.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2085.12, -7656.40, 22.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2079.04, -7670.51, 17.77,   0.00, 0.00, 0.00);
	CreateDynamicObject(746, -2042.10, -7608.63, 2.04,   0.00, 0.00, 18.00);
	CreateDynamicObject(750, -2094.10, -7639.22, 16.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2122.52, -7604.04, 0.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2118.81, -7604.04, -0.82,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2114.67, -7606.59, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2110.87, -7606.36, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2113.22, -7605.51, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2116.52, -7604.33, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2121.70, -7606.19, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2121.00, -7610.16, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2107.17, -7609.73, 1.43,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2108.31, -7608.01, 0.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2104.99, -7611.04, 0.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2106.84, -7613.07, 0.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2111.08, -7613.27, 0.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2116.23, -7612.97, 0.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2115.89, -7612.60, 2.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2113.02, -7609.46, 2.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2110.45, -7611.47, 2.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2104.06, -7615.44, 2.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2105.83, -7618.55, 0.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2109.57, -7618.22, 5.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2107.70, -7614.50, 5.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2107.70, -7614.50, 5.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(1610, -2050.08, -7609.03, 1.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(2782, -2094.12, -7639.89, 21.43,   0.00, 0.00, 338.00);
	CreateDynamicObject(711, -2100.20, -7637.92, 22.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2111.62, -7697.52, 24.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2092.01, -7699.61, 24.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2118.54, -7644.17, 18.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2100.02, -7726.35, 32.75,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2093.30, -7728.35, 33.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2093.85, -7712.72, 26.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2088.64, -7714.66, 26.82,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2090.41, -7703.03, 22.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2077.82, -7686.26, 16.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2085.73, -7704.87, 22.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2082.08, -7684.87, 16.52,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2075.26, -7670.10, 12.92,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2069.68, -7671.35, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(3524, -2072.08, -7662.64, 11.63,   0.00, 0.00, 150.00);
	CreateDynamicObject(3524, -2066.39, -7665.21, 11.63,   0.00, 0.00, 155.99);
	CreateDynamicObject(711, -2111.62, -7697.52, 24.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2128.17, -7723.98, 37.83,   0.00, 0.00, 0.00);
	CreateDynamicObject(2906, -2026.52, -7636.03, 0.23,   70.00, 0.00, 106.00);
	CreateDynamicObject(855, -2100.13, -7616.80, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2101.38, -7621.28, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2099.84, -7623.25, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2095.71, -7624.46, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2096.33, -7623.67, 1.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2098.64, -7621.34, 2.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2101.32, -7624.95, 2.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(855, -2105.17, -7621.70, 3.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(10409, -2105.54, -7727.36, 27.33,   0.00, 0.00, 252.00);
	CreateDynamicObject(10409, -2104.59, -7725.89, 19.67,   0.00, 0.00, 252.00);
	CreateDynamicObject(10409, -2103.37, -7732.86, 18.17,   0.00, 0.00, 252.00);
	CreateDynamicObject(18228, -2042.41, -7764.88, 0.00,   0.00, 0.00, 36.00);
	CreateDynamicObject(18228, -2058.57, -7795.75, 0.00,   0.00, 0.00, 358.00);
	CreateDynamicObject(18228, -2127.44, -7627.25, -4.25,   0.00, 0.00, 233.99);
	CreateDynamicObject(18228, -2023.91, -7709.11, -12.25,   0.00, 0.00, 39.99);
	CreateDynamicObject(18228, -2022.96, -7686.87, -3.89,   0.00, 0.00, 31.99);
	CreateDynamicObject(18228, -2128.08, -7653.04, -4.25,   0.00, 0.00, 237.99);
	CreateDynamicObject(18228, -2127.66, -7667.83, -1.50,   0.00, 0.00, 237.99);
	CreateDynamicObject(18228, -2130.26, -7694.27, -6.00,   0.00, 0.00, 237.99);
	CreateDynamicObject(18228, -2130.26, -7694.27, 0.75,   0.00, 0.00, 237.99);
	CreateDynamicObject(18228, -2132.85, -7702.26, 0.75,   0.00, 0.00, 229.99);
	CreateDynamicObject(18228, -2153.67, -7713.76, 14.25,   0.00, 0.00, 179.99);
	CreateDynamicObject(18228, -2159.62, -7702.87, 1.25,   0.00, 0.00, 179.98);
	CreateDynamicObject(18228, -2159.62, -7702.87, 1.25,   0.00, 0.00, 179.98);
	CreateDynamicObject(18228, -2163.27, -7714.20, 12.00,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2166.04, -7706.16, 1.50,   0.00, 0.00, 199.97);
	CreateDynamicObject(18228, -2171.84, -7719.27, 11.50,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2178.36, -7719.03, 29.75,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2180.43, -7710.43, 17.25,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2183.39, -7704.64, 10.25,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2186.91, -7697.74, 2.25,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2193.09, -7727.74, 18.50,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2201.84, -7727.96, 2.50,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2180.67, -7725.22, 37.50,   0.00, 0.00, 199.97);
	CreateDynamicObject(18228, -2173.78, -7748.95, 37.50,   0.00, 0.00, 259.98);
	CreateDynamicObject(18228, -2190.52, -7757.55, 19.25,   0.00, 0.00, 259.97);
	CreateDynamicObject(18228, -2202.40, -7762.47, 1.00,   0.00, 0.00, 259.97);
	CreateDynamicObject(18228, -2179.99, -7759.43, 1.00,   0.00, 0.00, 289.97);
	CreateDynamicObject(18228, -2177.27, -7707.10, 11.50,   0.00, 0.00, 199.97);
	CreateDynamicObject(18228, -2199.97, -7712.99, 14.75,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2208.20, -7701.68, 7.50,   0.00, 0.00, 199.97);
	CreateDynamicObject(18228, -2209.39, -7742.42, 5.50,   0.00, 0.00, 259.97);
	CreateDynamicObject(18228, -2160.81, -7714.95, 14.25,   0.00, 0.00, 177.98);
	CreateDynamicObject(18228, -2062.86, -7794.79, 10.25,   0.00, 0.00, 330.00);
	CreateDynamicObject(18228, -2089.48, -7797.66, 4.75,   0.00, 0.00, 330.00);
	CreateDynamicObject(18228, -2088.34, -7787.84, 18.75,   0.00, 0.00, 309.99);
	CreateDynamicObject(18228, -2108.85, -7757.39, 30.50,   0.00, 0.00, 39.99);
	CreateDynamicObject(18228, -2130.23, -7777.92, 24.50,   0.00, 0.00, 289.99);
	CreateDynamicObject(18228, -2137.99, -7795.25, 5.25,   0.00, 0.00, 289.98);
	CreateDynamicObject(18228, -2153.73, -7772.89, 5.25,   0.00, 0.00, 293.98);
	CreateDynamicObject(18228, -2168.76, -7785.05, 5.25,   0.00, 0.00, 307.98);
	CreateDynamicObject(18228, -2058.45, -7805.57, -1.75,   0.00, 0.00, 330.00);
	CreateDynamicObject(18228, -2162.16, -7766.62, 20.00,   0.00, 0.00, 305.97);
	CreateDynamicObject(18228, -2165.20, -7760.41, 28.75,   0.00, 0.00, 319.97);
	CreateDynamicObject(18228, -2170.50, -7753.71, 36.25,   0.00, 0.00, 319.97);
	CreateDynamicObject(18228, -2164.37, -7750.52, 36.25,   0.00, 0.00, 329.97);
	CreateDynamicObject(18228, -2175.98, -7763.43, 28.00,   0.00, 0.00, 305.97);
	CreateDynamicObject(18228, -2194.35, -7773.49, 13.00,   0.00, 0.00, 305.96);
	CreateDynamicObject(18228, -2204.53, -7782.02, 3.75,   0.00, 0.00, 293.96);
	CreateDynamicObject(18228, -2023.91, -7709.11, -12.25,   0.00, 0.00, 39.99);
	CreateDynamicObject(18228, -2032.90, -7729.96, 0.00,   0.00, 0.00, 39.99);
	CreateDynamicObject(18228, -2014.35, -7657.48, -9.64,   0.00, 0.00, 83.98);
	CreateDynamicObject(8483, -2141.61, -7748.52, 38.98,   0.00, 0.00, 73.98);
	CreateDynamicObject(18228, -2117.08, -7765.72, 30.50,   0.00, 0.00, 279.99);
	CreateDynamicObject(18228, -2131.99, -7768.18, 35.25,   0.00, 0.00, 279.99);
	CreateDynamicObject(18228, -2128.20, -7782.67, 19.75,   0.00, 0.00, 279.99);
	CreateDynamicObject(18228, -2112.23, -7612.62, -9.50,   0.00, 0.00, 117.99);
	CreateDynamicObject(18228, -2121.45, -7608.68, -9.50,   0.00, 0.00, 127.99);
	CreateDynamicObject(3434, -2140.03, -7741.95, 44.88,   0.00, 0.00, 161.99);
	CreateDynamicObject(1431, -2049.57, -7615.00, 2.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(935, -2066.36, -7620.18, 2.52,   0.00, 0.00, 0.00);
	CreateDynamicObject(3243, -2105.42, -7647.03, 17.86,   0.00, 0.00, 221.99);
	CreateDynamicObject(3243, -2086.43, -7651.65, 17.36,   0.00, 0.00, 107.99);
	CreateDynamicObject(11427, -2066.43, -7724.34, 23.33,   0.00, 0.00, 273.99);
	CreateDynamicObject(5777, -2099.60, -7639.82, 17.93,   0.00, 0.00, 256.00);
	CreateDynamicObject(2895, -2099.82, -7640.59, 17.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(16689, -2071.94, -7762.65, 36.08,   0.00, 0.00, 11.99);
	CreateDynamicObject(3461, -2094.71, -7740.53, 34.86,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2104.88, -7735.29, 34.32,   0.00, 0.00, 0.00);
	CreateDynamicObject(18228, -2109.48, -7765.70, 30.50,   0.00, 0.00, 271.98);
	CreateDynamicObject(16285, -2063.80, -7777.70, 33.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(2780, -2144.34, -7742.71, 34.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(2780, -2130.42, -7744.83, 34.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(2780, -2138.88, -7743.75, 33.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(2780, -2140.33, -7746.93, 47.75,   0.00, 0.00, 0.00);
	CreateDynamicObject(3524, -2139.05, -7742.75, 32.93,   0.00, 0.00, 170.00);
	CreateDynamicObject(3528, -2137.83, -7744.98, 41.92,   0.00, 344.99, 54.00);
	CreateDynamicObject(3528, -2140.74, -7744.37, 41.67,   0.00, 344.99, 76.00);
	CreateDynamicObject(14608, -2121.40, -7718.55, 23.33,   0.00, 0.00, 289.99);
	CreateDynamicObject(1313, -2077.86, -7753.56, 35.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(2045, -2137.14, -7734.17, 33.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(3364, -2038.80, -7662.40, 13.50,   4.00, 0.00, 216.00);
	CreateDynamicObject(16502, -2015.94, -7661.86, 11.33,   0.00, 0.00, 24.00);
	CreateDynamicObject(749, -2007.61, -7667.93, -3.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(749, -2010.85, -7667.85, -3.34,   0.00, 0.00, 0.00);
	CreateDynamicObject(758, -2118.47, -7731.05, 31.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2121.72, -7736.25, 39.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2157.23, -7710.05, 57.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2154.92, -7721.26, 57.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2159.97, -7743.56, 58.33,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2169.95, -7723.77, 58.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2151.00, -7736.64, 57.77,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2146.40, -7740.42, 49.35,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2091.79, -7738.08, 39.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2070.86, -7772.67, 38.86,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2068.60, -7746.27, 38.73,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2122.67, -7681.60, 23.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2026.03, -7655.13, 17.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2052.13, -7662.27, 19.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2047.26, -7722.52, 21.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2031.19, -7686.14, 19.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(711, -2044.94, -7680.76, 19.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(803, -2086.78, -7660.24, 18.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(808, -2076.26, -7643.58, 4.46,   0.00, 0.00, 0.00);
	CreateDynamicObject(808, -2047.86, -7722.44, 16.94,   0.00, 0.00, 0.00);
	CreateDynamicObject(808, -2038.78, -7626.19, 3.55,   0.00, 0.00, 0.00);
	CreateDynamicObject(808, -2027.21, -7654.23, 14.04,   0.00, 0.00, 0.00);
	CreateDynamicObject(808, -2135.18, -7721.78, 35.17,   0.00, 0.00, 0.00);
	CreateDynamicObject(808, -2089.78, -7762.76, 34.86,   0.00, 0.00, 0.00);
	CreateDynamicObject(648, -2207.27, -7694.20, 14.49,   0.00, 41.00, 128.00);
	CreateDynamicObject(710, -2031.87, -7644.26, 16.71,   0.00, 0.00, 0.00);
	CreateDynamicObject(18228, -2180.62, -7742.37, 37.50,   0.00, 0.00, 243.97);
	CreateDynamicObject(3461, -2124.33, -7716.42, 23.18,   0.00, 0.00, 0.00);
	CreateDynamicObject(3461, -2117.53, -7719.12, 22.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(2631, -2120.31, -7716.64, 21.68,   0.00, 0.00, 335.99);
	CreateDynamicObject(2869, -2120.27, -7717.03, 21.74,   0.00, 0.00, 302.00);
	CreateDynamicObject(14705, -2121.70, -7716.80, 21.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(2096, -2080.10, -7753.02, 33.30,   0.00, 0.00, 130.00);
	CreateDynamicObject(838, -2048.98, -7743.14, 18.54,   0.00, 0.00, 0.00);
	CreateDynamicObject(18228, -2213.20, -7693.69, 1.25,   0.00, 0.00, 181.98);
	CreateDynamicObject(710, -2090.98, -7777.92, 47.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(710, -2170.99, -7719.15, 64.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(9831, -2122.89, -7721.57, 23.33,   0.00, 0.00, 332.00);
	CreateDynamicObject(9831, -2120.66, -7721.39, 23.33,   0.00, 0.00, 331.99);
	CreateDynamicObject(9831, -2123.51, -7719.75, 22.83,   0.00, 0.00, 31.99);
	CreateDynamicObject(1517, -2079.76, -7753.23, 32.75,   0.00, 0.00, 0.00);
	CreateDynamicObject(1520, -2066.32, -7620.07, 3.08,   0.00, 0.00, 0.00);
	CreateDynamicObject(1667, -2066.47, -7620.16, 3.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(1736, -2079.12, -7753.83, 34.89,   0.00, 0.00, 208.00);
	CreateDynamicObject(1828, -2054.87, -7617.05, 1.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(18228, -2046.07, -7789.42, -5.00,   0.00, 0.00, 330.00);
	CreateDynamicObject(18228, -2025.41, -7771.08, -15.25,   0.00, 0.00, 27.99);
	CreateDynamicObject(18228, -2217.64, -7732.85, -7.50,   0.00, 0.00, 271.97);
	CreateDynamicObject(18228, -2218.62, -7766.58, -7.50,   0.00, 0.00, 285.97);
	CreateDynamicObject(18228, -2216.17, -7776.45, -7.50,   0.00, 0.00, 319.97);
	CreateDynamicObject(18228, -2208.53, -7779.44, -7.50,   0.00, 0.00, 7.97);
	CreateDynamicObject(18228, -2188.69, -7787.85, -7.50,   0.00, 0.00, 27.97);
	CreateDynamicObject(18228, -2111.20, -7761.45, 30.50,   0.00, 0.00, 25.99);
	CreateDynamicObject(18228, -2110.34, -7770.38, 30.50,   0.00, 0.00, 269.98);
	CreateDynamicObject(18228, -2081.45, -7789.58, 18.75,   0.00, 0.00, 297.99);
	CreateDynamicObject(18228, -2187.14, -7745.08, 28.50,   0.00, 0.00, 243.97);
	CreateDynamicObject(18228, -2197.64, -7744.93, 14.75,   0.00, 0.00, 243.97);
	CreateDynamicObject(18228, -2211.18, -7693.79, -2.25,   0.00, 0.00, 199.97);
	CreateDynamicObject(18228, -2187.55, -7718.17, 25.25,   0.00, 0.00, 199.98);
	CreateDynamicObject(18228, -2215.04, -7750.00, 1.75,   0.00, 0.00, 259.97);
	CreateDynamicObject(18228, -2231.04, -7754.53, -12.00,   0.00, 0.00, 259.97);
	CreateDynamicObject(3872, -2171.26, -7726.15, 94.34,   0.00, 0.00, 300.00);
	CreateDynamicObject(18228, -2166.89, -7702.44, 1.75,   0.00, 0.00, 221.97);
	CreateDynamicObject(18228, -2158.60, -7707.25, 1.75,   0.00, 0.00, 207.97);
	CreateDynamicObject(900, -2157.60, -7665.80, -6.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(900, -2151.10, -7648.97, -6.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(900, -2135.69, -7661.19, -6.00,   0.00, 0.00, 344.00);
	CreateDynamicObject(900, -2140.20, -7671.99, -5.25,   0.00, 0.00, 352.00);
	CreateDynamicObject(900, -2139.60, -7659.26, -5.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(18228, -2138.77, -7648.42, -9.50,   0.00, 0.00, 231.96);
	CreateDynamicObject(18228, -2125.25, -7794.01, 6.25,   0.00, 0.00, 279.99);
	CreateDynamicObject(18228, -2181.06, -7732.59, 36.00,   0.00, 0.00, 213.97);
	CreateDynamicObject(18228, -2164.67, -7753.12, 41.50,   0.00, 0.00, 335.97);
	CreateDynamicObject(18228, -2170.48, -7762.63, 29.50,   0.00, 0.00, 335.97);
	CreateDynamicObject(18228, -2182.95, -7750.86, 23.50,   0.00, 0.00, 327.96);
	CreateDynamicObject(18228, -2173.01, -7769.80, 18.75,   0.00, 0.00, 335.96);
	CreateDynamicObject(18228, -2011.50, -7662.16, -9.64,   0.00, 0.00, 83.99);
	CreateDynamicObject(622, -2156.67, -7797.49, 13.59,   0.00, 0.00, 248.00);
	CreateDynamicObject(18228, -2081.46, -7807.16, 0.25,   0.00, 0.00, 309.99);
	CreateDynamicObject(18228, -2133.17, -7812.24, -13.25,   0.00, 0.00, 279.99);
	CreateDynamicObject(18228, -2091.62, -7817.55, -13.25,   0.00, 0.00, 331.99);
	CreateDynamicObject(18228, -2047.77, -7805.03, -13.25,   0.00, 0.00, 5.98);
	CreateDynamicObject(18228, -2012.70, -7728.90, -16.25,   0.00, 0.00, 61.98);
	CreateDynamicObject(1458, -2048.98, -7626.10, 2.47,   0.00, 0.00, 342.00);
	CreateDynamicObject(16406, -2200.05, -7794.86, 16.23,   0.00, 0.00, 40.00);
	CreateDynamicObject(18228, -2192.60, -7757.65, 8.25,   0.00, 0.00, 327.96);
	CreateDynamicObject(18228, -2173.41, -7771.43, 16.50,   0.00, 0.00, 335.96);
	CreateDynamicObject(16404, -2112.30, -7677.04, 20.02,   0.00, 0.00, 0.00);
	CreateDynamicObject(1451, -2060.26, -7766.20, 33.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(1454, -2086.55, -7770.07, 33.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(6865, -2145.10, -7725.32, 42.47,   0.00, 0.00, 128.00);
	CreateDynamicObject(1486, -2098.75, -7571.04, 10.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(1433, -2100.48, -7568.82, 9.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(1609, -2013.29, -7648.17, 0.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(18228, -2024.53, -7634.94, -15.64,   0.00, 0.00, 77.98);
	CreateDynamicObject(18228, -2032.51, -7611.65, -18.14,   0.00, 0.00, 77.98);
	CreateDynamicObject(18228, -2029.38, -7622.06, -15.64,   0.00, 0.00, 77.98);
	CreateDynamicObject(18228, -2037.00, -7603.05, -18.64,   0.00, 0.00, 85.98);
	CreateDynamicObject(18228, -2039.14, -7602.02, -18.64,   0.00, 0.00, 93.98);
	CreateDynamicObject(18228, -2126.34, -7657.73, -4.25,   0.00, 0.00, 237.99);
	CreateDynamicObject(18228, -2132.95, -7706.51, 4.25,   0.00, 0.00, 229.99);
	CreateDynamicObject(18228, -2132.95, -7716.77, 6.25,   0.00, 0.00, 229.99);
	CreateDynamicObject(18228, -2061.39, -7791.88, 14.75,   0.00, 0.00, 330.00);
	CreateDynamicObject(18228, -2070.94, -7791.34, 17.50,   0.00, 0.00, 314.00);
	CreateDynamicObject(18228, -2129.08, -7767.17, 35.25,   0.00, 0.00, 279.99);*/

	// City Hall Exterior Roy Nash
	CreateDynamicObject(9949, 1472.78, -1774.85, 24.68,   0.00, 0.00, 270.05);
	CreateDynamicObject(7091, 1480.08, -1760.15, 29.64,   0.00, 0.00, -272.70);
	CreateDynamicObject(7091, 1467.19, -1759.79, 25.67,   0.00, 0.00, 87.97);
	CreateDynamicObject(7091, 1492.88, -1759.70, 25.67,   0.00, 0.00, 87.97);
	CreateDynamicObject(646, 1485.99, -1759.95, 13.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(646, 1473.96, -1760.00, 13.95,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1467.36, -1758.52, 12.89,   0.00, 0.00, -89.46);
	CreateDynamicObject(1280, 1492.81, -1758.58, 12.89,   0.00, 0.00, -89.46);
	CreateDynamicObject(1285, 1488.23, -1759.83, 13.09,   356.86, 0.00, 359.14);
	CreateDynamicObject(1287, 1471.84, -1759.83, 13.12,   0.00, 0.00, 0.00);
	CreateDynamicObject(6494, 1419.57, -1842.15, 23.58,   0.00, 0.00, -119.52);
	CreateDynamicObject(6494, 1450.59, -1843.12, 23.58,   0.00, 0.00, -118.26);
	CreateDynamicObject(6494, 1480.60, -1843.37, 23.58,   0.00, 0.00, -118.26);
	CreateDynamicObject(6494, 1511.06, -1843.12, 23.68,   0.00, 0.00, -118.26);
	CreateDynamicObject(6494, 1535.27, -1841.81, 23.68,   0.00, 0.00, -390.90);
	CreateDynamicObject(6494, 1538.81, -1820.77, 23.58,   0.00, 0.00, 57.34);
	CreateDynamicObject(6494, 1539.02, -1799.06, 23.58,   0.00, 0.00, 58.36);
	CreateDynamicObject(6494, 1539.02, -1791.28, 23.58,   0.00, 0.00, 59.44);
	CreateDynamicObject(6494, 1509.97, -1813.57, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1511.62, -1792.60, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1479.79, -1832.29, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1448.81, -1832.46, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1419.70, -1832.44, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1478.86, -1809.63, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1447.94, -1809.31, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1419.67, -1809.65, 23.58,   0.00, 0.00, -122.12);
	CreateDynamicObject(6494, 1478.65, -1788.63, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1446.86, -1786.68, 23.58,   0.00, 0.00, -118.52);
	CreateDynamicObject(6494, 1419.43, -1786.51, 23.58,   0.00, 0.00, -120.50);
	CreateDynamicObject(6494, 1419.81, -1784.27, 23.78,   0.00, 0.00, -120.50);
	CreateDynamicObject(3660, 1428.73, -1772.82, 14.54,   0.00, 0.00, -180.24);
	CreateDynamicObject(3660, 1409.11, -1772.81, 14.54,   0.00, 0.00, -179.82);
	CreateDynamicObject(3660, 1400.60, -1783.37, 14.54,   0.00, 0.00, 270.25);
	CreateDynamicObject(3660, 1400.85, -1842.13, 14.54,   0.00, 0.00, 270.25);
	CreateDynamicObject(3660, 1400.69, -1802.99, 14.54,   0.00, 0.00, 270.25);
	CreateDynamicObject(3660, 1400.77, -1822.52, 14.54,   0.00, 0.00, 270.25);
	CreateDynamicObject(3660, 1400.90, -1852.30, 14.54,   0.00, 0.00, 270.25);
	CreateDynamicObject(3660, 1411.17, -1861.44, 14.54,   0.00, 0.00, 179.77);
	CreateDynamicObject(3660, 1430.79, -1861.51, 14.54,   0.00, 0.00, 179.77);
	CreateDynamicObject(3660, 1470.03, -1861.64, 14.54,   0.00, 0.00, 180.08);
	CreateDynamicObject(3660, 1489.59, -1861.60, 14.54,   0.00, 0.00, 180.08);
	CreateDynamicObject(3660, 1528.80, -1861.55, 14.54,   0.00, 0.00, 180.08);
	CreateDynamicObject(3660, 1548.42, -1861.52, 14.54,   0.00, 0.00, 180.08);
	CreateDynamicObject(3660, 1558.28, -1852.42, 14.54,   0.00, 0.00, 90.02);
	CreateDynamicObject(3660, 1558.27, -1832.87, 14.54,   0.00, 0.00, 90.02);
	CreateDynamicObject(3660, 1558.25, -1813.50, 14.54,   0.00, 0.00, 90.02);
	CreateDynamicObject(3660, 1558.24, -1794.10, 14.54,   0.00, 0.00, 90.02);
	CreateDynamicObject(3660, 1530.21, -1772.45, 14.54,   0.00, 0.00, -0.76);
	CreateDynamicObject(3660, 1549.69, -1772.70, 14.54,   0.00, 0.00, -0.76);
	CreateDynamicObject(3660, 1558.23, -1783.50, 14.54,   0.00, 0.00, 90.02);
	CreateDynamicObject(6494, 1539.71, -1842.51, 23.68,   0.00, 0.00, -390.42);
	CreateDynamicObject(3287, 1449.40, -1861.31, 11.87,   0.00, 0.00, 89.79);
	CreateDynamicObject(3287, 1442.43, -1861.29, 11.87,   0.00, 0.00, 89.79);
	CreateDynamicObject(3287, 1456.37, -1861.32, 11.87,   0.00, 0.00, 90.19);
	CreateDynamicObject(3287, 1515.13, -1861.33, 11.87,   0.00, 0.00, 90.19);
	CreateDynamicObject(3287, 1508.15, -1861.32, 11.87,   0.00, 0.00, 89.79);
	CreateDynamicObject(3287, 1501.19, -1861.27, 11.87,   0.00, 0.00, 89.79);
	CreateDynamicObject(737, 1414.67, -1849.99, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(803, 1405.79, -1779.25, 13.87,   0.00, 0.00, -13.26);
	CreateDynamicObject(737, 1453.42, -1809.45, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1481.54, -1809.51, 12.89,   0.00, 0.00, 0.06);
	CreateDynamicObject(737, 1510.51, -1809.05, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1544.86, -1849.86, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1497.61, -1849.26, 12.89,   0.00, 0.00, 0.06);
	CreateDynamicObject(737, 1520.90, -1849.56, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1462.54, -1849.65, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1440.90, -1849.97, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1420.34, -1788.11, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1420.10, -1810.16, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1542.35, -1786.54, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(737, 1542.49, -1808.74, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(803, 1406.14, -1856.42, 13.87,   0.00, 0.00, 67.62);
	CreateDynamicObject(803, 1479.47, -1856.69, 13.87,   0.00, 0.00, 171.24);
	CreateDynamicObject(803, 1553.93, -1856.09, 13.87,   0.00, 0.00, 211.98);
	CreateDynamicObject(803, 1553.08, -1778.34, 13.87,   0.00, 0.00, 307.02);
	CreateDynamicObject(1231, 1468.38, -1808.52, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1231, 1496.08, -1809.05, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1231, 1528.23, -1808.70, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1231, 1433.90, -1808.96, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1280, 1431.32, -1808.87, 13.01,   0.00, 0.00, 2.40);
	CreateDynamicObject(1280, 1436.81, -1808.94, 13.01,   0.00, 0.00, -178.50);
	CreateDynamicObject(1280, 1465.96, -1808.62, 13.03,   0.00, 0.00, 1.56);
	CreateDynamicObject(1280, 1471.08, -1808.47, 13.03,   0.00, 0.00, -176.82);
	CreateDynamicObject(1280, 1493.90, -1809.06, 12.98,   0.00, 0.00, 0.36);
	CreateDynamicObject(1280, 1498.94, -1808.82, 13.18,   0.00, 0.00, -178.14);
	CreateDynamicObject(1280, 1525.32, -1808.88, 13.11,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1531.13, -1808.63, 13.11,   0.00, 0.00, -178.02);
	CreateDynamicObject(1231, 1533.02, -1849.51, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1231, 1479.53, -1848.93, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1231, 1428.34, -1849.59, 15.29,   356.86, 0.00, -1.57);
	CreateDynamicObject(1280, 1426.02, -1849.68, 13.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1431.30, -1849.60, 13.14,   0.00, 0.00, -178.80);
	CreateDynamicObject(1280, 1477.15, -1848.97, 13.13,   0.00, 0.00, 0.30);
	CreateDynamicObject(1280, 1482.46, -1848.87, 13.13,   0.00, 0.00, -178.74);
	CreateDynamicObject(1280, 1530.99, -1849.56, 13.19,   0.00, 0.00, 0.72);
	CreateDynamicObject(1280, 1535.39, -1849.42, 13.09,   0.00, 0.00, -177.72);
	CreateDynamicObject(1339, 1432.35, -1831.79, 13.24,   0.00, 0.00, -179.46);
	CreateDynamicObject(1339, 1432.30, -1834.05, 13.24,   0.00, 0.00, -359.70);
	CreateDynamicObject(1339, 1480.03, -1831.90, 13.21,   0.00, 0.00, -179.52);
	CreateDynamicObject(1339, 1480.07, -1833.99, 13.22,   0.00, 0.00, -359.22);
	CreateDynamicObject(1339, 1529.27, -1833.89, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(1339, 1529.26, -1831.97, 13.25,   0.00, 0.00, -179.82);

	// Donor House Order 0217 - Approved by Roy Nash - 01/20/2013
/*	CreateDynamicObject(1660, 111.10, -1614.28, 9.20,   -30.00, 0.00, 80.50);
	CreateDynamicObject(1660, 103.73, -1613.05, 9.59,   -29.50, 0.00, 80.50);
	CreateDynamicObject(1660, 96.39, -1611.82, 10.05,   -29.50, 0.00, 80.50);
	CreateDynamicObject(1660, 89.05, -1610.59, 10.51,   -33.50, 0.00, 80.50);
	CreateDynamicObject(1660, 81.75, -1609.37, 10.46,   -47.50, 0.00, 80.50);
	CreateDynamicObject(1660, 74.66, -1608.18, 8.61,   -47.50, 0.00, 80.50);
	CreateDynamicObject(19378, 62.64, -1604.11, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 52.29, -1602.21, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 64.26, -1594.64, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 53.96, -1592.76, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 42.02, -1600.39, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 43.62, -1590.99, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 45.30, -1581.56, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 55.61, -1583.35, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 65.94, -1585.18, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(14413, 70.66, -1583.13, 0.86,   0.00, 0.00, -10.00);
	CreateDynamicObject(14413, 57.29, -1580.92, 0.86,   0.00, 0.00, -10.00);
	CreateDynamicObject(14413, 55.23, -1592.72, 0.86,   0.00, 0.00, -10.00);
	CreateDynamicObject(14413, 68.29, -1595.05, 0.86,   0.00, 0.00, -10.00);
	CreateDynamicObject(11556, 32.73, -1626.95, -0.52,   0.00, 0.00, -80.50);
	CreateDynamicObject(16113, 62.50, -1623.78, -0.02,   0.00, 0.00, 40.01);
	CreateDynamicObject(16134, 51.58, -1570.29, -2.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(16134, 65.91, -1572.01, -1.55,   0.00, 0.00, -780.00);
	CreateDynamicObject(19378, 77.54, -1608.00, 8.06,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 84.40, -1609.17, 9.78,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 82.64, -1603.89, 5.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(19378, 73.13, -1602.25, 5.48,   0.00, 0.00, 80.00);
	CreateDynamicObject(19378, 72.80, -1607.15, 6.94,   0.00, 90.00, -10.00);
	CreateDynamicObject(14877, 78.88, -1604.85, 7.78,   0.00, 0.00, -9.66);
	CreateDynamicObject(14877, 72.09, -1603.69, 6.06,   0.00, 0.00, -9.66);
	CreateDynamicObject(19378, 82.20, -1606.88, 5.46,   0.00, 0.00, 80.00);
	CreateDynamicObject(19378, 72.76, -1605.29, 5.46,   0.00, 0.00, 80.78);
	CreateDynamicObject(19378, 82.97, -1599.22, 10.67,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 72.65, -1597.40, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 62.51, -1605.37, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 74.31, -1587.90, 10.67,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 84.64, -1589.75, 10.67,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 89.68, -1590.72, 5.51,   0.00, 0.00, -10.00);
	CreateDynamicObject(19378, 88.05, -1599.92, 5.47,   0.00, 0.00, -10.00);
	CreateDynamicObject(19378, 85.68, -1585.14, 5.41,   0.00, 0.00, 80.00);
	CreateDynamicObject(19378, 76.39, -1583.60, 5.44,   0.00, 0.00, 80.00);
	CreateDynamicObject(19378, 70.92, -1587.54, 5.41,   0.00, 0.00, -10.00);
	CreateDynamicObject(19378, 69.36, -1596.63, 5.44,   0.00, 0.00, -10.00);
	CreateDynamicObject(19378, 63.99, -1586.07, 10.67,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 62.31, -1595.57, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 52.18, -1603.55, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 53.70, -1584.24, 10.67,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 51.97, -1593.72, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 41.88, -1601.73, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 41.67, -1591.83, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 45.23, -1582.76, 10.64,   0.00, 90.00, -10.00);
	CreateDynamicObject(19453, 67.54, -1606.23, 12.42,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 73.17, -1602.25, 12.42,   0.00, 0.00, 79.97);
	CreateDynamicObject(19453, 78.74, -1598.43, 12.42,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 80.38, -1589.04, 12.42,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 76.41, -1583.55, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 66.92, -1581.87, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 57.45, -1580.21, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 48.02, -1578.55, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 61.89, -1610.03, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 52.42, -1608.36, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 42.92, -1606.70, 12.42,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 39.14, -1601.08, 12.42,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 40.81, -1591.59, 12.42,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 42.44, -1582.37, 12.42,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 66.92, -1581.87, 15.92,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 57.45, -1580.21, 15.92,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 48.02, -1578.55, 15.92,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 70.87, -1587.36, 15.92,   0.00, 0.00, -10.00);
	CreateDynamicObject(19378, 75.30, -1588.16, 14.17,   0.00, 90.00, -10.00);
	CreateDynamicObject(19378, 73.64, -1597.53, 14.17,   0.00, 90.00, -10.00);
	CreateDynamicObject(19453, 69.20, -1596.80, 15.92,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 67.54, -1606.23, 15.92,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 61.89, -1610.03, 15.92,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 52.42, -1608.36, 15.92,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 42.92, -1606.70, 15.92,   0.00, 0.00, 80.00);
	CreateDynamicObject(19453, 39.14, -1601.08, 15.92,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 40.81, -1591.59, 15.92,   0.00, 0.00, -10.00);
	CreateDynamicObject(19453, 42.44, -1582.37, 15.92,   0.00, 0.00, -10.00);
	CreateDynamicObject(19375, 67.46, -1586.73, 19.24,   0.00, -65.00, -10.00);
	CreateDynamicObject(19375, 65.83, -1596.19, 19.24,   0.00, -65.00, -10.00);
	CreateDynamicObject(19375, 64.19, -1605.62, 19.24,   0.00, -65.00, -10.00);
	CreateDynamicObject(19375, 61.09, -1585.65, 22.24,   0.00, -65.00, -10.00);
	CreateDynamicObject(19375, 45.46, -1582.90, 19.24,   0.00, -65.00, 170.00);
	CreateDynamicObject(19375, 51.80, -1584.03, 22.24,   0.00, -65.00, 170.00);
	CreateDynamicObject(19375, 43.91, -1592.18, 19.24,   0.00, -65.00, 170.00);
	CreateDynamicObject(19375, 42.29, -1601.67, 19.24,   0.00, -65.00, 170.00);
	CreateDynamicObject(19375, 50.17, -1593.29, 22.24,   0.00, -65.00, 170.00);
	CreateDynamicObject(19375, 48.47, -1602.82, 22.24,   0.00, -65.00, 170.00);
	CreateDynamicObject(19375, 59.49, -1595.16, 22.24,   0.00, -65.00, -10.00);
	CreateDynamicObject(19375, 57.80, -1604.49, 22.24,   0.00, -65.00, -10.00);
	CreateDynamicObject(19454, 66.48, -1581.84, 18.20,   25.00, 0.00, 80.04);
	CreateDynamicObject(19454, 60.84, -1580.88, 20.70,   25.00, 0.00, 80.04);
	CreateDynamicObject(19454, 60.84, -1580.88, 16.86,   25.00, 0.00, 80.04);
	CreateDynamicObject(19454, 53.69, -1579.61, 20.86,   -25.00, 0.00, 80.04);
	CreateDynamicObject(19454, 48.14, -1578.64, 18.14,   -25.00, 0.00, 80.04);
	CreateDynamicObject(19454, 53.69, -1579.61, 17.85,   -25.00, 0.00, 80.04);
	CreateDynamicObject(19454, 61.66, -1609.91, 18.03,   25.00, 0.00, 80.00);
	CreateDynamicObject(19454, 53.62, -1608.53, 18.03,   25.00, 0.00, 80.00);
	CreateDynamicObject(19454, 55.78, -1608.86, 20.83,   25.00, 0.00, 80.00);
	CreateDynamicObject(19454, 48.66, -1607.58, 20.83,   -25.00, 0.00, 80.00);
	CreateDynamicObject(19454, 48.58, -1607.63, 17.83,   -25.00, 0.00, 80.00);
	CreateDynamicObject(19454, 43.40, -1606.69, 18.13,   -25.00, 0.00, 80.00);
	CreateDynamicObject(3034, 80.66, -1588.13, 12.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(3034, 78.75, -1598.96, 12.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(3034, 67.63, -1606.31, 12.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(3034, 67.67, -1606.08, 15.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(3034, 68.92, -1598.89, 15.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(3034, 71.23, -1586.01, 15.47,   0.00, 0.00, 80.00);
	CreateDynamicObject(3034, 76.30, -1583.43, 12.47,   0.00, 0.00, 170.00);
	CreateDynamicObject(3034, 64.60, -1581.35, 12.47,   0.00, 0.00, 170.00);
	CreateDynamicObject(3034, 55.48, -1579.75, 12.47,   0.00, 0.00, 170.00);
	CreateDynamicObject(3034, 47.09, -1578.27, 12.47,   0.00, 0.00, 170.00);
	CreateDynamicObject(3034, 50.55, -1578.90, 15.97,   0.00, 0.00, 170.00);
	CreateDynamicObject(3034, 62.01, -1580.89, 15.97,   0.00, 0.00, 170.00);
	CreateDynamicObject(3034, 41.87, -1584.88, 12.47,   0.00, 0.00, -100.00);
	CreateDynamicObject(3034, 42.24, -1582.78, 15.97,   0.00, 0.00, -100.00);
	CreateDynamicObject(3034, 38.97, -1601.10, 15.97,   0.00, 0.00, -100.00);
	CreateDynamicObject(3034, 40.69, -1591.51, 15.97,   0.00, 0.00, -100.00);
	CreateDynamicObject(3034, 39.24, -1599.81, 12.47,   0.00, 0.00, -100.00);
	CreateDynamicObject(1231, 81.86, -1612.90, 12.60,   0.00, 0.00, -8.50);
	CreateDynamicObject(1231, 83.28, -1603.76, 13.50,   0.00, 0.00, -8.50);
	CreateDynamicObject(1231, 85.73, -1586.50, 13.50,   0.00, 0.00, -8.50);
	CreateDynamicObject(1231, 68.00, -1610.52, 9.70,   0.00, 0.00, -8.50);
	CreateDynamicObject(1231, 72.88, -1611.38, 11.00,   0.00, 0.00, -8.50);
	CreateDynamicObject(751, 63.51, -1609.26, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 50.10, -1605.69, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 50.30, -1605.60, 2.33,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 40.48, -1604.05, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 42.51, -1593.48, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 45.46, -1579.31, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 56.39, -1581.58, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(751, 65.85, -1582.76, 5.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(1653, 80.61, -1606.61, 11.39,   0.00, 0.00, -10.00);
	CreateDynamicObject(1653, 67.97, -1604.44, 11.39,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 81.23, -1603.74, 11.39,   0.00, 0.00, -10.50);
	CreateDynamicObject(1653, 73.34, -1610.88, 8.89,   0.00, -14.00, -9.50);
	CreateDynamicObject(1653, 85.74, -1612.98, 10.89,   0.00, 1.00, 170.00);
	CreateDynamicObject(1653, 98.41, -1615.08, 10.69,   0.00, 3.00, -9.00);
	CreateDynamicObject(1653, 89.49, -1592.31, 11.39,   0.00, 0.00, 80.00);
	CreateDynamicObject(1653, 84.28, -1584.86, 11.39,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 74.89, -1583.31, 14.89,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 80.07, -1590.73, 14.89,   0.00, 0.00, -100.00);
	CreateDynamicObject(1653, 79.01, -1596.83, 14.89,   0.00, 0.00, 80.00);
	CreateDynamicObject(1653, 71.52, -1601.96, 14.89,   0.00, 0.00, -10.50);
	CreateDynamicObject(1653, 65.60, -1580.34, 7.70,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 70.91, -1587.74, 7.70,   0.00, 0.00, 80.50);
	CreateDynamicObject(1653, 52.97, -1578.22, 7.70,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 47.29, -1577.16, 7.70,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 39.88, -1582.43, 7.70,   0.00, 0.00, 80.00);
	CreateDynamicObject(1653, 37.63, -1595.06, 7.70,   0.00, 0.00, 80.50);
	CreateDynamicObject(1653, 37.13, -1597.90, 7.70,   0.00, 0.00, 80.50);
	CreateDynamicObject(1653, 42.37, -1605.30, 7.70,   0.00, 0.00, -9.50);
	CreateDynamicObject(1653, 54.90, -1607.53, 7.70,   0.00, 0.00, -11.50);
	CreateDynamicObject(1653, 67.47, -1609.87, 7.70,   0.00, 0.00, -9.50);
	CreateDynamicObject(1231, 37.62, -1586.63, 13.40,   0.00, 0.00, -8.50);
	CreateDynamicObject(1231, 36.28, -1595.22, 13.40,   0.00, 0.00, -8.50);
	CreateDynamicObject(1569, 40.35, -1594.00, 10.71,   0.00, 0.00, 80.00);
	CreateDynamicObject(1569, 40.87, -1591.05, 10.71,   0.00, 0.00, -100.00);
	CreateDynamicObject(1557, 79.87, -1592.11, 10.67,   0.00, 0.00, -100.00);
	CreateDynamicObject(1557, 79.35, -1595.09, 10.67,   0.00, 0.00, 800.00);
	CreateDynamicObject(1569, 69.81, -1593.65, 14.26,   0.00, 0.00, 80.00);
	CreateDynamicObject(1569, 70.33, -1590.70, 14.26,   0.00, 0.00, -100.00);
	CreateDynamicObject(1653, 89.49, -1592.31, 11.39,   0.00, 0.00, -1000.00);
	CreateDynamicObject(1653, 80.07, -1590.73, 14.89,   0.00, 0.00, 80.00);
	CreateDynamicObject(1653, 79.01, -1596.83, 14.89,   0.00, 0.00, -100.00);
	CreateDynamicObject(1653, 80.61, -1606.61, 11.39,   0.00, 0.00, 170.00);
	CreateDynamicObject(1653, 81.23, -1603.74, 11.39,   0.00, 0.00, 170.00);
	CreateDynamicObject(1653, 84.28, -1584.86, 11.39,   0.00, 0.00, 170.50);
	CreateDynamicObject(1653, 85.74, -1612.98, 10.89,   0.00, -1.50, -9.50);
	CreateDynamicObject(1653, 98.45, -1615.08, 10.69,   0.00, -3.50, 171.00);
	CreateDynamicObject(1653, 73.34, -1610.88, 8.89,   0.00, 13.50, 170.00);
	CreateDynamicObject(1653, 67.47, -1609.87, 7.70,   0.00, 0.00, 170.00);
	CreateDynamicObject(1653, 54.90, -1607.53, 7.70,   0.00, 0.00, 168.50);
	CreateDynamicObject(1653, 42.37, -1605.30, 7.70,   0.00, 0.00, 170.00);
	CreateDynamicObject(1653, 35.24, -1600.91, 7.70,   0.00, 0.00, -99.50);
	CreateDynamicObject(1653, 37.63, -1595.06, 7.70,   0.00, 0.00, -99.50);
	CreateDynamicObject(1653, 39.88, -1582.43, 7.70,   0.00, 0.00, -100.00);
	CreateDynamicObject(1653, 47.29, -1577.16, 7.70,   0.00, 0.00, 170.50);
	CreateDynamicObject(1653, 52.97, -1578.22, 7.70,   0.00, 0.00, 170.50);
	CreateDynamicObject(1653, 65.60, -1580.34, 7.70,   0.00, 0.00, 170.50);
	CreateDynamicObject(1653, 70.91, -1587.74, 7.70,   0.00, 0.00, -99.50);
	CreateDynamicObject(16134, 49.91, -1584.39, -2.05,   0.00, 0.00, 90.00);
	CreateDynamicObject(16134, 45.37, -1600.64, -2.05,   0.00, 0.00, 90.00);
	CreateDynamicObject(16134, 68.77, -1576.97, -1.55,   0.00, 0.00, -780.00);
	CreateDynamicObject(970, 36.99, -1588.31, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 36.07, -1593.58, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 36.52, -1590.90, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 37.76, -1595.98, 11.22,   0.00, 0.00, -10.00);
	CreateDynamicObject(970, 39.38, -1586.61, 11.22,   0.00, 0.00, -10.00);
	CreateDynamicObject(1360, 38.75, -1596.94, 11.52,   0.00, 0.00, 80.00);
	CreateDynamicObject(1360, 40.67, -1586.11, 11.52,   0.00, 0.00, 80.00);
	CreateDynamicObject(1360, 37.23, -1605.09, 11.52,   0.00, 0.00, 80.00);
	CreateDynamicObject(1360, 42.01, -1577.92, 11.52,   0.00, 0.00, 80.00);
	CreateDynamicObject(1364, 37.26, -1590.85, 11.52,   0.00, 0.00, 80.00);
	CreateDynamicObject(17951, 69.24, -1596.77, 8.30,   0.00, 0.00, -10.75);
	CreateDynamicObject(17951, 70.72, -1588.25, 8.30,   0.00, 0.00, -10.75);
	CreateDynamicObject(970, 37.23, -1598.12, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 36.27, -1603.49, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 36.79, -1600.74, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 39.55, -1584.55, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 40.50, -1579.21, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(970, 40.04, -1581.88, 11.22,   0.00, 0.00, 80.00);
	CreateDynamicObject(16134, 81.43, -1582.62, -7.05,   0.00, 0.00, -780.00);*/

	// House DeMario - Price 900,000 - Approved By Roy Nash - 1/13/2013
/*	CreateDynamicObject(16685,2898.1999512,-1972.3000488,2.5000000,0.0000000,0.0000000,0.0000000); //object(cn2_rnway_bit2) (1)
	CreateDynamicObject(7033,2905.1000977,-1970.0000000,7.1999998,0.0000000,0.0000000,269.9949951); //object(vgnhsegate02) (1)
	CreateDynamicObject(7504,2945.1999512,-1996.5999756,4.0000000,0.0000000,0.0000000,0.0000000); //object(glfcrsgate2_vgn) (1)
	CreateDynamicObject(7504,2944.6999512,-1945.6999512,4.0000000,0.0000000,0.0000000,179.9945068); //object(glfcrsgate2_vgn) (2)
	CreateDynamicObject(7665,2982.8999023,-1967.8000488,4.1999998,0.0000000,0.0000000,0.0000000); //object(glfcrsgate4_vgs) (1)
	CreateDynamicObject(7665,2988.3000488,-1968.1999512,4.0000000,0.0000000,0.0000000,270.0000000); //object(glfcrsgate4_vgs) (2)
	CreateDynamicObject(973,2899.6000977,-1989.5999756,3.5000000,0.0000000,0.0000000,91.2479248); //object(sub_roadbarrier) (1)
	CreateDynamicObject(973,2899.1999512,-1951.0999756,3.5000000,0.0000000,0.0000000,90.2476807); //object(sub_roadbarrier) (2)
	CreateDynamicObject(9931,2965.3000488,-1972.4000244,19.2000008,0.0000000,0.0000000,180.0000000); //object(church_sfe) (1)
	CreateDynamicObject(3522,2937.8000488,-1960.5999756,2.5999999,0.0000000,0.0000000,179.9945068); //object(vgsn_flwbdcrb) (1)
	CreateDynamicObject(3522,2937.3999023,-1984.4000244,2.5999999,0.0000000,0.0000000,179.9945068); //object(vgsn_flwbdcrb) (2)
	CreateDynamicObject(1941,2892.6000977,-2004.9000244,3.8000000,0.0000000,0.0000000,0.0000000); //object(chip_stack17) (1)
	CreateDynamicObject(1643,2906.8000488,-2003.9000244,1.1000000,0.0000000,0.0000000,0.0000000); //object(beachtowel01) (1)
	CreateDynamicObject(7313,2942.0000000,-1972.5000000,20.3999996,0.0000000,0.0000000,270.0000000); //object(vgsn_scrollsgn01) (1)
	CreateDynamicObject(2745,2937.3999023,-1980.1999512,3.7000000,0.0000000,0.0000000,266.0000000); //object(cj_stat_3) (1)
	CreateDynamicObject(2745,2937.8999023,-1964.4000244,3.7000000,0.0000000,0.0000000,266.0000000); //object(cj_stat_3) (2)
	CreateDynamicObject(14467,2904.1999512,-1950.9000244,5.1999998,0.0000000,0.0000000,290.0000000); //object(carter_statue) (1)
	CreateDynamicObject(14467,2906.8999023,-1991.9000244,5.1999998,0.0000000,0.0000000,224.0000000); //object(carter_statue) (2)
*/
	// Unity Station Small Mapping
	CreateDynamicObject(970,1728.4000244,-1860.0999756,13.0000000,0.0000000,0.0000000,0.0000000); //object(fencesmallb) (1)
	CreateDynamicObject(970,1724.5000000,-1859.0999756,13.0000000,0.0000000,0.0000000,330.0000000); //object(fencesmallb) (2)
	CreateDynamicObject(970,1722.0000000,-1856.0999756,13.0000000,0.0000000,0.0000000,289.9963379); //object(fencesmallb) (3)
	CreateDynamicObject(970,1725.4000244,-1850.3000488,13.0000000,0.0000000,0.0000000,189.9951172); //object(fencesmallb) (4)
	CreateDynamicObject(970,1722.2998047,-1852.3994141,13.0000000,0.0000000,0.0000000,239.9908600); //object(fencesmallb) (5)
	CreateDynamicObject(970,1737.5999756,-1849.9000244,13.0000000,0.0000000,0.0000000,183.9920654); //object(fencesmallb) (6)
	CreateDynamicObject(1361,1744.3000488,-1848.8000488,13.3000002,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,1741.3994141,-1848.6992188,13.3000002,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop2) (2)
	CreateDynamicObject(1215,1746.3000488,-1863.5000000,13.1000004,0.0000000,0.0000000,0.0000000); //object(bollardlight) (1)
	CreateDynamicObject(1215,1739.6999512,-1863.6999512,13.1000004,0.0000000,0.0000000,0.0000000); //object(bollardlight) (2)
	CreateDynamicObject(970,1729.5000000,-1850.0000000,13.0000000,0.0000000,0.0000000,179.9890137); //object(fencesmallb) (7)
	CreateDynamicObject(970,1733.5996094,-1850.0000000,13.0000000,0.0000000,0.0000000,179.9890137); //object(fencesmallb) (8)
	CreateDynamicObject(1361,1730.5000000,-1860.0000000,13.3000002,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop2) (3)
	CreateDynamicObject(1361,1734.5000000,-1863.5999756,13.3000002,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop2) (4)
	CreateDynamicObject(1215,1732.6999512,-1861.9000244,13.1000004,0.0000000,0.0000000,0.0000000); //object(bollardlight) (3)

	// Dynamic Garage Interior
	CreateDynamicObject(6300,-2071.0000000,1.9000000,38.0000000,0.0000000,0.0000000,0.0000000); //object(pier04_law2) (1)
	CreateDynamicObject(3095,-2074.6999512,-15.0000000,55.0000000,90.0000000,180.0000000,270.0000000); //object(a51_jetdoor) (1)
	CreateDynamicObject(3095,-2052.1000977,-37.9000015,46.0999985,90.0000000,179.9945068,359.9944763); //object(a51_jetdoor) (2)
	CreateDynamicObject(3095,-2061.1000977,-37.9000015,46.0999985,90.0000000,180.0054932,359.9780579); //object(a51_jetdoor) (3)
	CreateDynamicObject(3095,-2070.1000977,-37.9000015,46.0999985,90.0000000,180.0054932,359.9725342); //object(a51_jetdoor) (4)
	CreateDynamicObject(3095,-2074.6999512,-32.9000015,55.0000000,90.0000000,180.0054932,269.9726562); //object(a51_jetdoor) (5)
	CreateDynamicObject(3095,-2047.1992188,-33.3994141,46.0999985,90.0000000,179.9945068,89.9945068); //object(a51_jetdoor) (6)
	CreateDynamicObject(3095,-2074.6999512,-24.0000000,55.0000000,90.0000000,179.9945068,269.9836426); //object(a51_jetdoor) (7)
	CreateDynamicObject(3095,-2047.1992188,-24.3994141,46.0999985,90.0000000,180.0054932,89.9835510); //object(a51_jetdoor) (8)
	CreateDynamicObject(3095,-2047.1992188,-15.3994141,46.0999985,90.0000000,179.9945068,89.9945068); //object(a51_jetdoor) (9)
	CreateDynamicObject(3095,-2052.1999512,-10.8999996,46.0999985,90.0000000,179.9945068,179.9945068); //object(a51_jetdoor) (10)
	CreateDynamicObject(3095,-2061.1999512,-10.8999996,46.0999985,90.0000000,179.9945068,179.9945068); //object(a51_jetdoor) (11)
	CreateDynamicObject(3095,-2070.1999512,-10.8999996,46.0999985,90.0000000,179.9945068,179.9945068); //object(a51_jetdoor) (12)
	CreateDynamicObject(3095,-2052.1999512,-11.3000002,50.5999985,310.0000000,0.0054932,359.9835815); //object(a51_jetdoor) (13)
	CreateDynamicObject(3095,-2061.1999512,-11.3000002,50.5999985,309.9957275,0.0000000,359.9835205); //object(a51_jetdoor) (14)
	CreateDynamicObject(3095,-2070.1999512,-11.3000002,50.5999985,309.9957275,0.0000000,359.9835205); //object(a51_jetdoor) (15)
	CreateDynamicObject(3095,-2070.3000488,-37.9000015,51.0000000,310.0000000,0.0054932,179.9725342); //object(a51_jetdoor) (16)
	CreateDynamicObject(3095,-2052.2998047,-37.8994141,51.0000000,309.9957275,0.0000000,179.9725342); //object(a51_jetdoor) (17)
	CreateDynamicObject(3095,-2061.2998047,-37.8994141,51.0000000,309.9957275,0.0000000,179.9725342); //object(a51_jetdoor) (18)
	CreateDynamicObject(3095,-2070.1999512,-14.1000004,54.0999985,0.0000000,0.0000000,359.9835205); //object(a51_jetdoor) (19)
	CreateDynamicObject(3095,-2061.1999512,-14.1000004,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (20)
	CreateDynamicObject(3095,-2052.1999512,-14.1000004,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (21)
	CreateDynamicObject(3095,-2070.1992188,-23.0000000,54.0999985,0.0000000,0.0000000,359.9835205); //object(a51_jetdoor) (23)
	CreateDynamicObject(3095,-2061.1992188,-23.0000000,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (25)
	CreateDynamicObject(3095,-2052.1992188,-23.0000000,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (26)
	CreateDynamicObject(3095,-2070.1992188,-32.0000000,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (27)
	CreateDynamicObject(3095,-2061.1992188,-32.0000000,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (28)
	CreateDynamicObject(3095,-2052.1992188,-32.0000000,54.0999985,0.0000000,0.0000000,359.9780273); //object(a51_jetdoor) (29)
	CreateDynamicObject(2957,-2074.1999512,-23.7999992,47.7000008,0.0000000,0.0000000,270.0000000); //object(chinatgaragedoor) (1)
	CreateDynamicObject(3095,-2074.6992188,-15.0000000,46.0999985,90.0000000,179.9945068,270.0000000); //object(a51_jetdoor) (30)
	CreateDynamicObject(3095,-2074.6992188,-24.0000000,46.0999985,90.0000000,180.0054932,269.9725647); //object(a51_jetdoor) (31)
	CreateDynamicObject(3095,-2074.6992188,-32.8994141,46.0999985,90.0000000,180.0054932,269.9725952); //object(a51_jetdoor) (32)
	CreateDynamicObject(3095,-2047.1992188,-15.3994141,55.0000000,90.0000000,180.0054932,89.9835205); //object(a51_jetdoor) (33)
	CreateDynamicObject(3095,-2047.1992188,-24.3994141,55.0000000,90.0000000,180.0054932,89.9835815); //object(a51_jetdoor) (34)
	CreateDynamicObject(3095,-2047.1992188,-33.3994141,55.0000000,90.0000000,180.0054932,89.9835205); //object(a51_jetdoor) (35)
	CreateDynamicObject(6300,-2071.0000000,1.8994141,38.0000000,0.0000000,0.0000000,0.0000000); //object(pier04_law2) (2)
	CreateDynamicObject(3095,-2052.0996094,-37.4000015,46.0999985,90.0000000,180.0054932,359.9780273); //object(a51_jetdoor) (36)
	CreateDynamicObject(3095,-2061.0996094,-37.4000015,46.0999985,90.0000000,179.9945068,359.9890137); //object(a51_jetdoor) (37)
	CreateDynamicObject(3095,-2070.0996094,-37.4000015,46.0999985,90.0000000,179.9945068,359.9780273); //object(a51_jetdoor) (38)

	// Hitman Interior
	CreateDynamicObject(3919,1474.09960938,-1359.69921875,158.80000305,0.00000000,0.00000000,179.99450684); //object(lib_main_bistrotop) (2)
	CreateDynamicObject(4601,1529.00000000,-1371.29980469,48.00000000,0.00000000,0.00000000,0.00000000); //object(lan2_gm1) (1)
	CreateDynamicObject(1649,1467.29980469,-1369.69921875,157.69999695,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (1)
	CreateDynamicObject(1649,1467.30004883,-1369.69995117,161.00000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (3)
	CreateDynamicObject(1649,1465.09960938,-1367.50000000,157.69999695,0.00000000,0.00000000,89.99450684); //object(wglasssmash) (4)
	CreateDynamicObject(1649,1465.09960938,-1367.50000000,161.00000000,0.00000000,0.00000000,90.00000000); //object(wglasssmash) (5)
	CreateDynamicObject(1649,1465.09997559,-1363.09997559,157.69999695,0.00000000,0.00000000,89.99450684); //object(wglasssmash) (6)
	CreateDynamicObject(1649,1465.09997559,-1363.09997559,161.00000000,0.00000000,0.00000000,89.99450684); //object(wglasssmash) (7)
	CreateDynamicObject(1649,1471.69995117,-1369.69995117,157.69999695,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (8)
	CreateDynamicObject(1649,1476.09997559,-1369.69995117,157.69999695,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (9)
	CreateDynamicObject(1649,1480.50000000,-1369.69921875,157.69999695,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (10)
	CreateDynamicObject(1649,1471.69995117,-1369.69995117,161.00000000,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (12)
	CreateDynamicObject(1649,1476.09960938,-1369.69921875,161.00000000,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (13)
	CreateDynamicObject(1649,1480.50000000,-1369.69921875,161.00000000,0.00000000,0.00000000,179.99450684); //object(wglasssmash) (14)
	CreateDynamicObject(9339,1482.80004883,-1356.64001465,158.89999390,0.00000000,0.00000000,0.00000000); //object(sfnvilla001_cm) (1)
	CreateDynamicObject(9339,1482.80004883,-1356.64001465,160.30000305,0.00000000,0.00000000,0.00000000); //object(sfnvilla001_cm) (2)
	CreateDynamicObject(9339,1482.80102539,-1356.64001465,161.69999695,0.00000000,0.00000000,0.00000000); //object(sfnvilla001_cm) (3)
	CreateDynamicObject(9339,1482.80004883,-1356.64001465,161.89999390,0.00000000,0.00000000,0.00000000); //object(sfnvilla001_cm) (4)
	CreateDynamicObject(16151,1476.79980469,-1354.39941406,159.30000305,0.00000000,0.00000000,90.00000000); //object(ufo_bar) (1)
	CreateDynamicObject(2606,1475.40002441,-1353.00000000,161.89999390,10.99957275,0.00000000,0.00000000); //object(cj_police_counter2) (1)
	CreateDynamicObject(2591,1479.50000000,-1363.59960938,157.30000305,0.00000000,0.00000000,179.49462891); //object(ab_partition1) (2)
	CreateDynamicObject(2591,1479.40002441,-1363.59997559,157.30000305,0.00000000,0.00000000,179.49462891); //object(ab_partition1) (3)
	CreateDynamicObject(1535,1474.50000000,-1351.09997559,158.89999390,0.00000000,0.00000000,270.00000000); //object(gen_doorext14) (1)
	CreateDynamicObject(1709,1473.19921875,-1363.69921875,158.30000305,0.00000000,0.00000000,0.00000000); //object(kb_couch08) (1)
	CreateDynamicObject(1710,1468.50000000,-1362.69995117,158.30000305,0.00000000,0.00000000,0.00000000); //object(kb_couch07) (1)
	CreateDynamicObject(1712,1466.00000000,-1362.69995117,158.30000305,0.00000000,0.00000000,0.00000000); //object(kb_couch05) (1)
	CreateDynamicObject(1962,1482.59997559,-1367.19995117,160.60000610,0.00000000,0.00000000,90.00000000); //object(record1) (1)
	CreateDynamicObject(1961,1482.59997559,-1366.30004883,160.60000610,0.00000000,0.00000000,90.00000000); //object(record3) (1)
	CreateDynamicObject(1960,1482.59997559,-1365.40002441,160.60000610,0.00000000,0.00000000,90.00000000); //object(record2) (1)
	CreateDynamicObject(1962,1482.59997559,-1364.50000000,160.60000610,0.00000000,0.00000000,90.00000000); //object(record1) (2)
	CreateDynamicObject(2176,1478.59960938,-1356.79980469,160.30000305,0.00000000,0.00000000,0.00000000); //object(casino_light4) (1)
	CreateDynamicObject(2256,1482.59960938,-1361.09960938,160.69999695,0.00000000,0.00000000,270.00000000); //object(frame_clip_3) (1)
	CreateDynamicObject(1713,1482.19995117,-1366.30004883,158.30000305,0.00000000,0.00000000,270.00000000); //object(kb_couch04) (1)
	CreateDynamicObject(1713,1481.19995117,-1368.90002441,158.30000305,0.00000000,0.00000000,180.00000000); //object(kb_couch04) (2)
	CreateDynamicObject(2270,1471.80004883,-1355.69995117,159.69999695,0.00000000,0.00000000,0.00000000); //object(frame_wood_6) (1)
	CreateDynamicObject(1703,1465.50000000,-1360.40002441,158.89999390,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (1)
	CreateDynamicObject(1703,1465.50000000,-1355.59997559,158.89999390,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (2)
	CreateDynamicObject(1703,1465.50000000,-1358.00000000,158.89999390,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (4)
	CreateDynamicObject(1896,1467.50000000,-1366.09997559,159.00000000,0.00000000,0.00000000,90.00000000); //object(wheel_table) (1)
	CreateDynamicObject(1711,1478.90002441,-1364.69995117,158.30000305,0.00000000,0.00000000,270.00000000); //object(kb_chair01) (2)
	CreateDynamicObject(1714,1465.69995117,-1366.09997559,158.30000305,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair1) (1)
	CreateDynamicObject(1726,1469.30004883,-1365.09997559,158.30000305,0.00000000,0.00000000,270.00000000); //object(mrk_seating2) (1)
	CreateDynamicObject(633,1478.90002441,-1362.50000000,159.30000305,0.00000000,0.00000000,350.00000000); //object(veg_palmkb10) (1)
	CreateDynamicObject(646,1482.00000000,-1368.80004883,159.69999695,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (1)
	CreateDynamicObject(1807,1477.40002441,-1354.30004883,159.10000610,0.00000000,0.00000000,0.00000000); //object(cj_mediumpots1) (1)
	CreateDynamicObject(2345,1473.30004883,-1353.09997559,162.19999695,0.00000000,0.00000000,0.00000000); //object(plant_pot_23) (1)
	CreateDynamicObject(2345,1475.30004883,-1353.09997559,162.39999390,0.00000000,0.00000000,0.00000000); //object(plant_pot_23) (2)
	CreateDynamicObject(2345,1477.50000000,-1353.19995117,162.19999695,0.00000000,0.00000000,0.00000000); //object(plant_pot_23) (3)
	CreateDynamicObject(3802,1469.59997559,-1350.19995117,161.10000610,0.00000000,0.00000000,269.00000000); //object(sfx_plant03) (1)
	CreateDynamicObject(2591,1481.30004883,-1358.30004883,159.89999390,180.00000000,0.00000000,90.00000000); //object(ab_partition1) (2)
	CreateDynamicObject(1808,1482.59997559,-1365.40002441,158.30000305,0.00000000,0.00000000,272.00000000); //object(cj_watercooler2) (1)
	CreateDynamicObject(2596,1466.80004883,-1361.30004883,161.69999695,0.00000000,0.00000000,90.00000000); //object(cj_sex_tv) (1)
	CreateDynamicObject(14806,1474.19995117,-1369.00000000,159.39999390,0.00000000,0.00000000,180.00000000); //object(bdupshifi) (1)
	CreateDynamicObject(1472,1480.30004883,-1359.59997559,158.60000610,0.00000000,0.00000000,0.00000000); //object(dyn_porch_1) (1)
	CreateDynamicObject(1472,1481.80004883,-1359.59997559,158.60000610,0.00000000,0.00000000,0.00000000); //object(dyn_porch_1) (2)
	CreateDynamicObject(1472,1483.30004883,-1359.59997559,158.60000610,0.00000000,0.00000000,0.00000000); //object(dyn_porch_1) (3)
	CreateDynamicObject(1472,1480.30004883,-1361.19995117,158.60000610,0.00000000,0.00000000,0.00000000); //object(dyn_porch_1) (4)
	CreateDynamicObject(1472,1481.80004883,-1361.19995117,158.60000610,0.00000000,0.00000000,0.00000000); //object(dyn_porch_1) (5)
	CreateDynamicObject(1472,1483.30004883,-1361.19995117,158.60000610,0.00000000,0.00000000,0.00000000); //object(dyn_porch_1) (6)
	CreateDynamicObject(1536,1480.40002441,-1358.40002441,159.00000000,0.00000000,0.00000000,0.00000000); //object(gen_doorext15) (3)

/*	// Restaurant Near All Saints Hospital
	CreateDynamicObject(994,1179.50000000,-1335.69995117,12.69999981,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier2) (1)
	CreateDynamicObject(994,1179.69995117,-1341.90002441,12.69999981,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier2) (2)
	CreateDynamicObject(5020,1172.90002441,-1308.59997559,13.69999981,0.00000000,0.00000000,0.00000000); //object(mul_las) (1)
	CreateDynamicObject(1649,1228.80004883,-1416.00000000,14.00000000,0.00000000,0.00000000,181.00000000); //object(wglasssmash) (1)
	CreateDynamicObject(1649,1228.80004883,-1416.00000000,17.29999924,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (2)
	CreateDynamicObject(9131,1226.19995117,-1416.40002441,13.39999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (1)
	CreateDynamicObject(9131,1226.19995117,-1416.40002441,15.50000000,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (2)
	CreateDynamicObject(9131,1226.19995117,-1416.40002441,17.39999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (3)
	CreateDynamicObject(1649,1211.00000000,-1416.00000000,14.00000000,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (3)
	CreateDynamicObject(1649,1211.00000000,-1416.00000000,17.29999924,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (4)
	CreateDynamicObject(9131,1213.50000000,-1416.40002441,13.50000000,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (4)
	CreateDynamicObject(9131,1213.50000000,-1416.40002441,15.69999981,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (5)
	CreateDynamicObject(9131,1213.50000000,-1416.40002441,17.89999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (6)
	CreateDynamicObject(1649,1223.69995117,-1416.09997559,17.20000076,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (5)
	CreateDynamicObject(1649,1223.69995117,-1416.09997559,14.00000000,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (6)
	CreateDynamicObject(1649,1216.00000000,-1416.00000000,14.00000000,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (7)
	CreateDynamicObject(1649,1216.00000000,-1416.00000000,17.29999924,0.00000000,0.00000000,180.99975586); //object(wglasssmash) (8)
	CreateDynamicObject(9131,1221.09997559,-1416.40002441,13.50000000,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (7)
	CreateDynamicObject(9131,1221.09997559,-1416.40002441,15.69999981,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (8)
	CreateDynamicObject(9131,1221.09997559,-1416.40002441,17.60000038,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (9)
	CreateDynamicObject(9131,1218.50000000,-1416.40002441,13.50000000,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (10)
	CreateDynamicObject(9131,1218.50000000,-1416.40002441,15.69999981,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (11)
	CreateDynamicObject(9131,1218.50000000,-1416.40002441,17.89999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (12)
	CreateDynamicObject(1523,1219.00000000,-1416.19995117,12.39999962,0.00000000,0.00000000,0.00000000); //object(gen_doorext10) (1)
	CreateDynamicObject(9131,1218.69995117,-1416.40002441,13.50000000,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (13)
	CreateDynamicObject(9131,1218.69995117,-1416.40002441,15.69999981,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (14)
	CreateDynamicObject(9131,1218.69995117,-1416.40002441,17.89999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (15)
	CreateDynamicObject(9131,1220.90002441,-1416.40002441,13.30000019,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (16)
	CreateDynamicObject(9131,1220.90002441,-1416.40002441,15.60000038,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (17)
	CreateDynamicObject(9131,1220.90002441,-1416.40002441,17.89999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall13_lvs) (19)
	CreateDynamicObject(9131,1219.80004883,-1416.59997559,15.19999981,271.24987793,0.00000000,270.00000000); //object(shbbyhswall13_lvs) (20)
	CreateDynamicObject(9131,1219.80004883,-1416.59997559,15.80000019,271.24694824,0.00000000,270.00000000); //object(shbbyhswall13_lvs) (23)
	CreateDynamicObject(9131,1219.80004883,-1416.59997559,16.50000000,271.24694824,0.00000000,270.00000000); //object(shbbyhswall13_lvs) (24)
	CreateDynamicObject(9131,1219.80004883,-1416.59997559,17.20000076,271.24694824,0.00000000,270.00000000); //object(shbbyhswall13_lvs) (25)
	CreateDynamicObject(9131,1219.80004883,-1416.59997559,17.89999962,271.24694824,0.00000000,270.00000000); //object(shbbyhswall13_lvs) (26)
	CreateDynamicObject(9131,1219.80004883,-1416.59997559,18.50000000,271.24694824,0.00000000,270.00000000); //object(shbbyhswall13_lvs) (27)
	CreateDynamicObject(8324,1206.59997559,-1424.40002441,14.80000019,0.00000000,0.00000000,271.25000000); //object(vgsbboardsigns10) (1)
	CreateDynamicObject(8324,1232.90002441,-1424.40002441,14.89999962,0.00000000,0.00000000,88.50000000); //object(vgsbboardsigns10) (2)
	CreateDynamicObject(16151,1207.50000000,-1425.30004883,12.39999962,0.00000000,0.00000000,178.00000000); //object(ufo_bar) (1)
	CreateDynamicObject(2361,1206.80004883,-1419.59997559,12.39999962,0.00000000,0.00000000,88.00000000); //object(cj_ice_fridge_1) (1)
	CreateDynamicObject(2361,1206.69995117,-1421.19995117,12.39999962,0.00000000,0.00000000,87.99499512); //object(cj_ice_fridge_1) (2)
	CreateDynamicObject(2596,1221.59997559,-1428.59997559,18.50000000,0.00000000,0.00000000,175.50000000); //object(cj_sex_tv) (1)
	CreateDynamicObject(2596,1220.69995117,-1428.59997559,18.50000000,0.00000000,0.00000000,174.99645996); //object(cj_sex_tv) (2)
	CreateDynamicObject(11665,1221.00000000,-1427.30004883,13.10000038,0.00000000,0.00000000,270.25000000); //object(kb_chair03ext) (1)
	CreateDynamicObject(2232,1223.50000000,-1428.50000000,13.00000000,0.00000000,0.00000000,179.99993896); //object(med_speaker_4) (4)
	CreateDynamicObject(2232,1218.59997559,-1428.50000000,13.00000000,0.00000000,0.00000000,179.99450684); //object(med_speaker_4) (5)
	CreateDynamicObject(2232,1231.19995117,-1418.19995117,13.00000000,0.00000000,0.00000000,317.99450684); //object(med_speaker_4) (6)
	CreateDynamicObject(2232,1231.19995117,-1418.19995117,14.19999981,0.00000000,0.00000000,317.99377441); //object(med_speaker_4) (7)
	CreateDynamicObject(2232,1228.59997559,-1428.50000000,13.10000038,0.00000000,0.00000000,179.99450684); //object(med_speaker_4) (8)
	CreateDynamicObject(2232,1213.59997559,-1428.59997559,13.00000000,0.00000000,0.00000000,179.99450684); //object(med_speaker_4) (9)
	CreateDynamicObject(2232,1218.59997559,-1417.09997559,12.80000019,0.00000000,0.00000000,0.74453735); //object(med_speaker_4) (11)
	CreateDynamicObject(2232,1221.00000000,-1417.00000000,12.89999962,0.00000000,0.00000000,0.74157715); //object(med_speaker_4) (12)
	CreateDynamicObject(2232,1226.19995117,-1417.00000000,12.89999962,0.00000000,0.00000000,0.74157715); //object(med_speaker_4) (13)
	CreateDynamicObject(2232,1209.80004883,-1417.30004883,12.89999962,0.00000000,0.00000000,0.74157715); //object(med_speaker_4) (14)
	CreateDynamicObject(1785,1221.00000000,-1428.59997559,13.89999962,0.00000000,0.00000000,0.00000000); //object(low_video_1) (1)
	CreateDynamicObject(2232,1208.59997559,-1418.30004883,13.00000000,0.00000000,0.00000000,43.74157715); //object(med_speaker_4) (15)
	CreateDynamicObject(2232,1208.59997559,-1418.30004883,14.19999981,0.00000000,0.00000000,43.73657227); //object(med_speaker_4) (16)
	CreateDynamicObject(2207,1232.00000000,-1423.30004883,12.50000000,0.00000000,0.00000000,268.25000000); //object(med_office7_desk_1) (1)
	CreateDynamicObject(14820,1232.19995117,-1424.30004883,13.39999962,0.00000000,0.00000000,270.75012207); //object(dj_stuff) (1)
	CreateDynamicObject(16780,1219.00000000,-1424.59997559,19.10000038,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (1)
	CreateDynamicObject(16780,1221.59997559,-1428.90002441,19.70000076,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (2)
	CreateDynamicObject(16780,1213.00000000,-1426.19995117,19.39999962,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (3)
	CreateDynamicObject(16780,1225.19995117,-1425.69995117,19.20000076,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (4)
	CreateDynamicObject(16780,1224.80004883,-1420.40002441,19.39999962,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (5)
	CreateDynamicObject(16780,1211.69995117,-1421.00000000,19.20000076,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (6)
	CreateDynamicObject(1753,1232.90002441,-1419.50000000,12.39999962,0.00000000,0.00000000,269.75000000); //object(swank_couch_1) (1)
	CreateDynamicObject(1823,1230.80004883,-1421.00000000,12.39999962,0.00000000,0.00000000,0.00000000); //object(coffee_med_5) (2)
	CreateDynamicObject(1754,1229.80004883,-1419.69995117,12.39999962,0.00000000,0.00000000,50.00000000); //object(swank_single_1) (1)
	CreateDynamicObject(1754,1229.69995117,-1421.59997559,12.39999962,0.00000000,0.00000000,113.99877930); //object(swank_single_1) (2)
	CreateDynamicObject(1509,1231.00000000,-1420.30004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(dyn_wine_3) (1)
	CreateDynamicObject(1520,1231.00000000,-1420.69995117,12.89999962,0.00000000,0.00000000,0.00000000); //object(dyn_wine_bounce) (1)
	CreateDynamicObject(1543,1231.40002441,-1420.30004883,12.89999962,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_2) (1)
	CreateDynamicObject(1544,1231.50000000,-1420.59997559,12.89999962,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (1)
	CreateDynamicObject(1664,1231.30004883,-1420.80004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(propwinebotl2) (1)
	CreateDynamicObject(1665,1231.69995117,-1420.40002441,13.00000000,0.00000000,0.00000000,0.00000000); //object(propashtray1) (1)
	CreateDynamicObject(1712,1226.30004883,-1425.09997559,12.39999962,0.00000000,0.00000000,0.00000000); //object(kb_couch05) (1)
	CreateDynamicObject(1712,1227.69995117,-1428.40002441,12.50000000,0.00000000,0.00000000,180.00000000); //object(kb_couch05) (2)
	CreateDynamicObject(1827,1227.09997559,-1426.80004883,12.39999962,0.00000000,0.00000000,0.00000000); //object(man_sdr_tables) (1)
	CreateDynamicObject(1709,1212.09997559,-1418.19995117,12.30000019,0.00000000,0.00000000,0.00000000); //object(kb_couch08) (1)
	CreateDynamicObject(1432,1213.90002441,-1423.40002441,12.39999962,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (1)
	CreateDynamicObject(1432,1218.19995117,-1422.80004883,12.30000019,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (2)
	CreateDynamicObject(1432,1223.69995117,-1422.09997559,12.30000019,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (3)
	CreateDynamicObject(1432,1223.69995117,-1418.09997559,12.30000019,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (4)
	CreateDynamicObject(1753,1232.59997559,-1426.30004883,12.50000000,0.00000000,0.00000000,269.74731445); //object(swank_couch_1) (2)
	CreateDynamicObject(1823,1230.69995117,-1427.90002441,12.50000000,0.00000000,0.00000000,0.00000000); //object(coffee_med_5) (3)
	CreateDynamicObject(1754,1229.69995117,-1428.19995117,12.50000000,0.00000000,0.00000000,113.99414062); //object(swank_single_1) (3)
	CreateDynamicObject(1754,1229.69995117,-1426.50000000,12.50000000,0.00000000,0.00000000,49.99877930); //object(swank_single_1) (4)
	CreateDynamicObject(1486,1231.40002441,-1427.50000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(dyn_beer_1) (1)
	CreateDynamicObject(1517,1231.00000000,-1427.40002441,13.19999981,0.00000000,0.00000000,0.00000000); //object(dyn_wine_break) (1)
	CreateDynamicObject(1664,1231.40002441,-1427.09997559,13.19999981,0.00000000,0.00000000,0.00000000); //object(propwinebotl2) (2)
	CreateDynamicObject(1667,1231.69995117,-1427.40002441,13.10000038,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (1)
	CreateDynamicObject(1667,1230.90002441,-1427.09997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (2)
	CreateDynamicObject(1667,1230.90002441,-1427.59997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (3)
	CreateDynamicObject(1667,1231.69995117,-1427.09997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (4)
	CreateDynamicObject(1667,1231.69995117,-1427.69995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(propwineglass1) (5)
	CreateDynamicObject(1455,1231.69995117,-1420.80004883,13.00000000,0.00000000,0.00000000,0.00000000); //object(dyn_glass) (1)
	CreateDynamicObject(2219,1214.09997559,-1423.80004883,13.19999981,333.77600098,23.54605103,353.64941406); //object(pizzamed) (1)
	CreateDynamicObject(2219,1218.19995117,-1423.09997559,13.00000000,333.77563477,23.54370117,353.64440918); //object(pizzamed) (2)
	CreateDynamicObject(2219,1223.59997559,-1422.40002441,13.00000000,333.77563477,23.54370117,353.64440918); //object(pizzamed) (4)
	CreateDynamicObject(2219,1223.59997559,-1418.30004883,13.00000000,333.77563477,23.54370117,353.64440918); //object(pizzamed) (3)
	CreateDynamicObject(2714,1219.80004883,-1416.09997559,15.89999962,0.00000000,0.00000000,180.00000000); //object(cj_open_sign_2) (2)
	CreateDynamicObject(2232,1233.00000000,-1422.40002441,13.00000000,0.00000000,0.00000000,265.00000000); //object(med_speaker_4) (17)
	CreateDynamicObject(2232,1233.09997559,-1418.59997559,13.00000000,0.00000000,0.00000000,264.99572754); //object(med_speaker_4) (18)
	CreateDynamicObject(2361,1206.80004883,-1422.90002441,12.39999962,0.00000000,0.00000000,87.99499512); //object(cj_ice_fridge_1) (3)
	CreateDynamicObject(2361,1206.80004883,-1423.90002441,12.39999962,0.00000000,0.00000000,87.99499512); //object(cj_ice_fridge_1) (4)
	CreateDynamicObject(2691,1216.19995117,-1428.80004883,15.60000038,0.00000000,0.00000000,178.00000000); //object(cj_banner09) (1)
	CreateDynamicObject(2691,1219.19995117,-1428.80004883,15.60000038,0.00000000,0.00000000,177.99499512); //object(cj_banner09) (2)
	CreateDynamicObject(2691,1222.30004883,-1428.80004883,15.60000038,0.00000000,0.00000000,177.99499512); //object(cj_banner09) (3)
	CreateDynamicObject(4642,1243.19995117,-1417.00000000,14.30000019,0.00000000,0.00000000,180.00000000); //object(paypark_lan) (1)
	CreateDynamicObject(8406,1247.90002441,-1415.50000000,18.00000000,0.00000000,0.00000000,0.00000000); //object(carparksign01_lvs) (1)
	CreateDynamicObject(996,1257.00000000,-1438.00000000,13.39999962,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier1) (1)
	CreateDynamicObject(8492,1220.09997559,-1414.19995117,21.89999962,0.00000000,0.00000000,150.00000000); //object(flamingo05_lvs) (1)
*/
	// Prison
	CreateDynamicObject(7191, 1759.3388671875, -1602.4755859375, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(14856, 1757.1634521484, -1588.1893310547, 1735.8120117188, 0, 0, 182);
	CreateDynamicObject(8661, 1775.4768066406, -1555.7030029297, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(8661, 1775.5107421875, -1575.599609375, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(8661, 1773.916015625, -1585.5395507813, 1743.4429931641, 271.99951171875, 179.99450683594, 179.99450683594);
	CreateDynamicObject(8661, 1769.3701171875, -1560.263671875, 1743.8931884766, 90, 179.99450683594, 179.99450683594);
	CreateDynamicObject(8661, 1755.54296875, -1565.8349609375, 1743.8681640625, 90, 164.49871826172, 285.49029541016);
	CreateDynamicObject(8661, 1780.4873046875, -1566.796875, 1743.9184570313, 271.99401855469, 179.99450683594, 270.74157714844);
	CreateDynamicObject(7191, 1763.6158447266, -1602.3254394531, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1767.837890625, -1602.2255859375, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(14856, 1779.0579833984, -1587.5596923828, 1735.8120117188, 0, 0, 1.24951171875);
	CreateDynamicObject(7191, 1772.0864257813, -1602.0699462891, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1776.3354492188, -1601.9881591797, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1780.6092529297, -1601.9577636719, 1734.9488525391, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1780.6083984375, -1601.95703125, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1776.3553466797, -1601.9653320313, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1772.1040039063, -1602.0228271484, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1767.8559570313, -1602.2055664063, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1763.6304931641, -1602.2875976563, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(7191, 1759.3823242188, -1602.4952392578, 1738.8985595703, 0, 359.24743652344, 179.99450683594);
	CreateDynamicObject(8661, 1774.9119873047, -1585.8381347656, 1737.7172851563, 0, 0, 0);
	CreateDynamicObject(8661, 1774.90625, -1586.212890625, 1737.7172851563, 0, 179.99993896484, 0);
	CreateDynamicObject(14856, 1757.1630859375, -1588.1884765625, 1739.5620117188, 0, 0, 181.99951171875);
	CreateDynamicObject(14856, 1779.0576171875, -1587.5595703125, 1739.5625, 0, 0, 1.2469482421875);
	CreateDynamicObject(14856, 1756.6878662109, -1558.7972412109, 1735.8120117188, 0, 0, 181.49700927734);
	CreateDynamicObject(7191, 1759.470703125, -1544.4438476563, 1734.9488525391, 0, 359.24743652344, 359.99450683594);
	CreateDynamicObject(7191, 1763.7202148438, -1544.3764648438, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
	CreateDynamicObject(7191, 1767.9682617188, -1544.2838134766, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
	CreateDynamicObject(14856, 1778.7756347656, -1558.3518066406, 1735.8120117188, 0, 0, 1.2469482421875);
	CreateDynamicObject(7191, 1772.2685546875, -1544.3099365234, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
	CreateDynamicObject(7191, 1776.5231933594, -1544.2121582031, 1734.9488525391, 0, 359.24194335938, 359.98901367188);
	CreateDynamicObject(7191, 1780.5192871094, -1544.1015625, 1734.9488525391, 0, 359.24194335938, 0.489013671875);
	CreateDynamicObject(8661, 1775.4921875, -1559.5787353516, 1737.6934814453, 0, 0, 0);
	CreateDynamicObject(7191, 1780.4685058594, -1544.1010742188, 1738.875, 0, 359.24194335938, 0.4888916015625);
	CreateDynamicObject(7191, 1776.2663574219, -1544.2237548828, 1738.875, 0, 359.24194335938, 0.4888916015625);
	CreateDynamicObject(7191, 1772.0139160156, -1544.3225097656, 1738.875, 0, 359.24194335938, 0.4888916015625);
	CreateDynamicObject(7191, 1767.7136230469, -1544.3187255859, 1738.875, 0, 359.24194335938, 0.4888916015625);
	CreateDynamicObject(7191, 1763.4619140625, -1544.3909912109, 1738.875, 0, 359.24194335938, 0.4888916015625);
	CreateDynamicObject(7191, 1759.2349853516, -1544.4659423828, 1738.875, 0, 359.24194335938, 0.4888916015625);
	CreateDynamicObject(14856, 1756.6875, -1558.796875, 1739.5617675781, 0, 0, 181.494140625);
	CreateDynamicObject(14856, 1778.775390625, -1558.3515625, 1739.5620117188, 0, 0, 1.2469482421875);
	CreateDynamicObject(8661, 1775.4921875, -1559.578125, 1737.6934814453, 0, 179.99450683594, 0);
	CreateDynamicObject(8661, 1758.60546875, -1576.8515625, 1741.3966064453, 0, 180.24719238281, 0);
	CreateDynamicObject(8661, 1796.8046875, -1573.798828125, 1737.6929931641, 0, 0, 0);
	CreateDynamicObject(8661, 1796.8046875, -1573.798828125, 1737.6929931641, 0, 180, 0);
	CreateDynamicObject(8614, 1759.4495849609, -1570.4389648438, 1736.4675292969, 0, 0, 0);
	CreateDynamicObject(970, 1774.7596435547, -1569.5825195313, 1738.2449951172, 0, 0, 0);
	CreateDynamicObject(970, 1770.6550292969, -1569.5819091797, 1738.2449951172, 0, 0, 0);
	CreateDynamicObject(970, 1766.5239257813, -1569.5954589844, 1738.2449951172, 0, 0, 0);
	CreateDynamicObject(970, 1764.4404296875, -1569.5966796875, 1738.2449951172, 0, 0, 0);
	CreateDynamicObject(970, 1760.3516845703, -1569.6000976563, 1738.2449951172, 0, 0, 0);
	CreateDynamicObject(970, 1776.8194580078, -1571.7288818359, 1738.26953125, 0, 0, 90.5);
	CreateDynamicObject(970, 1776.8634033203, -1573.791015625, 1738.2449951172, 0, 0, 90.499877929688);
	CreateDynamicObject(970, 1774.8477783203, -1575.8577880859, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(970, 1770.7470703125, -1575.8815917969, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(970, 1766.6242675781, -1575.9301757813, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(970, 1762.4991455078, -1575.9755859375, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(970, 1758.3935546875, -1576.0017089844, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(970, 1754.2669677734, -1576.0084228516, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(970, 1753.4927978516, -1576.0433349609, 1738.2449951172, 0, 0, 180.49987792969);
	CreateDynamicObject(8661, 1757.4633789063, -1557.0551757813, 1741.3966064453, 0, 180.24719238281, 0);
	CreateDynamicObject(8661, 1761.17578125, -1557.2333984375, 1741.4466552734, 0, 359.74182128906, 0);
	CreateDynamicObject(8661, 1760.8068847656, -1557.2219238281, 1741.3715820313, 0, 180.24169921875, 0);
	CreateDynamicObject(8661, 1758.5277099609, -1574.4494628906, 1741.5217285156, 0, 0.2471923828125, 0);
	CreateDynamicObject(8661, 1763.0654296875, -1589.0302734375, 1741.5217285156, 0, 0.2471923828125, 0);
	CreateDynamicObject(8661, 1761.8243408203, -1589.0578613281, 1741.3966064453, 0, 180.24719238281, 0);
	CreateDynamicObject(14387, 1780.9128417969, -1577.6300048828, 1740.5070800781, 0, 0, 92);
	CreateDynamicObject(14387, 1780.7963867188, -1574.7548828125, 1738.7320556641, 0, 0, 91.99951171875);
	CreateDynamicObject(14387, 1780.697265625, -1574.7872314453, 1738.7320556641, 0, 113.99996948242, 269.99963378906);
	CreateDynamicObject(14387, 1780.6909179688, -1577.2197265625, 1740.2563476563, 0, 113.99963378906, 269.99450683594);
	CreateDynamicObject(970, 1778.5164794922, -1577.0081787109, 1742.0205078125, 0, 0, 90.494384765625);
	CreateDynamicObject(8661, 1775.048828125, -1576.234375, 1744.9672851563, 0, 179.99450683594, 0);
	CreateDynamicObject(8661, 1775.404296875, -1562.490234375, 1746.9672851563, 0, 179.99450683594, 0);
	CreateDynamicObject(8614, 1754.3951416016, -1570.4387207031, 1732.7175292969, 0, 179.25, 0);
	CreateDynamicObject(2205, 1778.9362792969, -1571.5363769531, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(2205, 1778.0222167969, -1572.8785400391, 1733.9429931641, 0, 0, 89.5);
	CreateDynamicObject(2205, 1779.3442382813, -1573.8327636719, 1733.9429931641, 0, 0, 178.99462890625);
	CreateDynamicObject(2190, 1779.5219726563, -1571.4400634766, 1734.8795166016, 0, 0, 0);
	CreateDynamicObject(2190, 1777.921875, -1572.6606445313, 1734.8795166016, 0, 0, 89.25);
	CreateDynamicObject(2776, 1779.9310302734, -1572.2644042969, 1734.4404296875, 0, 0, 232);
	CreateDynamicObject(14819, 1780.7757568359, -1575.8271484375, 1735.0928955078, 358.25003051758, 0.2501220703125, 91.257659912109);
	CreateDynamicObject(14401, 1767.8037109375, -1573.5908203125, 1734.2686767578, 0, 0, 91.994018554688);
	CreateDynamicObject(3858, 1760.9343261719, -1571.0079345703, 1744.4094238281, 0, 0, 260);
	CreateDynamicObject(8661, 1778.7847900391, -1553.5157470703, 1751.2926025391, 90, 180.00549316406, 269.23352050781);
	CreateDynamicObject(8661, 1778.3208007813, -1567.1134033203, 1751.2425537109, 89.249816894531, 269.99981689453, 89.236633300781);
	CreateDynamicObject(970, 1778.4766845703, -1572.8826904297, 1742.0205078125, 0, 0, 90.994384765625);
	CreateDynamicObject(3858, 1760.93359375, -1571.0078125, 1744.4094238281, 0, 0, 79.996948242188);
	CreateDynamicObject(3089, 1764.1071777344, -1568.7672119141, 1742.8266601563, 0, 0, 34);
	CreateDynamicObject(2173, 1758.0897216797, -1572.2486572266, 1741.5235595703, 0, 0, 216);
	CreateDynamicObject(2173, 1760.3353271484, -1570.6602783203, 1741.5235595703, 0, 0, 215.99670410156);
	CreateDynamicObject(2173, 1762.6174316406, -1569.1575927734, 1741.5235595703, 0, 0, 215.24670410156);
	CreateDynamicObject(2173, 1762.4538574219, -1570.6696777344, 1741.5235595703, 0, 0, 35.494140625);
	CreateDynamicObject(2173, 1760.2321777344, -1572.2497558594, 1741.5235595703, 0, 0, 35.491333007813);
	CreateDynamicObject(2173, 1757.98828125, -1573.8432617188, 1741.5235595703, 0, 0, 35.491333007813);
	CreateDynamicObject(1671, 1763.5197753906, -1571.3277587891, 1741.9614257813, 0, 0, 218);
	CreateDynamicObject(1671, 1761.2962646484, -1572.9020996094, 1741.9614257813, 0, 0, 215.4962310791);
	CreateDynamicObject(1671, 1759.0114746094, -1574.51953125, 1741.9614257813, 0, 0, 215.49133300781);
	CreateDynamicObject(1671, 1757.0166015625, -1571.6016845703, 1741.9614257813, 0, 0, 31.491333007813);
	CreateDynamicObject(1671, 1759.2440185547, -1569.9787597656, 1741.9614257813, 0, 0, 35.48681640625);
	CreateDynamicObject(1671, 1761.5261230469, -1568.5364990234, 1741.9614257813, 0, 0, 35.48583984375);
	CreateDynamicObject(2187, 1760.5855712891, -1570.3542480469, 1741.5122070313, 0, 0, 214);
	CreateDynamicObject(2187, 1760.5849609375, -1570.353515625, 1742.2379150391, 0, 0, 213.99719238281);
	CreateDynamicObject(2187, 1760.8128662109, -1569.0754394531, 1742.2379150391, 0, 0, 36.497161865234);
	CreateDynamicObject(2187, 1760.8125, -1569.0751953125, 1741.4381103516, 0, 0, 36.49658203125);
	CreateDynamicObject(2187, 1758.2767333984, -1571.8021240234, 1742.2379150391, 0, 0, 213.99719238281);
	CreateDynamicObject(2187, 1758.2763671875, -1571.8017578125, 1741.412109375, 0, 0, 213.99719238281);
	CreateDynamicObject(2187, 1758.5090332031, -1570.4970703125, 1741.412109375, 0, 0, 34.247161865234);
	CreateDynamicObject(2187, 1758.5087890625, -1570.4970703125, 1742.2366943359, 0, 0, 34.244384765625);
	CreateDynamicObject(2187, 1762.1694335938, -1571.0229492188, 1741.5061035156, 0, 0, 34);
	CreateDynamicObject(2187, 1762.1689453125, -1571.0224609375, 1742.2318115234, 0, 0, 33.997192382813);
	CreateDynamicObject(2187, 1759.9272460938, -1572.5755615234, 1742.2318115234, 0, 0, 33.997192382813);
	CreateDynamicObject(2187, 1759.9267578125, -1572.5751953125, 1741.4060058594, 0, 0, 33.997192382813);
	CreateDynamicObject(2187, 1759.6702880859, -1573.84765625, 1742.2379150391, 0, 0, 213.99719238281);
	CreateDynamicObject(2187, 1759.669921875, -1573.84765625, 1741.4621582031, 0, 0, 213.99719238281);
	CreateDynamicObject(2187, 1761.9296875, -1572.3258056641, 1742.2379150391, 0, 0, 213.99719238281);
	CreateDynamicObject(2187, 1761.9296875, -1572.3251953125, 1741.412109375, 0, 0, 213.99719238281);
	CreateDynamicObject(8661, 1766.4588623047, -1559.2015380859, 1751.267578125, 271.26885986328, 168.62805175781, 259.37780761719);
	CreateDynamicObject(8661, 1766.9233398438, -1559.1123046875, 1751.267578125, 271.26345825195, 168.62365722656, 78.876129150391);
	CreateDynamicObject(2136, 1767.3325195313, -1569.9263916016, 1741.4822998047, 0, 0, 90);
	CreateDynamicObject(2135, 1767.3481445313, -1570.8608398438, 1741.4837646484, 0, 0, 90);
	CreateDynamicObject(2828, 1778.9792480469, -1573.7318115234, 1734.8795166016, 0, 0, 326);
	CreateDynamicObject(2139, 1767.3896484375, -1571.8475341797, 1741.4835205078, 0, 0, 90);
	CreateDynamicObject(2139, 1767.3603515625, -1567.9683837891, 1741.4835205078, 0, 0, 90);
	CreateDynamicObject(2140, 1767.4088134766, -1572.8157958984, 1741.4838867188, 0, 0, 87);
	CreateDynamicObject(2164, 1776.0461425781, -1567.0831298828, 1741.4696044922, 0, 0, 359.25);
	CreateDynamicObject(2163, 1774.255859375, -1567.1708984375, 1741.5002441406, 0, 0, 0);
	CreateDynamicObject(2208, 1767.0778808594, -1585.1064453125, 1741.5029296875, 0, 0, 91.5);
	CreateDynamicObject(2208, 1767.0032958984, -1582.4022216797, 1741.5029296875, 0, 0, 153.49963378906);
	CreateDynamicObject(2208, 1764.4655761719, -1581.1422119141, 1741.5029296875, 0, 0, 153.49548339844);
	CreateDynamicObject(2208, 1762.1202392578, -1579.9860839844, 1741.5029296875, 0, 0, 183.49548339844);
	CreateDynamicObject(2208, 1759.5886230469, -1580.1437988281, 1741.5029296875, 0, 0, 183.49365234375);
	CreateDynamicObject(2637, 1770.8051757813, -1570.4884033203, 1741.8735351563, 0, 0, 90);
	CreateDynamicObject(2637, 1770.8111572266, -1572.3884277344, 1741.8735351563, 0, 0, 90);
	CreateDynamicObject(2776, 1771.9637451172, -1572.65625, 1741.9592285156, 0, 0, 272);
	CreateDynamicObject(2776, 1771.9259033203, -1571.4854736328, 1741.9592285156, 0, 0, 271.99951171875);
	CreateDynamicObject(2776, 1771.9973144531, -1570.2535400391, 1741.9592285156, 0, 0, 271.99951171875);
	CreateDynamicObject(2776, 1770.2476806641, -1572.9060058594, 1741.9592285156, 0, 0, 91.99951171875);
	CreateDynamicObject(2776, 1769.6883544922, -1571.5091552734, 1741.9592285156, 0, 0, 91.994018554688);
	CreateDynamicObject(2776, 1769.7230224609, -1570.2498779297, 1741.9592285156, 0, 0, 91.994018554688);
	CreateDynamicObject(2776, 1770.0451660156, -1567.3060302734, 1741.9592285156, 0, 0, 1.7440185546875);
	CreateDynamicObject(2776, 1770.044921875, -1567.3056640625, 1742.109375, 0, 0, 1.7413330078125);
	CreateDynamicObject(2776, 1770.044921875, -1567.3056640625, 1742.2845458984, 0, 0, 1.7413330078125);
	CreateDynamicObject(1713, 1777.7474365234, -1571.4503173828, 1741.4388427734, 0, 0, 272);
	CreateDynamicObject(1713, 1776.7827148438, -1574.2749023438, 1741.4388427734, 0, 0, 178.99951171875);
	CreateDynamicObject(3962, 1775.3117675781, -1571.7060546875, 1741.5023193359, 0.03924560546875, 90.49853515625, 359.7497253418);
	CreateDynamicObject(8661, 1778.1085205078, -1554.0021972656, 1751.2926025391, 90, 179.99450683594, 90.991943359375);
	CreateDynamicObject(1429, 1774.6732177734, -1567.4151611328, 1742.6916503906, 0, 0, 0);
	CreateDynamicObject(2964, 1773.1020507813, -1578.4581298828, 1741.46484375, 0, 0, 180);
	CreateDynamicObject(2008, 1756.0985107422, -1583.4029541016, 1741.5482177734, 0, 0, 0);
	CreateDynamicObject(2008, 1759.1009521484, -1583.3901367188, 1741.5482177734, 0, 0, 0);
	CreateDynamicObject(2008, 1762.0266113281, -1583.3752441406, 1741.5482177734, 0, 0, 0);
	CreateDynamicObject(2190, 1760.8291015625, -1580.0938720703, 1742.3681640625, 0, 0, 342);
	CreateDynamicObject(2190, 1767.2740478516, -1584.0732421875, 1742.3681640625, 0, 0, 259.99890136719);
	CreateDynamicObject(2776, 1762.8975830078, -1584.4860839844, 1742.0198974609, 0, 0, 184);
	CreateDynamicObject(2776, 1759.9997558594, -1584.62109375, 1742.0198974609, 0, 0, 183.9990234375);
	CreateDynamicObject(2776, 1756.9647216797, -1584.6823730469, 1742.0198974609, 0, 0, 183.9990234375);
	CreateDynamicObject(2776, 1760.1267089844, -1581.2440185547, 1742.0198974609, 0, 0, 135.9990234375);
	CreateDynamicObject(2776, 1765.6030273438, -1584.4368896484, 1742.0198974609, 0, 0, 147.99426269531);
	CreateDynamicObject(2602, 1758.9934082031, -1561.9260253906, 1734.4664306641, 0, 0, 268);
	CreateDynamicObject(2602, 1763.2186279297, -1561.8996582031, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1767.5178222656, -1561.8721923828, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1771.8062744141, -1561.8575439453, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1776.0793457031, -1561.9962158203, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1780.0523681641, -1561.7204589844, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1780.1115722656, -1582.5888671875, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1775.8510742188, -1583.1767578125, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1771.5657958984, -1583.7680664063, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1767.330078125, -1584.3520507813, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1762.9997558594, -1584.0653076172, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(2602, 1758.8037109375, -1584.3908691406, 1734.4664306641, 0, 0, 267.99499511719);
	CreateDynamicObject(1800, 1756.0372314453, -1585.6010742188, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1759.9868164063, -1585.6198730469, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1764.2355957031, -1585.6398925781, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1768.4360351563, -1585.66015625, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1772.6612548828, -1585.6807861328, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1776.9354248047, -1585.7015380859, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1777.1528320313, -1565.1075439453, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1772.9020996094, -1565.1015625, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1768.6270751953, -1565.1192626953, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1764.3767089844, -1565.11328125, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1760.1014404297, -1565.1063232422, 1733.9429931641, 0, 0, 0);
	CreateDynamicObject(1800, 1756.1010742188, -1565.0988769531, 1733.9429931641, 0, 0, 0);

	// Ghetto Motel
	CreateDynamicObject(967, 2189.36, -1768.21, 12.36,   0.00, 0.00, 89.66);
	CreateDynamicObject(966, 2187.64, -1767.61, 12.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(968, 2187.71, -1767.60, 13.10,   0.00, -16.31, 0.00);
	CreateDynamicObject(984, 2174.18, -1767.60, 12.89,   0.00, 0.00, 90.00);
	CreateDynamicObject(3578, 2184.95, -1762.32, 11.60,   0.00, -0.04, 0.17);
	CreateDynamicObject(3578, 2185.15, -1763.73, 11.60,   0.00, -0.04, 0.17);
	CreateDynamicObject(3578, 2185.17, -1765.17, 11.60,   0.00, -0.04, 0.17);
	CreateDynamicObject(3578, 2185.17, -1766.64, 11.60,   0.00, -0.04, 0.17);
	CreateDynamicObject(19121, 2190.35, -1767.37, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1767.37, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1774.69, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1780.91, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1787.13, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1792.99, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1799.21, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1806.16, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2194.74, -1812.38, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2187.91, -1815.36, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2177.02, -1817.28, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2182.82, -1819.70, 14.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2173.88, -1820.39, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2167.46, -1819.89, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2160.50, -1819.93, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2153.78, -1819.91, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2146.41, -1819.82, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2146.38, -1813.14, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2146.41, -1805.02, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2140.93, -1804.32, 15.61,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2146.54, -1795.42, 14.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2148.82, -1801.25, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2150.99, -1795.48, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2150.89, -1786.30, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2160.86, -1786.27, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2168.72, -1786.25, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2177.58, -1786.23, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2177.77, -1778.20, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2177.79, -1768.14, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2177.48, -1764.09, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2175.38, -1762.27, 12.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2171.92, -1815.34, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2164.69, -1815.38, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2157.79, -1815.36, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2151.53, -1815.43, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2150.90, -1808.85, 12.90,   0.00, 0.00, 0.00);
	CreateDynamicObject(19121, 2150.99, -1802.38, 12.90,   0.00, 0.00, 0.00);

	// Church Interior
	CreateDynamicObject(5710, 845.10, -1145.40, 1752.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(5710, 870.10, -1165.50, 1752.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(5710, 870.10, -1125.30, 1752.30,   0.00, 0.00, 90.00);
	CreateDynamicObject(5710, 888.60, -1145.50, 1752.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(10378, 884.30, -1144.80, 1747.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(3935, 875.20, -1139.30, 1748.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3935, 849.60, -1153.90, 1750.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 849.70, -1152.80, 1749.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 853.80, -1152.80, 1749.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 853.80, -1138.10, 1749.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 849.70, -1138.10, 1749.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(8855, 877.10, -1144.80, 1747.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(8855, 860.90, -1136.70, 1747.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(8855, 881.80, -1136.70, 1747.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(8855, 860.90, -1154.10, 1747.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(8855, 881.80, -1154.10, 1747.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(18070, 875.20, -1145.50, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3935, 849.60, -1136.90, 1750.30,   0.00, 0.00, 179.99);
	CreateDynamicObject(3935, 875.20, -1151.30, 1748.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(2180, 873.50, -1147.40, 1747.00,   0.00, 0.00, 270.00);
	CreateDynamicObject(2180, 873.50, -1145.50, 1747.00,   0.00, 0.00, 270.00);
	CreateDynamicObject(1491, 873.40, -1143.60, 1745.30,   0.00, 0.00, 270.00);
	CreateDynamicObject(679, 874.60, -1154.10, 1747.20,   0.00, 0.00, 104.00);
	CreateDynamicObject(679, 872.40, -1154.20, 1747.20,   0.00, 0.00, 82.00);
	CreateDynamicObject(679, 868.50, -1154.10, 1747.20,   0.00, 0.00, 92.00);
	CreateDynamicObject(679, 864.50, -1154.00, 1747.20,   0.00, 0.00, 91.99);
	CreateDynamicObject(679, 865.70, -1153.80, 1747.20,   0.00, 0.00, 91.99);
	CreateDynamicObject(679, 861.90, -1154.00, 1747.20,   0.00, 0.00, 91.99);
	CreateDynamicObject(679, 858.30, -1154.00, 1747.20,   0.00, 0.00, 91.99);
	CreateDynamicObject(679, 856.30, -1154.30, 1747.20,   0.00, 0.00, 91.99);
	CreateDynamicObject(679, 876.90, -1152.70, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 877.40, -1151.20, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 877.00, -1150.20, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 877.30, -1140.00, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 877.00, -1141.10, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 877.00, -1139.10, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 875.70, -1136.70, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 873.80, -1136.60, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 872.90, -1137.00, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 870.70, -1137.00, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 868.80, -1136.60, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 865.40, -1136.70, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 863.50, -1136.60, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 858.20, -1136.50, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 860.30, -1136.90, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(679, 852.90, -1136.70, 1747.20,   0.00, 0.00, 167.99);
	CreateDynamicObject(870, 858.30, -1155.20, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 860.30, -1155.20, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 862.90, -1155.10, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 866.80, -1155.00, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 869.40, -1155.10, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 873.30, -1155.10, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 875.10, -1155.10, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 877.90, -1151.70, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 877.80, -1149.60, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 878.10, -1140.40, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 878.10, -1138.80, 1747.40,   0.00, 0.00, 58.00);
	CreateDynamicObject(870, 874.70, -1135.80, 1747.40,   0.00, 0.00, 92.00);
	CreateDynamicObject(870, 873.20, -1136.20, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 869.20, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 866.70, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 864.20, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 861.20, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 858.40, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 855.90, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 853.90, -1135.90, 1747.40,   0.00, 0.00, 91.99);
	CreateDynamicObject(870, 856.80, -1155.00, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 853.80, -1154.80, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 851.70, -1154.70, 1747.40,   0.00, 0.00, 0.00);
	CreateDynamicObject(2251, 873.60, -1148.40, 1748.84,   0.00, 0.00, 0.00);
	CreateDynamicObject(2253, 875.70, -1142.90, 1748.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(2253, 875.70, -1148.10, 1748.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(3802, 877.20, -1142.90, 1752.10,   0.00, 0.00, 180.00);
	CreateDynamicObject(3802, 877.30, -1148.10, 1752.10,   0.00, 0.00, 179.99);
	CreateDynamicObject(3811, 877.70, -1145.50, 1748.30,   0.00, 0.00, 180.00);
	CreateDynamicObject(3811, 877.70, -1143.60, 1748.30,   0.00, 0.00, 179.99);
	CreateDynamicObject(3811, 877.70, -1147.70, 1748.30,   0.00, 0.00, 179.99);
	CreateDynamicObject(14834, 848.00, -1139.30, 1749.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(14834, 848.10, -1151.50, 1749.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(3920, 869.00, -1154.80, 1753.00,   0.00, 0.00, 0.00);
	CreateDynamicObject(3657, 868.50, -1141.80, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 868.50, -1139.70, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 866.50, -1139.70, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 864.50, -1139.70, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 862.50, -1139.70, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 860.50, -1139.70, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 858.50, -1139.70, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 866.50, -1141.80, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 864.50, -1141.80, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 862.50, -1141.80, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 860.50, -1141.80, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 858.50, -1141.80, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 858.50, -1149.10, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 858.50, -1151.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 860.50, -1151.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 862.50, -1151.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 864.50, -1151.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 866.40, -1151.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 868.40, -1151.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 868.40, -1149.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 866.40, -1149.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 864.50, -1149.20, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 862.50, -1149.10, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(3657, 860.50, -1149.10, 1747.50,   0.00, 0.00, 90.00);
	CreateDynamicObject(2894, 873.50, -1145.80, 1747.80,   0.00, 0.00, 90.00);
	CreateDynamicObject(4199, 840.20, -1144.30, 1746.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(4199, 841.50, -1144.30, 1746.63,   0.00, 0.00, 0.00);
	CreateDynamicObject(4199, 832.30, -1145.10, 1751.00,   0.00, 90.00, 0.00);
	CreateDynamicObject(4199, 863.90, -1135.40, 1758.90,   0.00, 110.00, 270.00);
	CreateDynamicObject(4199, 832.60, -1154.60, 1751.00,   0.00, 90.00, 90.00);
	CreateDynamicObject(971, 846.10, -1138.00, 1751.00,   0.00, 0.00, 270.00);
	CreateDynamicObject(971, 846.10, -1138.50, 1751.00,   0.00, 0.00, 270.00);
	CreateDynamicObject(971, 846.10, -1152.40, 1751.00,   0.00, 0.00, 270.00);
	CreateDynamicObject(4199, 834.50, -1131.50, 1751.00,   0.00, 90.00, 270.00);
	CreateDynamicObject(4199, 864.00, -1155.20, 1758.90,   0.00, 110.00, 90.00);
	CreateDynamicObject(3920, 878.10, -1146.10, 1754.10,   0.00, 0.00, 90.00);
	CreateDynamicObject(3920, 867.90, -1136.10, 1753.60,   0.00, 0.00, 179.99);
	CreateDynamicObject(4199, 863.90, -1139.90, 1765.00,   0.00, 180.00, 90.00);
	CreateDynamicObject(4199, 863.80, -1151.40, 1765.00,   0.00, 179.99, 90.00);
	CreateDynamicObject(4199, 882.00, -1142.30, 1763.00,   0.00, 270.00, 0.00);
	CreateDynamicObject(4199, 846.10, -1142.80, 1763.00,   0.00, 270.00, 180.00);
	CreateDynamicObject(3657, 837.40, -1134.30, 1749.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(3657, 842.90, -1134.30, 1749.30,   0.00, 0.00, 0.00);
	CreateDynamicObject(18014, 845.70, -1150.00, 1749.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(18014, 843.60, -1152.10, 1749.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(18014, 839.00, -1152.10, 1749.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(18014, 834.40, -1152.10, 1749.20,   0.00, 0.00, 90.00);
	CreateDynamicObject(18014, 834.80, -1150.10, 1749.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(1720, 844.10, -1150.00, 1748.70,   0.00, 0.00, 214.00);
	CreateDynamicObject(1720, 836.20, -1150.20, 1748.70,   0.00, 0.00, 142.00);
	CreateDynamicObject(14629, 879.90, -1145.60, 1761.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(14629, 859.10, -1145.70, 1761.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(2631, 857.10, -1145.57, 1746.94,   0.00, 0.00, 0.00);
	CreateDynamicObject(2631, 861.00, -1145.58, 1746.94,   0.00, 0.00, 0.00);
	CreateDynamicObject(2631, 864.91, -1145.58, 1746.94,   0.00, 0.00, 0.00);
	CreateDynamicObject(18641, 834.39, -1144.46, 1750.33,   0.00, -90.00, 0.00);

	// Ganton Gym Location
	CreateDynamicObject(19425, 2265.60, -1735.72, 12.37,   0.00, 0.00, 90.00);
	CreateDynamicObject(19425, 2265.60, -1732.42, 12.37,   0.00, 0.00, 90.00);
	CreateDynamicObject(19425, 2265.60, -1729.12, 12.37,   0.00, 0.00, 90.00);
	CreateDynamicObject(19425, 2265.60, -1725.82, 12.37,   0.00, 0.00, 90.00);
	CreateDynamicObject(19425, 2219.44, -1780.01, 12.28,   0.00, 0.00, 0.00);
	CreateDynamicObject(19425, 2216.14, -1780.01, 12.28,   0.00, 0.00, 0.00);
	CreateDynamicObject(19425, 2212.84, -1780.01, 12.28,   0.00, 0.00, 0.00);
	CreateDynamicObject(1360, 2222.74, -1739.96, 13.04,   0.00, 0.00, -34.00);
	CreateDynamicObject(1360, 2222.73, -1744.62, 13.04,   0.00, 0.00, 34.00);
	CreateDynamicObject(19126, 2221.49, -1742.33, 13.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2224.47, -1737.97, 13.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2224.50, -1746.63, 13.09,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2210.67, -1742.05, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2209.63, -1740.36, 12.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2206.84, -1738.81, 12.75,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2206.78, -1725.96, 12.77,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2209.80, -1724.41, 12.77,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2210.93, -1722.58, 12.77,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2221.53, -1722.44, 13.01,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2222.48, -1725.07, 13.01,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2225.12, -1726.92, 13.01,   0.00, 0.00, 0.00);
	CreateDynamicObject(19126, 2227.72, -1727.16, 13.01,   0.00, 0.00, 0.00);
	CreateDynamicObject(19124, 2265.47, -1737.54, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(19124, 2265.52, -1727.09, 12.89,   0.00, 0.00, 0.00);
	CreateDynamicObject(19124, 2210.75, -1780.35, 12.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(19124, 2221.29, -1780.04, 12.68,   0.00, 0.00, 0.00);
	CreateDynamicObject(19125, 2194.84, -1725.97, 12.93,   0.00, 0.00, 0.00);
	CreateDynamicObject(19125, 2194.90, -1738.30, 12.93,   0.00, 0.00, 0.00);

	// Los Santos AlL Saints Interior / Los Santos Emergency Service
	CreateDynamicObject(19353, 1349.30, -1505.41, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1349.30, -1502.22, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1349.30, -1499.02, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19379, 1354.41, -1502.21, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(1569, 1349.34, -1505.10, 586.38,   0.00, 0.00, 90.00);
	CreateDynamicObject(1569, 1349.34, -1502.10, 586.38,   0.00, 0.00, -90.00);
	CreateDynamicObject(1569, 1349.34, -1502.00, 586.38,   0.00, 0.00, 90.00);
	CreateDynamicObject(1569, 1349.34, -1499.01, 586.38,   0.00, 0.00, -90.00);
	CreateDynamicObject(19353, 1350.99, -1497.51, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1354.20, -1497.51, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1357.38, -1497.51, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19379, 1364.90, -1502.19, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(2184, 1355.30, -1498.03, 586.36,   0.00, 0.00, -67.00);
	CreateDynamicObject(2184, 1356.73, -1500.59, 586.36,   0.00, 0.00, -25.00);
	CreateDynamicObject(19353, 1360.59, -1497.51, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1363.79, -1497.51, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(2184, 1359.50, -1501.58, 586.36,   0.00, 0.00, 18.00);
	CreateDynamicObject(19353, 1351.00, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1354.20, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1357.41, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1360.61, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(1721, 1361.07, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(1721, 1360.31, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(1721, 1359.55, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(1721, 1358.75, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(1721, 1357.91, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(1721, 1357.09, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(1721, 1356.27, -1506.71, 586.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19383, 1363.81, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1367.01, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19379, 1354.41, -1492.59, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1359.56, -1495.79, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1359.57, -1489.40, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1349.29, -1495.81, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1349.31, -1489.40, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1502, 1353.42, -1497.53, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(19377, 1354.46, -1502.17, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19377, 1364.97, -1502.20, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(1671, 1359.58, -1499.62, 586.85,   0.00, 0.00, 0.00);
	CreateDynamicObject(1671, 1357.41, -1498.80, 586.85,   0.00, 0.00, -50.00);
	CreateDynamicObject(19383, 1349.29, -1492.60, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1502, 1349.32, -1493.35, 586.38,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1359.56, -1492.60, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19383, 1351.00, -1487.88, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1354.22, -1487.88, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1357.41, -1487.88, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1360.62, -1487.88, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(1502, 1350.21, -1487.89, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(1502, 1356.63, -1487.89, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(19377, 1354.42, -1492.57, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1368.70, -1505.30, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1368.70, -1502.10, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1368.70, -1498.90, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1367.00, -1497.51, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1363.82, -1487.88, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1367.02, -1487.88, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1368.70, -1495.77, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1368.68, -1492.56, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1368.70, -1489.36, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19379, 1364.89, -1492.59, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(2007, 1360.12, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1361.12, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1362.11, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1365.14, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1366.12, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1367.11, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1368.11, -1494.73, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1365.16, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1366.15, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1367.13, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1368.11, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1362.12, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1361.14, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1360.14, -1493.72, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(1502, 1363.00, -1497.54, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1360.14, -1496.90, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1361.13, -1496.90, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1362.13, -1496.90, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1368.14, -1496.90, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1367.14, -1496.90, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1366.15, -1496.90, 586.39,   0.00, 0.00, 180.00);
	CreateDynamicObject(2007, 1368.12, -1492.16, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(2007, 1368.12, -1491.16, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(2007, 1368.12, -1490.16, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(2007, 1368.12, -1489.16, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(2007, 1366.74, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1365.74, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1364.74, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1363.73, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1362.75, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1361.76, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2007, 1360.16, -1489.57, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(2007, 1360.16, -1490.57, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(2007, 1360.16, -1491.57, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(19377, 1364.91, -1492.56, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19379, 1354.43, -1511.82, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(1502, 1354.94, -1506.91, 586.38,   0.00, 0.00, 180.00);
	CreateDynamicObject(19355, 1359.56, -1508.62, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19385, 1354.19, -1506.94, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1360.61, -1506.94, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1350.98, -1506.94, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1349.40, -1508.59, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1349.40, -1511.79, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1350.05, 1349.40, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1349.39, -1514.99, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1351.09, -1516.55, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1354.29, -1516.55, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1357.51, -1516.55, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1359.56, -1511.82, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1359.56, -1515.02, 588.15,   0.00, 0.00, 0.00);
	CreateDynamicObject(19355, 1360.72, -1516.55, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19355, 1357.40, -1506.94, 588.15,   0.00, 0.00, 90.00);
	CreateDynamicObject(19377, 1354.47, -1511.82, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19379, 1343.92, -1492.60, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1347.59, -1497.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1344.40, -1497.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1341.20, -1497.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1339.62, -1495.62, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1339.62, -1492.41, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1339.62, -1489.21, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1347.62, -1487.89, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1344.41, -1487.89, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1341.21, -1487.89, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(2313, 1343.34, -1488.46, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2169, 1341.98, -1495.75, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(2169, 1341.98, -1493.79, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(1714, 1340.51, -1496.56, 586.37,   0.00, 0.00, 108.00);
	CreateDynamicObject(1717, 1343.31, -1488.82, 586.36,   0.00, 0.00, -43.00);
	CreateDynamicObject(1811, 1343.60, -1494.27, 586.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(1811, 1343.47, -1496.34, 586.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(1811, 1344.47, -1495.29, 586.99,   0.00, 0.00, 0.00);
	CreateDynamicObject(1723, 1345.01, -1490.47, 586.34,   0.00, 0.00, 180.00);
	CreateDynamicObject(1808, 1339.90, -1492.10, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1661, 1345.65, -1491.69, 589.50,   0.00, 0.00, 0.00);
	CreateDynamicObject(1235, 1348.79, -1496.80, 586.83,   0.00, 0.00, 0.00);
	CreateDynamicObject(955, 1368.13, -1501.86, 586.63,   0.00, 0.00, -90.00);
	CreateDynamicObject(956, 1368.12, -1503.45, 586.68,   0.00, 0.00, -90.00);
	CreateDynamicObject(1723, 1365.06, -1498.10, 586.37,   0.00, 0.00, 0.00);
	CreateDynamicObject(1704, 1368.13, -1499.63, 586.35,   0.00, 0.00, -90.00);
	CreateDynamicObject(1827, 1366.03, -1499.92, 586.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19377, 1343.93, -1492.57, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(2190, 1359.42, -1501.24, 587.15,   0.00, 0.00, 180.00);
	CreateDynamicObject(2190, 1356.19, -1499.69, 587.15,   0.00, 0.00, 130.00);
	CreateDynamicObject(1502, 1364.56, -1506.91, 586.38,   0.00, 0.00, 180.00);
	CreateDynamicObject(19379, 1364.93, -1511.84, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1362.78, -1508.39, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1362.78, -1511.59, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1364.46, -1513.11, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1367.66, -1513.11, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1369.36, -1514.63, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1369.36, -1517.84, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19379, 1367.49, -1521.45, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1369.05, -1519.39, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1365.84, -1519.39, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1364.13, -1517.86, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1364.13, -1514.66, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1502, 1368.40, -1513.11, 586.38,   0.00, 0.00, 180.00);
	CreateDynamicObject(1801, 1365.77, -1517.94, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(1749, 1364.21, -1518.97, 588.36,   20.00, 0.00, 120.00);
	CreateDynamicObject(2813, 1364.78, -1517.37, 586.83,   0.00, 0.00, 90.00);
	CreateDynamicObject(2708, 1364.59, -1517.50, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1371.02, -1513.10, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1374.21, -1513.11, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19379, 1375.42, -1511.82, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1372.26, -1519.39, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19379, 1377.98, -1521.45, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1373.75, -1517.89, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1373.75, -1514.68, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1801, 1370.17, -1517.94, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(1749, 1369.44, -1519.03, 588.36,   20.00, 0.00, 120.00);
	CreateDynamicObject(2708, 1369.70, -1516.61, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(2103, 1369.69, -1516.41, 587.32,   0.00, 0.00, 90.00);
	CreateDynamicObject(2813, 1369.77, -1515.44, 586.83,   0.00, 0.00, -90.00);
	CreateDynamicObject(19383, 1377.41, -1513.11, 588.14,   0.00, 0.00, 90.02);
	CreateDynamicObject(14782, 1349.83, -1510.65, 587.40,   0.00, 0.00, 90.00);
	CreateDynamicObject(14782, 1354.11, -1516.10, 587.40,   0.00, 0.00, 180.00);
	CreateDynamicObject(14782, 1359.12, -1510.43, 587.40,   0.00, 0.00, -90.00);
	CreateDynamicObject(14401, 1343.56, -1518.89, 586.65,   0.00, 0.00, -90.00);
	CreateDynamicObject(14401, 1336.95, -1518.97, 586.65,   0.00, 0.00, -90.00);
	CreateDynamicObject(14401, 1362.99, -1528.89, 586.65,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1378.92, -1514.68, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1378.92, -1517.89, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1378.50, -1519.39, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1375.30, -1519.39, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(1801, 1375.32, -1517.94, 586.39,   0.00, 0.00, -90.00);
	CreateDynamicObject(19353, 1370.20, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1373.40, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1376.60, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19379, 1347.06, -1482.99, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1352.35, -1486.21, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1352.35, -1483.00, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1352.35, -1479.80, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1350.69, -1478.28, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1344.28, -1478.28, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1342.78, -1479.80, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1342.78, -1486.21, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1342.78, -1483.00, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1742, 1345.46, -1478.24, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(1999, 1348.11, -1481.04, 586.35,   0.00, 0.00, 180.00);
	CreateDynamicObject(1742, 1344.02, -1478.24, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1347.48, -1478.28, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(2007, 1349.58, -1478.81, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(2297, 1347.32, -1487.58, 586.37,   0.00, 0.00, 135.00);
	CreateDynamicObject(2292, 1345.99, -1485.14, 586.34,   0.00, 0.00, 0.00);
	CreateDynamicObject(2292, 1346.93, -1485.12, 586.34,   0.00, 0.00, -90.00);
	CreateDynamicObject(1806, 1347.51, -1479.77, 586.37,   0.00, 0.00, 160.00);
	CreateDynamicObject(1720, 1348.47, -1482.38, 586.38,   0.00, 0.00, 210.00);
	CreateDynamicObject(1720, 1347.62, -1482.54, 586.38,   0.00, 0.00, 180.00);
	CreateDynamicObject(19377, 1347.60, -1482.95, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(1502, 1371.78, -1513.11, 586.38,   0.00, 0.00, 180.00);
	CreateDynamicObject(1502, 1378.16, -1513.11, 586.38,   0.00, 0.00, 180.00);
	CreateDynamicObject(1997, 1382.26, -1502.57, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1379.80, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19379, 1385.91, -1511.83, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1382.99, 588.14, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19383, 1383.01, -1506.93, 588.14,   0.00, 0.00, 90.02);
	CreateDynamicObject(19353, 1386.22, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19375, 1382.48, -1502.20, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1386.00, -1505.26, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1386.00, -1502.04, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1386.00, -1498.85, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1386.22, -1497.48, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1383.01, -1497.48, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1379.80, -1497.48, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1378.20, -1498.85, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1378.20, -1505.26, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1378.20, -1502.04, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(3393, 1384.19, -1498.37, 586.46,   0.00, 0.00, 90.00);
	CreateDynamicObject(3394, 1380.09, -1498.36, 586.46,   0.00, 0.00, 90.00);
	CreateDynamicObject(3392, 1378.88, -1503.19, 586.46,   0.00, 0.00, 180.00);
	CreateDynamicObject(1502, 1382.22, -1506.95, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1380.61, -1513.11, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1383.81, -1513.11, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1383.81, -1513.11, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1385.25, -1508.55, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19383, 1385.25, -1511.74, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1387.01, -1513.12, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1390.22, -1513.12, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1389.42, -1506.93, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1391.10, -1511.48, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1391.11, -1508.27, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(1502, 1385.22, -1510.95, 586.38,   0.00, 0.00, -90.00);
	CreateDynamicObject(1810, 1386.92, -1507.46, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1386.92, -1507.96, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1386.92, -1508.46, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1386.92, -1508.96, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1386.92, -1509.46, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1386.92, -1509.96, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1507.46, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1507.96, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1508.46, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1508.96, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1509.46, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1509.96, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1387.96, -1510.48, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1810, 1386.92, -1510.50, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(3077, 1390.46, -1509.20, 586.38,   0.00, 0.00, -90.00);
	CreateDynamicObject(19377, 1367.92, -1511.85, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19377, 1367.95, -1521.47, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19377, 1378.44, -1511.50, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19377, 1378.44, -1521.12, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19377, 1382.73, -1501.87, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19377, 1388.93, -1511.50, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(19379, 1357.65, -1482.94, 586.30,   0.00, 90.00, 0.00);
	CreateDynamicObject(19353, 1362.85, -1486.21, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1362.85, -1482.99, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1362.85, -1479.80, 588.14,   0.00, 0.00, 0.00);
	CreateDynamicObject(19353, 1354.00, -1478.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1357.20, -1478.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1360.41, -1478.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(19353, 1363.61, -1478.30, 588.14,   0.00, 0.00, 90.00);
	CreateDynamicObject(2008, 1358.19, -1481.81, 586.33,   0.00, 0.00, 180.00);
	CreateDynamicObject(1714, 1357.45, -1480.59, 586.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(955, 1355.35, -1487.36, 586.75,   0.00, 0.00, 180.00);
	CreateDynamicObject(2163, 1357.31, -1478.37, 586.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(2164, 1355.54, -1478.39, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(2167, 1359.09, -1478.39, 586.38,   0.00, 0.00, 0.00);
	CreateDynamicObject(1749, 1373.82, -1519.03, 588.36,   20.00, 0.00, 120.00);
	CreateDynamicObject(2708, 1374.14, -1516.61, 586.39,   0.00, 0.00, 90.00);
	CreateDynamicObject(1720, 1378.42, -1516.52, 586.38,   0.00, 0.00, -20.00);
	CreateDynamicObject(3119, 1365.47, -1515.61, 586.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(1704, 1362.27, -1484.98, 586.35,   0.00, 0.00, -90.00);
	CreateDynamicObject(1704, 1361.18, -1486.62, 586.35,   0.00, 0.00, 180.00);
	CreateDynamicObject(19377, 1358.09, -1482.93, 589.94,   0.00, 90.00, 0.00);
	CreateDynamicObject(1717, 1359.83, -1485.13, 586.36,   0.00, 0.00, 0.00);

	// Commerce Park
/*	CreateDynamicObject(18981, 1454.81, -1607.68, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(19378, 1438.04, -1601.92, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.89, -1724.30, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1447.40, -1724.24, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1456.83, -1724.21, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1466.08, -1724.15, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1475.49, -1724.19, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1485.06, -1724.24, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1494.49, -1724.34, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1503.99, -1724.17, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1513.62, -1724.09, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(18981, 1454.70, -1706.66, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1479.77, -1657.33, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(19378, 1521.45, -1600.46, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1523.17, -1724.21, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1520.19, -1713.71, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.53, -1703.29, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.51, -1693.22, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.58, -1682.89, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(18981, 1504.47, -1706.65, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1479.56, -1706.69, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1479.76, -1681.70, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1455.00, -1681.88, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1454.77, -1656.97, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1454.85, -1632.62, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1479.71, -1632.54, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1504.52, -1682.08, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1504.34, -1657.35, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(19378, 1437.84, -1713.89, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.73, -1703.64, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.89, -1693.30, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.80, -1683.17, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(18981, 1504.46, -1632.54, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1504.31, -1608.29, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(18981, 1479.64, -1607.63, 11.80,   0.00, 90.00, 0.00);
	CreateDynamicObject(19378, 1437.98, -1672.86, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1438.02, -1662.77, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1438.26, -1652.64, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.78, -1642.19, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.96, -1632.51, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.88, -1622.41, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1437.85, -1612.23, 12.18,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.63, -1672.64, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.66, -1662.15, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.66, -1651.79, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.67, -1641.41, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.42, -1631.16, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.37, -1620.98, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19378, 1521.37, -1610.92, 12.25,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1446.99, -1703.49, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.03, -1713.67, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1456.30, -1718.96, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1442.20, -1695.51, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1447.24, -1719.00, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1460.23, -1718.94, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1456.89, -1718.90, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1452.70, -1718.85, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1448.99, -1718.98, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1445.76, -1718.92, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1442.87, -1719.02, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1442.35, -1672.71, 11.78,   0.00, 0.00, -0.18);
	CreateDynamicObject(700, 1494.16, -1600.81, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1458.60, -1716.16, 12.26,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1444.65, -1714.98, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1445.00, -1693.60, 12.06,   0.00, 0.00, -0.06);
	CreateDynamicObject(19381, 1465.73, -1686.72, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19428, 1516.92, -1695.32, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.97, -1676.62, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.92, -1700.09, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.89, -1704.68, 11.36,   0.00, 0.00, 0.06);
	CreateDynamicObject(19381, 1511.99, -1703.24, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19428, 1516.92, -1704.02, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19381, 1466.45, -1602.79, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.54, -1703.32, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.00, -1713.74, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.55, -1695.52, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.00, -1695.56, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(700, 1514.40, -1693.32, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1517.03, -1677.05, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.80, -1709.02, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.67, -1687.59, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.61, -1693.67, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.71, -1704.99, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.65, -1699.37, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.72, -1602.34, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.64, -1705.61, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.64, -1711.90, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.64, -1718.50, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1499.43, -1692.79, 12.06,   0.00, 0.00, -0.06);
	CreateDynamicObject(700, 1513.83, -1716.45, 12.26,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1500.12, -1716.37, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.92, -1708.48, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.95, -1712.48, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.89, -1714.25, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.89, -1718.36, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.08, -1719.12, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1512.17, -1719.09, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1512.80, -1719.10, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1509.13, -1719.12, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1503.58, -1719.15, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1511.96, -1652.81, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1443.02, -1671.90, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1496.83, -1719.23, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19381, 1456.43, -1677.22, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.52, -1703.35, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1442.24, -1714.24, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.23, -1704.92, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1470.88, -1681.86, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1461.37, -1718.21, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(19447, 1502.65, -1719.10, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1493.40, -1719.17, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1488.69, -1695.58, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.88, -1695.17, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.72, -1714.35, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1470.72, -1714.15, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1470.72, -1704.64, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1470.72, -1695.38, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1465.98, -1718.96, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1470.71, -1686.22, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1447.48, -1653.09, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1488.71, -1686.15, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1465.92, -1681.43, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1447.03, -1671.84, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1466.61, -1643.56, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1498.05, -1648.10, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1511.94, -1671.86, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19381, 1456.63, -1713.75, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1465.82, -1713.62, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1465.91, -1703.33, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1465.90, -1692.89, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.35, -1692.86, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.52, -1685.78, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1446.99, -1692.95, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.16, -1682.63, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.27, -1677.08, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.38, -1713.76, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.68, -1713.80, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.57, -1703.89, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.71, -1693.42, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.72, -1686.72, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1503.07, -1677.09, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.91, -1685.49, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.02, -1685.32, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1461.27, -1676.67, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1471.31, -1602.05, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1498.09, -1676.77, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1502.95, -1671.89, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1469.90, -1718.98, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1516.22, -1671.84, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19428, 1471.47, -1642.89, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.82, -1682.11, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.91, -1687.32, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.70, -1692.89, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.75, -1718.20, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.82, -1702.11, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1489.35, -1719.24, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1456.44, -1671.84, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1442.19, -1685.96, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1470.10, -1681.38, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1516.99, -1685.41, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.92, -1690.98, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.91, -1686.39, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1517.09, -1681.94, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1516.97, -1672.55, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1489.29, -1681.14, 11.78,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1488.48, -1681.65, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.45, -1693.88, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.39, -1705.40, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.59, -1718.37, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.01, -1717.88, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.11, -1708.85, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1470.77, -1702.02, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.24, -1692.99, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1487.99, -1597.56, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(19447, 1502.83, -1652.81, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1493.48, -1681.45, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1447.57, -1597.55, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1461.87, -1648.33, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.50, -1602.28, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1471.36, -1629.21, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1471.35, -1619.93, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1471.33, -1610.40, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1471.37, -1638.79, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.67, -1602.37, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.47, -1628.76, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.55, -1619.61, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.56, -1610.21, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1456.95, -1653.10, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1442.23, -1676.71, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.78, -1648.11, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.80, -1638.57, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.80, -1630.10, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.76, -1620.84, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1442.77, -1611.36, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1488.52, -1638.37, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.73, -1648.08, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.76, -1638.61, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.75, -1628.99, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.73, -1619.39, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1516.68, -1610.36, 11.36,   0.00, 0.00, 0.00);
	CreateDynamicObject(19447, 1493.33, -1643.27, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1493.12, -1597.48, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1502.62, -1597.47, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19381, 1512.22, -1677.27, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1511.73, -1647.54, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.96, -1647.45, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.61, -1647.87, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1466.30, -1633.12, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1466.50, -1622.90, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.75, -1633.10, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.43, -1633.08, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.63, -1623.00, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.97, -1622.79, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1466.54, -1612.80, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1457.02, -1612.41, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.61, -1612.73, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.51, -1602.96, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.87, -1602.86, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.50, -1617.34, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.44, -1602.43, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.72, -1602.71, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.43, -1607.08, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.10, -1607.24, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1511.95, -1602.75, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1511.76, -1607.07, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1511.84, -1617.18, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.46, -1617.50, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.48, -1627.79, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.66, -1627.56, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1493.42, -1637.88, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1502.99, -1637.76, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.02, -1637.91, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1511.89, -1627.72, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1466.33, -1638.32, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1447.65, -1643.30, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.81, -1643.34, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1456.87, -1647.62, 12.29,   0.00, 90.00, 90.00);
	CreateDynamicObject(19447, 1511.93, -1597.47, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1466.44, -1597.53, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(19447, 1457.01, -1597.54, 11.36,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1471.00, -1687.30, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.38, -1687.35, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.49, -1699.40, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.49, -1712.06, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(19428, 1488.60, -1681.94, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.47, -1642.59, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.42, -1636.69, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.41, -1630.08, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.42, -1624.43, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.53, -1616.67, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.54, -1605.23, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1488.45, -1597.98, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1471.37, -1603.51, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1471.34, -1609.43, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1471.49, -1617.19, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1471.49, -1624.02, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(19428, 1471.44, -1635.14, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1487.97, -1641.92, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.28, -1636.46, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.00, -1630.10, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.12, -1624.32, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.58, -1642.52, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1488.18, -1604.78, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(19428, 1471.38, -1598.05, 11.78,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1488.13, -1616.62, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.45, -1597.97, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.54, -1603.22, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.34, -1609.44, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.65, -1617.19, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.59, -1623.77, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(1231, 1471.49, -1635.01, 14.39,   356.86, 0.00, 3.14);
	CreateDynamicObject(700, 1458.09, -1693.93, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1462.92, -1601.86, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1446.53, -1601.84, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1464.34, -1629.44, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1446.50, -1629.49, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1493.40, -1630.53, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1510.89, -1630.72, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1511.10, -1601.13, 12.06,   0.00, 0.00, 0.00);
	CreateDynamicObject(6965, 1480.01, -1663.56, 16.08,   0.00, 0.00, 359.70);
	CreateDynamicObject(1280, 1471.64, -1656.76, 12.59,   0.00, 0.00, 322.59);
	CreateDynamicObject(1280, 1488.56, -1670.38, 12.59,   0.00, 0.00, 141.82);
	CreateDynamicObject(1280, 1480.30, -1674.26, 12.59,   0.00, 0.00, 90.00);
	CreateDynamicObject(1280, 1480.95, -1702.59, 12.59,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1481.78, -1691.04, 12.59,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1480.85, -1712.09, 12.59,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1479.70, -1712.03, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1480.06, -1702.64, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1480.94, -1691.05, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1482.26, -1682.10, 12.59,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1478.49, -1603.73, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1469.08, -1663.77, 12.59,   0.00, 0.00, 357.90);
	CreateDynamicObject(1280, 1471.81, -1670.24, 12.59,   0.00, 0.00, 38.91);
	CreateDynamicObject(1280, 1479.90, -1652.54, 12.59,   0.00, 0.00, -90.00);
	CreateDynamicObject(1280, 1488.46, -1656.88, 12.59,   0.00, 0.00, 219.37);
	CreateDynamicObject(1280, 1481.58, -1682.03, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1478.79, -1641.40, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1478.89, -1628.07, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1478.86, -1615.88, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1490.86, -1663.07, 12.59,   0.00, 0.00, 182.99);
	CreateDynamicObject(1280, 1479.42, -1603.64, 12.59,   0.00, 0.00, 181.20);
	CreateDynamicObject(1280, 1479.63, -1641.50, 12.59,   0.00, 0.00, 179.91);
	CreateDynamicObject(1280, 1479.67, -1628.04, 12.59,   0.00, 0.00, 180.47);
	CreateDynamicObject(1280, 1479.62, -1615.94, 12.59,   0.00, 0.00, 180.47);
	CreateDynamicObject(970, 1479.63, -1718.79, 12.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1488.38, -1715.38, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1482.10, -1718.73, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1477.26, -1718.74, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1470.89, -1713.99, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1470.91, -1704.82, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1470.90, -1697.05, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1470.78, -1690.19, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1470.95, -1684.44, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1488.61, -1684.78, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1488.57, -1690.64, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1488.61, -1696.58, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1488.61, -1702.62, 12.70,   0.00, 0.00, 0.00);
	CreateDynamicObject(19127, 1488.52, -1708.89, 12.70,   0.00, 0.00, 0.00);*/
	
	// Park
/*	CreateDynamicObject(18981, 1444.30, -1717.67, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1518.49, -1668.30, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1469.16, -1717.75, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1493.87, -1717.69, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1517.78, -1717.52, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1517.56, -1693.08, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1493.68, -1693.13, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1469.09, -1692.92, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1444.38, -1692.99, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1444.40, -1668.11, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1469.20, -1668.00, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1493.91, -1668.24, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1440.17, -1643.51, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1514.25, -1593.93, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1465.19, -1643.89, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1489.44, -1594.39, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1514.38, -1618.71, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1440.45, -1618.76, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1439.62, -1593.79, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1464.39, -1594.34, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(5812, 1451.37, -1660.25, 12.59,   0.00, 0.00, 0.00);
	CreateDynamicObject(18981, 1514.29, -1643.51, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1489.82, -1643.40, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1489.90, -1618.95, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(18981, 1465.14, -1619.14, 11.83,   0.00, -90.00, 0.00);
	CreateDynamicObject(6965, 1493.39, -1665.58, 15.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(6964, 1493.38, -1665.59, 11.94,   0.00, 0.00, 0.00);
	CreateDynamicObject(9047, 1442.53, -1661.33, 11.51,   0.00, 0.00, 90.00);
	CreateDynamicObject(9047, 1462.04, -1661.37, 11.51,   0.00, 0.00, 90.00);
	CreateDynamicObject(3515, 1462.13, -1679.51, 12.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1442.46, -1679.49, 12.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1462.12, -1661.61, 12.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1501.69, -1623.78, 12.27,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1442.56, -1643.94, 12.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1442.62, -1661.75, 12.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(620, 1453.43, -1644.19, 13.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(620, 1453.20, -1679.05, 13.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(620, 1452.97, -1661.77, 13.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(673, 1461.47, -1698.51, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(673, 1508.92, -1638.86, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(673, 1441.92, -1623.94, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(673, 1441.92, -1698.51, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1453.46, -1695.77, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1508.23, -1710.02, 13.20,   0.00, 0.00, 0.10);
	CreateDynamicObject(647, 1462.54, -1652.47, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1462.02, -1670.43, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1462.48, -1636.62, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1452.14, -1626.66, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1442.45, -1653.29, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1442.88, -1670.48, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1451.10, -1616.42, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1514.20, -1694.09, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1493.43, -1676.13, 12.72,   0.00, 0.00, 90.00);
	CreateDynamicObject(1359, 1518.73, -1725.35, 12.98,   0.00, 0.00, 0.00);
	CreateDynamicObject(19381, 1503.64, -1692.98, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1503.64, -1713.55, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1495.43, -1618.72, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.91, -1713.55, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.91, -1692.98, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.91, -1703.10, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.92, -1665.27, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.95, -1608.24, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.95, -1639.28, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1500.97, -1639.29, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.95, -1629.13, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1495.43, -1629.13, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1512.95, -1618.72, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1503.61, -1629.13, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1477.99, -1608.24, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1503.61, -1618.72, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(19381, 1503.64, -1703.29, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(1257, 1514.25, -1725.44, 13.44,   0.00, 0.00, 90.00);
	CreateDynamicObject(1229, 1519.42, -1725.36, 13.48,   0.00, 0.00, 75.00);
	CreateDynamicObject(1359, 1497.70, -1705.99, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1340, 1463.05, -1608.36, 13.37,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.79, -1695.19, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1463.74, -1707.16, 12.87,   0.00, 0.00, 1.00);
	CreateDynamicObject(1408, 1486.75, -1721.56, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.79, -1710.55, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.79, -1705.06, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.79, -1699.59, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1446.23, -1721.52, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1517.85, -1636.49, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1510.76, -1659.95, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1509.61, -1687.65, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1448.91, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1501.32, -1687.65, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1508.04, -1668.02, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1498.65, -1695.85, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1498.65, -1701.33, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1498.65, -1706.81, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1498.65, -1712.30, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1510.75, -1670.64, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1509.59, -1718.78, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1504.09, -1718.78, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1452.33, -1703.95, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1502.91, -1692.49, 12.39,   0.00, 0.00, 359.90);
	CreateDynamicObject(700, 1514.69, -1711.08, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1514.66, -1702.25, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1501.87, -1702.83, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(700, 1502.71, -1711.88, 12.39,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1513.13, -1666.90, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1505.40, -1700.76, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1507.41, -1698.04, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1511.15, -1698.60, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1510.53, -1702.67, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1508.31, -1702.33, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.65, -1698.30, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1505.68, -1698.18, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.83, -1702.08, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1508.73, -1700.10, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1510.38, -1710.50, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1507.16, -1699.95, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1508.55, -1697.43, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1462.58, -1687.52, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(712, 1508.42, -1704.84, 21.74,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1510.55, -1701.25, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1510.31, -1712.22, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1509.61, -1708.37, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1507.86, -1707.83, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1508.54, -1711.13, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1506.80, -1709.82, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1451.49, -1694.93, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1508.55, -1712.94, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1510.31, -1712.22, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(1408, 1517.79, -1690.36, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.79, -1668.02, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1515.07, -1687.64, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1515.20, -1602.90, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1498.65, -1690.35, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1681.78, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1515.09, -1718.78, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1480.24, -1613.55, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1512.51, -1701.65, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1516.10, -1668.98, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.47, -1666.99, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1511.29, -1666.73, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.56, -1669.04, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.30, -1663.58, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.57, -1664.71, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1515.74, -1667.94, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.26, -1661.83, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1511.70, -1663.38, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1514.07, -1663.61, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1514.59, -1661.67, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1516.25, -1661.72, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1514.43, -1665.45, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1516.15, -1666.64, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(3462, 1511.90, -1665.01, 13.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(3462, 1513.41, -1665.01, 13.80,   0.00, 0.00, 180.00);
	CreateDynamicObject(870, 1513.06, -1661.83, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.50, -1619.12, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1512.13, -1668.82, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1513.92, -1668.97, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1516.25, -1664.00, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1507.97, -1618.91, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(3521, 1440.32, -1602.59, 13.75,   0.00, 0.00, 45.00);
	CreateDynamicObject(1408, 1515.03, -1670.64, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1515.20, -1644.62, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1509.71, -1644.62, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1504.23, -1644.62, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(19381, 1503.62, -1639.29, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(1408, 1508.04, -1662.67, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1496.11, -1641.87, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1498.76, -1644.62, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1496.13, -1605.56, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1490.61, -1631.75, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1490.61, -1626.28, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1490.61, -1620.79, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1515.06, -1659.98, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(19381, 1503.63, -1608.25, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(1408, 1496.13, -1637.07, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1496.13, -1610.55, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1439.19, -1613.15, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1498.86, -1602.90, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1504.34, -1602.90, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1509.81, -1602.90, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1517.79, -1662.64, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1482.90, -1605.64, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.85, -1641.98, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.85, -1631.01, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.85, -1625.52, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.85, -1620.04, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.83, -1614.53, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1517.85, -1609.03, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(10183, 1466.47, -1722.97, 12.61,   0.00, 0.00, 45.00);
	CreateDynamicObject(3521, 1439.20, -1722.55, 13.75,   0.00, 0.00, -45.00);
	CreateDynamicObject(870, 1506.29, -1712.18, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(1257, 1461.02, -1599.30, 13.44,   0.00, 0.00, -90.00);
	CreateDynamicObject(19381, 1500.97, -1608.24, 12.27,   0.00, 90.00, 90.00);
	CreateDynamicObject(1408, 1493.31, -1613.36, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1480.24, -1602.90, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1490.61, -1616.03, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1473.14, -1605.52, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1493.27, -1634.43, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1475.85, -1613.55, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1517.85, -1605.58, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1482.90, -1610.86, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(647, 1442.04, -1636.69, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1443.32, -1687.15, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1505.42, -1709.67, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1455.36, -1696.88, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1454.29, -1698.01, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1452.22, -1697.32, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1450.81, -1696.59, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1455.15, -1694.50, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1453.28, -1694.66, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1451.14, -1698.37, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1453.66, -1692.87, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1451.78, -1692.91, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1452.89, -1699.11, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1451.17, -1628.50, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1450.50, -1694.87, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1449.47, -1627.59, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1449.44, -1625.59, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1450.68, -1624.56, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1452.35, -1624.19, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1453.74, -1625.18, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1454.08, -1626.70, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1453.02, -1628.08, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1449.50, -1629.01, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1448.19, -1626.95, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1448.86, -1624.98, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1450.10, -1624.06, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1451.44, -1623.33, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1452.83, -1623.44, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1454.51, -1624.72, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1479.32, -1612.05, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1454.38, -1628.51, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1453.11, -1629.78, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1451.28, -1629.79, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(673, 1461.47, -1623.94, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1455.27, -1626.46, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1474.73, -1611.98, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1474.78, -1609.46, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1474.65, -1606.92, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1474.52, -1604.45, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1476.51, -1604.76, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1477.97, -1604.40, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1479.86, -1604.55, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1481.33, -1604.51, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1481.21, -1606.40, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1481.51, -1608.35, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1481.61, -1610.41, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1481.49, -1611.97, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(870, 1476.95, -1611.95, 12.56,   0.00, 0.00, 0.10);
	CreateDynamicObject(819, 1508.75, -1637.17, 12.35,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1511.41, -1641.27, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1503.23, -1608.43, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1515.19, -1609.45, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1503.12, -1612.96, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1498.28, -1617.01, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1498.08, -1621.18, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1497.92, -1625.69, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1512.77, -1606.63, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1497.71, -1630.29, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1502.10, -1634.71, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1499.44, -1632.43, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1503.81, -1641.16, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1507.77, -1641.27, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1502.20, -1639.06, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1514.09, -1639.08, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1514.19, -1634.48, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1514.43, -1630.43, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1514.53, -1626.12, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1514.68, -1621.91, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1500.00, -1615.01, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1505.13, -1606.64, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(3520, 1514.85, -1617.88, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1514.97, -1613.82, 12.42,   0.00, 0.00, 0.00);
	CreateDynamicObject(3520, 1509.30, -1606.74, 12.42,   0.00, 0.00, 90.00);
	CreateDynamicObject(673, 1477.49, -1607.84, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(673, 1508.92, -1610.54, 12.45,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1508.00, -1699.60, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(647, 1507.67, -1629.70, 13.20,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1462.11, -1644.09, 12.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1511.06, -1661.78, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.21, -1631.36, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1507.33, -1632.07, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.19, -1630.45, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.36, -1628.64, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1507.91, -1627.55, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.45, -1629.14, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1505.23, -1628.61, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1510.45, -1630.32, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1504.82, -1630.57, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.00, -1632.22, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.55, -1632.06, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.76, -1628.11, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.15, -1626.93, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.71, -1619.81, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1508.25, -1620.81, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.44, -1622.73, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.13, -1617.60, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.82, -1617.11, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1505.74, -1618.56, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1506.25, -1620.66, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.61, -1621.57, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1510.15, -1619.69, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.96, -1617.73, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1508.41, -1615.85, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1507.49, -1622.38, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1509.44, -1622.73, 12.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(819, 1478.02, -1608.03, 12.35,   0.00, 0.00, 0.00);
	CreateDynamicObject(819, 1509.52, -1610.96, 12.35,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1503.81, -1687.05, 12.72,   0.00, 0.00, -90.00);
	CreateDynamicObject(1280, 1483.08, -1667.79, 12.72,   0.00, 0.00, 13.00);
	CreateDynamicObject(1280, 1485.16, -1672.15, 12.72,   0.00, 0.00, 39.00);
	CreateDynamicObject(1280, 1488.84, -1675.13, 12.72,   0.00, 0.00, 64.00);
	CreateDynamicObject(1280, 1478.23, -1623.16, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1488.68, -1655.94, 12.72,   0.00, 0.00, -63.00);
	CreateDynamicObject(1280, 1485.00, -1659.03, 12.72,   0.00, 0.00, -39.00);
	CreateDynamicObject(1280, 1482.92, -1663.40, 12.72,   0.00, 0.00, -13.00);
	CreateDynamicObject(1280, 1467.06, -1692.24, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1497.90, -1692.24, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1497.90, -1702.49, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1481.68, -1702.49, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1467.06, -1702.49, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(638, 1479.24, -1623.16, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1483.00, -1692.24, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1507.50, -1686.93, 13.05,   0.00, 0.00, 90.00);
	CreateDynamicObject(638, 1467.21, -1617.07, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1483.42, -1609.54, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1467.06, -1623.16, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1478.23, -1631.54, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1478.23, -1640.63, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1467.06, -1631.54, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1467.06, -1640.63, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1503.81, -1645.23, 12.72,   0.00, 0.00, 90.00);
	CreateDynamicObject(1280, 1489.97, -1631.54, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1481.68, -1692.24, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1504.18, -1687.65, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1484.12, -1718.81, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1478.62, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1473.13, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1467.65, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1462.16, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1456.68, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1451.18, -1718.79, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1498.65, -1716.07, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1517.79, -1716.03, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1671.66, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1226, 1451.66, -1719.25, 16.16,   3.14, 0.00, 90.00);
	CreateDynamicObject(1226, 1487.67, -1727.67, 16.42,   3.14, 0.00, 90.00);
	CreateDynamicObject(1226, 1481.73, -1719.27, 16.16,   3.14, 0.00, 90.00);
	CreateDynamicObject(1226, 1471.88, -1719.27, 16.16,   3.14, 0.00, 90.00);
	CreateDynamicObject(1226, 1461.82, -1719.27, 16.16,   3.14, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1704.48, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1699.10, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1693.62, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1688.13, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1682.65, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1677.15, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1615.91, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1666.17, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1660.69, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1655.20, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1649.71, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1644.22, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1638.71, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1633.19, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1627.70, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.46, -1622.16, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1466.45, -1616.69, 12.87,   0.00, 0.00, 90.00);
	CreateDynamicObject(1408, 1475.89, -1602.90, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1463.74, -1613.15, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1458.27, -1613.15, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1452.79, -1613.15, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1447.31, -1613.15, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1441.82, -1613.15, 12.87,   0.00, 0.00, 180.00);
	CreateDynamicObject(1408, 1473.14, -1610.86, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.48, -1615.84, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.48, -1621.32, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1626.77, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1632.26, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1637.75, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1643.24, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1648.73, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1654.22, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1659.74, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1665.26, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1670.75, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1704.84, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1687.27, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1676.28, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1692.80, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1698.29, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1436.32, -1703.78, 12.87,   0.00, 0.00, 270.00);
	CreateDynamicObject(1408, 1501.32, -1718.78, 12.87,   0.00, 0.00, 0.00);
	CreateDynamicObject(1408, 1439.01, -1707.56, 12.87,   0.00, 0.00, 1.00);
	CreateDynamicObject(1408, 1444.48, -1707.46, 12.87,   0.00, 0.00, 1.00);
	CreateDynamicObject(1408, 1449.96, -1707.36, 12.87,   0.00, 0.00, 1.00);
	CreateDynamicObject(1408, 1455.43, -1707.26, 12.87,   0.00, 0.00, 1.00);
	CreateDynamicObject(1408, 1460.91, -1707.18, 12.87,   0.00, 0.00, 1.00);
	CreateDynamicObject(1280, 1484.21, -1702.49, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(638, 1497.90, -1716.63, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1482.98, -1702.49, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1483.00, -1697.10, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1484.21, -1692.24, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(638, 1467.06, -1697.10, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1467.06, -1685.20, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1340, 1468.17, -1664.83, 13.37,   0.00, 0.00, 0.00);
	CreateDynamicObject(1234, 1467.23, -1655.09, 13.76,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1655.76, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1674.66, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.31, -1673.94, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1673.23, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1234, 1467.23, -1675.46, 13.76,   0.00, 0.00, 90.00);
	CreateDynamicObject(638, 1467.23, -1678.25, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1340, 1502.18, -1721.33, 13.37,   0.00, 0.00, -90.00);
	CreateDynamicObject(638, 1467.21, -1669.37, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1467.49, -1706.53, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1497.90, -1697.10, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1500.89, -1686.97, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1482.05, -1697.05, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1483.90, -1697.05, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1497.90, -1709.54, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1286, 1495.71, -1636.51, 12.85,   0.00, 0.00, 90.00);
	CreateDynamicObject(1287, 1497.88, -1713.24, 12.85,   0.00, 0.00, 90.00);
	CreateDynamicObject(1288, 1497.88, -1714.04, 12.85,   0.00, 0.00, 90.00);
	CreateDynamicObject(1286, 1497.88, -1712.13, 12.85,   0.00, 0.00, 90.00);
	CreateDynamicObject(1287, 1495.71, -1637.55, 12.85,   0.00, 0.00, 90.00);
	CreateDynamicObject(1288, 1495.71, -1638.46, 12.85,   0.00, 0.00, 90.00);
	CreateDynamicObject(638, 1467.21, -1660.55, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1234, 1467.23, -1671.71, 13.76,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1672.51, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1657.91, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1657.22, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1216, 1467.33, -1656.47, 13.01,   0.00, 0.00, 90.00);
	CreateDynamicObject(1234, 1467.23, -1658.55, 13.76,   0.00, 0.00, 90.00);
	CreateDynamicObject(638, 1467.21, -1653.15, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1286, 1467.30, -1680.69, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1288, 1467.30, -1682.84, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1287, 1467.30, -1681.79, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1359, 1467.49, -1688.87, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1480.34, -1640.63, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(638, 1467.21, -1646.58, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1483.49, -1607.06, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1467.21, -1636.47, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1479.24, -1640.63, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1479.24, -1631.54, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1483.44, -1604.77, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1480.34, -1623.16, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(1280, 1480.32, -1631.54, 12.72,   0.00, 0.00, 180.00);
	CreateDynamicObject(638, 1467.20, -1627.29, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1478.11, -1627.38, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1500.89, -1645.33, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1489.75, -1634.13, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1480.43, -1627.38, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1478.11, -1636.40, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1479.24, -1627.31, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1489.94, -1627.31, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1467.49, -1619.61, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1467.49, -1634.13, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1495.47, -1640.63, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1480.43, -1636.40, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1467.49, -1643.18, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1286, 1467.30, -1648.72, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1287, 1483.34, -1612.72, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1288, 1483.34, -1611.61, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1291, 1512.92, -1671.07, 12.83,   0.00, 0.00, 0.00);
	CreateDynamicObject(1291, 1512.92, -1659.40, 12.83,   0.00, 0.00, 180.00);
	CreateDynamicObject(1341, 1520.24, -1664.58, 13.32,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1645.03, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1494.79, -1603.05, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1686.52, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1657.76, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1655.96, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1654.20, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1652.35, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1650.50, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1648.81, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1646.91, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1468.00, -1617.21, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1482.92, -1699.75, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1497.19, -1716.65, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1685.26, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1678.23, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1669.32, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1660.57, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1653.23, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1646.67, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1468.00, -1636.52, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1479.27, -1638.47, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1495.11, -1612.28, 14.96,   0.00, 0.00, 45.00);
	CreateDynamicObject(1231, 1479.27, -1625.30, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1479.27, -1629.45, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1507.51, -1686.23, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1482.92, -1694.76, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1468.00, -1697.16, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1497.19, -1697.16, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1497.19, -1709.61, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1232, 1466.81, -1614.04, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1446.25, -1718.31, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1507.57, -1659.79, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1495.58, -1676.13, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1490.90, -1676.12, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1486.66, -1674.07, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1483.57, -1670.40, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1482.60, -1665.53, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1483.58, -1660.88, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1486.63, -1657.04, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1490.95, -1654.94, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1495.78, -1654.88, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1495.56, -1644.72, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1231, 1468.00, -1627.34, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1489.25, -1627.34, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1232, 1490.24, -1634.99, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1490.10, -1613.01, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1467.02, -1707.23, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1486.91, -1718.31, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1487.99, -1718.31, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1446.25, -1708.57, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1446.25, -1710.80, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1446.25, -1712.83, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1446.25, -1714.96, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1446.25, -1717.15, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1496.43, -1718.31, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1494.22, -1718.31, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1491.94, -1718.31, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1490.02, -1718.31, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1498.19, -1687.42, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1507.57, -1670.87, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1493.15, -1635.01, 12.72,   0.00, 0.00, 90.00);
	CreateDynamicObject(638, 1479.24, -1636.47, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1495.28, -1643.72, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1498.42, -1645.23, 13.05,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1479.27, -1633.76, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1497.80, -1688.96, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1493.45, -1655.01, 12.72,   0.00, 0.00, -90.00);
	CreateDynamicObject(638, 1507.50, -1645.23, 13.05,   0.00, 0.00, 90.00);
	CreateDynamicObject(1231, 1507.51, -1645.95, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1483.20, -1613.76, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1483.42, -1603.05, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1472.03, -1614.03, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1485.91, -1603.05, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1488.05, -1603.05, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1490.39, -1603.09, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1492.57, -1603.05, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1489.94, -1617.07, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1490.94, -1612.82, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1492.92, -1612.82, 12.72,   0.00, 0.00, -90.00);
	CreateDynamicObject(1231, 1489.25, -1617.21, 14.96,   0.00, 0.00, 90.00);
	CreateDynamicObject(1280, 1489.97, -1623.16, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1489.75, -1619.61, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1232, 1495.79, -1603.05, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(638, 1495.62, -1604.77, 13.05,   0.00, 0.00, 0.00);
	CreateDynamicObject(1359, 1495.48, -1607.06, 12.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1280, 1495.58, -1609.54, 12.72,   0.00, 0.00, 0.00);
	CreateDynamicObject(1288, 1467.28, -1650.65, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1287, 1467.30, -1649.66, 12.85,   0.00, 0.00, -90.00);
	CreateDynamicObject(1232, 1473.33, -1614.04, 14.96,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1467.87, -1614.04, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1470.00, -1614.04, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.66, -1659.43, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1672.83, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1674.84, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1676.87, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1678.89, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1680.79, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1682.70, 12.80,   0.00, 0.00, 0.00);
	CreateDynamicObject(1215, 1517.68, -1684.50, 12.80,   0.00, 0.00, 0.00);*/

	// Faction Leone Mapping by Drake Raven
	CreateDynamicObject(9833,916.0000000,-933.7000122,44.7999992,0.0000000,0.0000000,0.0000000); //object(fountain_sfw) (1)
	CreateDynamicObject(11313,932.9000244,-927.0999756,43.5999985,0.0000000,0.0000000,0.0000000); //object(modshopdoor_sfse) (1)
	CreateDynamicObject(1491,932.7999878,-919.5999756,41.5999985,0.0000000,0.0000000,90.0000000); //object(gen_doorint01) (1)
	CreateDynamicObject(1491,932.7998047,-919.5000000,41.5999985,0.0000000,0.0000000,270.0000000); //object(gen_doorint01) (2)
	CreateDynamicObject(3441,931.5999756,-917.0000000,43.5999985,0.0000000,0.0000000,0.0000000); //object(luxorpillar02_lvs) (1)
	CreateDynamicObject(3441,931.6992188,-922.0000000,43.5999985,0.0000000,0.0000000,0.0000000); //object(luxorpillar02_lvs) (2)
	CreateDynamicObject(946,928.0999756,-937.0000000,43.9000015,0.0000000,0.0000000,90.0000000); //object(bskball_lax) (1)
	CreateDynamicObject(2114,925.0999756,-937.7000122,41.7999992,0.0000000,0.0000000,0.0000000); //object(basketball) (1)
	CreateDynamicObject(2114,924.9000244,-937.2000122,41.7999992,0.0000000,0.0000000,0.0000000); //object(basketball) (2)
	CreateDynamicObject(640,912.4000244,-934.5999756,42.2999992,0.0000000,0.0000000,0.0000000); //object(kb_planter_bush2) (1)
	CreateDynamicObject(640,918.9000244,-934.5999756,42.2999992,0.0000000,0.0000000,0.0000000); //object(kb_planter_bush2) (2)
	CreateDynamicObject(7290,913.9000244,-1003.7000122,51.2000008,0.0000000,0.0000000,0.0000000); //object(casinoblock2_nt) (1)
	CreateDynamicObject(1337,863.5999756,-890.2000122,76.6999969,0.0000000,0.0000000,0.0000000); //object(binnt07_la) (15)
	CreateDynamicObject(2745,905.5000000,-946.5999756,40.4000015,0.0000000,0.0000000,0.0000000); //object(cj_stat_3) (1)
	CreateDynamicObject(2745,900.0000000,-947.2000122,40.5000000,0.0000000,0.0000000,0.0000000); //object(cj_stat_3) (2)
	CreateDynamicObject(3599,873.2999878,-925.0999756,46.5000000,0.0000000,0.0000000,30.0000000); //object(hillhouse02_la) (1)
	CreateDynamicObject(2745,887.2999878,-929.2000122,42.0999985,0.0000000,0.0000000,0.0000000); //object(cj_stat_3) (4)
	CreateDynamicObject(1491,881.0999756,-929.9000244,41.0999985,0.0000000,0.0000000,28.0000000); //object(gen_doorint01) (1)

	// LSPD Interior (For FBI)
	CreateDynamicObject(14847,1560.67871094,-1684.51171875,1725.49560547,0.00000000,0.00000000,90.00000000); //object(sfpd) (1)
	CreateDynamicObject(14848,1563.08154297,-1682.91552734,1723.49731445,0.00000000,0.00000000,90.00000000); //object(sfpd) (2)
	CreateDynamicObject(14852,1549.56201172,-1684.63476562,1727.57714844,0.00000000,0.00000000,90.00000000); //object(sfpd) (3)
	CreateDynamicObject(14892,1571.11718750,-1688.10839844,1728.37902832,0.00000000,0.00000000,90.00000000); //object(sfpd) (4)
	CreateDynamicObject(14851,1561.02246094,-1684.53417969,1726.22973633,0.00000000,0.00000000,90.00000000); //object(sfpd) (5)
	CreateDynamicObject(1892,1559.80236816,-1655.60021973,1717.90185547,0.00000000,0.00000000,270.00000000); //object(security_gatsh) (1)
	CreateDynamicObject(2924,1554.80688477,-1713.90820312,1724.69702148,0.00000000,0.00000000,90.00000000); //object(kmb_crash3door) (1)
	CreateDynamicObject(2924,1555.51464844,-1713.90820312,1724.69702148,0.00000000,0.00000000,90.00000000); //object(kmb_crash3door) (2)
	CreateDynamicObject(2173,1553.15002441,-1714.74145508,1723.50341797,0.00000000,0.00000000,180.00000000); //object(med_office_desk_3) (1)
	CreateDynamicObject(2196,1552.28955078,-1714.36547852,1724.30505371,0.00000000,0.00000000,0.00000000); //object(work_lamp1) (1)
	CreateDynamicObject(2894,1552.48925781,-1714.76562500,1724.30505371,0.00000000,0.00000000,0.00000000); //object(kmb_rhymesbook) (1)
	CreateDynamicObject(1671,1552.49035645,-1713.79919434,1723.96362305,0.00000000,0.00000000,0.00000000); //object(swivelchair_a) (1)
	CreateDynamicObject(2885,1562.73828125,-1683.44140625,1727.90612793,0.00000000,0.00000000,90.00000000); //object(xref_garagedoor) (1)
	CreateDynamicObject(2885,1562.80480957,-1683.32482910,1727.90612793,0.00000000,0.00000000,270.00000000); //object(xref_garagedoor) (2)
	CreateDynamicObject(2885,1562.80468750,-1685.83300781,1727.90612793,0.00000000,0.00000000,270.00000000); //object(xref_garagedoor) (3)
	CreateDynamicObject(2885,1562.73852539,-1685.95922852,1727.90612793,0.00000000,0.00000000,90.00000000); //object(xref_garagedoor) (4)
	CreateDynamicObject(16500,1552.78637695,-1712.39318848,1722.56091309,0.00000000,0.00000000,90.00000000); //object(cn2_savgardr1_) (6)
	CreateDynamicObject(16500,1547.79394531,-1712.39257812,1722.56091309,0.00000000,0.00000000,90.00000000); //object(cn2_savgardr1_) (7)
	CreateDynamicObject(3051,1550.47070312,-1712.48535156,1725.67419434,0.00000000,0.00000000,315.99975586); //object(lift_dr) (12)
	CreateDynamicObject(3051,1550.47070312,-1712.29602051,1725.67419434,0.00000000,0.00000000,315.99426270); //object(lift_dr) (13)
	CreateDynamicObject(3051,1554.68652344,-1712.48535156,1725.67419434,0.00000000,0.00000000,315.99426270); //object(lift_dr) (15)
	CreateDynamicObject(3051,1554.68652344,-1712.29602051,1725.67419434,0.00000000,0.00000000,316.00000000); //object(lift_dr) (16)
	CreateDynamicObject(14901,1548.45605469,-1685.41992188,1723.69995117,0.00000000,0.00000000,270.00000000); //object(police3-exit02) (1)
	CreateDynamicObject(1535,1549.74938965,-1683.14990234,1722.10498047,0.00000000,0.00000000,270.00000000); //object(gen_doorext14) (1)
	CreateDynamicObject(1535,1549.79003906,-1686.17773438,1722.10498047,0.00000000,0.00000000,90.00000000); //object(gen_doorext14) (2)
	CreateDynamicObject(2886,1558.98632812,-1678.10546875,1723.92883301,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1553.51757812,-1691.21289062,1723.92883301,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (2)
	CreateDynamicObject(8167,1563.69824219,-1691.55566406,1724.78186035,0.00000000,0.00000000,90.00000000); //object(apgate1_vegs01) (2)
	CreateDynamicObject(8167,1552.33715820,-1677.83020020,1724.77709961,0.00000000,0.00000000,270.00000000); //object(apgate1_vegs01) (3)
	CreateDynamicObject(11631,1554.01733398,-1671.23608398,1723.35778809,0.00000000,0.00000000,0.00000000); //object(ranch_desk) (1)
	CreateDynamicObject(1806,1554.51452637,-1672.38842773,1722.11193848,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (1)
	CreateDynamicObject(1827,1563.28576660,-1696.20178223,1722.10498047,0.00000000,0.00000000,0.00000000); //object(man_sdr_tables) (4)
	CreateDynamicObject(1827,1563.28515625,-1696.20117188,1722.30712891,0.00000000,0.00000000,0.00000000); //object(man_sdr_tables) (5)
	CreateDynamicObject(18001,1550.60839844,-1712.28515625,1725.11694336,0.00000000,0.00000000,180.00000000); //object(int_barbera07) (1)
	CreateDynamicObject(18001,1550.60839844,-1712.28515625,1726.53198242,0.00000000,0.00000000,180.00000000); //object(int_barbera07) (3)
	CreateDynamicObject(3089,1555.40820312,-1710.71386719,1724.83239746,0.00000000,0.00000000,90.00000000); //object(ab_casdorlok) (3)
	CreateDynamicObject(962,1557.77856445,-1678.10644531,1723.11572266,90.00000000,0.00000000,0.00000000); //object(cj_t_ticket_ped) (1)
	CreateDynamicObject(1719,1553.14062500,-1714.83398438,1724.35949707,0.00000000,0.00000000,270.00000000); //object(low_console) (1)
	CreateDynamicObject(2310,1552.54101562,-1716.03710938,1724.00268555,0.00000000,0.00000000,270.00000000); //object(mike_din_chair) (1)
	CreateDynamicObject(1714,1552.46667480,-1657.15039062,1729.09802246,0.00000000,0.00000000,0.00000000); //object(kb_swivelchair1) (1)
	CreateDynamicObject(2357,1552.44140625,-1661.65625000,1729.49316406,0.00000000,0.00000000,90.00000000); //object(dunc_dinning) (1)
	CreateDynamicObject(2112,1552.44140625,-1658.82519531,1729.49023438,0.00000000,0.00000000,0.00000000); //object(med_dinning_4) (1)
	CreateDynamicObject(1715,1554.10449219,-1660.26550293,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (1)
	CreateDynamicObject(1714,1554.05102539,-1658.82861328,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair1) (2)
	CreateDynamicObject(1714,1550.73632812,-1658.89758301,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair1) (3)
	CreateDynamicObject(1715,1554.10449219,-1661.27514648,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (2)
	CreateDynamicObject(1715,1554.10449219,-1662.38574219,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (3)
	CreateDynamicObject(1715,1554.10449219,-1663.39648438,1729.09802246,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair2) (4)
	CreateDynamicObject(1715,1550.66894531,-1660.20129395,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (5)
	CreateDynamicObject(1715,1550.64208984,-1661.21069336,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (6)
	CreateDynamicObject(1715,1550.61132812,-1662.32031250,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (7)
	CreateDynamicObject(1715,1550.58398438,-1663.32910156,1729.09802246,0.00000000,0.00000000,90.00000000); //object(kb_swivelchair2) (8)
	CreateDynamicObject(1808,1553.73730469,-1667.38574219,1729.10498047,0.00000000,0.00000000,180.00000000); //object(cj_watercooler2) (1)
	CreateDynamicObject(3089,1550.02539062,-1667.73339844,1730.43395996,0.00000000,0.00000000,0.00000000); //object(ab_casdorlok) (6)
	CreateDynamicObject(2886,1551.25598145,-1667.78076172,1730.70080566,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1551.21276855,-1667.70092773,1730.70080566,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(3089,1553.88964844,-1671.16992188,1730.43395996,0.00000000,0.00000000,179.99450684); //object(ab_casdorlok) (7)
	CreateDynamicObject(2886,1552.67163086,-1671.14135742,1730.70080566,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1552.62487793,-1671.22131348,1730.70080566,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(3089,1562.37890625,-1667.47070312,1730.43395996,0.00000000,0.00000000,270.00000000); //object(ab_casdorlok) (7)
	CreateDynamicObject(2886,1562.32910156,-1668.71777344,1730.70080566,0.00000000,0.00000000,270.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1562.41857910,-1668.67895508,1730.70080566,0.00000000,0.00000000,90.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(3384,1570.54931641,-1660.98706055,1730.54760742,0.00000000,0.00000000,0.00000000); //object(a51_halbox_) (1)
	CreateDynamicObject(3386,1568.42443848,-1659.57543945,1729.10498047,0.00000000,0.00000000,90.00000000); //object(a51_srack2_) (1)
	CreateDynamicObject(3386,1565.91552734,-1659.50573730,1729.10498047,0.00000000,0.00000000,90.00000000); //object(a51_srack2_) (2)
	CreateDynamicObject(3389,1568.41113281,-1662.43457031,1729.10498047,0.00000000,0.00000000,270.00000000); //object(a51_srack1_) (1)
	CreateDynamicObject(3389,1565.91699219,-1662.49755859,1729.10498047,0.00000000,0.00000000,270.00000000); //object(a51_srack1_) (2)
	CreateDynamicObject(2886,1562.24145508,-1660.00793457,1730.70080566,0.00000000,0.00000000,270.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1562.54003906,-1659.91796875,1730.70080566,0.00000000,0.00000000,90.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2167,1549.90002441,-1675.51330566,1729.10498047,0.00000000,0.00000000,90.00000000); //object(med_office_unit_7) (1)
	CreateDynamicObject(2184,1553.90136719,-1674.74536133,1729.10498047,0.00000000,0.00000000,180.00000000); //object(med_office6_desk_2) (1)
	CreateDynamicObject(1715,1552.78625488,-1676.96118164,1729.10498047,0.00000000,0.00000000,180.00000000); //object(kb_swivelchair2) (10)
	CreateDynamicObject(1663,1553.47058105,-1673.55725098,1729.56518555,0.00000000,0.00000000,340.00000000); //object(swivelchair_b) (1)
	CreateDynamicObject(1663,1552.19787598,-1673.54150391,1729.56518555,0.00000000,0.00000000,20.00000000); //object(swivelchair_b) (2)
	CreateDynamicObject(2190,1552.39355469,-1675.08691406,1729.88073730,0.00000000,0.00000000,0.00000000); //object(pc_1) (1)
	CreateDynamicObject(2297,1562.82421875,-1666.79382324,1729.10498047,0.00000000,0.00000000,46.00000000); //object(tv_unit_2) (1)
	CreateDynamicObject(2603,1552.25500488,-1655.02832031,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (1)
	CreateDynamicObject(2603,1552.25500488,-1658.98681641,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (2)
	CreateDynamicObject(2603,1552.25500488,-1662.92346191,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (3)
	CreateDynamicObject(2603,1552.25500488,-1667.06469727,1718.35510254,0.00000000,0.00000000,270.00000000); //object(police_cell_bed) (4)
	CreateDynamicObject(2700,1553.65832520,-1671.61474609,1732.13171387,0.00000000,0.00000000,272.00000000); //object(cj_sex_tv2) (1)
	CreateDynamicObject(2817,1564.47656250,-1690.32873535,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_bedrug01) (1)
	CreateDynamicObject(2818,1564.67028809,-1682.17150879,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_bedrug02) (1)
	CreateDynamicObject(2835,1564.00378418,-1686.10168457,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_livingrug04) (1)
	CreateDynamicObject(2841,1564.22680664,-1678.01013184,1729.10498047,0.00000000,0.00000000,0.00000000); //object(gb_bedrug03) (1)
	CreateDynamicObject(1721,1556.53173828,-1671.75317383,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (1)
	CreateDynamicObject(1721,1556.53173828,-1672.43078613,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (2)
	CreateDynamicObject(1721,1556.53173828,-1673.10839844,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (3)
	CreateDynamicObject(1721,1556.53173828,-1673.78601074,1729.10498047,0.00000000,0.00000000,270.00000000); //object(est_chair1) (4)
	CreateDynamicObject(1808,1555.76293945,-1674.85546875,1729.10498047,0.00000000,0.00000000,270.00000000); //object(cj_watercooler2) (2)
	CreateDynamicObject(1721,1562.08105469,-1666.96472168,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (5)
	CreateDynamicObject(1721,1562.08105469,-1666.30578613,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (6)
	CreateDynamicObject(1721,1562.08105469,-1665.64685059,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (7)
	CreateDynamicObject(1721,1562.08105469,-1664.98791504,1729.10498047,0.00000000,0.00000000,90.00000000); //object(est_chair1) (8)
	CreateDynamicObject(2257,1571.29980469,-1664.78222656,1730.90466309,0.00000000,0.00000000,270.00000000); //object(frame_clip_4) (1)
	CreateDynamicObject(2256,1571.31762695,-1669.54663086,1731.16650391,0.00000000,0.00000000,270.00000000); //object(frame_clip_3) (1)
	CreateDynamicObject(2000,1555.49035645,-1676.11413574,1729.10498047,0.00000000,0.00000000,270.00000000); //object(filing_cab_nu) (1)
	CreateDynamicObject(949,1549.52465820,-1673.64074707,1730.34765625,0.00000000,0.00000000,0.00000000); //object(plant_pot_4) (1)
	CreateDynamicObject(2251,1571.62353516,-1667.30151367,1730.55432129,0.00000000,0.00000000,0.00000000); //object(plant_pot_20) (1)
	CreateDynamicObject(1808,1564.11694336,-1663.53491211,1729.10498047,0.00000000,0.00000000,0.00000000); //object(cj_watercooler2) (3)
	CreateDynamicObject(2184,1567.99133301,-1666.17102051,1729.10498047,0.00000000,0.00000000,270.00000000); //object(med_office6_desk_2) (2)
	CreateDynamicObject(1714,1570.14758301,-1667.25878906,1729.10498047,0.00000000,0.00000000,270.00000000); //object(kb_swivelchair1) (4)
	CreateDynamicObject(2190,1568.19165039,-1667.77246094,1729.88073730,0.00000000,0.00000000,90.00000000); //object(pc_1) (2)
	CreateDynamicObject(2824,1568.33007812,-1667.22973633,1729.88073730,0.00000000,0.00000000,90.00000000); //object(gb_novels02) (1)
	CreateDynamicObject(1715,1566.40124512,-1666.55822754,1729.10498047,0.00000000,0.00000000,75.00000000); //object(kb_swivelchair2) (11)
	CreateDynamicObject(1715,1566.41040039,-1667.98327637,1729.10498047,0.00000000,0.00000000,110.00000000); //object(kb_swivelchair2) (12)
	CreateDynamicObject(2200,1565.59106445,-1663.47351074,1729.10498047,0.00000000,0.00000000,0.00000000); //object(med_office5_unit_1) (1)
	CreateDynamicObject(2885,1556.00781250,-1658.21887207,1736.19421387,0.00000000,0.00000000,270.00000000); //object(xref_garagedoor) (2)
	CreateDynamicObject(2885,1555.90234375,-1658.39062500,1736.19421387,0.00000000,0.00000000,90.00000000); //object(xref_garagedoor) (2)
	CreateDynamicObject(2885,1567.83386230,-1671.07019043,1735.48669434,0.00000000,0.00000000,180.00000000); //object(xref_garagedoor) (2)
	CreateDynamicObject(2885,1567.81823730,-1670.98706055,1735.48669434,0.00000000,0.00000000,0.00000000); //object(xref_garagedoor) (2)
	CreateDynamicObject(2886,1555.43066406,-1709.46289062,1725.24279785,0.00000000,0.00000000,90.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1555.37561035,-1709.46911621,1725.24279785,0.00000000,0.00000000,270.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2632,1553.70031738,-1700.73779297,1723.54980469,0.00000000,0.00000000,270.00000000); //object(gym_mat02) (1)
	CreateDynamicObject(2630,1550.83874512,-1704.52331543,1723.50341797,0.00000000,0.00000000,90.00000000); //object(gym_bike) (1)
	CreateDynamicObject(2627,1551.92639160,-1699.95617676,1723.50341797,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (1)
	CreateDynamicObject(2627,1550.60864258,-1699.95617676,1723.50341797,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (2)
	CreateDynamicObject(2628,1554.08422852,-1705.55932617,1723.50341797,0.00000000,0.00000000,180.00000000); //object(gym_bench2) (1)
	CreateDynamicObject(2630,1550.83874512,-1702.98815918,1723.50341797,0.00000000,0.00000000,88.00000000); //object(gym_bike) (2)
	CreateDynamicObject(2629,1552.46496582,-1705.62561035,1723.50341797,0.00000000,0.00000000,178.00000000); //object(gym_bench1) (1)
	CreateDynamicObject(2964,1560.83593750,-1705.22851562,1723.50341797,0.00000000,0.00000000,270.00000000); //object(k_pooltablesm) (2)
	CreateDynamicObject(1724,1563.44226074,-1708.23388672,1723.50341797,0.00000000,0.00000000,180.00000000); //object(mrk_seating1b) (1)
	CreateDynamicObject(1723,1561.58520508,-1708.21264648,1723.50341797,0.00000000,0.00000000,180.00000000); //object(mrk_seating1) (1)
	CreateDynamicObject(1724,1559.09094238,-1702.58728027,1723.50341797,0.00000000,0.00000000,0.00000000); //object(mrk_seating1b) (2)
	CreateDynamicObject(1723,1560.88977051,-1702.58276367,1723.50341797,0.00000000,0.00000000,0.00000000); //object(mrk_seating1) (2)
	CreateDynamicObject(3003,1560.84667969,-1704.82128906,1724.43383789,0.00000000,0.00000000,0.00000000); //object(k_poolballcue) (1)
	CreateDynamicObject(3004,1560.46118164,-1705.93640137,1724.39538574,0.00000000,0.00000000,0.00000000); //object(k_poolq2) (1)
	CreateDynamicObject(3004,1561.16760254,-1705.94580078,1724.39538574,0.00000000,0.00000000,0.00000000); //object(k_poolq2) (2)
	CreateDynamicObject(1721,1554.21789551,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (9)
	CreateDynamicObject(1721,1554.92248535,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (10)
	CreateDynamicObject(1721,1555.62707520,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (11)
	CreateDynamicObject(1721,1556.33166504,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (12)
	CreateDynamicObject(1721,1557.03625488,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (13)
	CreateDynamicObject(1721,1557.74084473,-1690.89025879,1722.10498047,0.00000000,0.00000000,0.00000000); //object(est_chair1) (14)
	CreateDynamicObject(1721,1553.94409180,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (15)
	CreateDynamicObject(1721,1553.23950195,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (16)
	CreateDynamicObject(1721,1552.53491211,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (17)
	CreateDynamicObject(1721,1551.83032227,-1678.32104492,1722.10498047,0.00000000,0.00000000,180.00000000); //object(est_chair1) (18)
	CreateDynamicObject(2222,1563.28967285,-1696.23547363,1722.78918457,0.00000000,0.00000000,119.99813843); //object(rustyhigh) (3)
	CreateDynamicObject(1720,1561.67736816,-1697.38964844,1722.10498047,0.00000000,0.00000000,128.00000000); //object(rest_chair) (1)
	CreateDynamicObject(1720,1561.54614258,-1696.07861328,1722.10498047,0.00000000,0.00000000,77.99621582); //object(rest_chair) (2)
	CreateDynamicObject(1720,1564.96582031,-1697.37622070,1722.10498047,0.00000000,0.00000000,223.99195862); //object(rest_chair) (3)
	CreateDynamicObject(1720,1564.94604492,-1695.55664062,1722.10498047,0.00000000,0.00000000,293.98925781); //object(rest_chair) (4)
	CreateDynamicObject(3089,1559.20605469,-1706.66113281,1728.91784668,0.00000000,0.00000000,180.00000000); //object(ab_casdorlok) (7)
	CreateDynamicObject(2886,1558.00878906,-1706.68457031,1729.18823242,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (3)
	CreateDynamicObject(2886,1557.95312500,-1706.63378906,1729.18823242,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (4)
	CreateDynamicObject(1502,1555.56237793,-1703.38684082,1727.70654297,0.00000000,0.00000000,180.00000000); //object(gen_doorint04) (1)
	CreateDynamicObject(1721,1551.09704590,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (19)
	CreateDynamicObject(1721,1552.02819824,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (20)
	CreateDynamicObject(1721,1552.95935059,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (21)
	CreateDynamicObject(1721,1553.89050293,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (22)
	CreateDynamicObject(1721,1554.82165527,-1697.89147949,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (23)
	CreateDynamicObject(1721,1551.09704590,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (25)
	CreateDynamicObject(1721,1551.09704590,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (26)
	CreateDynamicObject(1721,1552.02819824,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (27)
	CreateDynamicObject(1721,1552.95935059,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (28)
	CreateDynamicObject(1721,1553.89050293,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (29)
	CreateDynamicObject(1721,1554.82165527,-1699.12011719,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (30)
	CreateDynamicObject(1721,1552.01184082,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (31)
	CreateDynamicObject(1721,1552.91369629,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (32)
	CreateDynamicObject(1721,1553.85461426,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (33)
	CreateDynamicObject(1721,1554.80700684,-1700.34875488,1727.70654297,0.00000000,0.00000000,180.00000000); //object(est_chair1) (34)
	CreateDynamicObject(1999,1558.81494141,-1710.68615723,1727.72570801,0.00000000,0.00000000,0.00000000); //object(officedesk2) (1)
	CreateDynamicObject(1999,1559.82641602,-1709.67822266,1727.72570801,0.00000000,0.00000000,180.00000000); //object(officedesk2) (2)
	CreateDynamicObject(1957,1558.89172363,-1710.63037109,1728.62817383,0.00000000,0.00000000,0.00000000); //object(turn_tablel) (1)
	CreateDynamicObject(1957,1559.70385742,-1709.80883789,1728.62817383,0.00000000,0.00000000,0.00000000); //object(turn_tablel) (2)
	CreateDynamicObject(2008,1558.86535645,-1714.37780762,1727.69921875,0.00000000,0.00000000,0.00000000); //object(officedesk1) (1)
	CreateDynamicObject(2008,1559.88085938,-1713.35485840,1727.69921875,0.00000000,0.00000000,180.00000000); //object(officedesk1) (2)
	CreateDynamicObject(1719,1559.74975586,-1713.63220215,1728.55371094,0.00000000,0.00000000,0.00000000); //object(low_console) (2)
	CreateDynamicObject(1719,1559.13940430,-1714.31591797,1728.55371094,0.00000000,0.00000000,182.00000000); //object(low_console) (3)
	CreateDynamicObject(1663,1559.01013184,-1708.35021973,1728.16674805,0.00000000,0.00000000,0.00000000); //object(swivelchair_b) (3)
	CreateDynamicObject(1663,1559.00976562,-1712.20214844,1728.16674805,0.00000000,0.00000000,0.00000000); //object(swivelchair_b) (5)
	CreateDynamicObject(1663,1559.89294434,-1711.88171387,1728.16674805,0.00000000,0.00000000,180.00000000); //object(swivelchair_b) (6)
	CreateDynamicObject(1663,1559.89294434,-1715.51074219,1728.16674805,0.00000000,0.00000000,180.00000000); //object(swivelchair_b) (7)
	CreateDynamicObject(14532,1550.55200195,-1702.15393066,1728.90014648,0.00000000,0.00000000,0.00000000); //object(tv_stand_driv) (1)
	CreateDynamicObject(2198,1557.56054688,-1696.47412109,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office2_desk_3) (5)
	CreateDynamicObject(1806,1557.24121094,-1694.88769531,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (3)
	CreateDynamicObject(1806,1556.37817383,-1694.88806152,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (4)
	CreateDynamicObject(2191,1559.04687500,-1698.02734375,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office2_cab) (1)
	CreateDynamicObject(2191,1557.22558594,-1698.02819824,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office2_cab) (2)
	CreateDynamicObject(2172,1556.52722168,-1692.30725098,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office2_desk_1) (2)
	CreateDynamicObject(2198,1558.88488770,-1693.92224121,1727.69921875,0.00000000,0.00000000,0.00000000); //object(med_office2_desk_3) (6)
	CreateDynamicObject(1806,1559.80175781,-1695.70605469,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (6)
	CreateDynamicObject(1806,1558.99414062,-1695.70690918,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (7)
	CreateDynamicObject(2356,1557.01452637,-1693.47875977,1727.70654297,0.00000000,0.00000000,0.00000000); //object(police_off_chair) (1)
	CreateDynamicObject(1502,1560.51989746,-1696.82812500,1727.70654297,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (2)
	CreateDynamicObject(1502,1560.51965332,-1699.01000977,1727.70654297,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (3)
	CreateDynamicObject(2205,1556.44238281,-1701.60498047,1727.70654297,0.00000000,0.00000000,0.00000000); //object(med_office8_desk_1) (1)
	CreateDynamicObject(2205,1557.80004883,-1700.58251953,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office8_desk_1) (2)
	CreateDynamicObject(1671,1557.09423828,-1702.85571289,1728.15942383,0.00000000,0.00000000,180.00000000); //object(swivelchair_a) (2)
	CreateDynamicObject(2190,1556.81738281,-1701.32226562,1728.62207031,0.00000000,0.00000000,0.00000000); //object(pc_1) (3)
	CreateDynamicObject(2201,1558.17187500,-1701.39941406,1728.64306641,0.00000000,0.00000000,0.00000000); //object(printer_1) (1)
	CreateDynamicObject(14532,1559.96728516,-1701.01232910,1728.68188477,0.00000000,0.00000000,90.00000000); //object(tv_stand_driv) (2)
	CreateDynamicObject(2854,1557.40283203,-1700.78625488,1728.82421875,0.00000000,0.00000000,0.00000000); //object(gb_bedmags04) (1)
	CreateDynamicObject(2164,1560.37548828,-1702.00122070,1727.70654297,0.00000000,0.00000000,270.00000000); //object(med_office_unit_5) (1)
	CreateDynamicObject(14782,1566.07714844,-1670.93994141,1723.12097168,0.00000000,0.00000000,0.00000000); //object(int3int_boxing30) (1)
	CreateDynamicObject(14782,1566.23303223,-1673.43151855,1723.12097168,0.00000000,0.00000000,180.00000000); //object(int3int_boxing30) (2)
	CreateDynamicObject(1502,1562.14941406,-1672.91113281,1722.10498047,0.00000000,0.00000000,90.00000000); //object(gen_doorint04) (4)
	CreateDynamicObject(1502,1562.17163086,-1676.61279297,1722.10498047,0.00000000,0.00000000,90.00000000); //object(gen_doorint04) (5)
	CreateDynamicObject(1806,1556.59399414,-1699.10717773,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (3)
	CreateDynamicObject(1806,1557.70556641,-1699.10717773,1727.70654297,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (3)
	CreateDynamicObject(1337,1553.31347656,-1788.25488281,1691.96240234,0.00000000,0.00000000,0.00000000); //object(binnt07_la) (4)
	CreateDynamicObject(2921,1561.95996094,-1690.80346680,1726.33288574,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (1)
	CreateDynamicObject(2921,1563.37878418,-1691.18786621,1726.35595703,0.00000000,0.00000000,270.00000000); //object(kmb_cam) (2)
	CreateDynamicObject(2921,1558.77795410,-1651.90881348,1720.93408203,0.00000000,0.00000000,90.00000000); //object(kmb_cam) (3)
	CreateDynamicObject(2921,1559.52758789,-1652.37634277,1721.13623047,0.00000000,0.00000000,180.00000000); //object(kmb_cam) (4)
	CreateDynamicObject(2921,1570.85229492,-1671.30017090,1732.16455078,0.00000000,0.00000000,88.00000000); //object(kmb_cam) (5)
	CreateDynamicObject(2921,1556.69494629,-1677.58532715,1732.26562500,0.00000000,0.00000000,270.00000000); //object(kmb_cam) (6)
	CreateDynamicObject(2921,1563.11999512,-1709.06311035,1726.13134766,0.00000000,0.00000000,94.00000000); //object(kmb_cam) (7)
	CreateDynamicObject(1502,1558.85852051,-1663.34301758,1722.10498047,0.00000000,0.00000000,270.00000000); //object(gen_doorint04) (4)
	CreateDynamicObject(2174,1566.30053711,-1691.22094727,1729.10498047,0.00000000,0.00000000,180.00000000); //object(med_office4_desk_2) (1)
	CreateDynamicObject(2171,1563.73400879,-1691.14648438,1729.10498047,0.00000000,0.00000000,180.00000000); //object(med_office4_desk_1) (1)
	CreateDynamicObject(2161,1565.44726562,-1687.77062988,1729.11706543,0.00000000,0.00000000,0.00000000); //object(med_office_unit_4) (1)
	CreateDynamicObject(2162,1563.05249023,-1687.76892090,1729.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_unit_1) (1)
	CreateDynamicObject(2165,1565.22155762,-1689.37512207,1729.10498047,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (1)
	CreateDynamicObject(1671,1563.93786621,-1689.79919434,1729.61035156,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (3)
	CreateDynamicObject(1663,1566.73889160,-1689.08374023,1729.61035156,0.00000000,0.00000000,300.00000000); //object(swivelchair_b) (4)
	CreateDynamicObject(1663,1566.76611328,-1690.18054199,1729.61035156,0.00000000,0.00000000,240.00000000); //object(swivelchair_b) (8)
	CreateDynamicObject(2161,1565.46435547,-1687.51940918,1729.11706543,0.00000000,0.00000000,180.00000000); //object(med_office_unit_4) (3)
	CreateDynamicObject(2166,1563.80944824,-1687.02160645,1729.10498047,0.00000000,0.00000000,90.00000000); //object(med_office_desk_2) (1)
	CreateDynamicObject(2174,1564.89343262,-1684.32934570,1729.15502930,0.00000000,0.00000000,0.00000000); //object(med_office4_desk_2) (2)
	CreateDynamicObject(14532,1563.17456055,-1684.57739258,1730.11572266,0.00000000,0.00000000,215.00000000); //object(tv_stand_driv) (3)
	CreateDynamicObject(2165,1565.34667969,-1685.17590332,1729.15478516,0.00000000,0.00000000,270.00000000); //object(med_office_desk_1) (2)
	CreateDynamicObject(1671,1564.20605469,-1685.72753906,1729.61035156,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (4)
	CreateDynamicObject(1663,1566.61486816,-1685.55395508,1729.61035156,0.00000000,0.00000000,270.00000000); //object(swivelchair_b) (9)
	CreateDynamicObject(2186,1565.69592285,-1677.11560059,1729.09509277,0.00000000,0.00000000,270.00000000); //object(photocopier_1) (3)
	CreateDynamicObject(2186,1563.54333496,-1678.27795410,1729.09509277,0.00000000,0.00000000,90.00000000); //object(photocopier_1) (5)
	CreateDynamicObject(2197,1568.72607422,-1664.72607422,1729.10498047,0.00000000,0.00000000,0.00000000); //object(filling_cabinet) (1)
	CreateDynamicObject(2007,1564.67858887,-1676.23291016,1729.00390625,0.00000000,0.00000000,0.00000000); //object(filing_cab_nu01) (1)
	CreateDynamicObject(2007,1565.69421387,-1679.10168457,1729.00390625,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (1)
	CreateDynamicObject(2007,1563.36865234,-1679.10168457,1729.00390625,0.00000000,0.00000000,180.00000000); //object(filing_cab_nu01) (1)
	CreateDynamicObject(2008,1552.15344238,-1668.14440918,1722.10498047,0.00000000,0.00000000,0.00000000); //object(officedesk1) (3)
	CreateDynamicObject(2008,1555.19653320,-1668.14440918,1722.10498047,0.00000000,0.00000000,0.00000000); //object(officedesk1) (4)
	CreateDynamicObject(2008,1552.96813965,-1664.46997070,1722.10498047,0.00000000,0.00000000,180.00000000); //object(officedesk1) (5)
	CreateDynamicObject(2008,1556.25537109,-1664.46997070,1722.10498047,0.00000000,0.00000000,180.00000000); //object(officedesk1) (6)
	CreateDynamicObject(1806,1556.27856445,-1669.21301270,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (2)
	CreateDynamicObject(1806,1553.14367676,-1669.21301270,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (5)
	CreateDynamicObject(1806,1555.33593750,-1663.33398438,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(1806,1551.99780273,-1663.32373047,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (10)
	CreateDynamicObject(2310,1555.25109863,-1666.83703613,1722.71142578,0.00000000,0.00000000,90.00000000); //object(mike_din_chair) (2)
	CreateDynamicObject(2310,1552.11328125,-1666.83703613,1722.71142578,0.00000000,0.00000000,90.00000000); //object(mike_din_chair) (3)
	CreateDynamicObject(2310,1552.75549316,-1665.69445801,1722.71142578,0.00000000,0.00000000,270.00000000); //object(mike_din_chair) (4)
	CreateDynamicObject(2310,1555.99475098,-1665.69445801,1722.71142578,0.00000000,0.00000000,270.00000000); //object(mike_din_chair) (5)
	CreateDynamicObject(11631,1552.77868652,-1676.85302734,1723.35778809,0.00000000,0.00000000,180.00000000); //object(ranch_desk) (1)
	CreateDynamicObject(1806,1552.12463379,-1675.85559082,1722.11193848,0.00000000,0.00000000,178.00000000); //object(med_office_chair) (1)
	CreateDynamicObject(11631,1557.91186523,-1672.41625977,1723.35778809,0.00000000,0.00000000,270.00000000); //object(ranch_desk) (1)
	CreateDynamicObject(1806,1556.80505371,-1673.08679199,1722.11193848,0.00000000,0.00000000,270.00000000); //object(med_office_chair) (1)
	CreateDynamicObject(931,1560.20507812,-1710.06445312,1724.51416016,0.00000000,0.00000000,0.00000000); //object(rack3) (1)
	CreateDynamicObject(931,1562.64257812,-1712.62792969,1724.51416016,0.00000000,0.00000000,270.00000000); //object(rack3) (2)
	CreateDynamicObject(1271,1562.61511230,-1710.03332520,1723.85656738,0.00000000,0.00000000,0.00000000); //object(gunbox) (1)
	CreateDynamicObject(3089,1562.24316406,-1714.04785156,1724.83239746,0.00000000,0.00000000,180.00000000); //object(ab_casdorlok) (4)
	CreateDynamicObject(2886,1560.97790527,-1714.12109375,1725.24279785,0.00000000,0.00000000,0.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(2886,1560.94592285,-1713.98901367,1725.24279785,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
	CreateDynamicObject(1502,1565.73889160,-1714.00488281,1723.50341797,0.00000000,0.00000000,180.00000000); //object(gen_doorint04) (6)
	CreateDynamicObject(2191,1558.14672852,-1656.89648438,1722.10498047,0.00000000,0.00000000,270.00000000); //object(med_office2_cab) (3)
	CreateDynamicObject(2191,1557.18811035,-1661.62756348,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office2_cab) (4)
	CreateDynamicObject(2191,1550.59179688,-1657.45019531,1722.10498047,0.00000000,0.00000000,90.00000000); //object(med_office2_cab) (5)
	CreateDynamicObject(2191,1552.55883789,-1652.45312500,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office2_cab) (6)
	CreateDynamicObject(2198,1552.57580566,-1659.56811523,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office2_desk_3) (1)
	CreateDynamicObject(1806,1553.57202148,-1658.10363770,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(1806,1552.63977051,-1658.05871582,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(1806,1553.21130371,-1661.07482910,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(2198,1554.92443848,-1655.05273438,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office2_desk_3) (2)
	CreateDynamicObject(1806,1554.71972656,-1656.46240234,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(1806,1553.91113281,-1656.46875000,1722.10498047,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(1806,1554.21862793,-1653.47058105,1722.10498047,0.00000000,0.00000000,180.00000000); //object(med_office_chair) (8)
	CreateDynamicObject(2008,1564.51647949,-1663.24877930,1717.90747070,0.00000000,0.00000000,0.00000000); //object(officedesk1) (7)
	CreateDynamicObject(2008,1561.32775879,-1663.24877930,1717.90747070,0.00000000,0.00000000,0.00000000); //object(officedesk1) (9)
	CreateDynamicObject(1811,1564.85510254,-1661.63452148,1718.56225586,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (1)
	CreateDynamicObject(1811,1561.70935059,-1661.63452148,1718.56225586,0.00000000,0.00000000,90.00000000); //object(med_din_chair_5) (2)
	CreateDynamicObject(1806,1565.67126465,-1664.52770996,1717.94628906,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (16)
	CreateDynamicObject(1806,1562.53649902,-1664.52770996,1717.94628906,0.00000000,0.00000000,0.00000000); //object(med_office_chair) (17)
	CreateDynamicObject(2921,1559.92126465,-1665.72412109,1720.67553711,0.00000000,0.00000000,258.00000000); //object(kmb_cam) (8)
	CreateDynamicObject(2891,1560.73437500,-1710.38964844,1724.64868164,0.00000000,0.00000000,0.00000000); //object(kmb_packet) (1)
	CreateDynamicObject(2901,1562.38977051,-1712.76269531,1723.90124512,0.00000000,0.00000000,270.00000000); //object(kmb_marijuana) (1)
	CreateDynamicObject(2915,1555.06225586,-1700.99914551,1723.60351562,0.00000000,0.00000000,270.00000000); //object(kmb_dumbbell2) (1)
	CreateDynamicObject(1550,1560.09948730,-1709.87280273,1725.97082520,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (1)
	CreateDynamicObject(2035,1559.82836914,-1710.27172852,1724.71862793,0.00000000,0.00000000,0.00000000); //object(cj_m16) (1)
	CreateDynamicObject(2061,1562.53686523,-1712.60485840,1724.93127441,0.00000000,0.00000000,268.00000000); //object(cj_shells1) (1)
	CreateDynamicObject(1210,1560.26184082,-1710.08776855,1723.77087402,0.00000000,0.00000000,0.00000000); //object(briefcase) (1)
	CreateDynamicObject(2201,1553.80053711,-1675.03710938,1729.88073730,0.00000000,0.00000000,0.00000000); //object(printer_1) (3)
	CreateDynamicObject(2201,1568.22265625,-1666.09301758,1729.88073730,0.00000000,0.00000000,70.00000000); //object(printer_1) (5)
	CreateDynamicObject(14744,1552.19384766,-1717.90905762,1725.06945801,0.00000000,0.00000000,0.00000000); //object(rybathroom) (1)
	CreateDynamicObject(14744,1552.19335938,-1717.80822754,1725.28747559,0.00000000,0.00000000,0.00000000); //object(rybathroom) (2)
	CreateDynamicObject(14744,1554.27587891,-1714.96997070,1725.08532715,0.00000000,0.00000000,90.00000000); //object(rybathroom) (3)
	CreateDynamicObject(2602,1552.75439453,-1664.32360840,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (1)
	CreateDynamicObject(2602,1552.79748535,-1660.47827148,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (2)
	CreateDynamicObject(2602,1552.53686523,-1656.51318359,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (3)
	CreateDynamicObject(2602,1552.79370117,-1652.37243652,1718.40722656,0.00000000,0.00000000,316.00000000); //object(police_cell_toilet) (4)

	// Steegje met Objects ((Christan / Gido))
/*	CreateDynamicObject(12954,1361.0000000,-1770.5999756,13.1000004,0.0000000,0.0000000,269.2500000); //object(sw_furnipile01) (1)
	CreateDynamicObject(2673,1370.5999756,-1769.5000000,12.6000004,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_5) (1)
	CreateDynamicObject(2676,1372.0000000,-1771.5999756,12.6999998,0.0000000,0.0000000,0.0000000); //object(proc_rubbish_8) (1)
	CreateDynamicObject(3867,1377.3000488,-1774.0000000,6.0000000,0.0000000,0.0000000,90.0000000); //object(ws_scaffolding_sfx) (1)
	CreateDynamicObject(3576,1376.1999512,-1769.3000488,15.8000002,0.0000000,0.0000000,0.0000000); //object(dockcrates2_la) (1)
	CreateDynamicObject(3577,1377.1999512,-1772.3000488,13.3000002,0.0000000,0.0000000,0.0000000); //object(dockcrates1_la) (1)
	CreateDynamicObject(3576,1377.6999512,-1772.3000488,15.5000000,0.0000000,0.0000000,0.0000000); //object(dockcrates2_la) (2)
	CreateDynamicObject(3798,1376.8000488,-1769.1999512,12.3999996,0.0000000,0.0000000,0.0000000); //object(acbox3_sfs) (1)
	CreateDynamicObject(3798,1375.1999512,-1769.8000488,12.3999996,0.0000000,0.0000000,0.0000000); //object(acbox3_sfs) (2)
	CreateDynamicObject(3798,1375.1999512,-1767.8000488,12.3999996,0.0000000,0.0000000,0.0000000); //object(acbox3_sfs) (3)
	CreateDynamicObject(1764,1376.4000244,-1775.5999756,19.6000004,0.0000000,44.0000000,92.0000000); //object(low_couch_2) (1)
	CreateDynamicObject(3046,1376.5000000,-1775.1999512,18.7000008,0.0000000,0.0000000,90.0000000); //object(kb_barrel) (1)
	CreateDynamicObject(1764,1376.4000244,-1772.6999512,18.2999992,0.0000000,0.0000000,88.0000000); //object(low_couch_2) (2)
	CreateDynamicObject(1737,1363.1999512,-1772.5999756,12.3999996,0.0000000,0.0000000,104.0000000); //object(med_dinning_5) (1)
	CreateDynamicObject(2395,1378.3000488,-1767.8000488,18.2999992,0.0000000,0.0000000,271.0000000); //object(cj_sports_wall) (1)
	CreateDynamicObject(2395,1378.3000488,-1771.5000000,18.2999992,0.0000000,0.0000000,270.9997559); //object(cj_sports_wall) (2)
	CreateDynamicObject(2395,1378.5000000,-1774.1999512,18.2999992,0.0000000,0.0000000,90.9997559); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,1378.5000000,-1770.5000000,18.2999992,0.0000000,0.0000000,90.9997559); //object(cj_sports_wall) (4)
	CreateDynamicObject(1764,1366.4000244,-1772.0000000,12.5000000,0.0000000,0.0000000,50.0000000); //object(low_couch_2) (3)
	CreateDynamicObject(1764,1369.0000000,-1770.1999512,12.5000000,0.0000000,0.0000000,341.9987793); //object(low_couch_2) (4)
	CreateDynamicObject(2315,1368.4000244,-1772.4000244,12.3000002,0.0000000,0.0000000,14.0000000); //object(cj_tv_table4) (1)
	CreateDynamicObject(1793,1357.8000488,-1773.4000244,12.5000000,0.0000000,0.0000000,0.0000000); //object(low_bed_2) (1)
	CreateDynamicObject(1789,1374.5999756,-1772.5000000,13.1000004,0.0000000,0.0000000,0.0000000); //object(cj_chambermaid) (1)
*/
	// Idlewood Gas Station
	CreateDynamicObject(2395,1928.30004883,-1769.50000000,11.50000000,0.00000000,0.00000000,90.24694824); //object(cj_sports_wall) (6)
	CreateDynamicObject(2395,1928.30004883,-1769.50000000,14.19999981,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (8)
	CreateDynamicObject(2395,1928.30004883,-1773.19995117,14.19999981,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (9)
	CreateDynamicObject(2395,1928.30004883,-1773.19995117,11.50000000,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (10)
	CreateDynamicObject(2395,1928.30004883,-1781.40002441,11.50000000,0.00000000,0.00021362,90.24176025); //object(cj_sports_wall) (11)
	CreateDynamicObject(2395,1928.29980469,-1781.39941406,14.19999981,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1928.30004883,-1785.09997559,14.19999981,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (13)
	CreateDynamicObject(2395,1928.30004883,-1785.09997559,11.50000000,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (14)
	CreateDynamicObject(2395,1928.30004883,-1777.69995117,14.19999981,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (15)
	CreateDynamicObject(2395,1928.30004883,-1775.59997559,14.19999981,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (16)
	CreateDynamicObject(2395,1928.30004883,-1785.90002441,11.50000000,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (17)
	CreateDynamicObject(2395,1928.30004883,-1785.90002441,14.19999981,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (18)
	CreateDynamicObject(2395,1928.29980469,-1774.00000000,14.19999981,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (19)
	CreateDynamicObject(2395,1928.30004883,-1774.00000000,11.50000000,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (20)
	CreateDynamicObject(2395,1928.30004883,-1780.30004883,13.30000019,0.00000000,0.00000000,90.49169922); //object(cj_sports_wall) (22)
	CreateDynamicObject(2395,1928.29980469,-1774.89941406,14.19999981,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,1928.30004883,-1774.90002441,11.50000000,0.00000000,0.00000000,90.24169922); //object(cj_sports_wall) (24)
	CreateDynamicObject(2395,1928.30004883,-1780.30004883,10.60000038,0.00000000,0.00000000,90.48889160); //object(cj_sports_wall) (25)
	CreateDynamicObject(1569,1928.30004883,-1777.80004883,12.50000000,0.00000000,0.00000000,91.00000000); //object(adam_v_door) (1)
	CreateDynamicObject(1569,1928.30004883,-1774.80004883,12.50000000,0.00000000,0.00000000,268.99978638); //object(adam_v_door) (2)
	CreateDynamicObject(2395,1925.00000000,-1786.50000000,11.50000000,0.00000000,0.00000000,359.74169922); //object(cj_sports_wall) (27)
	CreateDynamicObject(2395,1925.00000000,-1786.50000000,14.19999981,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (28)
	CreateDynamicObject(2395,1921.30004883,-1786.50000000,11.50000000,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (29)
	CreateDynamicObject(2395,1921.40002441,-1786.50000000,14.19999981,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (30)
	CreateDynamicObject(2395,1917.69995117,-1786.50000000,14.19999981,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (31)
	CreateDynamicObject(2395,1917.59997559,-1786.50000000,11.50000000,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (33)
	CreateDynamicObject(2395,1914.80004883,-1786.50000000,11.50000000,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (34)
	CreateDynamicObject(2395,1914.80004883,-1786.50000000,14.19999981,0.00000000,0.00000000,359.73632812); //object(cj_sports_wall) (35)
	CreateDynamicObject(2395,1914.30004883,-1783.19995117,14.19999981,0.00000000,0.00000000,270.23632812); //object(cj_sports_wall) (36)
	CreateDynamicObject(2395,1914.30004883,-1783.19995117,11.50000000,0.00000000,0.00000000,270.23620605); //object(cj_sports_wall) (37)
	CreateDynamicObject(2395,1914.30004883,-1779.50000000,11.50000000,0.00000000,0.00000000,270.23620605); //object(cj_sports_wall) (38)
	CreateDynamicObject(2395,1914.30004883,-1779.50000000,14.19999981,0.00000000,0.00000000,270.23620605); //object(cj_sports_wall) (39)
	CreateDynamicObject(2395,1911.30004883,-1781.00000000,14.19999981,0.00000000,0.00000000,0.48623657); //object(cj_sports_wall) (40)
	CreateDynamicObject(2395,1911.30004883,-1781.00000000,11.50000000,0.00000000,0.00000000,0.48339844); //object(cj_sports_wall) (41)
	CreateDynamicObject(2395,1908.59997559,-1781.00000000,11.50000000,0.00000000,0.00000000,0.48339844); //object(cj_sports_wall) (42)
	CreateDynamicObject(2395,1908.59997559,-1781.00000000,14.19999981,0.00000000,0.00000000,0.48339844); //object(cj_sports_wall) (43)
	CreateDynamicObject(2395,1908.00000000,-1777.69995117,14.19999981,0.00000000,0.00000000,270.23339844); //object(cj_sports_wall) (44)
	CreateDynamicObject(2395,1908.00000000,-1777.69921875,11.50000000,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (45)
	CreateDynamicObject(2395,1908.00000000,-1774.00000000,11.50000000,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (46)
	CreateDynamicObject(2395,1908.00000000,-1774.00000000,14.19999981,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (47)
	CreateDynamicObject(2395,1908.00000000,-1772.19995117,14.19999981,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (48)
	CreateDynamicObject(2395,1908.00000000,-1772.19995117,11.50000000,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (49)
	CreateDynamicObject(2395,1913.90002441,-1771.69995117,14.19999981,0.00000000,0.00000000,179.98010254); //object(cj_sports_wall) (51)
	CreateDynamicObject(2395,1913.90002441,-1771.69995117,11.50000000,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (52)
	CreateDynamicObject(2395,1911.30004883,-1771.69995117,11.50000000,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (53)
	CreateDynamicObject(2395,1911.30004883,-1771.69995117,14.19999981,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (54)
	CreateDynamicObject(2395,1914.29980469,-1768.50000000,14.19999981,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(2395,1914.30004883,-1768.50000000,11.50000000,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (56)
	CreateDynamicObject(2395,1914.30004883,-1766.69995117,11.50000000,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (57)
	CreateDynamicObject(2395,1914.30004883,-1766.69995117,14.19999981,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (58)
	CreateDynamicObject(2395,1917.59997559,-1766.09997559,14.19999981,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (59)
	CreateDynamicObject(2395,1917.59997559,-1766.09997559,11.50000000,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (60)
	CreateDynamicObject(2395,1921.30004883,-1766.09997559,11.50000000,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (61)
	CreateDynamicObject(2395,1921.30004883,-1766.09997559,14.19999981,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (62)
	CreateDynamicObject(2395,1925.00000000,-1766.09997559,14.19999981,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (63)
	CreateDynamicObject(2395,1925.00000000,-1766.09997559,11.50000000,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (64)
	CreateDynamicObject(2395,1927.69995117,-1766.09997559,11.50000000,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (65)
	CreateDynamicObject(2395,1927.69995117,-1766.09997559,14.19999981,0.00000000,0.00000000,179.97802734); //object(cj_sports_wall) (66)
	CreateDynamicObject(13817,1911.50000000,-1771.69995117,14.10000038,0.00000000,359.50000000,269.50000000); //object(ce_safedoor01) (1)
	CreateDynamicObject(13817,1911.19995117,-1780.90002441,14.10000038,0.00000000,359.49462891,269.49462891); //object(ce_safedoor01) (2)
	CreateDynamicObject(3034,1928.29980469,-1769.29980469,14.60000038,0.00000000,0.00000000,91.24694824); //object(bd_window) (1)
	CreateDynamicObject(3034,1928.30004883,-1781.80004883,14.60000038,0.00000000,0.00000000,91.24694824); //object(bd_window) (2)
	CreateDynamicObject(3034,1925.80004883,-1786.50000000,14.60000038,0.00000000,0.00000000,1.24697876); //object(bd_window) (4)
	CreateDynamicObject(3034,1918.90002441,-1786.59997559,14.60000038,0.00000000,0.00000000,1.24694824); //object(bd_window) (5)
	CreateDynamicObject(983,1941.00000000,-1777.40002441,13.30000019,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (1)
	CreateDynamicObject(983,1941.00000000,-1771.00000000,13.30000019,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (2)
	CreateDynamicObject(983,1941.00000000,-1767.80004883,13.30000019,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (3)
	CreateDynamicObject(983,1942.50000000,-1767.90002441,13.30000019,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (4)
	CreateDynamicObject(983,1942.40002441,-1777.50000000,13.30000019,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (5)
	CreateDynamicObject(983,1942.50000000,-1772.69995117,13.30000019,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (6)
	CreateDynamicObject(12814,1901.69995117,-1782.80004883,12.39999962,0.00000000,0.00000000,90.49993896); //object(cuntyeland04) (1)
	CreateDynamicObject(12814,1941.40002441,-1782.30004883,12.39999962,0.00000000,0.00000000,0.00000000); //object(cuntyeland04) (3)
	CreateDynamicObject(12814,1899.59997559,-1772.40002441,12.39999962,0.00000000,0.00000000,90.49987793); //object(cuntyeland04) (4)
	CreateDynamicObject(1215,1915.09997559,-1785.30004883,13.30000019,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
	CreateDynamicObject(1215,1927.09997559,-1785.30004883,15.60000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
	CreateDynamicObject(1215,1924.90002441,-1774.09997559,15.60000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
	CreateDynamicObject(1215,1925.40002441,-1767.59997559,15.60000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
	CreateDynamicObject(1215,1915.59997559,-1768.69995117,15.60000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5)
	CreateDynamicObject(1231,1948.90002441,-1759.19995117,15.30000019,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (1)
	CreateDynamicObject(1231,1934.59997559,-1759.19995117,15.30000019,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (2)
	CreateDynamicObject(1231,1952.40002441,-1781.30004883,15.30000019,0.00000000,1.00000000,0.00000000); //object(streetlamp2) (3)
	CreateDynamicObject(1231,1952.90002441,-1793.69995117,15.30000019,0.00000000,0.99975586,0.00000000); //object(streetlamp2) (4)
	CreateDynamicObject(1319,1956.09997559,-1762.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (1)
	CreateDynamicObject(1319,1955.90002441,-1761.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (3)
	CreateDynamicObject(1319,1955.50000000,-1760.09997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (5)
	CreateDynamicObject(1319,1954.69995117,-1759.00000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (7)
	CreateDynamicObject(1319,1953.69995117,-1758.30004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (9)
	CreateDynamicObject(1319,1952.69995117,-1758.00000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (10)
	CreateDynamicObject(1319,1951.59997559,-1757.90002441,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (11)
	CreateDynamicObject(1319,1950.59997559,-1758.09997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (12)
	CreateDynamicObject(1319,1949.80004883,-1758.30004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (13)
	CreateDynamicObject(1319,1949.00000000,-1758.80004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (14)
	CreateDynamicObject(1319,1948.19995117,-1759.59997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (15)
	CreateDynamicObject(1319,1947.59997559,-1760.50000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (16)
	CreateDynamicObject(1319,1947.40002441,-1761.40002441,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (17)
	CreateDynamicObject(1319,1947.19995117,-1762.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (18)
	CreateDynamicObject(1319,1936.09997559,-1762.00000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (19)
	CreateDynamicObject(1319,1935.90002441,-1761.00000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (20)
	CreateDynamicObject(1319,1935.50000000,-1760.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (21)
	CreateDynamicObject(1319,1935.00000000,-1759.50000000,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (22)
	CreateDynamicObject(1319,1934.19995117,-1758.80004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (23)
	CreateDynamicObject(1319,1933.50000000,-1758.30004883,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (24)
	CreateDynamicObject(1319,1932.80004883,-1758.09997559,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (25)
	CreateDynamicObject(1319,1931.80004883,-1757.90002441,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (26)
	CreateDynamicObject(1319,1931.00000000,-1757.90002441,13.10000038,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (27)
	CreateDynamicObject(7191,1928.90002441,-1797.40002441,14.39999962,0.00000000,0.00000000,90.00000000); //object(vegasnnewfence2b) (1)
	CreateDynamicObject(7191,1887.80004883,-1784.69995117,14.39999962,0.00000000,0.00000000,55.99993896); //object(vegasnnewfence2b) (2)
	CreateDynamicObject(7191,1951.59997559,-1819.50000000,14.39999962,0.00000000,0.00000000,0.00000000); //object(vegasnnewfence2b) (5)
	CreateDynamicObject(7191,1951.90002441,-1832.00000000,14.39999962,0.00000000,0.00000000,180.50004578); //object(vegasnnewfence2b) (6)
	CreateDynamicObject(1256,1930.59997559,-1785.19995117,13.19999981,0.00000000,0.00000000,179.25000000); //object(stonebench1) (1)
	CreateDynamicObject(1256,1930.69995117,-1780.09997559,13.19999981,0.00000000,0.00000000,179.24743652); //object(stonebench1) (2)
	CreateDynamicObject(1256,1930.69995117,-1770.30004883,13.19999981,0.00000000,0.00000000,179.24743652); //object(stonebench1) (3)
	CreateDynamicObject(3578,1946.40002441,-1757.80004883,11.69999981,322.75000000,0.00000000,0.00000000); //object(dockbarr1_la) (13)
	CreateDynamicObject(3578,1935.00000000,-1770.50000000,11.69999981,322.74536133,0.00000000,268.75000000); //object(dockbarr1_la) (14)
	CreateDynamicObject(3578,1953.50000000,-1787.90002441,11.69999981,322.73986816,0.00000000,268.74755859); //object(dockbarr1_la) (15)
	CreateDynamicObject(3578,1953.69995117,-1779.59997559,11.69999981,322.73986816,0.00000000,268.74755859); //object(dockbarr1_la) (16)
	CreateDynamicObject(3578,1956.09997559,-1782.00000000,11.69999981,322.73986816,0.00000000,268.74755859); //object(dockbarr1_la) (17)
	CreateDynamicObject(3578,1955.90002441,-1792.19995117,11.69999981,322.73986816,0.00000000,268.99755859); //object(dockbarr1_la) (18)
	CreateDynamicObject(3578,1936.19995117,-1757.80004883,11.69999981,322.74536133,0.00000000,0.00000000); //object(dockbarr1_la) (20)
	CreateDynamicObject(3578,1937.90002441,-1760.59997559,11.69999981,322.74536133,0.00000000,0.00000000); //object(dockbarr1_la) (21)
	CreateDynamicObject(3578,1948.19995117,-1760.59997559,11.69999981,322.74536133,0.00000000,0.00000000); //object(dockbarr1_la) (22)
	CreateDynamicObject(1696,1916.80004883,-1783.09997559,18.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (1)
	CreateDynamicObject(1696,1922.30004883,-1783.19995117,18.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (2)
	CreateDynamicObject(1696,1925.30004883,-1783.19995117,18.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (3)
	CreateDynamicObject(1696,1925.90002441,-1769.59997559,18.00000000,0.00000000,0.00000000,180.25004578); //object(roofstuff15) (4)
	CreateDynamicObject(1696,1920.40002441,-1769.59997559,18.00000000,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (5)
	CreateDynamicObject(1696,1917.40002441,-1769.50000000,18.00000000,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (6)
	CreateDynamicObject(1696,1917.50000000,-1775.00000000,19.89999962,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (7)
	CreateDynamicObject(1696,1923.00000000,-1774.90002441,19.89999962,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (8)
	CreateDynamicObject(1696,1925.90002441,-1774.90002441,19.89999962,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (9)
	CreateDynamicObject(1696,1925.30004883,-1777.40002441,20.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (10)
	CreateDynamicObject(1696,1919.80004883,-1777.40002441,20.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (11)
	CreateDynamicObject(1696,1916.80004883,-1777.40002441,20.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (12)
	CreateDynamicObject(2395,1928.19995117,-1780.59997559,16.10000038,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1928.19995117,-1776.90002441,16.10000038,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1928.19995117,-1774.90002441,16.10000038,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1928.09997559,-1775.40002441,16.20000076,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1928.09997559,-1779.09997559,16.39999962,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,1927.69995117,-1780.30004883,16.20000076,0.00000000,0.00000000,90.23620605); //object(cj_sports_wall) (12)
	CreateDynamicObject(1215,1929.19995117,-1787.59997559,16.50000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (7)
	CreateDynamicObject(1215,1922.90002441,-1787.69995117,16.50000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (8)
	CreateDynamicObject(1215,1951.40002441,-1797.40002441,16.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (9)
	CreateDynamicObject(1215,1931.80004883,-1796.90002441,12.60000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (10)
	CreateDynamicObject(1215,1914.00000000,-1797.00000000,12.60000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (11)
	CreateDynamicObject(1215,1929.40002441,-1765.00000000,16.50000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (12)
	CreateDynamicObject(1215,1923.30004883,-1765.00000000,16.50000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
	CreateDynamicObject(983,1951.59997559,-1765.80004883,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (7)
	CreateDynamicObject(983,1951.59997559,-1773.80004883,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (8)
	CreateDynamicObject(983,1951.59997559,-1769.00000000,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (9)
	CreateDynamicObject(1368,1952.30004883,-1775.90002441,13.19999981,0.00000000,0.00000000,89.25000000); //object(cj_blocker_bench) (2)
	CreateDynamicObject(1368,1952.30004883,-1770.59997559,13.19999981,0.00000000,0.00000000,87.99499512); //object(cj_blocker_bench) (3)
	CreateDynamicObject(1368,1952.30004883,-1764.80004883,13.19999981,0.00000000,0.00000000,88.49499512); //object(cj_blocker_bench) (4)
	CreateDynamicObject(1368,1950.90002441,-1764.80004883,13.19999981,0.00000000,0.00000000,269.99487305); //object(cj_blocker_bench) (5)
	CreateDynamicObject(1368,1951.00000000,-1770.59997559,13.19999981,0.00000000,0.00000000,269.99450684); //object(cj_blocker_bench) (6)
	CreateDynamicObject(1368,1951.00000000,-1775.90002441,13.19999981,0.00000000,0.00000000,269.99450684); //object(cj_blocker_bench) (7)
	CreateDynamicObject(1269,1921.80004883,-1787.09997559,13.19999981,0.00000000,0.00000000,0.00000000); //object(parkingmeter) (2)
	CreateDynamicObject(1269,1915.50000000,-1787.19995117,13.19999981,0.00000000,0.00000000,0.00000000); //object(parkingmeter) (3)
	CreateDynamicObject(1269,1910.09997559,-1793.19995117,13.19999981,0.00000000,0.00000000,0.00000000); //object(parkingmeter) (4)
	CreateDynamicObject(1269,1937.90002441,-1792.90002441,13.19999981,0.00000000,0.00000000,0.00000000); //object(parkingmeter) (5)
	CreateDynamicObject(1269,1946.19995117,-1792.90002441,13.19999981,0.00000000,0.00000000,0.00000000); //object(parkingmeter) (6)
	CreateDynamicObject(1346,1927.40002441,-1787.19995117,13.80000019,0.00000000,0.00000000,0.00000000); //object(cj_phone_kiosk2) (1)
	CreateDynamicObject(1549,1930.40002441,-1786.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (1)
	CreateDynamicObject(1549,1930.59997559,-1783.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (2)
	CreateDynamicObject(1549,1930.59997559,-1781.59997559,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (3)
	CreateDynamicObject(1549,1930.69995117,-1778.59997559,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (4)
	CreateDynamicObject(1549,1951.59997559,-1777.19995117,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (5)
	CreateDynamicObject(1549,1952.40002441,-1772.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (6)
	CreateDynamicObject(1549,1950.90002441,-1772.69995117,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (7)
	CreateDynamicObject(1549,1950.69995117,-1767.09997559,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (8)
	CreateDynamicObject(1549,1952.50000000,-1767.59997559,12.50000000,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (9)
	CreateDynamicObject(3034,1925.30004883,-1766.09997559,14.60000038,0.00000000,0.00000000,180.49696350); //object(bd_window) (1)
	CreateDynamicObject(3034,1918.69995117,-1766.09997559,14.60000038,0.00000000,0.00000000,180.49438477); //object(bd_window) (1)
	CreateDynamicObject(2395,1914.40002441,-1772.09997559,16.10000038,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(2395,1914.40002441,-1775.80004883,16.10000038,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(2395,1914.40002441,-1777.80004883,16.10000038,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(2395,1914.59997559,-1777.40002441,16.29999924,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(2395,1914.50000000,-1773.80004883,16.29999924,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(2395,1914.50000000,-1772.59997559,16.29999924,0.00000000,0.00000000,270.23071289); //object(cj_sports_wall) (55)
	CreateDynamicObject(1696,1912.00000000,-1775.19995117,18.00000000,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (15)
	CreateDynamicObject(1696,1911.09997559,-1775.19995117,18.00000000,0.00000000,0.00000000,180.24719238); //object(roofstuff15) (16)
	CreateDynamicObject(1696,1911.50000000,-1777.50000000,18.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (17)
	CreateDynamicObject(1696,1910.50000000,-1777.40002441,18.00000000,0.00000000,0.00000000,0.00000000); //object(roofstuff15) (18)

	// Bank Exterior
	CreateDynamicObject(16760,1473.30004883,-1019.59997559,40.09999847,0.00000000,0.00000000,89.00000000); //object(cn2_ftcar_sig1) (1)
	CreateDynamicObject(970,1430.59997559,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (1)
	CreateDynamicObject(8648,1479.59997559,-1021.40002441,23.50000000,0.00000000,0.00000000,270.00000000); //object(shbbyhswall04_lvs) (1)
	CreateDynamicObject(8648,1444.69995117,-1021.40002441,23.50000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall04_lvs) (2)
	CreateDynamicObject(8648,1460.00000000,-1021.40002441,34.59999847,359.99877930,358.00000000,90.24871826); //object(shbbyhswall04_lvs) (3)
	CreateDynamicObject(9131,1459.50000000,-1021.40002441,24.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (1)
	CreateDynamicObject(9131,1459.50000000,-1021.40002441,26.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (2)
	CreateDynamicObject(9131,1459.50000000,-1021.40002441,28.29999924,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (3)
	CreateDynamicObject(9131,1459.50000000,-1021.40002441,30.50000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (4)
	CreateDynamicObject(9131,1459.50000000,-1021.40002441,32.70000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (5)
	CreateDynamicObject(9131,1464.69995117,-1021.50000000,24.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (6)
	CreateDynamicObject(9131,1464.69995117,-1021.50000000,26.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (7)
	CreateDynamicObject(9131,1464.69995117,-1021.50000000,28.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (8)
	CreateDynamicObject(9131,1464.69995117,-1021.50000000,30.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (9)
	CreateDynamicObject(9131,1464.69995117,-1021.50000000,32.79999924,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (10)
	CreateDynamicObject(9131,1451.80004883,-1021.40002441,24.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (11)
	CreateDynamicObject(9131,1451.80004883,-1021.40002441,26.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (12)
	CreateDynamicObject(9131,1451.80004883,-1021.40002441,28.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (13)
	CreateDynamicObject(9131,1451.80004883,-1021.40002441,30.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (14)
	CreateDynamicObject(9131,1451.80004883,-1021.40002441,32.59999847,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (15)
	CreateDynamicObject(9131,1444.19995117,-1021.50000000,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (16)
	CreateDynamicObject(9131,1444.19995117,-1021.50000000,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (17)
	CreateDynamicObject(9131,1444.19995117,-1021.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (18)
	CreateDynamicObject(9131,1444.19995117,-1021.50000000,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (19)
	CreateDynamicObject(9131,1436.50000000,-1021.40002441,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (20)
	CreateDynamicObject(9131,1436.50000000,-1021.40002441,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (21)
	CreateDynamicObject(9131,1436.50000000,-1021.40002441,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (22)
	CreateDynamicObject(9131,1436.50000000,-1021.40002441,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (23)
	CreateDynamicObject(9131,1432.19995117,-1021.40002441,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (24)
	CreateDynamicObject(9131,1432.19995117,-1021.40002441,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (25)
	CreateDynamicObject(9131,1432.19995117,-1021.40002441,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (26)
	CreateDynamicObject(9131,1432.19995117,-1021.40002441,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (27)
	CreateDynamicObject(1649,1434.19995117,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (13)
	CreateDynamicObject(1649,1434.19995117,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (14)
	CreateDynamicObject(1649,1434.19995117,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (15)
	CreateDynamicObject(1649,1438.30004883,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (16)
	CreateDynamicObject(1649,1442.19995117,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (17)
	CreateDynamicObject(9131,1440.19995117,-1021.50000000,23.10000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (28)
	CreateDynamicObject(9131,1440.19995117,-1021.50000000,25.29999924,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (29)
	CreateDynamicObject(9131,1440.19995117,-1021.50000000,27.50000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (30)
	CreateDynamicObject(9131,1440.19995117,-1021.50000000,29.70000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (31)
	CreateDynamicObject(1649,1438.30004883,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (18)
	CreateDynamicObject(1649,1438.30004883,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (19)
	CreateDynamicObject(1649,1442.19995117,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (20)
	CreateDynamicObject(1649,1442.19995117,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (21)
	CreateDynamicObject(1649,1446.09997559,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (23)
	CreateDynamicObject(1649,1450.00000000,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (24)
	CreateDynamicObject(9131,1448.09997559,-1021.40002441,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (32)
	CreateDynamicObject(9131,1448.09997559,-1021.40002441,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (33)
	CreateDynamicObject(9131,1448.09997559,-1021.40002441,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (34)
	CreateDynamicObject(9131,1448.09997559,-1021.40002441,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (35)
	CreateDynamicObject(1649,1453.69995117,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (25)
	CreateDynamicObject(1649,1457.40002441,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (26)
	CreateDynamicObject(9131,1455.50000000,-1021.40002441,24.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (36)
	CreateDynamicObject(9131,1455.50000000,-1021.40002441,26.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (37)
	CreateDynamicObject(9131,1455.50000000,-1021.40002441,28.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (38)
	CreateDynamicObject(9131,1455.50000000,-1021.40002441,30.50000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (39)
	CreateDynamicObject(9131,1455.50000000,-1021.40002441,32.70000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (40)
	CreateDynamicObject(1649,1446.09997559,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (27)
	CreateDynamicObject(1649,1446.09997559,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (28)
	CreateDynamicObject(1649,1450.00000000,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (29)
	CreateDynamicObject(1649,1450.00000000,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (30)
	CreateDynamicObject(1649,1453.69995117,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (31)
	CreateDynamicObject(1649,1453.69995117,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (32)
	CreateDynamicObject(1649,1453.69995117,-1021.50000000,34.40000153,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (33)
	CreateDynamicObject(8648,1460.00000000,-1021.29998779,34.79999924,0.00000000,177.99499512,90.24719238); //object(shbbyhswall04_lvs) (4)
	CreateDynamicObject(8648,1460.00000000,-1021.29998779,35.79999924,0.00000000,177.99499512,90.24719238); //object(shbbyhswall04_lvs) (5)
	CreateDynamicObject(1649,1457.40002441,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (34)
	CreateDynamicObject(1649,1457.40002441,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (35)
	CreateDynamicObject(1649,1457.40002441,-1021.50000000,34.40000153,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (36)
	CreateDynamicObject(3435,1484.50000000,-1020.90002441,39.09999847,0.00000000,0.00000000,90.00000000); //object(motel01sgn_lvs) (1)
	CreateDynamicObject(1649,1466.59997559,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (37)
	CreateDynamicObject(1649,1470.40002441,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (38)
	CreateDynamicObject(1649,1474.40002441,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (39)
	CreateDynamicObject(1649,1478.09997559,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (40)
	CreateDynamicObject(1649,1482.09997559,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (42)
	CreateDynamicObject(1649,1485.90002441,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (43)
	CreateDynamicObject(1649,1490.30004883,-1021.50000000,24.50000000,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (44)
	CreateDynamicObject(9131,1468.50000000,-1021.40002441,24.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (41)
	CreateDynamicObject(9131,1468.50000000,-1021.40002441,26.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (42)
	CreateDynamicObject(9131,1468.50000000,-1021.40002441,28.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (43)
	CreateDynamicObject(9131,1468.50000000,-1021.40002441,30.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (44)
	CreateDynamicObject(9131,1468.50000000,-1021.40002441,32.70000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (45)
	CreateDynamicObject(9131,1472.40002441,-1021.50000000,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (50)
	CreateDynamicObject(9131,1472.40002441,-1021.50000000,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (51)
	CreateDynamicObject(9131,1472.40002441,-1021.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (52)
	CreateDynamicObject(9131,1472.40002441,-1021.50000000,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (53)
	CreateDynamicObject(9131,1476.30004883,-1021.50000000,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (54)
	CreateDynamicObject(9131,1476.30004883,-1021.50000000,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (55)
	CreateDynamicObject(9131,1476.30004883,-1021.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (56)
	CreateDynamicObject(9131,1476.30004883,-1021.50000000,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (57)
	CreateDynamicObject(9131,1480.09997559,-1021.50000000,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (58)
	CreateDynamicObject(9131,1480.09997559,-1021.50000000,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (59)
	CreateDynamicObject(9131,1480.09997559,-1021.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (60)
	CreateDynamicObject(9131,1480.09997559,-1021.50000000,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (61)
	CreateDynamicObject(9131,1484.00000000,-1021.50000000,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (63)
	CreateDynamicObject(9131,1484.00000000,-1021.50000000,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (64)
	CreateDynamicObject(9131,1484.00000000,-1021.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (65)
	CreateDynamicObject(9131,1484.00000000,-1021.50000000,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (66)
	CreateDynamicObject(9131,1487.90002441,-1021.50000000,23.00000000,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (67)
	CreateDynamicObject(9131,1487.90002441,-1021.50000000,25.20000076,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (69)
	CreateDynamicObject(9131,1487.90002441,-1021.50000000,27.39999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (70)
	CreateDynamicObject(9131,1487.90002441,-1021.50000000,29.60000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (71)
	CreateDynamicObject(1649,1466.59997559,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (46)
	CreateDynamicObject(1649,1466.59997559,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (48)
	CreateDynamicObject(1649,1466.59997559,-1021.50000000,34.40000153,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (49)
	CreateDynamicObject(1649,1470.40002441,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (50)
	CreateDynamicObject(1649,1470.40002441,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (51)
	CreateDynamicObject(1649,1470.40002441,-1021.50000000,34.40000153,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (52)
	CreateDynamicObject(1649,1474.40002441,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (53)
	CreateDynamicObject(1649,1474.40002441,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (54)
	CreateDynamicObject(1649,1478.09997559,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (55)
	CreateDynamicObject(1649,1478.09997559,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (56)
	CreateDynamicObject(1649,1482.09997559,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (57)
	CreateDynamicObject(1649,1482.09997559,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (58)
	CreateDynamicObject(1649,1485.90002441,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (59)
	CreateDynamicObject(1649,1485.90002441,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (60)
	CreateDynamicObject(1649,1490.30004883,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (61)
	CreateDynamicObject(1649,1490.30004883,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (62)
	CreateDynamicObject(1649,1462.09997559,-1021.50000000,27.79999924,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (63)
	CreateDynamicObject(1649,1462.09997559,-1021.50000000,31.10000038,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (64)
	CreateDynamicObject(1649,1462.09997559,-1021.50000000,34.40000153,0.00000000,0.00000000,0.00000000); //object(wglasssmash) (65)
	CreateDynamicObject(1491,1460.59997559,-1021.59997559,22.89999962,0.00000000,0.00000000,0.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(1491,1463.59997559,-1021.59997559,22.89999962,0.00000000,0.00000000,178.75000000); //object(gen_doorint01) (2)
	CreateDynamicObject(9131,1464.00000000,-1021.40002441,22.89999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (72)
	CreateDynamicObject(9131,1464.00000000,-1021.40002441,25.10000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (75)
	CreateDynamicObject(9131,1460.19995117,-1021.29998779,22.89999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (76)
	CreateDynamicObject(9131,1460.19995117,-1021.29998779,25.10000038,0.00000000,0.00000000,90.00000000); //object(shbbyhswall13_lvs) (77)
	CreateDynamicObject(9131,1460.80004883,-1021.20001221,25.79999924,90.00000000,180.00000000,270.00000000); //object(shbbyhswall13_lvs) (78)
	CreateDynamicObject(9131,1463.00000000,-1021.20001221,25.79999924,90.00000000,180.00000000,270.00000000); //object(shbbyhswall13_lvs) (79)
	CreateDynamicObject(970,1434.80004883,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (2)
	CreateDynamicObject(970,1428.50000000,-1024.00000000,23.39999962,0.00000000,0.00000000,268.75000000); //object(fencesmallb) (3)
	CreateDynamicObject(970,1439.00000000,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (4)
	CreateDynamicObject(970,1443.19995117,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (5)
	CreateDynamicObject(970,1447.40002441,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (6)
	CreateDynamicObject(970,1451.59997559,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (7)
	CreateDynamicObject(970,1455.80004883,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (8)
	CreateDynamicObject(970,1460.00000000,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (9)
	CreateDynamicObject(970,1468.40002441,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (11)
	CreateDynamicObject(970,1472.59997559,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (12)
	CreateDynamicObject(970,1476.80004883,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (13)
	CreateDynamicObject(970,1481.00000000,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (14)
	CreateDynamicObject(970,1485.19995117,-1028.59997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(fencesmallb) (15)
	CreateDynamicObject(970,1487.59997559,-1024.09997559,23.39999962,0.00000000,0.00000000,88.25000000); //object(fencesmallb) (16)
	CreateDynamicObject(1215,1462.19995117,-1028.40002441,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
	CreateDynamicObject(1215,1466.19995117,-1028.50000000,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
	CreateDynamicObject(1223,1459.69995117,-1021.90002441,22.89999962,0.00000000,0.00000000,353.00000000); //object(lampost_coast) (1)
	CreateDynamicObject(1223,1464.30004883,-1021.90002441,22.79999924,0.00000000,0.00000000,174.25000000); //object(lampost_coast) (2)
	CreateDynamicObject(1231,1428.30004883,-1028.50000000,25.60000038,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (1)
	CreateDynamicObject(1231,1487.40002441,-1028.50000000,25.60000038,0.00000000,0.00000000,0.00000000); //object(streetlamp2) (2)
	CreateDynamicObject(1232,1487.30004883,-1022.20001221,25.50000000,0.00000000,0.00000000,0.00000000); //object(streetlamp1) (1)
	CreateDynamicObject(1232,1428.69995117,-1022.00000000,25.50000000,0.00000000,0.00000000,0.00000000); //object(streetlamp1) (2)
	CreateDynamicObject(1257,1416.50000000,-1025.50000000,24.10000038,0.00000000,0.00000000,92.00000000); //object(bustopm) (1)
	CreateDynamicObject(1319,1463.69995117,-1028.50000000,23.39999962,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (1)
	CreateDynamicObject(1319,1464.90002441,-1028.50000000,23.39999962,0.00000000,0.00000000,0.00000000); //object(ws_ref_bollard) (2)
	CreateDynamicObject(1366,1487.40002441,-1026.09997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(cj_firehydrant) (1)
	CreateDynamicObject(1366,1428.59997559,-1026.09997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(cj_firehydrant) (2)
	CreateDynamicObject(1285,1454.00000000,-1022.09997559,23.39999962,0.00000000,0.00000000,181.00000000); //object(newstandnew5) (1)
	CreateDynamicObject(1319,1487.40002441,-1027.30004883,23.39999962,0.00000000,0.00000000,92.00000000); //object(ws_ref_bollard) (3)
	CreateDynamicObject(1319,1428.40002441,-1027.40002441,23.39999962,0.00000000,0.00000000,269.99954224); //object(ws_ref_bollard) (4)
	CreateDynamicObject(1286,1453.50000000,-1022.09997559,23.39999962,0.00000000,0.00000000,179.75000000); //object(newstandnew4) (1)
	CreateDynamicObject(1287,1453.00000000,-1022.09997559,23.39999962,0.00000000,0.00000000,182.00000000); //object(newstandnew3) (1)
	CreateDynamicObject(1288,1452.50000000,-1022.09997559,23.39999962,0.00000000,0.00000000,182.00000000); //object(newstandnew2) (1)
	CreateDynamicObject(1289,1454.50000000,-1022.09997559,23.39999962,0.00000000,0.00000000,182.25000000); //object(newstandnew1) (1)
	CreateDynamicObject(1216,1436.50000000,-1022.09997559,23.50000000,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (2)
	CreateDynamicObject(1216,1440.19995117,-1022.20001221,23.50000000,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (3)
	CreateDynamicObject(1216,1484.00000000,-1022.20001221,23.50000000,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (4)
	CreateDynamicObject(1216,1480.09997559,-1022.20001221,23.50000000,0.00000000,0.00000000,0.00000000); //object(phonebooth1) (5)
	CreateDynamicObject(1359,1470.90002441,-1022.20001221,23.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bin1) (1)
	CreateDynamicObject(1359,1450.09997559,-1022.20001221,23.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bin1) (2)
	CreateDynamicObject(1359,1438.30004883,-1022.09997559,23.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bin1) (3)
	CreateDynamicObject(1359,1482.09997559,-1022.09997559,23.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bin1) (4)
	CreateDynamicObject(1280,1474.30004883,-1022.00000000,23.20000076,0.00000000,0.00000000,88.75000000); //object(parkbench1) (3)
	CreateDynamicObject(1280,1478.19995117,-1022.09997559,23.20000076,0.00000000,0.00000000,88.74755859); //object(parkbench1) (4)
	CreateDynamicObject(1280,1446.09997559,-1022.29998779,23.20000076,0.00000000,0.00000000,90.49755859); //object(parkbench1) (5)
	CreateDynamicObject(1280,1442.19995117,-1022.09997559,23.20000076,0.00000000,0.00000000,90.49438477); //object(parkbench1) (6)
	CreateDynamicObject(1649,1434.19995117,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (67)
	CreateDynamicObject(1649,1434.19995117,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (68)
	CreateDynamicObject(1649,1434.19921875,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (69)
	CreateDynamicObject(1649,1438.29980469,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (70)
	CreateDynamicObject(1649,1438.29980469,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (71)
	CreateDynamicObject(1649,1438.29980469,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (73)
	CreateDynamicObject(1649,1442.19921875,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (74)
	CreateDynamicObject(1649,1442.19921875,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (75)
	CreateDynamicObject(1649,1442.19995117,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (77)
	CreateDynamicObject(1649,1446.09960938,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (78)
	CreateDynamicObject(1649,1446.09960938,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (79)
	CreateDynamicObject(1649,1446.09960938,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (80)
	CreateDynamicObject(1649,1450.00000000,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (81)
	CreateDynamicObject(1649,1450.00000000,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (82)
	CreateDynamicObject(1649,1450.00000000,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (83)
	CreateDynamicObject(1649,1453.69921875,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (84)
	CreateDynamicObject(1649,1453.69921875,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (85)
	CreateDynamicObject(1649,1453.69921875,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (86)
	CreateDynamicObject(1649,1453.69921875,-1021.50000000,34.40000153,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (87)
	CreateDynamicObject(1649,1457.39941406,-1021.50000000,34.40000153,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (88)
	CreateDynamicObject(1649,1457.39941406,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (89)
	CreateDynamicObject(1649,1457.39941406,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (90)
	CreateDynamicObject(1649,1457.39941406,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (91)
	CreateDynamicObject(1649,1462.09960938,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (92)
	CreateDynamicObject(1649,1462.09960938,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (93)
	CreateDynamicObject(1649,1462.09960938,-1021.50000000,34.40000153,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (94)
	CreateDynamicObject(1649,1466.59960938,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (95)
	CreateDynamicObject(1649,1466.59960938,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (96)
	CreateDynamicObject(1649,1466.59960938,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (97)
	CreateDynamicObject(1649,1466.59960938,-1021.50000000,34.40000153,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (98)
	CreateDynamicObject(1649,1470.39941406,-1021.50000000,34.40000153,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (99)
	CreateDynamicObject(1649,1470.39941406,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (100)
	CreateDynamicObject(1649,1470.39941406,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (101)
	CreateDynamicObject(1649,1470.39941406,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (102)
	CreateDynamicObject(1649,1474.39941406,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (103)
	CreateDynamicObject(1649,1474.39941406,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (104)
	CreateDynamicObject(1649,1474.39941406,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (105)
	CreateDynamicObject(1649,1478.09960938,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (106)
	CreateDynamicObject(1649,1478.09960938,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (107)
	CreateDynamicObject(1649,1478.09960938,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (108)
	CreateDynamicObject(1649,1482.09960938,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (109)
	CreateDynamicObject(1649,1482.09960938,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (110)
	CreateDynamicObject(1649,1482.09960938,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (111)
	CreateDynamicObject(1649,1485.89941406,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (112)
	CreateDynamicObject(1649,1485.89941406,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (113)
	CreateDynamicObject(1649,1485.89941406,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (114)
	CreateDynamicObject(1649,1490.29980469,-1021.50000000,24.50000000,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (115)
	CreateDynamicObject(1649,1490.29980469,-1021.50000000,27.79999924,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (116)
	CreateDynamicObject(1649,1490.29980469,-1021.50000000,31.10000038,0.00000000,0.00000000,180.00000000); //object(wglasssmash) (117)
	CreateDynamicObject(2946,1460.19995117,-1009.90002441,25.79999924,0.00000000,0.00000000,272.00000000); //object(cr_door_03) (1)
	CreateDynamicObject(2946,1463.30004883,-1009.79998779,25.79999924,0.00000000,0.00000000,92.24951172); //object(cr_door_03) (2)
	CreateDynamicObject(2773,1460.00000000,-1011.59997559,26.39999962,0.00000000,0.00000000,0.00000000); //object(cj_airprt_bar) (1)
	CreateDynamicObject(2773,1463.50000000,-1011.29998779,26.39999962,0.00000000,0.00000000,0.00000000); //object(cj_airprt_bar) (2)
	CreateDynamicObject(1649,1472.59997559,-1017.00000000,26.70000076,0.00000000,0.00000000,269.50000000); //object(wglasssmash) (118)
	CreateDynamicObject(1649,1472.59997559,-1017.00000000,30.00000000,0.00000000,0.00000000,269.49694824); //object(wglasssmash) (119)
	CreateDynamicObject(1649,1472.59960938,-1017.00000000,30.00000000,0.00000000,0.00000000,89.49462891); //object(wglasssmash) (120)
	CreateDynamicObject(1649,1472.59960938,-1017.00000000,26.70000076,0.00000000,0.00000000,89.49462891); //object(wglasssmash) (121)
	CreateDynamicObject(1649,1451.19995117,-1016.59997559,26.70000076,0.00000000,0.00000000,89.48913574); //object(wglasssmash) (122)
	CreateDynamicObject(1649,1451.19995117,-1016.59997559,30.00000000,0.00000000,0.00000000,89.48913574); //object(wglasssmash) (123)
	CreateDynamicObject(1649,1451.19921875,-1016.59960938,26.70000076,0.00000000,0.00000000,269.48916626); //object(wglasssmash) (124)
	CreateDynamicObject(1649,1451.19921875,-1016.59960938,30.00000000,0.00000000,0.00000000,269.48916626); //object(wglasssmash) (125)
	CreateDynamicObject(1215,1448.09997559,-1022.09997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
	CreateDynamicObject(1215,1444.19995117,-1022.20001221,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
	CreateDynamicObject(1215,1435.19995117,-1022.00000000,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5)
	CreateDynamicObject(1215,1472.30004883,-1022.29998779,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (6)
	CreateDynamicObject(1215,1476.19995117,-1022.09997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (7)
	CreateDynamicObject(1215,1485.19995117,-1022.00000000,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (8)
	CreateDynamicObject(1289,1469.59997559,-1022.09997559,23.39999962,0.00000000,0.00000000,179.99670410); //object(newstandnew1) (2)
	CreateDynamicObject(1285,1469.09997559,-1022.09997559,23.39999962,0.00000000,0.00000000,178.99975586); //object(newstandnew5) (2)
	CreateDynamicObject(1286,1468.59997559,-1022.09997559,23.39999962,0.00000000,0.00000000,179.74731445); //object(newstandnew4) (2)
	CreateDynamicObject(1287,1468.09997559,-1022.09997559,23.39999962,0.00000000,0.00000000,181.99951172); //object(newstandnew3) (2)
	CreateDynamicObject(1288,1467.59997559,-1022.09997559,23.39999962,0.00000000,0.00000000,181.99951172); //object(newstandnew2) (2)
	CreateDynamicObject(1215,1466.80004883,-1022.09997559,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (9)
	CreateDynamicObject(1215,1455.09997559,-1022.00000000,23.39999962,0.00000000,0.00000000,0.00000000); //object(bollardlight) (10)

	// Grove St. Families
/*	CreateDynamicObject(1946,2534.1000977,-1667.1999512,14.3000002,12.0000000,0.0000000,0.0000000); //object(baskt_ball_hi) (1)
	CreateDynamicObject(1712,2523.6000977,-1655.1999512,14.5000000,0.0000000,0.0000000,300.0000000); //object(kb_couch05) (1)
	CreateDynamicObject(1709,2529.3999023,-1649.0000000,13.8000002,0.0000000,0.0000000,330.0000000); //object(kb_couch08) (1)
	CreateDynamicObject(2224,2529.1999512,-1652.5999756,14.0000000,0.0000000,0.0000000,84.0000000); //object(cj_sphere_tv) (1)
	CreateDynamicObject(2315,2529.5000000,-1651.1999512,13.5000000,356.0000000,0.0000000,340.0000000); //object(cj_tv_table4) (1)
	CreateDynamicObject(14872,2527.3999023,-1653.0999756,14.6000004,0.0000000,0.0000000,0.0000000); //object(kylie_logs) (1)
	CreateDynamicObject(14791,2533.6000977,-1640.5000000,14.8999996,0.0000000,0.0000000,0.0000000); //object(a_vgsgymboxa) (1)
	CreateDynamicObject(669,2524.8999023,-1634.5000000,12.8999996,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (1)
	CreateDynamicObject(669,2536.8999023,-1632.4000244,12.8999996,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (2)
	CreateDynamicObject(669,2536.6999512,-1647.0999756,12.8999996,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (3)
	CreateDynamicObject(669,2537.3999023,-1658.1999512,12.8999996,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (4)
	CreateDynamicObject(1434,2540.6999512,-1714.5000000,12.5000000,0.0000000,0.0000000,90.0000000); //object(dyn_roadbarrier_5a) (1)
	CreateDynamicObject(1434,2540.6999512,-1712.8000488,12.5000000,0.0000000,0.0000000,90.0000000); //object(dyn_roadbarrier_5a) (2)
	CreateDynamicObject(1434,2540.6999512,-1711.0000000,12.5000000,0.0000000,0.0000000,90.0000000); //object(dyn_roadbarrier_5a) (3)
	CreateDynamicObject(1434,2521.8000488,-1722.0999756,12.5000000,0.0000000,0.0000000,180.5000000); //object(dyn_roadbarrier_5a) (4)
	CreateDynamicObject(737,2538.8999023,-1726.3000488,12.6000004,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (41)
	CreateDynamicObject(737,2525.3999023,-1726.5000000,12.6000004,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (56)
	CreateDynamicObject(737,2511.1999512,-1726.4000244,12.6000004,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (57)
	CreateDynamicObject(737,2497.1999512,-1726.0000000,12.6000004,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (58)
	CreateDynamicObject(737,2483.6999512,-1725.5000000,12.6000004,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (59)
	CreateDynamicObject(737,2468.3999023,-1725.3000488,12.6000004,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (60)
	CreateDynamicObject(737,2455.1999512,-1726.0999756,12.6999998,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (61)
	CreateDynamicObject(737,2443.8000488,-1726.0000000,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (62)
	CreateDynamicObject(737,2418.6999512,-1725.8000488,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (63)
	CreateDynamicObject(737,2400.1000977,-1726.0999756,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (64)
	CreateDynamicObject(737,2382.0000000,-1726.4000244,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (65)
	CreateDynamicObject(737,2366.1999512,-1726.3000488,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (66)
	CreateDynamicObject(737,2352.3999023,-1725.8000488,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (67)
	CreateDynamicObject(737,2349.1000977,-1713.0000000,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (68)
	CreateDynamicObject(737,2348.8999023,-1698.6999512,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (69)
	CreateDynamicObject(737,2348.6999512,-1685.0000000,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (70)
	CreateDynamicObject(737,2348.6000977,-1669.5999756,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (71)
	CreateDynamicObject(737,2349.1000977,-1652.0000000,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (72)
	CreateDynamicObject(737,2370.3000488,-1651.6999512,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (73)
	CreateDynamicObject(737,2370.8999023,-1665.4000244,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (74)
	CreateDynamicObject(737,2392.1999512,-1664.5000000,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (75)
	CreateDynamicObject(737,2393.0000000,-1652.9000244,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (76)
	CreateDynamicObject(737,2412.6000977,-1653.1999512,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (77)
	CreateDynamicObject(737,2413.0000000,-1664.8000488,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (78)
	CreateDynamicObject(737,2429.6000977,-1664.6999512,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (79)
	CreateDynamicObject(737,2429.1999512,-1653.0999756,12.8000002,0.0000000,0.0000000,0.0000000); //object(aw_streettree3) (80)
	CreateDynamicObject(3601,2436.8000488,-1677.0000000,5.0000000,0.0000000,0.0000000,0.0000000); //object(hillhouse04_la) (1)
	CreateDynamicObject(3601,2424.3000488,-1676.9000244,5.0000000,0.0000000,0.0000000,0.0000000); //object(hillhouse04_la) (2)
	CreateDynamicObject(14399,2437.3000488,-1677.9000244,12.8000002,0.0000000,0.0000000,0.0000000); //object(bar2) (1)
	CreateDynamicObject(9131,2426.1999512,-1676.0000000,13.0000000,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (1)
	CreateDynamicObject(9131,2426.1999512,-1676.1999512,13.0000000,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (2)
	CreateDynamicObject(9131,2425.5000000,-1678.9000244,13.6000004,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (3)
	CreateDynamicObject(9131,2425.5000000,-1678.9000244,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (4)
	CreateDynamicObject(9131,2425.5000000,-1679.5999756,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (5)
	CreateDynamicObject(9131,2425.5000000,-1679.5999756,13.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (6)
	CreateDynamicObject(9131,2425.5000000,-1680.1999512,13.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (7)
	CreateDynamicObject(9131,2425.5000000,-1680.8000488,13.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (8)
	CreateDynamicObject(9131,2425.5000000,-1680.8000488,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (9)
	CreateDynamicObject(9131,2425.5000000,-1680.0999756,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (10)
	CreateDynamicObject(9131,2425.3999023,-1675.9000244,13.6999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (11)
	CreateDynamicObject(9131,2425.3999023,-1675.9000244,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (12)
	CreateDynamicObject(9131,2425.3999023,-1676.6999512,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (13)
	CreateDynamicObject(9131,2425.3999023,-1676.3000488,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (14)
	CreateDynamicObject(9131,2425.3999023,-1677.4000244,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (15)
	CreateDynamicObject(9131,2425.3999023,-1678.0999756,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (16)
	CreateDynamicObject(9131,2425.5000000,-1678.4000244,14.1999998,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (17)
	CreateDynamicObject(9131,2425.5000000,-1678.4000244,13.1000004,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (18)
	CreateDynamicObject(9131,2425.5000000,-1677.6999512,13.1000004,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (19)
	CreateDynamicObject(9131,2425.5000000,-1677.1999512,13.1000004,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (20)
	CreateDynamicObject(9131,2425.5000000,-1676.5999756,13.1000004,0.0000000,0.0000000,0.0000000); //object(shbbyhswall13_lvs) (21)
	CreateDynamicObject(2773,2440.1999512,-1681.0999756,13.3999996,0.0000000,0.0000000,94.0000000); //object(cj_airprt_bar) (1)
	CreateDynamicObject(2773,2441.1999512,-1679.1999512,13.3999996,0.0000000,0.0000000,181.9990234); //object(cj_airprt_bar) (2)
	CreateDynamicObject(2773,2441.1000977,-1676.5999756,13.3999996,0.0000000,0.0000000,181.9940186); //object(cj_airprt_bar) (3)
	CreateDynamicObject(2773,2442.3999023,-1675.5999756,13.3999996,0.0000000,0.0000000,269.9940186); //object(cj_airprt_bar) (4)
	CreateDynamicObject(2773,2443.3999023,-1673.9000244,13.3999996,0.0000000,0.0000000,359.9890137); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2443.3999023,-1671.1999512,13.3999996,0.0000000,0.0000000,359.9835205); //object(cj_airprt_bar) (6)
	CreateDynamicObject(2773,2442.3999023,-1669.3000488,13.3999996,0.0000000,0.0000000,89.7335205); //object(cj_airprt_bar) (7)
	CreateDynamicObject(2773,2440.0000000,-1669.3000488,13.3999996,0.0000000,0.0000000,89.7308350); //object(cj_airprt_bar) (8)
	CreateDynamicObject(2773,2433.8999023,-1669.4000244,13.3999996,0.0000000,0.0000000,89.7308350); //object(cj_airprt_bar) (9)
	CreateDynamicObject(2773,2431.3999023,-1669.4000244,13.3999996,0.0000000,0.0000000,89.7308350); //object(cj_airprt_bar) (10)
	CreateDynamicObject(2773,2428.6999512,-1669.4000244,13.3999996,0.0000000,0.0000000,89.7308350); //object(cj_airprt_bar) (11)
	CreateDynamicObject(2773,2421.8000488,-1669.3000488,13.3999996,0.0000000,0.0000000,89.7308350); //object(cj_airprt_bar) (12)
	CreateDynamicObject(2773,2419.3000488,-1669.3000488,13.3999996,0.0000000,0.0000000,89.7308350); //object(cj_airprt_bar) (13)
	CreateDynamicObject(2773,2417.8000488,-1670.3000488,13.3999996,0.0000000,0.0000000,179.7308350); //object(cj_airprt_bar) (14)
	CreateDynamicObject(2773,2417.8000488,-1673.0000000,13.3999996,0.0000000,0.0000000,179.7253418); //object(cj_airprt_bar) (15)
	CreateDynamicObject(2773,2417.8000488,-1675.8000488,13.3999996,0.0000000,0.0000000,179.7253418); //object(cj_airprt_bar) (16)
	CreateDynamicObject(2773,2417.8000488,-1678.6999512,13.3999996,0.0000000,0.0000000,179.7253418); //object(cj_airprt_bar) (17)
	CreateDynamicObject(2773,2417.8000488,-1681.5999756,13.3999996,0.0000000,0.0000000,179.7253418); //object(cj_airprt_bar) (18)
	CreateDynamicObject(2773,2419.1999512,-1683.1999512,13.3999996,0.0000000,0.0000000,267.7253418); //object(cj_airprt_bar) (19)
	CreateDynamicObject(2773,2421.6999512,-1683.3000488,13.3999996,0.0000000,0.0000000,267.7203369); //object(cj_airprt_bar) (20)
	CreateDynamicObject(1432,2441.6000977,-1673.5999756,12.8000002,0.0000000,0.0000000,0.0000000); //object(dyn_table_2) (5)
	CreateDynamicObject(1432,2442.0000000,-1671.0000000,12.8000002,0.0000000,0.0000000,0.0000000); //object(dyn_table_2) (6)
	CreateDynamicObject(1432,2433.8000488,-1671.0999756,12.8000002,0.0000000,0.0000000,0.0000000); //object(dyn_table_2) (7)
	CreateDynamicObject(1432,2431.0000000,-1670.8000488,12.8000002,0.0000000,0.0000000,50.0000000); //object(dyn_table_2) (8)
	CreateDynamicObject(1432,2427.8999023,-1671.5000000,12.8000002,0.0000000,0.0000000,19.9987793); //object(dyn_table_2) (9)
	CreateDynamicObject(1432,2420.5000000,-1671.4000244,12.8000002,0.0000000,0.0000000,19.9951172); //object(dyn_table_2) (10)
	CreateDynamicObject(1432,2420.6000977,-1674.0000000,12.8000002,0.0000000,0.0000000,19.9951172); //object(dyn_table_2) (11)
	CreateDynamicObject(1432,2420.0000000,-1676.8000488,12.8000002,0.0000000,0.0000000,69.9951172); //object(dyn_table_2) (12)
	CreateDynamicObject(1432,2423.3999023,-1678.4000244,12.8000002,0.0000000,0.0000000,69.9938965); //object(dyn_table_2) (13)
	CreateDynamicObject(1432,2420.3999023,-1681.0999756,12.8000002,0.0000000,0.0000000,69.9938965); //object(dyn_table_2) (14)
	CreateDynamicObject(669,2447.5000000,-1676.3000488,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (5)
	CreateDynamicObject(669,2447.3999023,-1670.6999512,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (6)
	CreateDynamicObject(669,2453.8999023,-1670.5000000,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (7)
	CreateDynamicObject(669,2460.3000488,-1670.9000244,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (8)
	CreateDynamicObject(669,2511.1999512,-1681.3000488,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (9)
	CreateDynamicObject(669,2515.1999512,-1666.8000488,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (10)
	CreateDynamicObject(669,2503.8999023,-1647.9000244,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (11)
	CreateDynamicObject(18267,2372.6999512,-633.5999756,127.5000000,358.0109558,353.9963684,263.7908325); //object(logcabinn) (1)
	CreateDynamicObject(18267,-377.2000122,-1161.6999512,68.5000000,0.0000000,0.0000000,0.0000000); //object(logcabinn) (2)
	CreateDynamicObject(4113,-373.7000122,-1155.0999756,30.7000008,0.0000000,0.0000000,99.9975586); //object(lanofficeblok1) (2)
	CreateDynamicObject(4113,-373.3999939,-1152.9000244,27.0000000,0.0000000,0.0000000,99.9975586); //object(lanofficeblok1) (4)
	CreateDynamicObject(4113,-375.0000000,-1148.8000488,27.0000000,0.0000000,0.0000000,99.9975586); //object(lanofficeblok1) (5)
	CreateDynamicObject(4113,-375.7000122,-1155.3000488,27.0000000,0.0000000,0.0000000,99.9975586); //object(lanofficeblok1) (6)
	CreateDynamicObject(669,2445.8999023,-1717.6999512,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (13)
	CreateDynamicObject(669,2452.6000977,-1718.4000244,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (14)
	CreateDynamicObject(669,2460.3000488,-1718.0999756,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (15)
	CreateDynamicObject(669,2468.1000977,-1718.5999756,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (16)
	CreateDynamicObject(669,2525.6999512,-1718.5999756,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (17)
	CreateDynamicObject(669,2532.1000977,-1715.5999756,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (18)
	CreateDynamicObject(669,2536.3999023,-1710.3000488,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (19)
	CreateDynamicObject(669,2537.5000000,-1696.3000488,12.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (20)

	// Family Slot ID: Delivery Company ((Alphine))
	CreateDynamicObject(9833,1626.3994141,-1268.1992188,18.8999996,0.0000000,0.0000000,0.0000000); //object(fountain_sfw) (1)
	CreateDynamicObject(3265,1619.3000488,-1288.3000488,16.5000000,0.0000000,0.0000000,0.0000000); //object(privatesign4) (1)
	CreateDynamicObject(8407,1603.4000244,-1287.6999512,17.8999996,0.0000000,0.0000000,0.0000000); //object(carparkhut01_lvs) (1)
	CreateDynamicObject(3660,1601.6999512,-1278.5999756,19.1000004,0.0000000,0.0000000,270.0000000); //object(lasairfbed_las) (3)
	CreateDynamicObject(3660,1601.6999512,-1259.1999512,19.1000004,0.0000000,0.0000000,270.0000000); //object(lasairfbed_las) (4)
	CreateDynamicObject(3660,1601.6999512,-1246.1999512,19.1000004,0.0000000,0.0000000,270.0000000); //object(lasairfbed_las) (5)
	CreateDynamicObject(3660,1601.6999512,-1234.5999756,19.1000004,0.0000000,0.0000000,270.0000000); //object(lasairfbed_las) (7)
	CreateDynamicObject(3660,1611.1992188,-1216.2998047,19.2000008,0.0000000,0.0000000,179.9945068); //object(lasairfbed_las) (8)
	CreateDynamicObject(9697,1605.8000488,-1230.0000000,16.5000000,0.0000000,0.0000000,90.0000000); //object(carspaces3_sfw) (1)
	CreateDynamicObject(3660,1601.6999512,-1224.9000244,19.1000004,0.0000000,0.0000000,270.0000000); //object(lasairfbed_las) (1)
	CreateDynamicObject(3935,1620.0999756,-1251.0999756,19.0000000,0.0000000,0.0000000,90.5000000); //object(statue) (1)
	CreateDynamicObject(3935,1620.1999512,-1241.9000244,19.0000000,0.0000000,0.0000000,90.0000000); //object(statue) (2)
	CreateDynamicObject(1557,1653.0000000,-1245.9000244,13.8000002,0.0000000,0.0000000,270.0000000); //object(gen_doorext19) (1)
	CreateDynamicObject(1557,1652.9000244,-1263.4000244,13.8000002,0.0000000,0.0000000,270.0000000); //object(gen_doorext19) (2)
	CreateDynamicObject(970,1604.3000488,-1288.5999756,17.0000000,0.0000000,0.0000000,0.0000000); //object(fencesmallb) (1)
	CreateDynamicObject(970,1608.4000244,-1288.5999756,17.0000000,0.0000000,0.0000000,0.0000000); //object(fencesmallb) (2)
	CreateDynamicObject(970,1617.0000000,-1288.5000000,17.0000000,0.0000000,0.0000000,0.0000000); //object(fencesmallb) (3)
*/
	// Federal Bureau of inv. Roy Nash FBI
	CreateDynamicObject(3877,1656.4000244,-1655.0000000,23.2000008,0.0000000,0.0000000,0.0000000); //object(sf_rooflite) (1)
	CreateDynamicObject(3877,1651.7998047,-1655.0996094,23.2000008,0.0000000,0.0000000,0.0000000); //object(sf_rooflite) (2)
	CreateDynamicObject(970,1652.4000244,-1656.9000244,22.1000004,0.0000000,0.0000000,280.0000000); //object(fencesmallb) (1)
	CreateDynamicObject(970,1655.8000488,-1656.9000244,22.1000004,0.0000000,0.0000000,259.9975586); //object(fencesmallb) (2)
	CreateDynamicObject(638,1652.0999756,-1657.1999512,22.2000008,0.0000000,0.0000000,190.0000000); //object(kb_planter_bush) (1)
	CreateDynamicObject(638,1656.1999512,-1657.1999512,22.2000008,0.0000000,0.0000000,169.0000000); //object(kb_planter_bush) (2)
	CreateDynamicObject(1361,1652.6999512,-1659.0000000,22.2999992,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,1655.5999756,-1659.0000000,22.2999992,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop2) (2)
	CreateDynamicObject(2395,1651.8000488,-1654.5000000,21.5000000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (1)
	CreateDynamicObject(2395,1651.8000488,-1654.5000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (2)
	CreateDynamicObject(2395,1655.5200195,-1654.5000000,21.5000000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (5)
	CreateDynamicObject(2395,1655.5200195,-1654.5000000,23.5000000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (6)
	CreateDynamicObject(1536,1655.0000000,-1654.5000000,21.5000000,0.0000000,0.0000000,180.0000000); //object(gen_doorext15) (1)
	//CreateDynamicObject(3515,1656.0000000,-1710.1999512,20.0000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (1)
	//CreateDynamicObject(3515,1655.6999512,-1712.4000244,21.5000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (2)
	//CreateDynamicObject(3515,1655.9000244,-1714.8000488,20.0000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (3)
	//CreateDynamicObject(3515,1657.6999512,-1712.3000488,20.0000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (4)
	//CreateDynamicObject(3515,1653.5999756,-1712.4000244,20.0000000,0.0000000,0.0000000,0.0000000); //object(vgsfountain) (5)
	CreateDynamicObject(1215,1643.1999512,-1718.3000488,20.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (1)
	CreateDynamicObject(1215,1643.1992188,-1711.5000000,20.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (2)

	// New Grotti HD
	CreateDynamicObject(19378, 561.56, -1294.37, 19.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(19378, 552.06, -1294.37, 19.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(19378, 542.56, -1294.37, 19.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(19378, 533.06, -1294.37, 19.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(19378, 523.56, -1294.37, 19.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(19378, 523.03, -1294.38, 19.21,   0.00, 0.00, 90.00);
	CreateDynamicObject(13187, 560.66, -1294.33, 17.53,   0.00, 0.00, 90.00);
	CreateDynamicObject(13187, 523.78, -1294.33, 17.53,   0.00, 0.00, 90.00);
	CreateDynamicObject(13187, 552.14, -1294.30, 17.53,   0.00, 0.00, 90.00);
	CreateDynamicObject(13187, 532.28, -1294.33, 17.53,   0.00, 0.00, 90.00);
	CreateDynamicObject(1569, 540.66, -1294.34, 16.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(1569, 543.64, -1294.28, 16.23,   0.00, 0.00, 180.00);
	CreateDynamicObject(948, 544.12, -1293.95, 16.24,   0.00, 0.00, 0.00);
	CreateDynamicObject(948, 540.45, -1293.98, 16.24,   0.00, 0.00, 0.00);

	// All Saints Parking
	CreateDynamicObject(8417, 1230.16, -1286.16, 12.08,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1231.98, -1366.14, 12.08,   0.00, 180.00, 0.00);
	CreateDynamicObject(8417, 1231.38, -1326.16, 12.08,   0.00, 180.00, 0.00);
	CreateDynamicObject(3660, 1234.02, -1291.81, 14.75,   0.00, 0.00, 359.72);
	CreateDynamicObject(3660, 1217.38, -1320.31, 14.75,   0.00, 0.00, 270.00);
	CreateDynamicObject(3660, 1245.12, -1300.92, 14.75,   0.00, 0.00, 270.00);
	CreateDynamicObject(4642, 1219.92, -1291.95, 14.17,   0.00, 0.00, 360.00);
	CreateDynamicObject(1892, 1222.13, -1291.67, 12.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(3660, 1245.18, -1365.61, 14.75,   0.00, 0.00, 270.00);
	CreateDynamicObject(3660, 1245.10, -1320.56, 14.75,   0.00, 0.00, 270.00);
	CreateDynamicObject(3660, 1245.09, -1340.19, 14.75,   0.00, 0.00, 270.00);
	CreateDynamicObject(3881, 1243.19, -1381.72, 13.97,   0.00, 0.00, 0.00);
	CreateDynamicObject(1892, 1244.84, -1350.64, 12.10,   0.00, 0.00, 270.00);
	CreateDynamicObject(4642, 1244.84, -1354.04, 13.81,   0.00, 0.00, 270.00);
	CreateDynamicObject(3660, 1217.39, -1300.69, 14.75,   0.00, 0.00, 270.00);
	CreateDynamicObject(4642, 1217.12, -1334.22, 13.81,   0.00, 0.00, 89.70);
	CreateDynamicObject(1892, 1217.12, -1330.77, 12.10,   0.00, 0.00, 270.00);
	CreateDynamicObject(3660, 1217.26, -1345.90, 14.75,   0.00, 0.00, 269.64);
	CreateDynamicObject(3660, 1217.15, -1365.56, 14.75,   0.00, 0.00, 269.64);
	CreateDynamicObject(3881, 1218.75, -1380.99, 13.97,   0.00, 0.00, 179.84);
	CreateDynamicObject(1892, 1216.99, -1376.12, 12.10,   0.00, 0.00, 270.00);
	CreateDynamicObject(1892, 1244.79, -1376.04, 12.10,   0.00, 0.00, 270.00);
	CreateDynamicObject(10183, 1221.93, -1355.39, 12.14,   0.00, 0.00, 134.88);
	CreateDynamicObject(10183, 1222.40, -1313.38, 12.14,   0.00, 0.00, 135.08);
	CreateDynamicObject(10183, 1239.84, -1313.44, 12.14,   0.00, 0.00, 315.15);
	CreateDynamicObject(10183, 1239.69, -1353.91, 12.14,   0.00, 0.00, 315.15);
	CreateDynamicObject(8406, 1228.34, -1385.53, 17.67,   0.00, 0.00, 0.00);
	CreateDynamicObject(3934, 1161.69, -1317.44, 30.51,   0.00, 0.00, 359.01);
	CreateDynamicObject(1500, 1160.72, -1330.52, 30.46,   0.00, 0.00, 0.00);
	CreateDynamicObject(3934, 1161.49, -1303.07, 30.51,   0.00, 0.00, 359.01);
	CreateDynamicObject(618, 1217.29, -1371.02, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1217.28, -1356.46, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1217.59, -1338.28, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1217.61, -1317.66, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1217.53, -1294.76, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1234.09, -1292.30, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1244.99, -1298.64, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1244.75, -1321.34, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1244.88, -1340.88, 13.19,   0.00, 0.00, 0.00);
	CreateDynamicObject(618, 1244.60, -1364.90, 13.19,   0.00, 0.00, 0.00);

	// North LS Gas Station
	CreateDynamicObject(1676,998.63592529,-937.55993652,42.83398819,0.00000000,0.00000000,8.75000000); //object(washgaspump) (1)
	CreateDynamicObject(1676,1002.15386963,-937.07757568,42.83398819,0.00000000,0.00000000,8.74511719); //object(washgaspump) (2)
	CreateDynamicObject(1676,1005.69854736,-936.55706787,42.83398819,0.00000000,0.00000000,8.74511719); //object(washgaspump) (3)
	CreateDynamicObject(1676,1009.05902100,-936.06591797,42.83398819,0.00000000,0.00000000,8.74511719); //object(washgaspump) (4)
	CreateDynamicObject(997,1007.79016113,-936.89746094,41.40344238,0.00000000,0.00000000,8.50000000); //object(lhouse_barrier3) (1)
	CreateDynamicObject(997,1004.13403320,-937.44079590,41.40344238,0.00000000,0.00000000,7.99792480); //object(lhouse_barrier3) (2)
	CreateDynamicObject(997,1000.84777832,-937.91687012,41.40344238,0.00000000,0.00000000,8.24255371); //object(lhouse_barrier3) (3)
	CreateDynamicObject(997,997.16809082,-938.39813232,41.40344238,0.00000000,0.00000000,7.73974609); //object(lhouse_barrier3) (4)
	CreateDynamicObject(997,1007.56115723,-935.66760254,41.40344238,0.00000000,0.00000000,8.49792480); //object(lhouse_barrier3) (5)
	CreateDynamicObject(997,1003.90948486,-936.23516846,41.40344238,0.00000000,0.00000000,7.99255371); //object(lhouse_barrier3) (6)
	CreateDynamicObject(997,1000.61877441,-936.68615723,41.40344238,0.00000000,0.00000000,8.23974609); //object(lhouse_barrier3) (7)
	CreateDynamicObject(997,996.94824219,-937.21679688,41.40344238,0.00000000,0.00000000,7.73437500); //object(lhouse_barrier3) (8)

	// Crack Lab Fixes
	CreateDynamicObject(7191,2338.39135742,-1182.56323242,1032.95129395,90.00000000,0.00000000,90.00000000, -1, 5); //object(vegasnnewfence2b)(1)
	CreateDynamicObject(13656,2292.93872070,-1132.04724121,1017.29772949,0.00000000,0.00000000,0.00000000, -1, 5); //object(fuckknows)(1)
	CreateDynamicObject(7191,2337.95458984,-1182.54309082,1032.95129395,90.00000000,0.00000000,90.00000000, -1, 5); //object(vegasnnewfence2b)(2)
	CreateDynamicObject(7191,2338.43408203,-1182.39440918,1032.95129395,90.00000000,180.00000000,90.24850464, -1, 5); //object(vegasnnewfence2b)(3)
	CreateDynamicObject(7191,2337.97314453,-1182.39111328,1032.95129395,90.00000000,179.99450684,90.24719238, -1, 5); //object(vegasnnewfence2b)(4)
	CreateDynamicObject(7191,2328.80346680,-1180.43066406,1034.70544434,0.00000000,270.00000000,88.50006104, -1, 5); //object(vegasnnewfence2b)(5)
	CreateDynamicObject(3055,2319.78198242,-1184.82641602,1032.36450195,63.75003052,269.99996948,178.5001220, -1, 5); //object(kmb_shutter)(1)
	CreateDynamicObject(7191,2328.83715820,-1186.81262207,1030.70446777,0.00000000,90.74990845,359.99481201, -1, 5); //object(vegasnnewfence2b)(6)
	CreateDynamicObject(7191,2326.84863281,-1187.03125000,1030.70446777,0.00000000,90.74707031,359.99450684, -1, 5); //object(vegasnnewfence2b)(8)
	CreateDynamicObject(7191,2337.31689453,-1186.55639648,1030.70446777,0.00000000,90.74707031,359.99450684, -1, 5); //object(vegasnnewfence2b)(9)
	CreateDynamicObject(7191,2339.06689453,-1186.13159180,1030.70446777,0.00000000,91.24694824,359.99453735, -1, 5); //object(vegasnnewfence2b)(10)
	CreateDynamicObject(7191,2338.39062500,-1182.56250000,1032.95129395,90.00000000,0.00000000,90.00000000, -1, 5); //object(vegasnnewfence2b)(11)
	CreateDynamicObject(7191,2337.95947266,-1179.38879395,1032.95129395,90.00000000,180.00000000,270.00000000, -1, 5); //object(vegasnnewfence2b)(12)
	CreateDynamicObject(7191,2338.38476562,-1179.43066406,1032.95129395,90.00000000,0.00000000,90.00000000, -1, 5); //object(vegasnnewfence2b)(13)
	CreateDynamicObject(7191,2337.96630859,-1179.23559570,1032.95129395,90.00000000,179.99450684,90.24719238, -1, 5); //object(vegasnnewfence2b)(14)

	// Bus Stops
	CreateDynamicObject(984,1181.00000000,-1346.00000000,13.19999981,0.00000000,0.00000000,309.26000977); //object(fenceshit2) (1)
	CreateDynamicObject(984,1185.50000000,-1311.59997559,13.19999981,0.00000000,0.00000000,0.74707031); //object(fenceshit2) (2)
	CreateDynamicObject(984,1180.50000000,-1301.19995117,13.19999981,0.00000000,0.00000000,50.74707031); //object(fenceshit2) (3)
	CreateDynamicObject(1280,1186.09997559,-1339.80004883,13.00000000,0.00000000,0.00000000,182.00000000); //object(parkbench1) (1)
	CreateDynamicObject(1280,1186.00000000,-1337.00000000,13.00000000,0.00000000,0.00000000,181.99951172); //object(parkbench1) (2)
	CreateDynamicObject(1229,1186.09997559,-1341.50000000,14.10000038,0.00000000,0.00000000,120.00000000); //object(bussign1) (1)
	CreateDynamicObject(984,1185.59997559,-1335.80004883,13.19999981,0.00000000,0.00000000,0.74707031); //object(fenceshit2) (4)
	CreateDynamicObject(1280,1539.59997559,-1743.59997559,12.89999962,0.00000000,0.00000000,270.00000000); //object(parkbench1) (3)
	CreateDynamicObject(1280,1536.80004883,-1743.59997559,12.89999962,0.00000000,0.00000000,270.00000000); //object(parkbench1) (4)
	CreateDynamicObject(1229,1541.19995117,-1743.59997559,14.10000038,0.00000000,0.00000000,220.00000000); //object(bussign1) (2)
	CreateDynamicObject(1229,1812.19995117,-1926.19995117,14.10000038,0.00000000,0.00000000,117.50000000); //object(bussign1) (3)
	CreateDynamicObject(1280,1811.90002441,-1924.50000000,13.00000000,0.00000000,0.00000000,180.00000000); //object(parkbench1) (5)
	CreateDynamicObject(1280,1811.90002441,-1921.80004883,13.00000000,0.00000000,0.00000000,179.99450684); //object(parkbench1) (6)


	// VIP Lounge
	CreateDynamicObject(14803,287.79998779,-178.10000610,1000.59997559,0.00000000,0.00000000,0.00000000); //object(bdupsnew) (1)
	CreateDynamicObject(14803,279.89999390,-178.10000610,1000.59997559,0.00000000,0.00000000,0.00000000); //object(bdupsnew) (2)
	CreateDynamicObject(10844,274.79998779,-182.50000000,997.40002441,0.00000000,90.00000000,1.24694824); //object(gen_whouse01_sfse) (1)
	CreateDynamicObject(10844,293.39941406,-181.50000000,997.40002441,0.00000000,90.00000000,177.24243164); //object(gen_whouse01_sfse) (2)
	CreateDynamicObject(2946,290.70001221,-178.69999695,998.59997559,0.00000000,0.00000000,0.00000000); //object(cr_door_03) (4)
	CreateDynamicObject(2946,290.69921875,-178.59960938,998.59997559,0.00000000,0.00000000,179.99450684); //object(cr_door_03) (5)
	CreateDynamicObject(2424,28.00000000,-175.39999390,998.59997559,0.00000000,0.00000000,358.00000000); //object(cj_ff_conter_1) (1)
	CreateDynamicObject(2435,284.60000610,-175.89999390,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (1)
	CreateDynamicObject(2435,285.50000000,-175.89999390,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (2)
	CreateDynamicObject(2435,284.59960938,-175.89941406,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (3)
	CreateDynamicObject(2435,285.50000000,-175.89941406,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (4)
	CreateDynamicObject(2435,285.50000000,-175.89941406,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (5)
	CreateDynamicObject(2435,285.50000000,-175.89941406,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (6)
	CreateDynamicObject(2435,286.39999390,-175.89999390,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (7)
	CreateDynamicObject(2434,288.20001221,-175.89999390,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2b) (1)
	CreateDynamicObject(2435,287.29998779,-175.89999390,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_ff_conter_2) (8)
	CreateDynamicObject(2435,288.39999390,-174.80000305,998.59997559,0.00000000,0.00000000,85.75000000); //object(cj_ff_conter_2) (9)
	CreateDynamicObject(2435,288.45996094,-173.89941406,998.59997559,0.00000000,0.00000000,85.74279785); //object(cj_ff_conter_2) (10)
	CreateDynamicObject(2435,288.51998901,-173.00000000,998.59997559,0.00000000,0.00000000,85.74279785); //object(cj_ff_conter_2) (11)
	CreateDynamicObject(1242,287.19921875,-176.09960938,999.90002441,0.00000000,0.00000000,179.99450684); //object(bodyarmour) (1)
	CreateDynamicObject(1240,284.79980469,-176.09960938,999.90002441,0.00000000,0.00000000,329.99633789); //object(health) (2)
	CreateDynamicObject(2290,290.10000610,-182.39999390,998.59997559,0.00000000,0.00000000,179.99450684); //object(swk_couch_1) (1)
	CreateDynamicObject(2290,286.50000000,-182.39999390,998.59997559,0.00000000,0.00000000,179.99450684); //object(swk_couch_1) (2)
	CreateDynamicObject(631,287.29998779,-182.39999390,999.50000000,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (1)
	CreateDynamicObject(2773,286.00000000,-176.89999390,999.09997559,0.00000000,0.00000000,0.00000000); //object(cj_airprt_bar) (1)
	CreateDynamicObject(14788,279.00000000,-175.89999390,1000.70001221,0.00000000,0.00000000,0.00000000); //object(ab_sfgymbits01a) (2)
	CreateDynamicObject(14788,279.00000000,-180.39999390,1000.70001221,0.00000000,0.00000000,0.00000000); //object(ab_sfgymbits01a) (3)
	CreateDynamicObject(2395,284.00000000,-173.30000305,1001.29998779,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (1)
	CreateDynamicObject(2395,287.69921875,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (2)
	CreateDynamicObject(2395,287.69921875,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,287.69921875,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (4)
	CreateDynamicObject(2395,284.20001221,-183.80000305,998.40002441,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (5)
	CreateDynamicObject(2395,284.00000000,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (6)
	CreateDynamicObject(2395,284.00000000,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (7)
	CreateDynamicObject(2395,287.69921875,-173.29980469,1001.29998779,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (8)
	CreateDynamicObject(2395,284.00000000,-173.29980469,1001.29998779,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (9)
	CreateDynamicObject(2395,284.19921875,-176.50000000,998.57000732,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (10)
	CreateDynamicObject(2395,284.19921875,-178.55000305,998.57000732,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (11)
	CreateDynamicObject(2395,284.19921875,-176.50000000,1001.29998779,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (12)
	CreateDynamicObject(2395,284.19921875,-176.50000000,1001.29998779,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (13)
	CreateDynamicObject(2395,284.19921875,-176.50000000,1001.29998779,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (14)
	CreateDynamicObject(2395,284.19921875,-176.50000000,998.57000732,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)
	CreateDynamicObject(2395,284.19921875,-180.19921875,1001.04998779,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (16)
	CreateDynamicObject(2395,284.19921875,-183.93945312,1001.04998779,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (17)
	CreateDynamicObject(2395,284.19921875,-183.93945312,1001.04998779,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (18)
	CreateDynamicObject(10844,280.00000000,-175.10000610,995.76000977,0.00000000,0.00000000,176.24609375); //object(gen_whouse01_sfse) (1)
	CreateDynamicObject(2395,280.25000000,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (19)
	CreateDynamicObject(2395,277.50000000,-173.29980469,998.59997559,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (20)
	CreateDynamicObject(2395,280.25000000,-173.29980469,1001.29998779,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (21)
	CreateDynamicObject(2395,277.50000000,-173.29980469,1001.29998779,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (22)
	CreateDynamicObject(2395,283.79998779,-173.69999695,998.59997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (23)
	CreateDynamicObject(2395,283.79980469,-173.69921875,1001.29998779,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (24)
	CreateDynamicObject(2395,283.79980469,-173.69921875,998.59997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (25)
	CreateDynamicObject(2395,283.79980469,-173.69921875,998.59997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (26)
	CreateDynamicObject(2395,283.79998779,-177.00000000,1001.00000000,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (27)
	CreateDynamicObject(2395,283.79980469,-175.84960938,998.59997559,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (29)
	CreateDynamicObject(2395,283.79980469,-180.69999695,1001.00000000,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (30)
	CreateDynamicObject(2395,283.79980469,-181.00999451,998.29998779,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (31)
	CreateDynamicObject(5369,229.00000000,-228.89999390,935.20001221,0.00000000,0.00000000,0.00000000); //object(alphbrk4_las2) (1)
	CreateDynamicObject(10844,283.19921875,-185.69921875,997.40002441,0.00000000,90.00000000,91.24694824); //object(gen_whouse01_sfse) (1)
	CreateDynamicObject(1491,284.10000610,-180.57000732,998.59997559,0.00000000,0.00000000,90.00000000); //object(gen_doorint01) (2)

	// DMV
	CreateDynamicObject(970, 2071.6501464844, -1899.1999511719, 13.10000038147, 0, 0, 90);
	CreateDynamicObject(970, 2071.6501464844, -1903.3699951172, 13.10000038147, 0, 0, 90);
	CreateDynamicObject(970, 2071.6501464844, -1907.5400390625, 13.10000038147, 0, 0, 90);
	CreateDynamicObject(970, 2071.6501464844, -1915.8801269531, 13.10000038147, 0, 0, 90);
	CreateDynamicObject(970, 2071.6494140625, -1920.0498046875, 13.10000038147, 0, 0, 90);
	CreateDynamicObject(970, 2069.6000976563, -1922.3000488281, 13.10000038147, 0, 0, 0);
	CreateDynamicObject(970, 2065.5, -1922.3000488281, 13.10000038147, 0, 0, 0);
	CreateDynamicObject(970, 2061.3994140625, -1922.2998046875, 13.10000038147, 0, 0, 0);
	CreateDynamicObject(970, 2053.1999511719, -1922.3000488281, 13.10000038147, 0, 0, 0);
	CreateDynamicObject(970, 2049.099609375, -1922.2998046875, 13.10000038147, 0, 0, 0);
	CreateDynamicObject(970, 2045, -1922.2780761719, 13.10000038147, 0, 0, 0);
	CreateDynamicObject(1237, 2072.1000976563, -1914, 12.39999961853, 0, 0, 0);
	CreateDynamicObject(1237, 2072.1000976563, -1909.4000244141, 12.39999961853, 0, 0, 0);
	CreateDynamicObject(1237, 2059.6999511719, -1922.8000488281, 12.39999961853, 0, 0, 0);
	CreateDynamicObject(1237, 2055, -1922.8000488281, 12.39999961853, 0, 0, 0);
	CreateDynamicObject(1361, 2049.1999511719, -1921.5999755859, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2049.1999511719, -1917.5999755859, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2049.1999511719, -1913.5999755859, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2049.1999511719, -1909.5999755859, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2049.1999511719, -1904.8000488281, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2049.1999511719, -1900.5, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2052.3999023438, -1900.4000244141, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2055.9995117188, -1900.4000244141, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2059.5986328125, -1900.3994140625, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2063.1982421875, -1900.3994140625, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2066.7978515625, -1900.3994140625, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1361, 2070.3999023438, -1900.4000244141, 13.300000190735, 0, 0, 0);
	CreateDynamicObject(1232, 2049.1999511719, -1921.5999755859, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2049.1999511719, -1917.5999755859, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2049.1999511719, -1913.5999755859, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2049.1999511719, -1909.5999755859, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2049.1999511719, -1904.8000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2049.1999511719, -1900.5, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2052.3999023438, -1900.3000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2056.1000976563, -1900.3000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2059.6999511719, -1900.3000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2063.1999511719, -1900.3000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2066.8000488281, -1900.3000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(1232, 2070.3999023438, -1900.3000488281, 11.10000038147, 0, 0, 0);
	CreateDynamicObject(647, 2071.6999511719, -1922.5, 13.39999961853, 0, 0, 8.25);
	CreateDynamicObject(13011, 2063.8999023438, -1883.8000488281, 14.300000190735, 0, 0, 269.25);


	// LSPD Exterior Roy Nash
/*	CreateDynamicObject(3857, 1552.38, -1679.30, 20.04,   0.00, 0.00, 44.51);
	CreateDynamicObject(3440, 1542.71, -1679.10, 14.85,   0.00, 0.00, 0.00);
	CreateDynamicObject(3857, 1552.50, -1671.99, 20.08,   0.00, 0.00, 44.51);
	CreateDynamicObject(3440, 1542.73, -1672.14, 14.85,   0.00, 0.00, 0.00);
	CreateDynamicObject(3440, 1548.48, -1671.92, 20.60,   0.00, 0.00, -1.50);
	CreateDynamicObject(3440, 1548.45, -1679.29, 11.11,   0.00, 0.00, 0.00);
	CreateDynamicObject(3440, 1548.49, -1671.90, 15.84,   0.00, 0.00, 0.00);
	CreateDynamicObject(3440, 1548.48, -1671.92, 11.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(3440, 1548.45, -1679.29, 20.56,   0.00, 0.00, 0.00);
	CreateDynamicObject(3440, 1548.45, -1679.29, 15.88,   0.00, 0.00, 0.00);
	CreateDynamicObject(3857, 1554.09, -1672.00, 14.26,   0.00, 0.00, 44.51);
	CreateDynamicObject(3857, 1554.05, -1679.30, 14.23,   0.00, 0.00, 44.51);
	CreateDynamicObject(3857, 1546.60, -1679.24, 14.23,   0.00, 0.00, 44.51);
	CreateDynamicObject(3857, 1546.65, -1671.93, 14.26,   0.00, 0.00, 44.51);
	CreateDynamicObject(3515, 1546.72, -1661.09, 12.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(3515, 1546.83, -1690.17, 12.03,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1549.59, -1661.06, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1543.91, -1695.42, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1549.73, -1695.54, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1549.58, -1684.46, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1549.70, -1690.23, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1543.89, -1666.62, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1549.54, -1666.65, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1549.57, -1655.92, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1543.89, -1655.83, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1543.88, -1661.09, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1543.83, -1684.37, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19122, 1543.82, -1690.07, 13.41,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1539.36, -1636.28, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1539.34, -1700.11, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1539.33, -1707.81, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1539.46, -1715.54, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1545.10, -1715.61, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1545.14, -1700.15, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1545.15, -1651.14, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1539.45, -1651.11, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1545.05, -1636.18, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(19123, 1539.35, -1643.43, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(9833, 1540.82, -1650.18, 11.30,   -45.00, 0.00, 359.17);
	CreateDynamicObject(9833, 1540.88, -1637.56, 11.30,   45.00, 0.00, 359.17);
	CreateDynamicObject(970, 1542.22, -1715.59, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1539.32, -1711.68, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1549.63, -1692.85, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1546.76, -1684.32, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1539.34, -1703.77, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1543.71, -1692.79, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1542.31, -1700.03, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1546.85, -1666.74, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1539.35, -1639.85, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1549.67, -1687.20, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1543.71, -1687.27, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1549.70, -1658.44, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1546.70, -1695.50, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1542.22, -1636.16, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1543.82, -1663.98, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1549.67, -1663.89, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(9833, 1540.83, -1702.06, 11.30,   45.00, 0.00, 359.17);
	CreateDynamicObject(9833, 1540.85, -1714.29, 11.30,   -45.00, 0.00, 359.17);
	CreateDynamicObject(970, 1543.82, -1658.39, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1539.34, -1647.19, 13.48,   0.00, 0.00, 90.00);
	CreateDynamicObject(970, 1546.75, -1655.67, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(970, 1542.24, -1651.14, 13.48,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1546.40, -1686.91, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1545.25, -1665.25, 13.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1547.80, -1665.13, 13.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1547.98, -1663.80, 13.07,   0.00, 0.00, 0.00);
	CreateDynamicObject(870, 1545.99, -1664.22, 13.07,   0.00, 0.00, 42.16);
	CreateDynamicObject(870, 1544.94, -1663.71, 13.07,   0.00, 0.00, 42.16);
	CreateDynamicObject(870, 1548.07, -1657.24, 13.07,   0.00, 0.00, 42.16);
	CreateDynamicObject(870, 1545.55, -1657.37, 13.07,   0.00, 0.00, 42.16);
	CreateDynamicObject(870, 1548.30, -1658.71, 13.07,   0.00, 0.00, 20.13);
	CreateDynamicObject(870, 1544.90, -1658.76, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1548.16, -1685.86, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1545.58, -1685.85, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1544.99, -1687.70, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1545.11, -1692.64, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1548.00, -1687.43, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1544.99, -1687.70, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1548.17, -1694.14, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1545.94, -1694.21, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1548.24, -1692.77, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1545.81, -1692.92, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(870, 1545.01, -1694.09, 13.07,   0.00, 0.00, 51.21);
	CreateDynamicObject(817, 1544.18, -1701.58, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(1525, 1549.89, -1714.52, 15.10,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1544.24, -1714.26, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.62, -1714.13, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.61, -1714.03, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.58, -1711.66, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.57, -1711.52, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.44, -1709.65, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.27, -1709.46, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.29, -1707.14, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.37, -1707.18, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.21, -1704.67, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.25, -1704.69, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.34, -1703.36, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.27, -1703.40, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.35, -1701.65, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1543.09, -1637.10, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.52, -1701.69, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1543.85, -1649.89, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1541.84, -1649.87, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.66, -1649.78, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.63, -1647.56, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.96, -1647.39, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.52, -1645.88, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.67, -1645.61, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.40, -1643.56, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.45, -1643.55, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.37, -1641.31, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.45, -1641.36, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1542.37, -1639.01, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.46, -1639.05, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(817, 1540.52, -1637.48, 13.25,   0.00, 0.00, 0.00);
	CreateDynamicObject(1360, 1544.64, -1621.99, 13.28,   0.00, 0.00, 0.00);
	CreateDynamicObject(1360, 1544.64, -1634.39, 13.28,   0.00, 0.00, 0.00);
	CreateDynamicObject(1360, 1544.59, -1619.21, 13.28,   0.00, 0.00, 0.00);
	CreateDynamicObject(1500, 1582.60, -1637.89, 12.21,   0.00, 0.00, 0.00);
	CreateDynamicObject(1429, 1581.63, -1636.04, 13.91,   0.00, 0.00, -90.00);
	CreateDynamicObject(1429, 1579.26, -1633.34, 13.91,   0.00, 0.00, 0.00);
	CreateDynamicObject(1429, 1580.55, -1633.33, 13.91,   0.00, 0.00, 0.00);
	CreateDynamicObject(1429, 1581.57, -1634.32, 13.91,   0.00, 0.00, -90.00);
	CreateDynamicObject(1518, 1578.11, -1633.31, 13.92,   0.00, 0.00, 359.70);
	CreateDynamicObject(1671, 1579.55, -1635.77, 12.99,   0.00, 0.00, 177.43);
	CreateDynamicObject(1671, 1580.83, -1635.78, 12.99,   0.00, 0.00, 202.97);
	CreateDynamicObject(1671, 1578.07, -1635.34, 12.99,   0.00, 0.00, 136.08);
	CreateDynamicObject(19168, 1579.90, -1637.57, 14.97,   -90.00, 0.00, 0.00);
	CreateDynamicObject(1649, 1549.74, -1701.07, 24.71,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1545.34, -1701.08, 24.76,   0.00, 0.00, 180.00);
	CreateDynamicObject(1649, 1545.34, -1701.08, 21.44,   0.00, 0.00, 180.00);
	CreateDynamicObject(1649, 1545.34, -1701.08, 18.12,   0.00, 0.00, 180.00);
	CreateDynamicObject(1649, 1545.34, -1701.08, 14.80,   0.00, 0.00, 180.00);
	CreateDynamicObject(1649, 1554.13, -1701.07, 24.78,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1549.74, -1701.07, 18.08,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1549.74, -1701.07, 21.40,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1549.74, -1701.07, 11.47,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1554.13, -1701.07, 11.47,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1554.13, -1701.07, 14.80,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1554.13, -1701.07, 18.13,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1554.13, -1701.07, 21.46,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1554.19, -1698.92, 24.74,   0.00, 0.00, 270.00);
	CreateDynamicObject(1649, 1554.16, -1694.53, 24.69,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.19, -1698.92, 14.80,   0.00, 0.00, 270.00);
	CreateDynamicObject(1649, 1554.19, -1698.92, 18.10,   0.00, 0.00, 270.00);
	CreateDynamicObject(1649, 1554.19, -1698.92, 21.41,   0.00, 0.00, 270.00);
	CreateDynamicObject(1649, 1554.19, -1698.92, 11.47,   0.00, 0.00, 270.00);
	CreateDynamicObject(1649, 1554.12, -1690.14, 24.72,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.16, -1694.53, 14.79,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.16, -1694.53, 18.09,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.16, -1694.53, 21.37,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.16, -1694.53, 11.47,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.08, -1685.70, 24.74,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.12, -1690.14, 14.79,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.12, -1690.14, 18.09,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.12, -1690.14, 21.41,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.12, -1690.14, 11.47,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.14, -1665.39, 24.75,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.08, -1685.70, 14.79,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.08, -1685.70, 18.11,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.08, -1685.70, 21.43,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.08, -1685.70, 11.47,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.04, -1681.26, 11.47,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.04, -1681.26, 14.77,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.04, -1681.26, 18.07,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.04, -1681.26, 21.38,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.04, -1681.26, 24.70,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.18, -1669.79, 24.70,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.18, -1669.79, 21.37,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.18, -1669.79, 18.06,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.18, -1669.79, 14.75,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.18, -1669.79, 11.45,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.11, -1660.96, 24.70,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.14, -1665.39, 14.80,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.14, -1665.39, 18.12,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.14, -1665.39, 21.42,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.14, -1665.39, 11.49,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.07, -1656.55, 24.71,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.11, -1660.96, 14.79,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.11, -1660.96, 18.08,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.11, -1660.96, 21.38,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.11, -1660.96, 11.47,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.02, -1652.15, 24.73,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.07, -1656.55, 14.78,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.07, -1656.55, 18.09,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.07, -1656.55, 21.38,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.07, -1656.55, 11.45,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.02, -1652.15, 14.76,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.02, -1652.15, 18.09,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1554.02, -1652.15, 21.41,   0.00, 0.00, 270.51);
	CreateDynamicObject(1649, 1549.74, -1701.07, 14.77,   0.00, 0.00, 180.02);
	CreateDynamicObject(1649, 1545.34, -1701.08, 11.47,   0.00, 0.00, 180.00);
	CreateDynamicObject(1649, 1545.26, -1650.18, 24.76,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1549.68, -1650.19, 24.78,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1545.26, -1650.18, 14.79,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1545.26, -1650.18, 18.11,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1545.26, -1650.18, 21.44,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1545.26, -1650.18, 11.46,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1554.12, -1650.19, 24.77,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1549.68, -1650.19, 14.79,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1549.68, -1650.19, 18.12,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1549.68, -1650.19, 21.45,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1549.68, -1650.19, 11.46,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1554.12, -1650.19, 11.46,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1554.12, -1650.19, 14.78,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1554.12, -1650.19, 18.11,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1554.12, -1650.19, 21.43,   0.00, 0.00, 359.95);
	CreateDynamicObject(1649, 1506.40, -1626.37, 11.45,   0.00, 0.00, 269.57);
	CreateDynamicObject(1649, 1554.02, -1652.15, 11.45,   0.00, 0.00, 270.51);
	CreateDynamicObject(3857, 1548.23, -1675.63, 20.05,   0.00, 0.00, 314.37);
	CreateDynamicObject(982, 1534.75, -1650.92, 13.22,   0.00, 0.00, 0.00);
	CreateDynamicObject(984, 1537.53, -1675.19, 13.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(984, 1534.68, -1687.82, 13.16,   0.00, 0.00, 0.00);
	CreateDynamicObject(983, 1537.53, -1667.19, 13.23,   0.00, 0.00, 0.00);
	CreateDynamicObject(982, 1534.68, -1703.82, 13.22,   0.00, 0.00, 0.00);*/


	// Los Santos Police Department Exterior 5 May Approved by Roy Nash
	CreateObject(1279,1751.40002441,-2055.39990234,13.39999962,0.00000000,0.00000000,0.00000000); //object(craigpackage) (1)
	CreateObject(1279,-2176.50000000,-218.10000610,34.79999924,0.00000000,0.00000000,272.00000000); //object(craigpackage) (2)
	CreateObject(16363,1581.14843750,-1621.20410156,12.23570728,0.00000000,0.00000000,0.00000000); //object(des_trstplines) (1)
	CreateObject(1721,1579.59997559,-1634.90002441,12.60000038,0.00000000,0.00000000,0.00000000); //object(est_chair1) (1)
	CreateObject(8082,1632.75097656,-1626.93457031,19.62823105,0.00000000,0.00000000,0.00000000); //object(vgstwires21_lvs) (1)
	CreateObject(1233,1534.59997559,-1681.59997559,14.10000038,0.00000000,0.00000000,0.00000000); //object(noparkingsign1) (1)
	CreateObject(1233,1524.19995117,-1662.50000000,14.10000038,0.00000000,0.00000000,0.00000000); //object(noparkingsign1) (2)
	CreateObject(987,1563.50000000,-1617.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (6)
	CreateObject(987,1551.50000000,-1617.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (7)
	CreateObject(987,1539.50000000,-1617.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (9)
	CreateObject(987,1575.50000000,-1617.80004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (10)
	CreateObject(987,1594.50000000,-1623.29980469,12.39999962,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (11)
	CreateObject(987,1539.50000000,-1605.90002441,12.50000000,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (12)
	CreateObject(987,1539.50000000,-1602.19995117,12.50000000,0.00000000,0.00000000,270.00000000); //object(elecfence_bar) (13)
	CreateObject(987,1551.40002441,-1602.30004883,12.50000000,0.00000000,0.00000000,179.25000000); //object(elecfence_bar) (14)
	CreateObject(987,1563.40002441,-1602.30004883,12.50000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (15)
	CreateObject(987,1575.40002441,-1602.30004883,12.50000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (16)
	CreateObject(987,1587.40002441,-1602.30004883,12.50000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (17)
	CreateObject(987,1608.19995117,-1614.40002441,12.69999981,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (18)
	CreateObject(987,1608.19995117,-1626.40002441,12.69999981,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (19)
	CreateObject(987,1608.19995117,-1638.40002441,12.69999981,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (20)
	CreateObject(987,1603.80004883,-1645.90002441,12.50000000,0.00000000,0.00000000,58.00000000); //object(elecfence_bar) (21)
	CreateObject(987,1608.19995117,-1602.40002441,12.69999981,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (22)
	CreateObject(987,1596.19995117,-1602.30004883,12.60000038,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (23)
	CreateObject(3877,1538.30004883,-1672.50000000,14.19999981,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (1)
	CreateObject(984,1538.19995117,-1681.50000000,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit2) (2)
	CreateObject(984,1538.30004883,-1663.40002441,13.19999981,0.00000000,0.00000000,0.00000000); //object(fenceshit2) (4)
	CreateObject(1233,1524.00000000,-1635.80004883,14.10000038,0.00000000,0.00000000,180.00000000); //object(noparkingsign1) (3)
	
	// Tax Vault
	CreateDynamicObject(2614, 361.70001220703, 165.10000610352, 1020.9000244141, 0, 0, 89.247436523438);
	CreateDynamicObject(2634, 369.5, 162.39999389648, 1020.4000244141, 0, 0, 269.99816894531);
	CreateDynamicObject(7930, 363.5, 168.80000305176, 1023.200012207, 0, 0, 90.7470703125);
	CreateDynamicObject(7930, 363.5, 168.80000305176, 1020.200012207, 0, 0, 90.741577148438);
	CreateDynamicObject(2290, 367.20001220703, 167.10000610352, 1019, 0, 0, 270);
	CreateDynamicObject(2571, 363, 163.60000610352, 1019, 0, 0, 88.494873046875);
	CreateDynamicObject(2332, 367.10000610352, 168.69999694824, 1019.5, 0, 0, 0.7470703125);
	CreateDynamicObject(2332, 367.10000610352, 168.69999694824, 1020.4000244141, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 367.10000610352, 168.69999694824, 1021.299987793, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 367.10000610352, 168.69999694824, 1022.200012207, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 365.79998779297, 168.69999694824, 1019.5, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 365.79998779297, 168.69999694824, 1020.4000244141, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 365.79998779297, 168.69999694824, 1021.299987793, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 365.79998779297, 168.69999694824, 1022.200012207, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 364.39999389648, 168.60000610352, 1019.5, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 364.39999389648, 168.60000610352, 1020.4000244141, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 364.39999389648, 168.60000610352, 1021.299987793, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 364.39999389648, 168.60000610352, 1022.200012207, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 363.10000610352, 168.5, 1019.5, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 363.10000610352, 168.5, 1020.4000244141, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 363.10000610352, 168.5, 1021.299987793, 0, 0, 0.7415771484375);
	CreateDynamicObject(2332, 363.10000610352, 168.5, 1022.200012207, 0, 0, 0.7415771484375);
	CreateDynamicObject(1361, 362.10000610352, 167.69999694824, 1019.700012207, 0, 0, 0);
	CreateDynamicObject(631, 362, 167.80000305176, 1020.700012207, 0, 0, 16.495971679688);
	CreateDynamicObject(1361, 362.10000610352, 162.69999694824, 1019.700012207, 0, 0, 0);
	CreateDynamicObject(631, 362.29998779297, 162.69999694824, 1020.799987793, 0, 0, 21.741943359375);
	CreateDynamicObject(2332, 367.70001220703, 167.60000610352, 1021.5999755859, 0, 0, 270);
	CreateDynamicObject(2332, 367.70001220703, 167.60000610352, 1020.700012207, 0, 0, 269.98901367188);
	CreateDynamicObject(2332, 367.70001220703, 166.60000610352, 1021.5999755859, 0, 0, 269.98901367188);
	CreateDynamicObject(2332, 367.70001220703, 166.60000610352, 1020.700012207, 0, 0, 269.98901367188);
	CreateDynamicObject(2332, 367.70001220703, 164.10000610352, 1020.4000244141, 0, 0, 269.98901367188);
	CreateDynamicObject(2332, 367.70001220703, 164.10000610352, 1021.299987793, 0, 0, 269.98901367188);
	CreateDynamicObject(2332, 367.70001220703, 164.10000610352, 1022.200012207, 0, 0, 269.98901367188);
	CreateDynamicObject(1550, 366.39999389648, 167.39999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 366, 167.80000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 366.39999389648, 168, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 366.89999389648, 168, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 366.39999389648, 165.10000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 366.39999389648, 164.5, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 366.79998779297, 164.30000305176, 1019.5, 0, 0, 0);
	CreateDynamicObject(1550, 367.29998779297, 164.19999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 366.70001220703, 164, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 366.29998779297, 164, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 367.20001220703, 165.30000305176, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 364.60000610352, 167.39999389648, 1019.0999755859, 0, 90, 322.49816894531);
	CreateDynamicObject(1550, 363.20001220703, 167.10000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.79998779297, 166.89999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.60000610352, 163.30000305176, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 362.89999389648, 162.80000305176, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 363.20001220703, 163.30000305176, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 365.10000610352, 167.60000610352, 1019.0999755859, 0, 90, 293.2470703125);
	CreateDynamicObject(16378, 365.5, 159.19999694824, 1019.7299804688, 0, 0, 0);
	CreateDynamicObject(2332, 361.89999389648, 158.5, 1021.4000244141, 0, 0, 89.247436523438);
	CreateDynamicObject(2332, 361.89999389648, 158.5, 1020.5, 0, 0, 89.241943359375);
	CreateDynamicObject(2332, 361.89999389648, 158.5, 1019.5999755859, 0, 0, 89.241943359375);
	CreateDynamicObject(2332, 361.89999389648, 159.69999694824, 1021.4000244141, 0, 0, 89.241943359375);
	CreateDynamicObject(2332, 361.89999389648, 159.69999694824, 1020.5, 0, 0, 89.241943359375);
	CreateDynamicObject(2332, 361.89999389648, 159.69999694824, 1019.5999755859, 0, 0, 89.241943359375);
	CreateDynamicObject(1550, 362.89999389648, 162.39999389648, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 363, 162, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 363.29998779297, 162.19999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363.20001220703, 162.60000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363, 163.19999694824, 1019.4000244141, 0, 0, 0);
	CreateDynamicObject(1550, 367.39999389648, 157.69999694824, 1021, 0, 0, 0);
	CreateDynamicObject(2614, 361.70001220703, 165.10000610352, 1020.9000244141, 0, 0, 89.247436523438);
	CreateDynamicObject(1549, 365.39999389648, 159.10000610352, 1018.9000244141, 0, 0, 0);
	CreateDynamicObject(2267, 367.70001220703, 159.30000305176, 1015.700012207, 0, 0, 270);
	CreateDynamicObject(1550, 367.20001220703, 165.69999694824, 1019.700012207, 0, 49.998779296875, 287.24853515625);
	CreateDynamicObject(1550, 367.10000610352, 166.30000305176, 1019.5999755859, 0, 270, 275.99853515625);
	CreateDynamicObject(1550, 363.29998779297, 162.89999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363.5, 162.5, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363.5, 161.89999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363.29998779297, 161.80000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.79998779297, 161.60000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.39999389648, 161.89999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363.20001220703, 161.39999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 363, 161.10000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.39999389648, 161.19999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.70001220703, 161.30000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.29998779297, 161.60000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.79998779297, 161.69999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.89999389648, 162.10000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362, 161.30000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.5, 161, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.79998779297, 161.39999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.89999389648, 160.80000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.39999389648, 161, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.10000610352, 160.60000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.60000610352, 160.60000610352, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.79998779297, 160.80000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.29998779297, 160.30000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.79998779297, 160.30000305176, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.70001220703, 160.69999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.89999389648, 162.10000610352, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.70001220703, 161.69999694824, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.70001220703, 161.30000305176, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362, 161.5, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.10000610352, 161.69999694824, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.29998779297, 161.80000305176, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.5, 161.5, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.29998779297, 161.19999694824, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 361.79998779297, 160.89999389648, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.10000610352, 160.89999389648, 1019.799987793, 0, 0, 0);
	CreateDynamicObject(1550, 362.20001220703, 161.80000305176, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 361.89999389648, 161.69999694824, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 361.70001220703, 161.19999694824, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 361.79998779297, 161.5, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 362, 161.69999694824, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 362, 161.30000305176, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 361.89999389648, 161, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 362.10000610352, 161.60000610352, 1020, 0, 0, 0);
	CreateDynamicObject(1550, 367.39999389648, 158, 1021, 0, 0, 0);
	CreateDynamicObject(1550, 367.60000610352, 158.69999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 367.60000610352, 159.19999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 367.60000610352, 159.69999694824, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1550, 367.5, 160.89999389648, 1019.299987793, 0, 0, 0);
	CreateDynamicObject(1226, 369.10000610352, 160.30000305176, 1019.5999755859, 0, 0, 56.25);




	// Prison
	CreateDynamicObject(984,2488.60009766,-1259.00000000,1062.90002441,0.00000000,0.00000000,272.25000000); // Prison Fence
	CreateDynamicObject(984,2486.60009766,-1238.90002441,1062.90002441,0.00000000,0.00000000,272.25000000); // Prison Fence
	CreateDynamicObject(984,2486.60009766,-1238.90002441,1064.19995117,0.00000000,0.00000000,272.25000000); // Prison Fence
	CreateDynamicObject(984,2486.59960938,-1238.89941406,1065.50000000,0.00000000,0.00000000,272.24670410); // Prison Fence
	CreateDynamicObject(984,2488.60009766,-1259.00000000,1064.19995117,0.00000000,0.00000000,272.25000000); // Prison Fence
	CreateDynamicObject(984,2488.60009766,-1259.00000000,1065.50000000,0.00000000,0.00000000,272.25000000); // Prison Fence

	// SAPD Between
	CreateDynamicObject(1215,254.931777,85.353546,1001.001831,0.000000,0.000000,0.000000); // SAPD Office Between
	CreateDynamicObject(1215,254.931777,85.870002,1001.001831,0.000000,0.000000,0.000000); // SAPD Office Between
	CreateDynamicObject(1215,254.931777,86.386558,1001.001831,0.000000,0.000000,0.000000); // SAPD Office Between


 	// Idlewood Gas Station Fences
/*	CreateDynamicObject(970,1942.48376465,-1766.52941895,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (1)
	CreateDynamicObject(970,1942.48632812,-1770.73071289,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (2)
	CreateDynamicObject(970,1942.49255371,-1774.95690918,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (3)
	CreateDynamicObject(970,1942.50024414,-1779.18383789,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (4)
	CreateDynamicObject(970,1940.84838867,-1779.14770508,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (5)
	CreateDynamicObject(970,1940.82446289,-1774.85656738,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (6)
	CreateDynamicObject(970,1940.81445312,-1770.59240723,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (7)
	CreateDynamicObject(970,1940.82299805,-1766.36853027,12.94207954,0.00000000,0.00000000,270.00000000); //object(fencesmallb) (8)*/
	CreateDynamicObject(1569,1564.05126953,-1667.39648438,27.39560699,0.00000000,0.00000000,0.00000000); //object(adam_v_door) (1)

	// SAPD Interior, Exterior & Garage
	CreateDynamicObject(970,1544.79089355,-1637.28112793,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (1)
	CreateDynamicObject(970,1549.14111328,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (2)
	CreateDynamicObject(970,1553.41735840,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (3)
	CreateDynamicObject(970,1557.76708984,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (4)
	CreateDynamicObject(970,1561.96630859,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (5)
	CreateDynamicObject(970,1566.21630859,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (6)
	CreateDynamicObject(970,1570.46606445,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (7)
	CreateDynamicObject(970,1574.74133301,-1637.28027344,27.95359612,0.00000000,0.00000000,0.00000000); //DynamicObject(fencesmallb) (8)
	CreateDynamicObject(970,1577.80664062,-1639.56396484,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (9)
	CreateDynamicObject(970,1577.79174805,-1643.91601562,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (10)
	CreateDynamicObject(970,1577.80053711,-1648.26770020,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (11)
	CreateDynamicObject(970,1577.81018066,-1652.56835938,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (12)
	CreateDynamicObject(970,1577.82360840,-1656.86816406,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (13)
	CreateDynamicObject(970,1577.86291504,-1661.11816406,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (14)
	CreateDynamicObject(970,1577.85290527,-1665.40075684,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (15)
	CreateDynamicObject(970,1577.84338379,-1669.75097656,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (16)
	CreateDynamicObject(970,1577.83422852,-1674.00170898,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (17)
	CreateDynamicObject(970,1577.82177734,-1678.25024414,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (18)
	CreateDynamicObject(970,1577.81457520,-1682.47644043,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (19)
	CreateDynamicObject(970,1577.80590820,-1686.72631836,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (20)
	CreateDynamicObject(970,1577.79833984,-1690.92675781,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (21)
	CreateDynamicObject(970,1577.78869629,-1695.12719727,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (22)
	CreateDynamicObject(970,1577.77587891,-1699.32617188,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (23)
	CreateDynamicObject(970,1577.76440430,-1703.57592773,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (24)
	CreateDynamicObject(970,1577.75207520,-1707.79968262,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (25)
	CreateDynamicObject(970,1577.74096680,-1712.07360840,27.95359612,0.00000000,0.00000000,270.00000000); //DynamicObject(fencesmallb) (26)
	CreateDynamicObject(970,1575.26379395,-1714.37219238,27.95359612,0.00000000,0.00000000,180.00000000); //DynamicObject(fencesmallb) (27)
	CreateDynamicObject(970,1570.98278809,-1714.34692383,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (28)
	CreateDynamicObject(970,1566.72412109,-1714.34838867,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (29)
	CreateDynamicObject(970,1562.49572754,-1714.34582520,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (30)
	CreateDynamicObject(970,1558.26892090,-1714.34130859,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (31)
	CreateDynamicObject(970,1554.04333496,-1714.33496094,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (32)
	CreateDynamicObject(970,1549.81799316,-1714.32873535,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (33)
	CreateDynamicObject(970,1545.59289551,-1714.32116699,27.95359612,0.00000000,0.00000000,179.99450684); //DynamicObject(fencesmallb) (34)
	CreateDynamicObject(970,1542.66857910,-1711.92492676,27.95359612,0.00000000,0.00000000,89.99450684); //DynamicObject(fencesmallb) (35)
	CreateDynamicObject(970,1542.66015625,-1707.70080566,27.95359612,0.00000000,0.00000000,89.99450684); //DynamicObject(fencesmallb) (36)
	CreateDynamicObject(970,1542.64746094,-1703.47424316,27.95359612,0.00000000,0.00000000,89.99450684); //DynamicObject(fencesmallb) (37)
	CreateDynamicObject(970,1546.46936035,-1700.84899902,27.95359612,0.00000000,0.00000000,359.99450684); //DynamicObject(fencesmallb) (38)
	CreateDynamicObject(970,1550.74743652,-1700.83483887,27.95359612,0.00000000,0.00000000,359.98901367); //DynamicObject(fencesmallb) (39)
	CreateDynamicObject(970,1553.63476562,-1698.10791016,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (40)
	CreateDynamicObject(970,1553.62658691,-1693.77722168,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (41)
	CreateDynamicObject(970,1553.60217285,-1689.51794434,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (42)
	CreateDynamicObject(970,1553.59069824,-1685.26623535,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (43)
	CreateDynamicObject(970,1553.57897949,-1681.04003906,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (44)
	CreateDynamicObject(970,1553.58093262,-1670.81103516,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (45)
	CreateDynamicObject(970,1553.56982422,-1666.50891113,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (46)
	CreateDynamicObject(970,1553.53320312,-1662.25659180,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (47)
	CreateDynamicObject(970,1553.54724121,-1658.03039551,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (48)
	CreateDynamicObject(970,1553.53686523,-1653.75488281,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (49)
	CreateDynamicObject(970,1550.29052734,-1650.73937988,27.95359612,0.00000000,0.00000000,179.98901367); //DynamicObject(fencesmallb) (50)
	CreateDynamicObject(970,1545.93115234,-1650.77368164,27.95359612,0.00000000,0.00000000,179.98352051); //DynamicObject(fencesmallb) (51)
	CreateDynamicObject(970,1542.56152344,-1648.35388184,27.95359612,0.00000000,0.00000000,89.98352051); //DynamicObject(fencesmallb) (52)
	CreateDynamicObject(970,1542.55651855,-1644.07580566,27.95359612,0.00000000,0.00000000,89.98352051); //DynamicObject(fencesmallb) (53)
	CreateDynamicObject(970,1542.54882812,-1639.84790039,27.95359612,0.00000000,0.00000000,89.98352051); //DynamicObject(fencesmallb) (54)
	CreateDynamicObject(1215,1542.68469238,-1637.52331543,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (1)
	CreateDynamicObject(1215,1577.41918945,-1637.37463379,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (2)
	CreateDynamicObject(1215,1543.00610352,-1650.63269043,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (3)
	CreateDynamicObject(1215,1553.51025391,-1650.73876953,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (4)
	CreateDynamicObject(1215,1553.87353516,-1678.61999512,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (5)
	CreateDynamicObject(1215,1553.90393066,-1672.60510254,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (6)
	CreateDynamicObject(1215,1553.38757324,-1700.83959961,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (7)
	CreateDynamicObject(1215,1543.25537109,-1700.90600586,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (8)
	CreateDynamicObject(1215,1542.91027832,-1714.26464844,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (9)
	CreateDynamicObject(1215,1577.68847656,-1714.46398926,27.96643829,0.00000000,0.00000000,0.00000000); //DynamicObject(bollardlight) (10)
	CreateDynamicObject(970,1553.58093262,-1670.81103516,27.95359612,0.00000000,0.00000000,269.98901367); //DynamicObject(fencesmallb) (55)
	CreateDynamicObject(983,1544.67871094,-1620.55090332,13.06636715,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (1)
	CreateDynamicObject(983,1544.66882324,-1635.94934082,13.06636715,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (2)
	CreateDynamicObject(1495,1582.60693359,-1637.98974609,12.39045906,0.00000000,0.00000000,0.00000000); //object(gen_doorext01) (1)
	CreateDynamicObject(2951,264.64941406,79.29980469,1001.00000000,0.00000000,90.00000000,0.24719238); //object(a51_labdoor) (1)
	CreateDynamicObject(2951,272.10000610,79.54000092,1001.00000000,0.00000000,90.00000000,183.24987793); //object(a51_labdoor) (2)
	CreateDynamicObject(3397,269.59960938,80.09960938,1000.00000000,0.00000000,0.00000000,271.99951172); //object(a51_sdsk_1_) (1)
	CreateDynamicObject(2921,270.39999390,81.50000000,1002.90002441,0.00000000,0.00000000,356.00000000); //object(kmb_cam) (1)
	CreateDynamicObject(16782,269.19921875,79.59960938,1002.09997559,0.00000000,0.00000000,92.74658203); //object(a51_radar_scan) (1)
	CreateDynamicObject(1671,269.89999390,81.50000000,1000.50000000,0.00000000,0.00000000,337.99987793); //object(swivelchair_a) (1)
	CreateDynamicObject(2395,154.69999695,157.39999390,519.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (7)
	CreateDynamicObject(2008,252.79980469,83.00000000,1001.40002441,0.00000000,0.00000000,29.98718262); //object(officedesk1) (1)
	CreateDynamicObject(1715,254.39999390,82.19999695,1001.40002441,0.00000000,0.00000000,229.99328613); //object(kb_swivelchair2) (1)
	CreateDynamicObject(1722,252.89999390,84.80000305,1001.40002441,0.00000000,0.00000000,211.99218750); //object(off_chairnu) (1)
	CreateDynamicObject(1722,252.10000610,84.30000305,1001.40002441,0.00000000,0.00000000,211.99218750); //object(off_chairnu) (2)
	CreateDynamicObject(633,251.50000000,82.39941406,1002.40002441,0.00000000,0.00000000,289.99511719); //object(veg_palmkb10) (1)
	CreateDynamicObject(2172,256.59960938,82.29980469,1001.09997559,0.00000000,0.00000000,179.99450684); //object(med_office2_desk_1) (1)
	CreateDynamicObject(2172,258.50000000,82.29980469,1001.09997559,0.00000000,0.00000000,179.99450684); //object(med_office2_desk_1) (2)
	CreateDynamicObject(1715,257.89999390,83.69999695,1001.40002441,0.00000000,0.00000000,19.99511719); //object(kb_swivelchair2) (2)
	CreateDynamicObject(1715,256.00000000,83.59999847,1001.40002441,0.00000000,0.00000000,15.99060059); //object(kb_swivelchair2) (4)
	CreateDynamicObject(1703,251.30000305,88.50000000,1001.40002441,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (1)
	CreateDynamicObject(1703,252.09960938,91.19921875,1001.40002441,0.00000000,0.00000000,0.00000000); //object(kb_couch02) (2)
	CreateDynamicObject(1808,251.30000305,91.19999695,1001.40002441,0.00000000,0.00000000,43.00000000); //object(cj_watercooler2) (1)
	CreateDynamicObject(2637,217.59960938,80.69921875,1004.40002441,0.00000000,0.00000000,269.74182129); //object(cj_pizza_table2) (3)
	CreateDynamicObject(2289,218.29980469,82.79980469,1006.20001221,0.00000000,0.00000000,0.00000000); //object(frame_2) (1)
	CreateDynamicObject(2267,253.89999390,81.86000061,1003.50000000,0.00000000,0.00000000,180.00000000); //object(frame_wood_3) (2)
	CreateDynamicObject(2637,217.59960938,78.59999847,1004.40002441,0.00000000,0.00000000,269.74731445); //object(cj_pizza_table2) (3)
	CreateDynamicObject(2637,217.59960938,76.50000000,1004.40002441,0.00000000,0.00000000,269.74182129); //object(cj_pizza_table2) (3)
	CreateDynamicObject(2184,219.39999390,68.09999847,1004.00000000,0.00000000,0.00000000,161.99890137); //object(med_office6_desk_2) (1)
	CreateDynamicObject(2164,221.89999390,68.09999847,1004.00000000,0.00000000,0.00000000,270.00000000); //object(med_office_unit_5) (1)
	CreateDynamicObject(2167,221.89999390,66.30000305,1004.00000000,0.00000000,0.00000000,270.00000000); //object(med_office_unit_7) (1)
	CreateDynamicObject(1714,217.69999695,66.50000000,1004.00000000,0.00000000,0.00000000,149.99633789); //object(kb_swivelchair1) (1)
	CreateDynamicObject(1704,219.39941406,69.69921875,1004.00000000,0.00000000,0.00000000,325.99182129); //object(kb_chair03) (1)
	CreateDynamicObject(1704,217.30000305,70.09999847,1004.00000000,0.00000000,0.00000000,359.99450684); //object(kb_chair03) (2)
	CreateDynamicObject(2200,219.89999390,72.80000305,1004.09997559,0.00000000,0.00000000,0.00000000); //object(med_office5_unit_1) (1)
	CreateDynamicObject(2200,217.69999695,72.80000305,1004.09997559,0.00000000,0.00000000,0.00000000); //object(med_office5_unit_1) (2)
	CreateDynamicObject(7091,218.19999695,60.59999847,1107.80004883,0.00000000,0.00000000,0.00000000); //object(vegasflag02) (1)
	CreateDynamicObject(2614,219.60000610,65.90000153,1006.09997559,0.00000000,0.00000000,180.00000000); //object(cj_us_flag) (1)
	CreateDynamicObject(1671,217.60000610,82.50000000,1004.50000000,0.00000000,0.00000000,0.00000000); //object(swivelchair_a) (2)
	CreateDynamicObject(1671,219.10000610,81.30000305,1004.50000000,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (3)
	CreateDynamicObject(1671,219.10000610,79.50000000,1004.50000000,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (5)
	CreateDynamicObject(1671,219.10000610,77.69999695,1004.50000000,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (7)
	CreateDynamicObject(1671,219.10000610,75.90000153,1004.50000000,0.00000000,0.00000000,270.00000000); //object(swivelchair_a) (9)
	CreateDynamicObject(1671,216.10000610,76.00000000,1004.50000000,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (10)
	CreateDynamicObject(1671,216.10000610,77.80000305,1004.50000000,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (12)
	CreateDynamicObject(1671,216.10000610,79.40000153,1004.50000000,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (14)
	CreateDynamicObject(1671,216.10000610,81.00000000,1004.50000000,0.00000000,0.00000000,90.00000000); //object(swivelchair_a) (17)
	CreateDynamicObject(1703,242.89999390,70.09999847,1002.59997559,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (3)
	CreateDynamicObject(1703,242.89999390,63.09999847,1002.59997559,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (4)
	CreateDynamicObject(2614,246.39999390,72.30000305,1006.09997559,0.00000000,0.00000000,0.00000000); //object(cj_us_flag) (2)
	CreateDynamicObject(2612,218.00000000,72.77999878,1006.70001221,0.00000000,0.00000000,0.00000000); //object(police_nb2) (1)
	CreateDynamicObject(2611,220.69999695,72.77999878,1006.70001221,0.00000000,0.00000000,0.00000000); //object(police_nb1) (1)
	CreateDynamicObject(1215,254.931777,85.353546,1001.001831,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(1215,254.931777,85.870002,1001.001831,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(1215,254.931777,86.386558,1001.001831,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,256.567230,85.237609,1001.441955,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,253.326797,85.388061,1001.408813,0.000000,0.000000,-180.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,250.600021,85.254783,1001.408020,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,250.553466,85.231056,1004.123474,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,253.314941,85.389854,1004.129272,0.000000,0.000000,-180.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,259.306549,85.365196,1004.129272,0.000000,0.000000,-180.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,256.567230,85.237609,1004.169067,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,259.294555,85.347633,1001.415832,0.000000,0.000000,-180.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,256.641754,85.393638,1003.450927,0.000000,0.000000,-180.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,253.695861,85.249870,1003.445861,0.000000,0.000000,0.000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,254.829906,84.834633,1001.464904,0.000000,0.000000,-90); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,255.050000,82.078000,1001.464904,0.000000,0.000000,90); //object(cj_sports_wall) (3)
	CreateDynamicObject(1703,242.89999390,67.59999847,1002.59997559,0.00000000,0.00000000,90.00000000); //object(kb_couch02) (3)

	// Bank
	CreateDynamicObject(1649, 2245.282714, 1632.565185, 962.353332, 0.000000, 0.000000, 14.300009);
	CreateDynamicObject(1649, 2245.282714, 1632.565185, 965.603332, 0.000000, 0.000000, 14.300009);
	CreateDynamicObject(1649, 2238.931884, 1631.790405, 962.353332, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2234.593261, 1631.956787, 962.353332, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2234.593261, 1631.956787, 965.633666, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2238.932617, 1631.790893, 965.633666, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2245.282714, 1632.565185, 962.353332, 0.000000, 0.000000, 14.300009);
	CreateDynamicObject(1649, 2245.282714, 1632.565185, 965.603332, 0.000000, 0.000000, 14.300009);
	CreateDynamicObject(1649, 2238.931884, 1631.790405, 962.353332, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2234.593261, 1631.956787, 962.353332, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2234.593261, 1631.956787, 965.633666, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(1649, 2238.932617, 1631.790893, 965.633666, 0.000000, 0.000000, -2.199988);
	CreateDynamicObject(14623,2239.19921875,1651.29980469,966.29998779,0.00000000,0.00000000,6.74011230); //object(mafcasmain1) (2)
	CreateDynamicObject(9163,2235.50000000,1673.59960938,959.40002441,0.00000000,270.00000000,78.49182129); //object(shop04_lvs) (1)
	CreateDynamicObject(9163,2225.09960938,1671.19921875,959.40002441,0.00000000,270.00000000,106.49047852); //object(shop04_lvs) (2)
	CreateDynamicObject(2946,2228.10009766,1669.09997559,960.70001221,0.00000000,0.00000000,287.24853516); //object(cr_door_03) (1)
	CreateDynamicObject(2946,2228.30004883,1669.09997559,960.70001221,0.00000000,0.00000000,107.24307251); //object(cr_door_03) (2)
	CreateDynamicObject(2207,2304.80004883,1637.00000000,892.09997559,0.00000000,0.00000000,0.00000000); //object(med_office7_desk_1) (1)
	CreateDynamicObject(1536,2243.10009766,1669.01977539,960.70001221,0.00000000,0.00000000,347.25000000); //object(gen_doorext15) (1)
	CreateDynamicObject(2796,2244.00000000,1668.90002441,963.59997559,0.00000000,0.00000000,347.25000000); //object(cj_air_d_6) (1)
	CreateDynamicObject(626,2226.50000000,1667.69995117,962.70001221,0.00000000,0.00000000,18.00000000); //object(veg_palmkb2) (1)
	CreateDynamicObject(626,2230.89990234,1669.19995117,962.70001221,0.00000000,0.00000000,17.99560547); //object(veg_palmkb2) (2)
	CreateDynamicObject(1892,2228.39990234,1667.59997559,960.70001221,0.00000000,0.00000000,18.00000000); //object(security_gatsh) (1)
	CreateDynamicObject(983,2225.39990234,1669.59997559,961.40002441,0.00000000,0.00000000,54.00000000); //object(fenceshit3) (3)
	CreateDynamicObject(983,2225.39990234,1669.59997559,962.70001221,0.00000000,0.00000000,53.99780273); //object(fenceshit3) (4)
	CreateDynamicObject(983,2225.39990234,1669.59997559,964.00000000,0.00000000,0.00000000,53.99780273); //object(fenceshit3) (5)
	CreateDynamicObject(983,2229.89990234,1671.40002441,961.40002441,0.00000000,0.00000000,354.74780273); //object(fenceshit3) (6)
	CreateDynamicObject(983,2229.89990234,1671.40002441,962.70001221,0.00000000,0.00000000,354.74304199); //object(fenceshit3) (7)
	CreateDynamicObject(983,2229.89990234,1671.40002441,964.00000000,0.00000000,0.00000000,354.74304199); //object(fenceshit3) (8)
	CreateDynamicObject(2661,2228.19995117,1669.09997559,963.50000000,0.00000000,0.00000000,17.25000000); //object(cj_banner07) (1)
	CreateDynamicObject(2714,2228.19921875,1669.09960938,964.20001221,0.00000000,0.00000000,16.49597168); //object(cj_open_sign_2) (1)
	CreateDynamicObject(3462,2234.50000000,1669.90002441,962.09997559,0.00000000,0.00000000,120.75000000); //object(csrangel_lvs) (1)
	CreateDynamicObject(3462,2237.39990234,1669.69995117,962.09997559,0.00000000,0.00000000,64.49487305); //object(csrangel_lvs) (2)
	CreateDynamicObject(2773,2233.69995117,1669.59997559,961.29998779,0.00000000,0.00000000,42.00000000); //object(cj_airprt_bar) (1)
	CreateDynamicObject(2773,2235.89990234,1668.69995117,961.29998779,0.00000000,0.00000000,85.74523926); //object(cj_airprt_bar) (2)
	CreateDynamicObject(2773,2238.30004883,1669.19995117,961.29998779,0.00000000,0.00000000,117.74230957); //object(cj_airprt_bar) (3)
	CreateDynamicObject(2745,2235.89990234,1669.80004883,961.79998779,0.00000000,0.00000000,0.75000000); //object(cj_stat_3) (1)
	CreateDynamicObject(2780,2235.60009766,1669.50000000,951.59997559,0.00000000,0.00000000,0.00000000); //object(cj_smoke_mach) (1)
	CreateDynamicObject(632,2233.50000000,1670.19995117,961.20001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb7) (1)
	CreateDynamicObject(632,2240.39990234,1669.50000000,961.20001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb7) (2)
	CreateDynamicObject(632,2235.10009766,1670.69995117,959.40002441,0.00000000,0.00000000,14.25000000); //object(veg_palmkb7) (3)
	CreateDynamicObject(632,2236.39990234,1670.40002441,959.40002441,0.00000000,0.00000000,352.49926758); //object(veg_palmkb7) (4)
	CreateDynamicObject(632,2238.19995117,1669.80004883,959.40002441,0.00000000,0.00000000,346.49633789); //object(veg_palmkb7) (5)
	CreateDynamicObject(632,2235.10009766,1670.69995117,960.40002441,0.00000000,0.00000000,14.24926758); //object(veg_palmkb7) (6)
	CreateDynamicObject(632,2236.19995117,1670.50000000,960.40002441,0.00000000,0.00000000,350.24926758); //object(veg_palmkb7) (7)
	CreateDynamicObject(632,2237.89990234,1670.19995117,960.29998779,0.00000000,0.00000000,352.49707031); //object(veg_palmkb7) (8)
	CreateDynamicObject(1215,2239.00000000,1668.59997559,961.20001221,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
	CreateDynamicObject(1215,2232.69995117,1669.30004883,961.20001221,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
	CreateDynamicObject(630,2245.19995117,1668.40002441,961.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (2)
	CreateDynamicObject(638,2246.89941406,1667.89941406,961.40002441,0.00000000,0.00000000,69.74121094); //object(kb_planter_bush) (1)
	CreateDynamicObject(639,2246.59960938,1668.29980469,963.40002441,0.00000000,0.00000000,77.99743652); //object(veg_ivy_balcny_kb3) (1)
	CreateDynamicObject(870,2249.00000000,1667.09997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (1)
	CreateDynamicObject(870,2249.89941406,1665.79980469,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (2)
	CreateDynamicObject(1361,2249.89941406,1665.69921875,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2248.79980469,1666.69921875,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (2)
	CreateDynamicObject(8657,2222.79980469,1626.19921875,96.00000000,0.00000000,8.00000000,92.24670410); //object(shbbyhswall10_lvs) (4)
	CreateDynamicObject(638,2241.50000000,1669.09960938,961.40002441,0.00000000,0.00000000,75.74523926); //object(kb_planter_bush) (1)
	CreateDynamicObject(870,2250.80004883,1667.09997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (2)
	CreateDynamicObject(1361,2250.69921875,1666.69921875,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2184,2251.00000000,1663.80004883,960.79998779,0.00000000,0.00000000,316.50000000); //object(med_office6_desk_2) (1)
	CreateDynamicObject(1361,2255.19995117,1662.00000000,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2253.59960938,1661.00000000,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2255.00000000,1660.39941406,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2190,2252.30004883,1662.90002441,961.59997559,0.00000000,0.00000000,156.00000000); //object(pc_1) (1)
	CreateDynamicObject(2826,2252.50000000,1662.50000000,961.59997559,0.00000000,0.00000000,38.25000000); //object(gb_novels04) (1)
	CreateDynamicObject(2828,2251.60009766,1664.00000000,961.59997559,0.00000000,0.00000000,257.25000000); //object(gb_ornament02) (1)
	CreateDynamicObject(2853,2251.60009766,1663.19995117,961.59997559,0.00000000,0.00000000,355.50000000); //object(gb_bedmags03) (1)
	CreateDynamicObject(2855,2251.10009766,1663.90002441,961.59997559,0.00000000,0.00000000,0.00000000); //object(gb_bedmags05) (1)
	CreateDynamicObject(2286,2252.19995117,1666.10998535,963.00000000,0.00000000,0.00000000,321.75000000); //object(frame_5) (1)
	CreateDynamicObject(870,2254.60009766,1659.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (3)
	CreateDynamicObject(870,2254.69995117,1661.90002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (4)
	CreateDynamicObject(870,2253.89990234,1661.09997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (5)
	CreateDynamicObject(870,2256.60009766,1661.00000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (6)
	CreateDynamicObject(1671,2249.89990234,1663.09997559,961.20001221,0.00000000,0.00000000,99.00000000); //object(swivelchair_a) (1)
	CreateDynamicObject(1671,2251.50000000,1661.30004883,961.20001221,0.00000000,0.00000000,146.99774170); //object(swivelchair_a) (2)
	CreateDynamicObject(1714,2253.30004883,1664.59997559,960.79998779,0.00000000,0.00000000,310.50000000); //object(kb_swivelchair1) (1)
	CreateDynamicObject(639,2255.19995117,1662.69995117,963.40002441,0.00000000,0.00000000,34.49743652); //object(veg_ivy_balcny_kb3) (1)
	CreateDynamicObject(2773,2248.19995117,1665.40002441,961.29998779,0.00000000,0.00000000,2.25000000); //object(cj_airprt_bar) (4)
	CreateDynamicObject(2773,2248.79980469,1663.00000000,961.29998779,0.00000000,0.00000000,23.99414062); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2251.10009766,1660.50000000,961.29998779,0.00000000,0.00000000,55.49414062); //object(cj_airprt_bar) (6)
	CreateDynamicObject(2773,2253.30004883,1659.80004883,961.29998779,0.00000000,0.00000000,88.49194336); //object(cj_airprt_bar) (7)
	CreateDynamicObject(2269,2241.19995117,1669.00000000,962.70001221,0.00000000,0.00000000,348.75000000); //object(frame_wood_4) (1)
	CreateDynamicObject(2269,2241.19995117,1669.00000000,961.90002441,0.00000000,0.00000000,348.75000000); //object(frame_wood_4) (2)
	CreateDynamicObject(712,2238.60009766,1649.50000000,9.00000000,0.00000000,0.00000000,0.00000000); //object(vgs_palm03) (1)
	CreateDynamicObject(1361,2244.60009766,1654.80004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2245.00000000,1653.09997559,961.29998779,0.00000000,0.00000000,14.24414062); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2245.19995117,1650.69995117,961.29998779,0.00000000,0.00000000,355.49377441); //object(cj_airprt_bar) (5)
	CreateDynamicObject(1361,2245.10009766,1649.00000000,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2244.00000000,1647.59997559,961.29998779,0.00000000,0.00000000,320.24011230); //object(cj_airprt_bar) (5)
	CreateDynamicObject(1361,2240.60009766,1645.30004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2242.19995117,1646.00000000,961.29998779,0.00000000,0.00000000,305.23498535); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2238.89990234,1645.30004883,961.29998779,0.00000000,0.00000000,264.73315430); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2236.60009766,1645.90002441,961.29998779,0.00000000,0.00000000,247.48205566); //object(cj_airprt_bar) (5)
	CreateDynamicObject(1361,2235.00000000,1646.59960938,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2234.10009766,1648.19995117,961.29998779,0.00000000,0.00000000,212.97802734); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2233.19995117,1650.40002441,961.29998779,0.00000000,0.00000000,189.72546387); //object(cj_airprt_bar) (5)
	CreateDynamicObject(1361,2232.79980469,1652.09960938,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2233.30004883,1653.80004883,961.29998779,0.00000000,0.00000000,158.22290039); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2234.50000000,1655.80004883,961.29998779,0.00000000,0.00000000,137.21960449); //object(cj_airprt_bar) (5)
	CreateDynamicObject(1361,2235.80004883,1656.80004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2237.50000000,1657.40002441,961.29998779,0.00000000,0.00000000,104.21923828); //object(cj_airprt_bar) (5)
	CreateDynamicObject(2773,2239.89990234,1657.59997559,961.29998779,0.00000000,0.00000000,83.21630859); //object(cj_airprt_bar) (5)
	CreateDynamicObject(1361,2241.39990234,1657.40002441,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2773,2243.19995117,1656.19995117,961.29998779,0.00000000,0.00000000,51.71594238); //object(cj_airprt_bar) (5)
	CreateDynamicObject(6965,2239.30004883,1651.50000000,957.29998779,0.00000000,0.00000000,0.00000000); //object(venefountain02) (1)
	CreateDynamicObject(1361,2240.19995117,1653.80004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2236.80004883,1651.59997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2237.80004883,1649.50000000,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2239.50000000,1649.09997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2241.39990234,1652.50000000,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2241.19995117,1650.40002441,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2238.19995117,1653.59997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2238.19995117,1653.59997559,962.79998779,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2236.80004883,1651.59997559,962.90002441,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2237.80004883,1649.50000000,962.90002441,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2239.50000000,1649.09997559,962.79998779,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2241.19995117,1650.40002441,962.79998779,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2241.39990234,1652.50000000,962.90002441,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2240.19995117,1653.80004883,962.90002441,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(843,2239.80004883,1655.00000000,960.79998779,0.00000000,0.00000000,0.00000000); //object(dead_tree_15) (1)
	CreateDynamicObject(843,2236.50000000,1647.90002441,960.79998779,0.00000000,0.00000000,315.00000000); //object(dead_tree_15) (2)
	CreateDynamicObject(838,2242.69995117,1649.69995117,961.00000000,0.00000000,0.00000000,33.00000000); //object(dead_tree_9) (1)
	CreateDynamicObject(9163,2223.10009766,1641.19995117,967.20001221,0.00000000,90.00000000,15.74890137); //object(shop04_lvs) (3)
	CreateDynamicObject(2164,2222.19921875,1654.69921875,960.70001221,0.00000000,0.00000000,105.74890137); //object(med_office_unit_5) (1)
	CreateDynamicObject(2167,2221.60009766,1656.59997559,960.70001221,0.00000000,0.00000000,104.99996948); //object(med_office_unit_7) (1)
	CreateDynamicObject(2167,2222.39941406,1653.59960938,960.70001221,0.00000000,0.00000000,104.99084473); //object(med_office_unit_7) (2)
	CreateDynamicObject(2164,2223.09960938,1651.69921875,960.70001221,0.00000000,0.00000000,105.74340820); //object(med_office_unit_5) (2)
	CreateDynamicObject(2167,2220.99951172,1678.59997559,945.29998779,0.00000000,-180.00000000,283.48892212); //object(med_office_unit_7) (3)
	CreateDynamicObject(9163,2220.29931641,1691.09997559,937.59997559,0.00000000,-270.00000000,372.73522949); //object(shop04_lvs) (5)
	CreateDynamicObject(2167,2219.59912109,1703.59997559,929.89996338,0.00000000,-360.00000000,461.98153687); //object(med_office_unit_7) (4)
	CreateDynamicObject(2167,2223.19970703,1650.59997559,960.70001221,0.00000000,0.00000000,104.99264526); //object(med_office_unit_7) (5)
	CreateDynamicObject(2167,2223.19970703,1650.59997559,960.70001221,0.00000000,0.00000000,104.99264526); //object(med_office_unit_7) (9)
	CreateDynamicObject(2167,2223.19970703,1650.59997559,960.70001221,0.00000000,0.00000000,104.99264526); //object(med_office_unit_7) (13)
	CreateDynamicObject(2167,2223.19970703,1650.59997559,960.70001221,0.00000000,0.00000000,104.99264526); //object(med_office_unit_7) (17)
	CreateDynamicObject(2167,2223.29980469,1650.50000000,960.70001221,0.00000000,0.00000000,107.24307251); //object(med_office_unit_7) (21)
	CreateDynamicObject(630,2221.89990234,1657.30004883,961.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (1)
	CreateDynamicObject(630,2223.89941406,1649.79980469,961.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (3)
	CreateDynamicObject(644,2221.50000000,1659.19995117,960.90002441,0.00000000,0.00000000,0.00000000); //object(pot_02) (2)
	CreateDynamicObject(644,2221.50000000,1658.00000000,960.90002441,0.00000000,0.00000000,0.00000000); //object(pot_02) (3)
	CreateDynamicObject(644,2225.89990234,1665.69995117,960.90002441,0.00000000,0.00000000,0.00000000); //object(pot_02) (4)
	CreateDynamicObject(2773,2224.89941406,1649.29980469,961.29998779,0.00000000,0.00000000,282.74963379); //object(cj_airprt_bar) (21)
	CreateDynamicObject(2773,2227.19995117,1649.80004883,961.29998779,0.00000000,0.00000000,282.74963379); //object(cj_airprt_bar) (23)
	CreateDynamicObject(2165,2227.50000000,1651.59960938,960.79998779,0.00000000,0.00000000,283.49670410); //object(med_office_desk_1) (1)
	CreateDynamicObject(2773,2227.10009766,1653.30004883,961.29998779,0.00000000,0.00000000,32.24890137); //object(cj_airprt_bar) (24)
	CreateDynamicObject(2008,2226.10009766,1655.80004883,960.79998779,0.00000000,0.00000000,279.00000000); //object(officedesk1) (1)
	CreateDynamicObject(2773,2226.19995117,1657.50000000,961.29998779,0.00000000,0.00000000,8.99487305); //object(cj_airprt_bar) (24)
	CreateDynamicObject(2773,2224.69995117,1658.19995117,961.29998779,0.00000000,0.00000000,102.73864746); //object(cj_airprt_bar) (24)
	CreateDynamicObject(2614,2222.69995117,1653.09997559,964.09997559,0.00000000,0.00000000,105.75000000); //object(cj_us_flag) (1)
	CreateDynamicObject(9163,2233.50000000,1616.30004883,968.40002441,0.00000000,90.00000000,94.49890137); //object(shop04_lvs) (3)
	CreateDynamicObject(9163,2248.69921875,1622.39941406,968.00000000,0.00000000,90.00000000,135.73608398); //object(shop04_lvs) (3)
	CreateDynamicObject(3475,2246.00000000,1632.50000000,961.70001221,0.00000000,0.00000000,285.00000000); //object(vgsn_fncelec_pst) (1)
	CreateDynamicObject(3475,2238.00000000,1631.50000000,961.70001221,0.00000000,0.00000000,267.74926758); //object(vgsn_fncelec_pst) (2)
	CreateDynamicObject(2634,2242.19995117,1631.80004883,964.79998779,0.00000000,0.00000000,189.74487305); //object(ab_vaultdoor) (3)
	CreateDynamicObject(1649,2245.30004883,1632.69995117,962.29998779,0.00000000,0.00000000,195.75000000); //object(wglasssmash) (10)
	CreateDynamicObject(1649,2245.30004883,1632.69995117,965.59997559,0.00000000,0.00000000,195.74926758); //object(wglasssmash) (11)
	CreateDynamicObject(1226,2246.30004883,1633.19995117,964.00000000,0.00000000,0.00000000,0.00000000); //object(lamppost3) (1)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,962.29998779,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (12)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,962.29998779,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (13)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,965.59997559,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (14)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,965.59997559,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (15)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,965.59997559,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (16)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,962.29998779,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (17)
	CreateDynamicObject(1649,2245.29980469,1632.69921875,965.59997559,0.00000000,0.00000000,195.74890137); //object(wglasssmash) (18)
	CreateDynamicObject(1649,2239.00000000,1631.90002441,962.29998779,0.00000000,0.00000000,176.99890137); //object(wglasssmash) (19)
	CreateDynamicObject(1649,2239.00000000,1631.90002441,965.59997559,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (21)
	CreateDynamicObject(3475,2245.89990234,1632.40002441,962.20001221,0.00000000,0.00000000,284.99633789); //object(vgsn_fncelec_pst) (6)
	CreateDynamicObject(3475,2238.10009766,1631.50000000,962.20001221,0.00000000,0.00000000,267.74780273); //object(vgsn_fncelec_pst) (7)
	CreateDynamicObject(1649,2239.00000000,1631.89941406,962.29998779,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (23)
	CreateDynamicObject(1649,2239.00000000,1631.89941406,962.29998779,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (24)
	CreateDynamicObject(1649,2239.00000000,1631.89941406,962.29998779,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (25)
	CreateDynamicObject(1649,2239.00000000,1631.89941406,965.59997559,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (26)
	CreateDynamicObject(1649,2239.00000000,1631.89941406,965.59997559,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (27)
	CreateDynamicObject(1649,2239.00000000,1631.89941406,965.59997559,0.00000000,0.00000000,176.99523926); //object(wglasssmash) (28)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,962.29998779,0.00000000,0.00000000,182.99414062); //object(wglasssmash) (29)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,965.59997559,0.00000000,0.00000000,182.99414062); //object(wglasssmash) (32)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,962.29998779,0.00000000,0.00000000,182.99377441); //object(wglasssmash) (35)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,962.29998779,0.00000000,0.00000000,182.99377441); //object(wglasssmash) (36)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,962.29998779,0.00000000,0.00000000,182.99377441); //object(wglasssmash) (37)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,965.59997559,0.00000000,0.00000000,182.99377441); //object(wglasssmash) (38)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,965.59997559,0.00000000,0.00000000,182.99377441); //object(wglasssmash) (39)
	CreateDynamicObject(1649,2234.59960938,1631.89941406,965.59997559,0.00000000,0.00000000,182.99377441); //object(wglasssmash) (40)
	CreateDynamicObject(2009,2235.80004883,1632.40002441,960.79998779,0.00000000,0.00000000,355.50000000); //object(officedesk2l) (1)
	CreateDynamicObject(640,2224.00000000,1663.19995117,961.50000000,0.00000000,0.00000000,322.50000000); //object(kb_planter_bush2) (2)
	CreateDynamicObject(644,2221.89990234,1660.30004883,960.90002441,0.00000000,0.00000000,0.00000000); //object(pot_02) (3)
	CreateDynamicObject(2826,2235.69995117,1632.69995117,961.60998535,0.00000000,0.00000000,0.00000000); //object(gb_novels04) (2)
	CreateDynamicObject(2827,2236.00000000,1633.50000000,961.59997559,0.00000000,0.00000000,16.50000000); //object(gb_novels05) (1)
	CreateDynamicObject(1892,2235.80004883,1635.30004883,960.73779297,0.00000000,0.00000000,265.50000000); //object(security_gatsh) (2)
	CreateDynamicObject(1491,2238.78002930,1633.50000000,959.09997559,0.00000000,0.00000000,177.00000000); //object(gen_doorint01) (1)
	CreateDynamicObject(2773,2239.50000000,1632.80004883,961.20001221,0.00000000,0.00000000,48.00000000); //object(cj_airprt_bar) (10)
	CreateDynamicObject(2773,2237.10009766,1635.59997559,961.20001221,0.00000000,0.00000000,90.74926758); //object(cj_airprt_bar) (11)
	CreateDynamicObject(2773,2239.50000000,1635.69995117,961.20001221,0.00000000,0.00000000,94.49707031); //object(cj_airprt_bar) (12)
	CreateDynamicObject(2773,2240.19995117,1633.59997559,961.20001221,0.00000000,0.00000000,92.24340820); //object(cj_airprt_bar) (13)
	CreateDynamicObject(2773,2241.89990234,1636.00000000,961.20001221,0.00000000,0.00000000,99.74340820); //object(cj_airprt_bar) (14)
	CreateDynamicObject(2773,2244.30004883,1636.40002441,961.20001221,0.00000000,0.00000000,101.23937988); //object(cj_airprt_bar) (15)
	CreateDynamicObject(2773,2242.60009766,1634.00000000,961.20001221,0.00000000,0.00000000,104.24121094); //object(cj_airprt_bar) (16)
	CreateDynamicObject(2773,2245.00000000,1634.69995117,961.20001221,0.00000000,0.00000000,107.23825073); //object(cj_airprt_bar) (17)
	CreateDynamicObject(2773,2247.89990234,1635.19995117,961.20001221,0.00000000,0.00000000,22.48901367); //object(cj_airprt_bar) (18)
	CreateDynamicObject(2773,2246.39990234,1636.40002441,961.20001221,0.00000000,0.00000000,77.23901367); //object(cj_airprt_bar) (19)
	CreateDynamicObject(1892,2243.30004883,1633.59997559,960.73999023,0.00000000,0.00000000,277.49560547); //object(security_gatsh) (3)
	CreateDynamicObject(631,2235.10009766,1632.69995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (1)
	CreateDynamicObject(631,2235.19995117,1633.40002441,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (2)
	CreateDynamicObject(631,2235.19995117,1634.09997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (3)
	CreateDynamicObject(631,2239.60009766,1633.30004883,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (4)
	CreateDynamicObject(631,2240.60009766,1632.40002441,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (5)
	CreateDynamicObject(631,2248.80004883,1634.69995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (6)
	CreateDynamicObject(631,2248.39990234,1635.40002441,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (7)
	CreateDynamicObject(631,2248.10009766,1636.09997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb9) (8)
	CreateDynamicObject(630,2238.39990234,1635.59997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (4)
	CreateDynamicObject(630,2240.80004883,1635.80004883,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (5)
	CreateDynamicObject(630,2243.19995117,1636.19995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (6)
	CreateDynamicObject(630,2245.44995117,1636.59997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (7)
	CreateDynamicObject(630,2247.50000000,1636.09997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (8)
	CreateDynamicObject(14455,2258.60009766,1648.69995117,962.40002441,0.00000000,0.00000000,88.50000000); //object(gs_bookcase) (1)
	CreateDynamicObject(14455,2257.10009766,1643.30004883,962.40002441,0.00000000,0.00000000,72.00000000); //object(gs_bookcase) (2)
	CreateDynamicObject(1775,2257.39990234,1657.40002441,961.79998779,0.00000000,0.00000000,283.50000000); //object(cj_sprunk1) (1)
	CreateDynamicObject(1775,2257.69995117,1656.19995117,961.79998779,0.00000000,0.00000000,283.49670410); //object(cj_sprunk1) (2)
	CreateDynamicObject(1361,2256.80004883,1658.69995117,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2257.89990234,1654.69995117,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(626,2256.80004883,1659.69995117,962.79998779,0.00000000,0.00000000,0.00000000); //object(veg_palmkb2) (3)
	CreateDynamicObject(626,2258.69995117,1654.00000000,962.70001221,0.00000000,0.00000000,0.00000000); //object(veg_palmkb2) (4)
	CreateDynamicObject(2773,2256.39990234,1654.09997559,961.20001221,0.00000000,0.00000000,296.25000000); //object(cj_airprt_bar) (20)
	CreateDynamicObject(2773,2254.80004883,1652.59997559,961.20001221,0.00000000,0.00000000,328.49633789); //object(cj_airprt_bar) (22)
	CreateDynamicObject(2773,2254.10009766,1650.59997559,961.20001221,0.00000000,0.00000000,350.24121094); //object(cj_airprt_bar) (25)
	CreateDynamicObject(2773,2253.60009766,1647.19995117,961.20001221,0.00000000,0.00000000,350.23864746); //object(cj_airprt_bar) (26)
	CreateDynamicObject(2773,2253.89990234,1644.90002441,961.20001221,0.00000000,0.00000000,24.73864746); //object(cj_airprt_bar) (27)
	CreateDynamicObject(2773,2255.50000000,1643.30004883,961.20001221,0.00000000,0.00000000,60.73571777); //object(cj_airprt_bar) (28)
	CreateDynamicObject(1361,2256.19995117,1642.30004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2172,2255.89990234,1645.30004883,960.79998779,0.00000000,0.00000000,70.50000000); //object(med_office2_desk_1) (1)
	CreateDynamicObject(2172,2255.30004883,1646.59997559,960.79998779,0.00000000,0.00000000,250.00000000); //object(med_office2_desk_1) (2)
	CreateDynamicObject(1892,2253.60009766,1649.40002441,960.59997559,0.00000000,0.00000000,264.75000000); //object(security_gatsh) (4)
	CreateDynamicObject(1432,2256.60009766,1652.59997559,960.79998779,0.00000000,0.00000000,0.00000000); //object(dyn_table_2) (1)
	CreateDynamicObject(1432,2255.69995117,1650.30004883,960.79998779,0.00000000,0.00000000,332.25000000); //object(dyn_table_2) (2)
	CreateDynamicObject(2827,2255.69995117,1650.59997559,961.40002441,0.00000000,0.00000000,0.00000000); //object(gb_novels05) (2)
	CreateDynamicObject(2827,2255.50000000,1650.19995117,961.40002441,0.00000000,0.00000000,33.75000000); //object(gb_novels05) (3)
	CreateDynamicObject(2827,2255.89990234,1650.09997559,961.50000000,0.00000000,0.00000000,52.50000000); //object(gb_novels05) (4)
	CreateDynamicObject(2826,2256.69995117,1652.80004883,961.40002441,0.00000000,0.00000000,0.00000000); //object(gb_novels04) (3)
	CreateDynamicObject(2826,2256.39990234,1652.59997559,961.40002441,0.00000000,0.00000000,351.00000000); //object(gb_novels04) (4)
	CreateDynamicObject(2827,2256.69995117,1652.30004883,961.40002441,0.00000000,0.00000000,9.00000000); //object(gb_novels05) (5)
	CreateDynamicObject(2827,2256.69995117,1652.80004883,961.40002441,0.00000000,0.00000000,344.24780273); //object(gb_novels05) (6)
	CreateDynamicObject(1361,2255.00000000,1640.59997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2253.39990234,1638.59997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2251.80004883,1637.19995117,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2250.00000000,1635.80004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(646,2255.30004883,1641.69995117,962.09997559,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (1)
	CreateDynamicObject(646,2254.00000000,1639.90002441,962.09997559,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (2)
	CreateDynamicObject(646,2252.50000000,1638.09997559,962.09997559,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (3)
	CreateDynamicObject(646,2250.80004883,1636.59997559,962.09997559,0.00000000,0.00000000,0.00000000); //object(veg_palmkb14) (4)
	CreateDynamicObject(1663,2254.39990234,1646.30004883,961.20001221,0.00000000,0.00000000,98.25000000); //object(swivelchair_b) (1)
	CreateDynamicObject(1663,2257.10009766,1645.50000000,961.20001221,0.00000000,0.00000000,216.74523926); //object(swivelchair_b) (2)
	CreateDynamicObject(673,2225.60009766,1647.59997559,955.29998779,0.00000000,0.00000000,0.00000000); //object(sm_bevhiltree) (1)
	CreateDynamicObject(1361,2225.39990234,1645.19995117,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2226.10009766,1642.90002441,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2226.60009766,1640.90002441,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2227.10009766,1638.90002441,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2227.69995117,1637.00000000,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2228.69995117,1635.40002441,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2230.50000000,1634.30004883,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2232.30004883,1633.69995117,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(1361,2234.10009766,1633.09997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_bush_prop2) (1)
	CreateDynamicObject(2332,2241.50000000,1619.90002441,961.20001221,0.00000000,0.00000000,184.50000000); //object(kev_safe) (1)
	CreateDynamicObject(2332,2241.50000000,1619.90002441,962.59997559,0.00000000,0.00000000,184.49890137); //object(kev_safe) (2)
	CreateDynamicObject(2332,2241.50000000,1619.90002441,963.90002441,0.00000000,0.00000000,184.49890137); //object(kev_safe) (3)
	CreateDynamicObject(2332,2240.19995117,1619.80004883,961.20001221,0.00000000,0.00000000,184.49890137); //object(kev_safe) (5)
	CreateDynamicObject(2332,2240.19995117,1619.80004883,962.59997559,0.00000000,0.00000000,184.49890137); //object(kev_safe) (6)
	CreateDynamicObject(2332,2240.19995117,1619.80004883,963.90002441,0.00000000,0.00000000,184.49890137); //object(kev_safe) (7)
	CreateDynamicObject(1829,2239.00000000,1620.19995117,961.20001221,0.00000000,0.00000000,183.00000000); //object(man_safenew) (1)
	CreateDynamicObject(1828,2241.10009766,1622.40002441,960.72998047,0.00000000,0.00000000,0.00000000); //object(man_sdr_rug) (1)
	CreateDynamicObject(2332,2239.00000000,1619.69995117,962.59997559,0.00000000,0.00000000,184.49890137); //object(kev_safe) (8)
	CreateDynamicObject(2332,2239.00000000,1619.69995117,963.90002441,0.00000000,0.00000000,184.49890137); //object(kev_safe) (10)
	CreateDynamicObject(2332,2237.80004883,1619.69995117,962.59997559,0.00000000,0.00000000,184.49890137); //object(kev_safe) (11)
	CreateDynamicObject(2332,2237.80004883,1619.69995117,961.20001221,0.00000000,0.00000000,184.49890137); //object(kev_safe) (12)
	CreateDynamicObject(2332,2237.80004883,1619.69995117,963.79998779,0.00000000,0.00000000,184.49890137); //object(kev_safe) (13)
	CreateDynamicObject(2332,2236.80004883,1622.00000000,961.20001221,0.00000000,0.00000000,95.99890137); //object(kev_safe) (14)
	CreateDynamicObject(2332,2236.80004883,1622.00000000,962.09997559,0.00000000,0.00000000,95.99853516); //object(kev_safe) (15)
	CreateDynamicObject(2332,2236.80004883,1622.00000000,963.00000000,0.00000000,0.00000000,95.99853516); //object(kev_safe) (16)
	CreateDynamicObject(2332,2236.80004883,1622.00000000,963.90002441,0.00000000,0.00000000,95.99853516); //object(kev_safe) (17)
	CreateDynamicObject(2332,2236.69995117,1623.00000000,961.09997559,0.00000000,0.00000000,95.99853516); //object(kev_safe) (18)
	CreateDynamicObject(2332,2236.69995117,1623.00000000,962.00000000,0.00000000,0.00000000,95.99853516); //object(kev_safe) (21)
	CreateDynamicObject(2332,2236.69995117,1623.00000000,962.90002441,0.00000000,0.00000000,95.99853516); //object(kev_safe) (22)
	CreateDynamicObject(2332,2236.60009766,1624.50000000,961.09997559,0.00000000,0.00000000,95.99853516); //object(kev_safe) (23)
	CreateDynamicObject(2332,2236.60009766,1624.50000000,962.00000000,0.00000000,0.00000000,95.99853516); //object(kev_safe) (24)
	CreateDynamicObject(2332,2236.60009766,1624.50000000,962.90002441,0.00000000,0.00000000,95.99853516); //object(kev_safe) (25)
	CreateDynamicObject(2332,2236.60009766,1624.50000000,963.79998779,0.00000000,0.00000000,95.99853516); //object(kev_safe) (26)
	CreateDynamicObject(2002,2240.80004883,1638.80004883,960.70001221,0.00000000,0.00000000,9.75000000); //object(water_coolnu) (1)
	CreateDynamicObject(2332,2236.60009766,1625.59997559,962.09997559,0.00000000,0.00000000,95.99853516); //object(kev_safe) (27)
	CreateDynamicObject(2332,2236.60009766,1625.59997559,963.00000000,0.00000000,0.00000000,95.99853516); //object(kev_safe) (28)
	CreateDynamicObject(2332,2236.60009766,1626.69995117,963.00000000,0.00000000,0.00000000,95.99853516); //object(kev_safe) (29)
	CreateDynamicObject(2332,2236.60009766,1626.69995117,962.09997559,0.00000000,0.00000000,95.99853516); //object(kev_safe) (30)
	CreateDynamicObject(2332,2236.50000000,1627.80004883,963.00000000,0.00000000,0.00000000,95.99853516); //object(kev_safe) (31)
	CreateDynamicObject(2332,2236.50000000,1627.80004883,962.09997559,0.00000000,0.00000000,95.99853516); //object(kev_safe) (32)
	CreateDynamicObject(2395,2248.30004883,1628.19995117,960.59997559,0.00000000,0.00000000,258.00000000); //object(cj_sports_wall) (1)
	CreateDynamicObject(2395,2247.50000000,1625.40002441,960.59997559,0.00000000,0.00000000,212.99707031); //object(cj_sports_wall) (2)
	CreateDynamicObject(2395,2245.30004883,1623.69995117,960.59997559,0.00000000,0.00000000,30.00000000); //object(cj_sports_wall) (3)
	CreateDynamicObject(2395,2244.60009766,1623.09997559,960.59997559,0.00000000,0.00000000,251.99194336); //object(cj_sports_wall) (4)
	CreateDynamicObject(2003,2246.69995117,1625.19995117,961.09997559,0.00000000,0.00000000,209.25000000); //object(cr_safe_body) (1)
	CreateDynamicObject(2003,2245.89990234,1624.69995117,961.09997559,0.00000000,0.00000000,209.24560547); //object(cr_safe_body) (2)
	CreateDynamicObject(1550,2248.00000000,1627.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (1)
	CreateDynamicObject(1550,2247.89990234,1627.00000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (2)
	CreateDynamicObject(1550,2247.89990234,1626.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (3)
	CreateDynamicObject(1550,2247.89990234,1626.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (4)
	CreateDynamicObject(1550,2247.80004883,1626.09997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (5)
	CreateDynamicObject(1550,2247.69995117,1625.80004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (6)
	CreateDynamicObject(1550,2247.50000000,1625.50000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (7)
	CreateDynamicObject(1550,2247.30004883,1625.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (8)
	CreateDynamicObject(1550,2247.39990234,1625.59997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (9)
	CreateDynamicObject(1550,2247.50000000,1625.90002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (10)
	CreateDynamicObject(1550,2247.69995117,1626.19995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (11)
	CreateDynamicObject(1550,2247.69995117,1626.59997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (12)
	CreateDynamicObject(1550,2247.60009766,1627.00000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (13)
	CreateDynamicObject(1550,2247.80004883,1627.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (14)
	CreateDynamicObject(1550,2248.19995117,1627.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (15)
	CreateDynamicObject(1550,2247.80004883,1627.59997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (16)
	CreateDynamicObject(1550,2247.30004883,1626.50000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (17)
	CreateDynamicObject(1550,2247.19995117,1626.19995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (18)
	CreateDynamicObject(1550,2247.10009766,1625.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (19)
	CreateDynamicObject(1550,2247.39990234,1626.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (20)
	CreateDynamicObject(1550,2247.50000000,1627.40002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (21)
	CreateDynamicObject(1550,2248.00000000,1627.19995117,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (22)
	CreateDynamicObject(1550,2247.89990234,1627.00000000,961.20001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (23)
	CreateDynamicObject(1550,2248.19995117,1626.69995117,961.20001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (24)
	CreateDynamicObject(1550,2247.89990234,1626.50000000,961.20001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (25)
	CreateDynamicObject(1550,2247.80004883,1626.19995117,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (26)
	CreateDynamicObject(1550,2247.89990234,1625.50000000,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (27)
	CreateDynamicObject(1550,2247.60009766,1625.30004883,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (28)
	CreateDynamicObject(1550,2247.69995117,1625.59997559,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (29)
	CreateDynamicObject(1550,2247.89990234,1625.69995117,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (30)
	CreateDynamicObject(1550,2248.10009766,1626.09997559,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (31)
	CreateDynamicObject(1550,2248.00000000,1626.40002441,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (32)
	CreateDynamicObject(1550,2248.19995117,1626.69995117,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (33)
	CreateDynamicObject(1550,2248.00000000,1627.00000000,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (34)
	CreateDynamicObject(1550,2248.19995117,1627.40002441,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (35)
	CreateDynamicObject(1550,2247.89990234,1626.69995117,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (36)
	CreateDynamicObject(1550,2247.69995117,1626.00000000,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (37)
	CreateDynamicObject(1550,2247.50000000,1625.90002441,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (38)
	CreateDynamicObject(1550,2247.50000000,1625.50000000,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (39)
	CreateDynamicObject(1550,2247.39990234,1625.19995117,961.40002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (40)
	CreateDynamicObject(1550,2247.69995117,1625.40002441,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (41)
	CreateDynamicObject(1550,2247.89990234,1625.69995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (42)
	CreateDynamicObject(1550,2247.69995117,1626.00000000,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (43)
	CreateDynamicObject(1550,2247.89990234,1626.19995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (44)
	CreateDynamicObject(1550,2247.60009766,1626.59997559,961.50000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (45)
	CreateDynamicObject(1550,2248.10009766,1626.69995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (46)
	CreateDynamicObject(1550,2248.10009766,1627.00000000,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (47)
	CreateDynamicObject(1550,2248.10009766,1627.40002441,961.20001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (48)
	CreateDynamicObject(1550,2247.80004883,1626.80004883,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (49)
	CreateDynamicObject(1550,2248.00000000,1627.00000000,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (50)
	CreateDynamicObject(1550,2248.00000000,1627.30004883,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (51)
	CreateDynamicObject(1550,2248.00000000,1626.19995117,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (52)
	CreateDynamicObject(1550,2247.80004883,1626.00000000,962.09997559,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (53)
	CreateDynamicObject(1550,2247.89990234,1626.50000000,961.90002441,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (54)
	CreateDynamicObject(1550,2247.89990234,1626.19995117,962.20001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (55)
	CreateDynamicObject(1550,2247.80004883,1625.69995117,962.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (56)
	CreateDynamicObject(1550,2247.50000000,1625.19995117,961.79998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (57)
	CreateDynamicObject(1550,2247.50000000,1625.30004883,962.20001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (58)
	CreateDynamicObject(1550,2246.80004883,1625.19995117,961.79998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (59)
	CreateDynamicObject(1550,2246.50000000,1624.90002441,961.79998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (60)
	CreateDynamicObject(1550,2246.10009766,1624.69995117,961.79998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (61)
	CreateDynamicObject(1550,2245.80004883,1624.50000000,961.79998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (62)
	CreateDynamicObject(1550,2245.50000000,1624.09997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (63)
	CreateDynamicObject(1550,2245.39990234,1624.40002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (64)
	CreateDynamicObject(1550,2245.19995117,1624.19995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (65)
	CreateDynamicObject(1550,2245.00000000,1623.90002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (66)
	CreateDynamicObject(1550,2244.80004883,1623.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (67)
	CreateDynamicObject(1550,2244.60009766,1623.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (68)
	CreateDynamicObject(1550,2244.39990234,1622.90002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (69)
	CreateDynamicObject(1550,2244.30004883,1622.40002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (70)
	CreateDynamicObject(1550,2244.10009766,1621.90002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (71)
	CreateDynamicObject(1550,2243.89990234,1622.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (72)
	CreateDynamicObject(1550,2244.00000000,1622.80004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (73)
	CreateDynamicObject(1550,2244.19995117,1623.00000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (74)
	CreateDynamicObject(1550,2244.39990234,1623.50000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (75)
	CreateDynamicObject(1550,2244.60009766,1623.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (76)
	CreateDynamicObject(1550,2244.69995117,1624.19995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (77)
	CreateDynamicObject(1550,2245.00000000,1624.50000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (78)
	CreateDynamicObject(1550,2244.50000000,1624.00000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (79)
	CreateDynamicObject(1550,2244.30004883,1623.59997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (80)
	CreateDynamicObject(1550,2244.19995117,1623.30004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (81)
	CreateDynamicObject(1550,2244.39990234,1623.09997559,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (82)
	CreateDynamicObject(1550,2244.60009766,1623.30004883,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (83)
	CreateDynamicObject(1550,2244.80004883,1623.50000000,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (84)
	CreateDynamicObject(1550,2245.10009766,1623.80004883,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (85)
	CreateDynamicObject(1550,2245.39990234,1624.09997559,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (86)
	CreateDynamicObject(1550,2245.00000000,1623.59997559,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (87)
	CreateDynamicObject(1550,2244.39990234,1622.69995117,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (88)
	CreateDynamicObject(1550,2244.19995117,1622.50000000,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (89)
	CreateDynamicObject(1550,2244.30004883,1622.90002441,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (90)
	CreateDynamicObject(1550,2244.60009766,1623.19995117,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (91)
	CreateDynamicObject(1550,2244.69995117,1623.30004883,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (92)
	CreateDynamicObject(1550,2244.60009766,1623.59997559,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (93)
	CreateDynamicObject(1550,2244.59960938,1623.59960938,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (94)
	CreateDynamicObject(1550,2244.89990234,1623.90002441,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (95)
	CreateDynamicObject(1550,2245.10009766,1624.09997559,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (96)
	CreateDynamicObject(1550,2244.39990234,1623.40002441,961.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (97)
	CreateDynamicObject(1550,2244.50000000,1622.90002441,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (98)
	CreateDynamicObject(1550,2244.69995117,1623.09997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (99)
	CreateDynamicObject(1550,2244.50000000,1623.30004883,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (100)
	CreateDynamicObject(1550,2244.80004883,1623.59997559,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (101)
	CreateDynamicObject(1550,2245.00000000,1623.80004883,961.70001221,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (102)
	CreateDynamicObject(1550,2245.19995117,1625.19995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (104)
	CreateDynamicObject(1550,2245.80004883,1625.40002441,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (105)
	CreateDynamicObject(1550,2245.60009766,1626.00000000,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (106)
	CreateDynamicObject(1550,2245.00000000,1625.80004883,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (107)
	CreateDynamicObject(1550,2246.30004883,1626.09997559,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (108)
	CreateDynamicObject(1550,2246.50000000,1626.69995117,961.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (109)
	CreateDynamicObject(2004,2248.00000000,1629.40002441,963.70001221,0.00000000,0.00000000,276.75000000); //object(cr_safe_door) (1)
	CreateDynamicObject(2004,2248.00000000,1629.40002441,962.70001221,0.00000000,0.00000000,276.74633789); //object(cr_safe_door) (2)
	CreateDynamicObject(2004,2248.00000000,1629.40002441,961.70001221,0.00000000,0.00000000,277.49633789); //object(cr_safe_door) (3)
	CreateDynamicObject(2004,2247.89990234,1630.50000000,961.70001221,0.00000000,0.00000000,273.74633789); //object(cr_safe_door) (4)
	CreateDynamicObject(2004,2247.89990234,1630.50000000,962.70001221,0.00000000,0.00000000,273.74633789); //object(cr_safe_door) (5)
	CreateDynamicObject(2004,2247.89990234,1630.50000000,963.70001221,0.00000000,0.00000000,273.74633789); //object(cr_safe_door) (6)
	CreateDynamicObject(2004,2247.69995117,1631.59997559,963.70001221,0.00000000,0.00000000,276.74633789); //object(cr_safe_door) (7)
	CreateDynamicObject(2004,2247.69995117,1631.59997559,962.70001221,0.00000000,0.00000000,276.74560547); //object(cr_safe_door) (8)
	CreateDynamicObject(2004,2247.69995117,1631.59997559,961.70001221,0.00000000,0.00000000,276.74560547); //object(cr_safe_door) (9)
	CreateDynamicObject(2004,2247.50000000,1632.59997559,963.70001221,0.00000000,0.00000000,276.74560547); //object(cr_safe_door) (10)
	CreateDynamicObject(2004,2247.50000000,1632.59997559,962.70001221,0.00000000,0.00000000,276.74560547); //object(cr_safe_door) (11)
	CreateDynamicObject(2004,2247.50000000,1632.59997559,961.70001221,0.00000000,0.00000000,276.74560547); //object(cr_safe_door) (12)
	CreateDynamicObject(1550,2245.19995117,1624.00000000,961.59997559,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (110)
	CreateDynamicObject(1550,2245.19995117,1624.00000000,962.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (111)
	CreateDynamicObject(1550,2245.10009766,1623.69995117,962.00000000,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (112)
	CreateDynamicObject(1550,2244.89990234,1623.59997559,962.29998779,0.00000000,0.00000000,0.00000000); //object(cj_money_bag) (113)
	CreateDynamicObject(2332,2236.50000000,1627.80004883,961.20001221,0.00000000,0.00000000,95.99853516); //object(kev_safe) (33)
	CreateDynamicObject(2332,2236.60009766,1626.69995117,961.20001221,0.00000000,0.00000000,95.99853516); //object(kev_safe) (34)
	CreateDynamicObject(2332,2236.60009766,1625.59997559,961.20001221,0.00000000,0.00000000,95.99853516); //object(kev_safe) (35)
	CreateDynamicObject(2332,2236.10009766,1628.59997559,961.20001221,0.00000000,0.00000000,134.24853516); //object(kev_safe) (36)
	CreateDynamicObject(2332,2236.10009766,1628.59997559,962.09997559,0.00000000,0.00000000,134.24743652); //object(kev_safe) (37)
	CreateDynamicObject(2332,2236.10009766,1628.59997559,963.00000000,0.00000000,0.00000000,134.24743652); //object(kev_safe) (38)
	CreateDynamicObject(2004,2235.69995117,1629.19995117,961.59997559,0.00000000,0.00000000,97.50000000); //object(cr_safe_door) (13)
	CreateDynamicObject(2004,2235.69995117,1629.19995117,962.59997559,0.00000000,0.00000000,97.49816895); //object(cr_safe_door) (14)
	CreateDynamicObject(2004,2235.69995117,1629.19995117,963.59997559,0.00000000,0.00000000,97.49816895); //object(cr_safe_door) (15)
	CreateDynamicObject(2004,2235.60009766,1630.19995117,963.59997559,0.00000000,0.00000000,97.49816895); //object(cr_safe_door) (16)
	CreateDynamicObject(2004,2235.60009766,1630.19995117,962.59997559,0.00000000,0.00000000,97.49816895); //object(cr_safe_door) (17)
	CreateDynamicObject(2004,2235.60009766,1630.19995117,961.59997559,0.00000000,0.00000000,97.49816895); //object(cr_safe_door) (18)
	CreateDynamicObject(1616,2242.89990234,1620.50000000,964.29998779,0.00000000,0.00000000,0.00000000); //object(nt_securecam1_01) (1)
	CreateDynamicObject(1616,2248.10009766,1628.00000000,964.50000000,0.00000000,0.00000000,0.00000000); //object(nt_securecam1_01) (2)
	CreateDynamicObject(1616,2251.69995117,1642.30004883,966.59997559,0.00000000,0.00000000,0.00000000); //object(nt_securecam1_01) (3)
	CreateDynamicObject(1616,2255.19995117,1652.90002441,966.29998779,0.00000000,0.00000000,0.00000000); //object(nt_securecam1_01) (4)
	CreateDynamicObject(1663,2226.39990234,1650.80004883,961.20001221,0.00000000,0.00000000,95.25000000); //object(swivelchair_b) (3)
	CreateDynamicObject(1663,2225.19995117,1654.80004883,961.20001221,0.00000000,0.00000000,95.24597168); //object(swivelchair_b) (4)

	// Prison
	CreateDynamicObject(14412,2489.89941406,-1248.79980469,1071.59997559,0.00000000,0.00000000,2.49389648); //object(carter_drugfloor) (1)
	CreateDynamicObject(14414,2469.00000000,-1243.50000000,1063.19995117,0.00000000,0.00000000,180.49987793); //object(carter-stairs05) (1)
	CreateDynamicObject(2909,2496.00000000,-1263.50000000,105.00000000,0.00000000,0.00000000,1.99951172); //object(kmb_frontgate) (13)
	CreateDynamicObject(2927,2507.50000000,-1256.00000000,1064.00000000,0.00000000,0.00000000,271.99951172); //object(a51_blastdoorr) (1)
	CreateDynamicObject(2921,2507.69995117,-1261.19995117,1071.09997559,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (1)
	CreateDynamicObject(2921,2468.50000000,-1262.69995117,1070.80004883,0.00000000,0.00000000,256.00000000); //object(kmb_cam) (2)
	CreateDynamicObject(2921,2504.30004883,-1234.19995117,1071.19995117,0.00000000,0.00000000,75.99792480); //object(kmb_cam) (3)
	CreateDynamicObject(2921,2466.89941406,-1237.29980469,1070.80004883,0.00000000,0.00000000,155.99487305); //object(kmb_cam) (4)
	CreateDynamicObject(2921,2507.69995117,-1260.69995117,1065.30004883,0.00000000,0.00000000,0.00000000); //object(kmb_cam) (5)
	CreateDynamicObject(2921,2471.00000000,-1237.00000000,1065.00000000,0.00000000,0.00000000,170.00000000); //object(kmb_cam) (6)
	CreateDynamicObject(1499,2467.59960938,-1263.09960938,1066.40002441,0.00000000,0.00000000,91.49951172); //object(gen_doorint05) (1)
	CreateDynamicObject(1499,2467.50000000,-1260.05566406,1066.40002441,0.00000000,0.00000000,271.24450684); //object(gen_doorint05) (2)
	CreateDynamicObject(14459,2485.10009766,-1249.00000000,1069.30004883,0.00000000,0.00000000,2.25000000); //object(carter-cage) (1)
	CreateDynamicObject(983,2480.19995117,-1235.90002441,1062.90002441,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (1)
	CreateDynamicObject(983,2480.19995117,-1235.90002441,1064.19995117,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (2)
	CreateDynamicObject(983,2480.19995117,-1235.90002441,1065.50000000,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (3)
	CreateDynamicObject(983,2492.69995117,-1235.40002441,1062.90002441,0.00000000,0.00000000,5.25000000); //object(fenceshit3) (4)
	CreateDynamicObject(983,2492.69995117,-1235.40002441,1064.19995117,0.00000000,0.00000000,5.24597168); //object(fenceshit3) (5)
	CreateDynamicObject(983,2492.69995117,-1235.40002441,1065.50000000,0.00000000,0.00000000,5.24597168); //object(fenceshit3) (6)
	CreateDynamicObject(2909,2488.10009766,-1234.59997559,1062.09997559,0.00000000,0.00000000,0.75000000); //object(kmb_frontgate) (13)
	CreateDynamicObject(2909,2488.10009766,-1234.59997559,1064.69995117,0.00000000,0.00000000,0.74707031); //object(kmb_frontgate) (13)
	CreateDynamicObject(2909,2483.39990234,-1234.80004883,1062.09997559,0.00000000,0.00000000,0.75000000); //object(kmb_frontgate) (13)
	CreateDynamicObject(2909,2483.39990234,-1234.80004883,1064.69995117,0.00000000,0.00000000,0.74707031); //object(kmb_frontgate) (13)
	CreateDynamicObject(983,2495.00000000,-1262.00000000,1062.90002441,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (7)
	CreateDynamicObject(983,2482.30004883,-1262.50000000,1062.90002441,0.00000000,0.00000000,2.25000000); //object(fenceshit3) (8)
	CreateDynamicObject(983,2482.30004883,-1262.50000000,1064.19995117,0.00000000,0.00000000,2.24670410); //object(fenceshit3) (9)
	CreateDynamicObject(983,2482.30004883,-1262.50000000,1065.50000000,0.00000000,0.00000000,2.24670410); //object(fenceshit3) (10)
	CreateDynamicObject(983,2495.00000000,-1262.00000000,1064.19995117,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (11)
	CreateDynamicObject(983,2495.00000000,-1262.00000000,1065.50000000,0.00000000,0.00000000,0.00000000); //object(fenceshit3) (12)
	CreateDynamicObject(2909,2490.39990234,-1263.19995117,1062.09997559,0.00000000,0.00000000,2.99707031); //object(kmb_frontgate) (13)
	CreateDynamicObject(2909,2490.39990234,-1263.19995117,1064.69995117,0.00000000,0.00000000,2.99377441); //object(kmb_frontgate) (13)
	CreateDynamicObject(2909,2485.60009766,-1263.40002441,1062.09997559,0.00000000,0.00000000,2.99377441); //object(kmb_frontgate) (13)
	CreateDynamicObject(2909,2485.60009766,-1263.40002441,1064.69995117,0.00000000,0.00000000,2.99377441); //object(kmb_frontgate) (13)
	CreateDynamicObject(1771,2492.00000000,-1236.09997559,1062.90002441,0.00000000,0.00000000,0.75000000); //object(cj_bunk_bed1) (9)
	CreateDynamicObject(2525,2490.50000000,-1235.30004883,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_toilet4) (1)
	CreateDynamicObject(2524,2489.10009766,-1235.30004883,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_b_sink4) (1)
	CreateDynamicObject(2824,2491.89990234,-1236.80004883,1063.09997559,0.00000000,0.00000000,343.50000000); //object(gb_novels02) (1)
	CreateDynamicObject(2674,2490.50000000,-1236.40002441,1062.30004883,0.00000000,0.00000000,29.25000000); //object(proc_rubbish_2) (1)
	CreateDynamicObject(2675,2489.00000000,-1236.69995117,1062.30004883,0.00000000,0.00000000,36.75000000); //object(proc_rubbish_6) (1)
	CreateDynamicObject(1544,2489.00000000,-1235.00000000,1061.80004883,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (1)
	CreateDynamicObject(1544,2489.89990234,-1235.09997559,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (3)
	CreateDynamicObject(1544,2490.10009766,-1234.90002441,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (4)
	CreateDynamicObject(1544,2490.19995117,-1235.09997559,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (5)
	CreateDynamicObject(1544,2491.00000000,-1235.00000000,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_beer_b_1) (6)
	CreateDynamicObject(1771,2487.30004883,-1236.30004883,1062.90002441,0.00000000,0.00000000,359.99707031); //object(cj_bunk_bed1) (12)
	CreateDynamicObject(2525,2485.60009766,-1235.40002441,1062.19995117,0.00000000,0.00000000,3.00000000); //object(cj_toilet4) (3)
	CreateDynamicObject(2524,2484.00000000,-1235.50000000,1062.19995117,0.00000000,0.00000000,0.00000000); //object(cj_b_sink4) (2)
	CreateDynamicObject(1549,2486.39990234,-1235.19995117,1061.90002441,0.00000000,0.00000000,0.00000000); //object(cj_ashtray_b) (1)
	CreateDynamicObject(2673,2484.60009766,-1236.19995117,1062.30004883,0.00000000,0.00000000,354.00000000); //object(proc_rubbish_5) (1)
	CreateDynamicObject(2673,2485.89990234,-1236.30004883,1062.40002441,0.00000000,0.00000000,23.24597168); //object(proc_rubbish_5) (2)
	CreateDynamicObject(2672,2486.50000000,-1236.80004883,1062.50000000,0.00000000,0.00000000,339.75000000); //object(proc_rubbish_4) (1)
	CreateDynamicObject(2859,2484.00000000,-1235.59997559,1062.19995117,0.00000000,0.00000000,348.00000000); //object(gb_kitchtakeway04) (1)
	CreateDynamicObject(1520,2484.80004883,-1235.30004883,1062.30004883,0.00000000,0.00000000,345.00000000); //object(dyn_wine_bounce) (1)
	CreateDynamicObject(1520,2485.00000000,-1235.19995117,1062.30004883,0.00000000,0.00000000,351.74816895); //object(dyn_wine_bounce) (2)
	CreateDynamicObject(1771,2482.60009766,-1236.50000000,1062.90002441,0.00000000,0.00000000,0.74450684); //object(cj_bunk_bed1) (13)
	CreateDynamicObject(2524,2480.00000000,-1235.69995117,1062.19995117,0.00000000,0.00000000,0.75000000); //object(cj_b_sink4) (3)
	CreateDynamicObject(2525,2481.10009766,-1235.50000000,1062.19995117,0.00000000,0.00000000,2.99926758); //object(cj_toilet4) (4)
	CreateDynamicObject(2673,2481.80004883,-1236.19995117,1062.30004883,0.00000000,0.00000000,353.99597168); //object(proc_rubbish_5) (3)
	CreateDynamicObject(2826,2482.50000000,-1236.80004883,1063.09997559,0.00000000,0.00000000,6.75000000); //object(gb_novels04) (1)
	CreateDynamicObject(1771,2494.19921875,-1260.79980469,1062.90002441,0.00000000,0.00000000,359.99450684); //object(cj_bunk_bed1) (14)
	CreateDynamicObject(2524,2492.30004883,-1261.69995117,1062.19995117,0.00000000,0.00000000,183.74633789); //object(cj_b_sink4) (4)
	CreateDynamicObject(2525,2492.79980469,-1261.69921875,1062.19995117,0.00000000,0.00000000,185.24597168); //object(cj_toilet4) (5)
	CreateDynamicObject(2524,2489.60009766,-1261.90002441,1062.19995117,0.00000000,0.00000000,181.49633789); //object(cj_b_sink4) (5)
	CreateDynamicObject(2525,2488.30004883,-1261.90002441,1062.19995117,0.00000000,0.00000000,179.99597168); //object(cj_toilet4) (6)
	CreateDynamicObject(1771,2486.30004883,-1261.09997559,1062.90002441,0.00000000,0.00000000,2.24450684); //object(cj_bunk_bed1) (15)
	CreateDynamicObject(1771,2483.00000000,-1261.19995117,1062.90002441,0.00000000,0.00000000,0.74121094); //object(cj_bunk_bed1) (16)
	CreateDynamicObject(2524,2485.39990234,-1262.00000000,1062.19995117,0.00000000,0.00000000,181.49414062); //object(cj_b_sink4) (6)
	CreateDynamicObject(2525,2484.30004883,-1262.09997559,1062.19995117,0.00000000,0.00000000,179.99450684); //object(cj_toilet4) (7)
	CreateDynamicObject(2891,2494.19995117,-1261.50000000,1062.30004883,0.00000000,0.00000000,315.75000000); //object(kmb_packet) (1)
	CreateDynamicObject(2891,2494.30004883,-1260.90002441,1062.30004883,0.00000000,0.00000000,270.74707031); //object(kmb_packet) (2)
	CreateDynamicObject(2676,2492.30004883,-1260.40002441,1062.36999512,0.00000000,0.00000000,343.40002441); //object(proc_rubbish_8) (1)
	CreateDynamicObject(2676,2488.19995117,-1260.59997559,1062.40002441,0.00000000,0.00000000,357.64965820); //object(proc_rubbish_8) (2)
	CreateDynamicObject(2676,2483.30004883,-1260.69995117,1062.40002441,0.00000000,0.00000000,11.14892578); //object(proc_rubbish_8) (3)
	CreateDynamicObject(2827,2489.19995117,-1261.09997559,1062.30004883,0.00000000,0.00000000,0.00000000); //object(gb_novels05) (1)
	CreateDynamicObject(2827,2488.00000000,-1261.40002441,1062.30004883,0.00000000,0.00000000,347.25000000); //object(gb_novels05) (2)
	CreateDynamicObject(2827,2488.39990234,-1260.69995117,1062.30004883,0.00000000,0.00000000,347.24487305); //object(gb_novels05) (3)
	CreateDynamicObject(944,2494.10009766,-1235.40002441,1063.09997559,0.00000000,0.00000000,3.75000000); //object(packing_carates04) (1)
	CreateDynamicObject(942,2498.39990234,-1235.50000000,1064.69995117,0.00000000,0.00000000,2.25000000); //object(cj_df_unit_2) (1)
	CreateDynamicObject(939,2503.50000000,-1235.40002441,1063.00000000,0.00000000,0.00000000,0.75000000); //object(cj_df_unit) (1)
	CreateDynamicObject(3066,2505.69995117,-1242.09997559,1063.30004883,0.00000000,0.00000000,0.00000000); //object(ammotrn_obj) (1)
	CreateDynamicObject(3046,2503.30004883,-1238.19995117,1062.59997559,0.00000000,0.00000000,0.00000000); //object(kb_barrel) (1)
	CreateDynamicObject(3046,2502.30004883,-1238.30004883,1062.59997559,0.00000000,0.00000000,0.00000000); //object(kb_barrel) (2)
	CreateDynamicObject(3046,2501.19995117,-1238.30004883,1062.59997559,0.00000000,0.00000000,0.00000000); //object(kb_barrel) (3)
	CreateDynamicObject(3046,2500.10009766,-1238.30004883,1062.59997559,0.00000000,0.00000000,0.00000000); //object(kb_barrel) (4)
	CreateDynamicObject(18257,2468.19995117,-1263.50000000,1062.19995117,0.00000000,0.00000000,270.75000000); //object(crates) (1)
	CreateDynamicObject(925,2502.10009766,-1240.19995117,1063.30004883,0.00000000,0.00000000,0.00000000); //object(rack2) (1)
	CreateDynamicObject(925,2502.10009766,-1242.40002441,1063.30004883,0.00000000,0.00000000,0.00000000); //object(rack2) (2)
	CreateDynamicObject(925,2498.89990234,-1242.40002441,1063.30004883,0.00000000,0.00000000,0.00000000); //object(rack2) (3)
	CreateDynamicObject(925,2498.89990234,-1240.09997559,1063.30004883,0.00000000,0.00000000,0.00000000); //object(rack2) (4)
	CreateDynamicObject(1362,2493.60009766,-1237.19995117,1062.90002441,0.00000000,0.00000000,0.00000000); //object(cj_firebin) (1)
	CreateDynamicObject(1362,2494.50000000,-1237.19995117,1062.90002441,0.00000000,0.00000000,0.00000000); //object(cj_firebin) (2)
	CreateDynamicObject(1362,2496.69995117,-1237.30004883,1062.90002441,0.00000000,0.00000000,0.00000000); //object(cj_firebin) (3)
	CreateDynamicObject(1362,2497.50000000,-1237.30004883,1062.90002441,0.00000000,0.00000000,0.00000000); //object(cj_firebin) (4)
	CreateDynamicObject(1362,2498.50000000,-1240.30004883,1065.00000000,0.00000000,0.00000000,0.00000000); //object(cj_firebin) (5)
	CreateDynamicObject(1431,2476.60009766,-1262.59997559,1062.80004883,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (1)
	CreateDynamicObject(1431,2474.39990234,-1262.59997559,1062.80004883,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (2)
	CreateDynamicObject(1431,2475.19995117,-1262.80004883,1063.80004883,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (3)
	CreateDynamicObject(1685,2470.39990234,-1260.19995117,1062.90002441,0.00000000,0.00000000,359.25000000); //object(blockpallet) (1)
	CreateDynamicObject(2567,2497.69995117,-1261.00000000,1064.19995117,0.00000000,0.00000000,1.50000000); //object(ab_warehouseshelf) (1)
	CreateDynamicObject(2567,2502.80004883,-1260.90002441,1064.19995117,0.00000000,0.00000000,1.49963379); //object(ab_warehouseshelf) (2)
	CreateDynamicObject(2567,2500.19995117,-1245.30004883,1064.19995117,0.00000000,0.00000000,1.49963379); //object(ab_warehouseshelf) (3)
	CreateDynamicObject(2567,2500.19995117,-1248.30004883,1064.19995117,0.00000000,0.00000000,1.49963379); //object(ab_warehouseshelf) (4)
	CreateDynamicObject(1998,2471.89990234,-1246.90002441,1062.30004883,0.00000000,0.00000000,273.75000000); //object(officedesk1l) (1)
	CreateDynamicObject(1671,2471.80004883,-1247.80004883,1062.69995117,0.00000000,0.00000000,84.00000000); //object(swivelchair_a) (1)
	CreateDynamicObject(2567,2476.59960938,-1236.50000000,1062.50000000,0.00000000,0.00000000,3.74633789); //object(ab_warehouseshelf) (5)
	CreateDynamicObject(9819,2459.50000000,-1240.50000000,1067.30004883,0.00000000,0.00000000,181.50000000); //object(shpbridge_sfw02) (1)
	CreateDynamicObject(9822,2460.00000000,-1240.09997559,1067.09997559,0.00000000,0.00000000,180.00000000); //object(shpbridge_sfw08) (1)
	CreateDynamicObject(1775,2459.69995117,-1244.80004883,1067.09997559,0.00000000,270.00000000,181.50000000); //object(cj_sprunk1) (1)
	CreateDynamicObject(1775,2459.69995117,-1244.80004883,1065.90002441,0.00000000,270.00000000,181.49963379); //object(cj_sprunk1) (6)
	CreateDynamicObject(1775,2457.50000000,-1244.86010742,1067.09997559,0.00000000,270.00000000,181.49963379); //object(cj_sprunk1) (7)
	CreateDynamicObject(1775,2457.50000000,-1244.90002441,1065.90002441,0.00000000,270.00000000,181.49963379); //object(cj_sprunk1) (9)
	CreateDynamicObject(3388,2465.69995117,-1239.90002441,1066.40002441,0.00000000,0.00000000,3.00000000); //object(a51_srack4_) (1)
	CreateDynamicObject(3388,2465.80004883,-1241.09997559,1066.40002441,0.00000000,0.00000000,3.75000000); //object(a51_srack4_) (2)
	CreateDynamicObject(3388,2464.60009766,-1236.30004883,1066.40002441,0.00000000,0.00000000,93.00000000); //object(a51_srack4_) (3)
	CreateDynamicObject(3389,2463.30004883,-1236.40002441,1066.40002441,0.00000000,0.00000000,93.00000000); //object(a51_srack1_) (1)
	CreateDynamicObject(2773,2461.80004883,-1245.19995117,1066.90002441,0.00000000,0.00000000,270.00000000); //object(cj_airprt_bar) (1)
	CreateDynamicObject(1892,2463.10009766,-1245.00000000,1066.30004883,0.00000000,0.00000000,2.25000000); //object(security_gatsh) (2)
	CreateDynamicObject(2773,2465.39990234,-1245.09997559,1066.90002441,0.00000000,0.00000000,270.00000000); //object(cj_airprt_bar) (2)
	CreateDynamicObject(1999,2461.30004883,-1236.50000000,1066.40002441,0.00000000,0.00000000,2.25000000); //object(officedesk2) (1)
	CreateDynamicObject(1671,2462.19995117,-1237.09997559,1066.90002441,0.00000000,0.00000000,180.00000000); //object(swivelchair_a) (2)
	CreateDynamicObject(2596,2460.60009766,-1236.09997559,1069.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv) (1)
	CreateDynamicObject(2596,2461.39990234,-1236.09997559,1069.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv) (2)
	CreateDynamicObject(2596,2462.19995117,-1236.09997559,1069.09997559,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv) (3)
	CreateDynamicObject(2596,2460.60009766,-1236.09997559,1068.30004883,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv) (4)
	CreateDynamicObject(2596,2461.39990234,-1236.09997559,1068.30004883,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv) (5)
	CreateDynamicObject(2596,2462.19995117,-1236.09997559,1068.30004883,0.00000000,0.00000000,0.00000000); //object(cj_sex_tv) (6)
	CreateDynamicObject(14532,2465.80004883,-1242.59997559,1067.40002441,0.00000000,0.00000000,73.50000000); //object(tv_stand_driv) (1)
	CreateDynamicObject(14532,2465.80004883,-1243.80004883,1067.40002441,0.00000000,0.00000000,106.49853516); //object(tv_stand_driv) (2)
	CreateDynamicObject(2606,2458.30004883,-1243.00000000,1069.30004883,20.00000000,0.00000000,92.25000000); //object(cj_police_counter2) (1)
	CreateDynamicObject(2606,2458.30004883,-1243.00000000,1068.80004883,19.99511719,0.00000000,92.24670410); //object(cj_police_counter2) (2)
	CreateDynamicObject(2606,2458.19995117,-1240.59997559,1068.69995117,19.99511719,0.00000000,92.24670410); //object(cj_police_counter2) (3)
	CreateDynamicObject(2606,2458.19995117,-1240.59997559,1069.19995117,19.99511719,0.00000000,92.24670410); //object(cj_police_counter2) (4)
	CreateDynamicObject(16782,2458.30004883,-1238.00000000,1069.40002441,0.00000000,0.00000000,2.25000000); //object(a51_radar_scan) (1)
	CreateDynamicObject(630,2458.80004883,-1245.80004883,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (1)
	CreateDynamicObject(630,2460.80004883,-1245.59997559,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (2)
	CreateDynamicObject(630,2462.69995117,-1245.50000000,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (3)
	CreateDynamicObject(630,2464.80004883,-1245.40002441,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (4)
	CreateDynamicObject(630,2466.30004883,-1245.40002441,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (5)
	CreateDynamicObject(2614,2458.34008789,-1242.22998047,1070.69995117,0.00000000,0.00000000,92.25000000); //object(cj_us_flag) (1)
	CreateDynamicObject(2172,2459.10009766,-1248.19995117,1066.40002441,0.00000000,0.00000000,92.25000000); //object(med_office2_desk_1) (1)
	CreateDynamicObject(2172,2459.19995117,-1250.59997559,1066.40002441,0.00000000,0.00000000,92.24670410); //object(med_office2_desk_1) (2)
	CreateDynamicObject(2172,2459.30004883,-1253.00000000,1066.40002441,0.00000000,0.00000000,92.24670410); //object(med_office2_desk_1) (3)
	CreateDynamicObject(2172,2461.19995117,-1251.90002441,1066.40002441,0.00000000,0.00000000,272.50000000); //object(med_office2_desk_1) (4)
	CreateDynamicObject(2172,2461.19995117,-1249.50000000,1066.40002441,0.00000000,0.00000000,272.49682617); //object(med_office2_desk_1) (5)
	CreateDynamicObject(2172,2461.10009766,-1247.00000000,1066.40002441,0.00000000,0.00000000,272.49682617); //object(med_office2_desk_1) (6)
	CreateDynamicObject(630,2461.00000000,-1248.80004883,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (6)
	CreateDynamicObject(630,2459.50000000,-1248.90002441,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (7)
	CreateDynamicObject(630,2459.50000000,-1251.30004883,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (8)
	CreateDynamicObject(630,2461.00000000,-1251.30004883,1067.40002441,0.00000000,0.00000000,0.00000000); //object(veg_palmkb8) (9)
	CreateDynamicObject(1671,2459.60009766,-1252.30004883,1066.90002441,0.00000000,0.00000000,279.75000000); //object(swivelchair_a) (3)
	CreateDynamicObject(1671,2460.80004883,-1252.30004883,1066.90002441,0.00000000,0.00000000,96.75000000); //object(swivelchair_a) (4)
	CreateDynamicObject(1671,2460.89990234,-1250.50000000,1066.90002441,0.00000000,0.00000000,92.99560547); //object(swivelchair_a) (5)
	CreateDynamicObject(1671,2460.69995117,-1247.69995117,1066.90002441,0.00000000,0.00000000,112.49377441); //object(swivelchair_a) (6)
	CreateDynamicObject(1671,2459.69995117,-1250.00000000,1066.90002441,0.00000000,0.00000000,260.24487305); //object(swivelchair_a) (7)
	CreateDynamicObject(1671,2459.50000000,-1247.50000000,1066.90002441,0.00000000,0.00000000,285.74414062); //object(swivelchair_a) (8)
	CreateDynamicObject(1557,2458.89990234,-1256.66979980,1066.41003418,0.00000000,0.00000000,273.00000000); //object(gen_doorext19) (1)
	CreateDynamicObject(1557,2459.00000000,-1259.69995117,1066.41003418,0.00000000,0.00000000,90.75000000); //object(gen_doorext19) (3)
	CreateDynamicObject(627,2459.60009766,-1260.09997559,1068.19995117,0.00000000,0.00000000,0.00000000); //object(veg_palmkb3) (1)
	CreateDynamicObject(627,2459.50000000,-1256.40002441,1068.19995117,0.00000000,0.00000000,0.00000000); //object(veg_palmkb3) (2)
	CreateDynamicObject(1431,2460.50000000,-1263.19995117,1067.09997559,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (4)
	CreateDynamicObject(1431,2462.80004883,-1263.19995117,1067.09997559,0.00000000,0.00000000,0.00000000); //object(dyn_box_pile) (5)
	CreateDynamicObject(1432,2462.89990234,-1240.40002441,1066.40002441,0.00000000,0.00000000,31.50000000); //object(dyn_table_2) (1)
	print("Static objects loaded.");
	return 1;
}

stock LoadPickups()
{
    Create3DTextLabel(".", COLOR_RED, 1031.6764,-1442.6636,13.5546, 15, 0, 1);
	// Fixing pickups, 1st one doesn't show for some reason
	new string[128];
	// Pizzas
	CreateDynamicPickup(1582, 23, 1718.7186,-1897.4199,13.5657, -1); // Pizza 1
	CreateDynamicPickup(1582, 23, 1709.9825,-1930.3344,13.5660, -1); // Pizza 2
	CreateDynamicPickup(1582, 23, 1707.0359,-1930.3033,13.5685, -1); // Pizza 3
	CreateDynamicPickup(1582, 23, 1805.9744,-1920.1869,13.3925, -1); // Pizza 4
	CreateDynamicPickup(1582, 23, 1805.9501,-1925.1265,13.3901, -1); // Pizza 5
	CreateDynamicPickup(1582, 23, 1804.0553,-1934.8900,13.3853, -1); // Pizza 6

    CreatePickup(1239, 1, 919.4667,-1252.2340,16.2109); // Trucker Job
    Create3DTextLabel("Trucker Job\n{FFFF00}/join to get the job", COLOR_RED, 919.4667,-1252.2340,16.2109, 30, 0, 1);
    CreatePickup(1239, 1, 924.1837,-1222.2682,16.9766); // Trucker Pickup
    Create3DTextLabel("Packages Pickup\n{FFFF00}/loadpackages to get crates", COLOR_RED, 924.1837,-1222.2682,16.9766, 30, 0, 1);
    CreatePickup(1239, 1, 2222.5107,-2682.7368,13.5409); // Trucker Dropoff
	format(string, sizeof(string), "Packages Dropoff\n{FFFF00}/deliverpackages to deliver crates\nAvailable Products: %d/20000", Products);
    ProductsText = CreateDynamic3DTextLabel(string, COLOR_RED, 2222.5107,-2682.7368,13.5409, 30);
    CreatePickup(330, 1, 1154.1257,-1180.9600,32.8187); // Telecom Company
    Create3DTextLabel("Telecom Company\n{FFFF00}/buysim to buy a sim card\n/internet to enable/disable internet", COLOR_RED, 1154.1257,-1180.9600,32.8187, 15, 0, 1);
	CreatePickup(1239, 1, 2165.2358,-2271.5012,13.3413);// Weapons Dealer Job
	Create3DTextLabel("Weapons Dealer Job\n{FFFF00}/join to get the job", COLOR_RED, 2165.2358,-2271.5012,13.3413, 15, 0, 1);
	CreatePickup(1239, 1, 1415.4907,-1301.0790,13.5449); // Weapons Smuggler Job
    Create3DTextLabel("Weapons Smuggler Job\n{FFFF00}/join to get the job", COLOR_RED, 1415.4907,-1301.0790,13.5449, 15, 0, 1);
	CreatePickup(348, 1, 1423.6010,-1317.9398,13.5547); // Materials Pickup
    Create3DTextLabel("Materials Pickup\n{FFFF00}/getmats to get packages", COLOR_RED, 1423.6010,-1317.9398,13.5547, 15, 0, 1);
    CreatePickup(1279, 1, 2172.5471,-2264.2207,13.3416); // Materials Dropoff
    Create3DTextLabel("Materials Dropoff\n{FFFF00}/dropmats to get materials", COLOR_RED, 2172.5471,-2264.2207,13.3416, 15, 0, 1);
    CreatePickup(1239, 1, 2330.0693,-2315.4709,13.5469); // Mechanic Job
    Create3DTextLabel("Mechanic Job\n{FFFF00}/join to get the job", COLOR_RED, 2330.0693,-2315.4709,13.5469, 15, 0, 1);
    CreatePickup(1239, 1, 1380.8300,-1088.7698,27.3844); // Lawyer Job
    Create3DTextLabel("Lawyer Job\n{FFFF00}/join to get the job", COLOR_RED, 1380.8300,-1088.7698,27.3844, 15, 0, 1);
    CreatePickup(1239, 1, 2178.5518,-1660.4418,14.9644); // Drugs Dealer Job
    Create3DTextLabel("Drugs Dealer Job\n{FFFF00}/join to get the job\n/dropweed to deliver weed", COLOR_RED, 2178.5518,-1660.4418,14.9644, 15, 0, 1);
    CreatePickup(1239, 1, 2354.7354,-1170.1056,28.0475); // Drugs Smuggler Job
    Create3DTextLabel("Drugs Smuggler Job\n{FFFF00}/join to get the job\n/dropcrack to deliver crack", COLOR_RED, 2354.7354,-1170.1056,28.0475, 15, 0, 1);
    CreatePickup(1239, 1, 2941.2471,-2053.3892,3.5480); // Weed Packages Pickup
    Create3DTextLabel("Weed Packages Pickup\n{FFFF00}/getweed to get packages", COLOR_RED, 2941.2471,-2053.3892,3.5480, 15, 0, 1);
    CreatePickup(1239, 1, 2941.2471,-2050.1772,3.5480); // Crack Packages Pickup
    Create3DTextLabel("Crack Packages Pickup\n{FFFF00}/getcrack to get packages", COLOR_RED, 2941.2471,-2050.1772,3.5480, 15, 0, 1);
    CreatePickup(1279, 1, 323.0012,1118.5720,1083.8828); // Actual Weed Pickup
    format(string, sizeof(string), "Weed Pickup\n{FFFF00}/buyweed to get weed\nAvailable Stock: %d/2000", Weed);
    WeedText = CreateDynamic3DTextLabel(string, COLOR_RED, 323.0012,1118.5720,1083.8828, 15);
    CreatePickup(1279, 1, 2345.3992,-1185.6423,1027.9766); // Actual Crack Pickup
    format(string, sizeof(string), "Crack Pickup\n{FFFF00}/buycrack to get crack\nAvailable Stock: %d/2000", Crack);
    CrackText = CreateDynamic3DTextLabel(string, COLOR_RED, 2345.3992,-1185.6423,1027.9766, 15);
    CreatePickup(1239, 1, 2227.9976,-1718.2604,13.5321); // Bodyguard Job
    Create3DTextLabel("Bodyguard Job\n{FFFF00}/join to get the job", COLOR_RED, 2227.9976,-1718.2604,13.5321, 15, 0, 1);
    CreatePickup(1239, 1, 363.7841,-1557.3545,32.9076); // Thief Job
    Create3DTextLabel("Thief Job\n{FFFF00}/join to get the job\n/Rob other citizens", COLOR_RED, 363.7841,-1557.3545,32.9076, 15, 0, 1);
    CreatePickup(1239, 1, 545.6661,-1292.2437,17.2422); // Dealership
    Create3DTextLabel("Vehicles Dealership\n{FFFF00}/buycar to buy a vehicle\n{FFFF00}Only vehicle slot 1 and 2 is possible here", COLOR_RED, 545.6661,-1292.2437,17.2422, 15, 0, 1);
    CreatePickup(1239, 1, 1490.2968,1305.7004,1093.2964); // DMV Inside
    Create3DTextLabel("Department of Motor Vehicles\n{FFFF00}/getlic to start your drivers license test", COLOR_RED, 1490.2968,1305.7004,1093.2964, 15, 0, 1);
    Create3DTextLabel("Department of Fire Arms\n{FFFF00}/getfirearmslic (40,000)", COLOR_RED, 256.98,64.73,1003.64, 15, 0, 1);
    Create3DTextLabel("Door\n{FFFF00}/exit to get out", COLOR_RED, 1494.4541,1303.5806,1093.2891, 15, 0, 1);
    Create3DTextLabel("VIP Armor Spot\n{FFFF00}/buyarmor to get full armor", COLOR_RED, 287.2132,-177.3140,999.6060, 15, 0, 1);
    Create3DTextLabel("VIP Health Spot\n{FFFF00}/buyhealth to get full health", COLOR_RED, 285.0209,-177.3140,999.6060, 15, 0, 1);
	Create3DTextLabel("VIP Weapons Shop\n{FFFF00}/buygun to buy a VIP weapon", COLOR_RED, 278.4188,-180.5654,999.6060, 15, 0, 1);
	Create3DTextLabel("VIP Toys Shop\n{FFFF00}/buyviptoys to buy a VIP toy", COLOR_RED, 278.4188,-175.9247,999.6060, 15, 0, 1);

	CreatePickup(1239, 1, 366.4916,158.6417,1008.3828); // Vehicle Plate
    Create3DTextLabel("Vehicle Registration (NOT FINISHED)\n{FFFF00}/vehicleregister", COLOR_RED, 366.4916,158.6417,1008.3828, 15, 0, 1);
	
	CreatePickup(1239, 1, 352.1964,173.3516,1025.7891); // Government Lockers
    Create3DTextLabel("Government Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, 352.1964,173.3516,1025.7891, 15, 0, 1);

 	CreatePickup(1239, 1, 255.3861,77.2437,1003.6406); // LSPD Lockers
    Create3DTextLabel("LSPD Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, 255.3861,77.2437,1003.6406, 15, 0, 1);

   	CreatePickup(1239, 1, 1565.5861,-1672.2587,1723.1050); // FBI Lockers
    Create3DTextLabel("FBI Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, 1565.5861,-1672.2587,1723.1050, 15, 0, 1);

	CreatePickup(1239, 1, 223.3083,186.9299,1003.0313,14651346); // SWAT Locker
    Create3DTextLabel("SWAT Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, 223.3083,186.9299,1003.0313, 15, 14651346, 1);

   	CreatePickup(1239, 1, 1539.4260,-1597.2885,-25.5641); //  HSF Lockers
    Create3DTextLabel("HSF Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, 1539.4260,-1597.2885,-25.5641, 15, 0, 1);

   	CreatePickup(1239, 1, -147.4102,-4069.0005,1554.6260); //  Corleone Lockers
    Create3DTextLabel("Corleone Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, -147.4102,-4069.0005,1554.6260, 15, 0, 1);

	CreatePickup(1239, 1, -2160.2671,639.9796,1057.5861); //  Leone Lockers
    Create3DTextLabel("Leone Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, -2160.2671,639.9796,1057.5861, 15, 0, 1);
	
   	CreatePickup(1239, 1, 1351.8174,-1515.3602,587.3859); //  LSEMS Lockers
    Create3DTextLabel("LSEMS Lockers\n{FFFF00}/locker to grab your weapons", COLOR_RED, 1351.8174,-1515.3602,587.3859, 15, 0, 1);

   	CreatePickup(1239, 1, 1357.1293,-1509.0496,587.3859); //  LSEMS Clothes
    Create3DTextLabel("LSEMS Clothes\n{FFFF00}/lsemsclothes to grab your clothes", COLOR_RED, 1357.1293,-1509.0496,587.3859, 15, 0, 1);
	
   	CreatePickup(1239, 1, 1280.7146,-815.3420,1085.6328); //  ESF Clothes East Side Fellas
    Create3DTextLabel("ESF Clothes\n{FFFF00}/locker to grab your weapons", COLOR_RED, 1280.7146,-815.3420,1085.6328, 15, 0, 1);

	// HSF Toys
	Create3DTextLabel("HSF Accessories\n{FFFF00}/buypolicetoys", COLOR_RED, 1542.8075,-1600.6082,-25.5641, 15, 0, 1);
	CreatePickup(1239, 1, 1542.8075,-1600.6082,-25.5641); //  Police Toys Pickup

	// LSPD Toys
	Create3DTextLabel("LSPD Accessories\n{FFFF00}/buypolicetoys", COLOR_RED, 253.2935,76.9233,1003.6406, 15, 0, 1);
   	CreatePickup(1239, 1, 253.2935,76.9233,1003.6406); //  Police Toys Pickup

   	// Pilot Licenses
	CreatePickup(1239, 1, 1956.7323,-2183.6902,13.5469); // Pilot
    Create3DTextLabel("Pilot Licenses\n{FFFF00}/getpilotlic to start the pilot test", COLOR_RED, 1956.7323,-2183.6902,13.5469, 15, 0, 1);

    // Refilling spots
    Create3DTextLabel("Gas Station\n{FFFF00}/fuel to refill your vehicle", COLOR_RED, 1941.7532,-1776.3621,13.6406, 15, 0, 1);
	CreatePickup(1239, 1, 1941.7532,-1776.3621,13.6406);
    Create3DTextLabel("Gas Station\n{FFFF00}/fuel to refill your vehicle", COLOR_RED, 1941.7532,-1769.2583,13.6406, 15, 0, 1);
	CreatePickup(1239, 1, 1941.7532,-1769.2583,13.6406);
    Create3DTextLabel("Gas Station\n{FFFF00}/fuel to refill your vehicle", COLOR_RED, 1000.4276,-937.2377,42.3281, 15, 0, 1);
	CreatePickup(1239, 1, 1000.4276,-937.2377,42.3281);
    Create3DTextLabel("Gas Station\n{FFFF00}/fuel to refill your vehicle", COLOR_RED, 1007.4702,-936.3239,42.3281, 15, 0, 1);
	CreatePickup(1239, 1, 1007.4702,-936.3239,42.3281);
	Create3DTextLabel("Gas Station LSEMS\n{FFFF00}/fuel to refill your vehicle", COLOR_RED, 1786.9680,-1780.3038,13.5345, 15, 0, 1); // LSEMS
	CreatePickup(1239, 1, 1786.9680,-1780.3038,13.5345);
    //
    CreatePickup(1239, 1, 765.9518,15.2308,1000.6991, 1); // Boxer Job
    Create3DTextLabel("Boxer Job\n{FFFF00}/join to get the job", COLOR_RED, 765.9518,15.2308,1000.6991, 15, 1, 1);
    CreatePickup(1239, 1, 756.3295,5.6053,1000.6988, 1); // Gym /train
    Create3DTextLabel("Fighting Styles\n{FFFF00}/train to change your fighting style", COLOR_RED, 756.3295,5.6053,1000.6988, 15, 1, 1);
    Create3DTextLabel("Boxer 1\n{FFFF00}/bid 1 to place a bid on this boxer", COLOR_RED, 763.1202,2.4917,1001.5942, 25, 1, 0);
    Create3DTextLabel("Boxer 2\n{FFFF00}/bid 2 to place a bid on this boxer", COLOR_RED, 758.5969,-1.9768,1001.5942, 25, 1, 0);
    Parachute = CreatePickup(371, 1, 1544.0267,-1353.1768,329.4745); // Parachute
    // Bank Robbery // INT:83, VW:8473
    Create3DTextLabel("Bank Vault\n{FFFF00}/startrobbery to open the vault door", COLOR_RED, 2242.0234,1632.7185,961.7531, 25, 8473, 0);
    // News Vault
    Create3DTextLabel("News Agency Vault\n{FFFF00}/newsvault to check the money inside\n/vaultwithdraw to withdraw money", COLOR_RED, 1202.8289,-762.5840,1073.1819, 15, 0, 1);
	// namechange
    //Create3DTextLabel("{FF6347}Service:\n{00FF00}/namechange (out of service)\n{00FF00}/agechange", COLOR_LIGHTRED, 361.8299,173.3985,1008.3828+0.5, 15, 0, 1);

	// Welcome Message 1732.3046,-1861.4559,13.5775
	Create3DTextLabel("~~~~~~ WELCOME ~~~~~~\n Sup :) ! Welcome to Real Life Roleplay\nIf you need any help please use /report or /helpme\nIf that didn't help you feel free to contact players with /newbie\nEnjoy your stay!!",COLOR_GREENYELLOW,1732.3046,-1861.4559,13.5775, 15, 0, 1);
	/*
    403.8016,-2088.7976,7.8359 ; Fish1
	398.7358,-2088.7939,7.8359 ; Fish2
	396.1771,-2088.7976,7.8359 ; Fish3
	391.0683,-2088.7974,7.8359 ; Fish4
	383.4282,-2088.7969,7.8359 ; Fish5
	374.9623,-2088.7974,7.8359 ; Fish6
	369.8990,-2088.7976,7.8359 ; Fish7
	367.3003,-2088.7981,7.8359 ; Fish8
	362.1855,-2088.7974,7.8359 ; Fish9
	354.5370,-2088.7983,7.8359 ; Fish10
	*/

	// Random Ads Bords
	Create3DTextLabel("Tired of mailing? Buy now your cellphone at the 24/7 Market",COLOR_YELLOW,1538.151,-1610.551,25,50,0);
	Create3DTextLabel("The City of Los Santos encourages safe sex! Buy a condom!",COLOR_YELLOW,2067.2236,-1789.9285,25.6563,50,0);
	Create3DTextLabel("You want to place an advertisement here or another place? Please contact John_Carmoza",COLOR_YELLOW,1411.954,-1723,32,50,0);
	
    print("Static pickups loaded.");
	return 1;
}

stock ShowStats(playerid, playerb)
{
	new string[128], gender[8], Float:H, Float:A;
	// Gender
	if(PlayerInfo[playerb][pGender] == 1) format(gender, sizeof(gender), "Male");
	else if(PlayerInfo[playerb][pGender] == 2) format(gender, sizeof(gender), "Female");
	// Health and Armor
	GetPlayerHealth(playerb, H); GetPlayerArmour(playerb, A);
	// Total Wealth
	new idx = PlayerInfo[playerb][pHouse];
	new idx2 = PlayerInfo[playerb][pBiz];
	new TotalWealth = PlayerInfo[playerb][pMoney]+PlayerInfo[playerb][pBank]+HouseInfo[idx][hMoney]+BizInfo[idx2][bMoney];
	// Loyal
	new loyal[4];
	if(!PlayerInfo[playerb][pLoyal]) format(loyal, sizeof(loyal), "Yes");
	if(PlayerInfo[playerb][pLoyal]) format(loyal, sizeof(loyal), "No");
	// Oldskool
	new oldskool[4];
	if(PlayerInfo[playerid][pHours] >= 248) format(oldskool, sizeof(oldskool), "Yes");
	else if(PlayerInfo[playerid][pHours] < 248) format(oldskool, sizeof(oldskool), "No");
	// Marriage / Relation
	new relation[20];
	strmid(relation, PlayerInfo[playerb][pRelationWith], 0, strlen(PlayerInfo[playerb][pRelationWith]), 255);
	if(PlayerInfo[playerid][pRelationShip] == 0) { relation = "None"; }
	
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________________________");
	format(string, sizeof(string), "%s | Level: %d | %s | Age: %d | Respect: %d | Money: $%d | Bank: $%d | Total Wealth: $%d | Warnings: %d", NORPN(playerb), PlayerInfo[playerb][pLevel], gender, PlayerInfo[playerb][pAge], PlayerInfo[playerb][pHours], PlayerInfo[playerb][pMoney], PlayerInfo[playerb][pBank], TotalWealth, PlayerInfo[playerb][pWarns]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Phone: %d | WTC: %d | Wanted: %d | Crimes: %d | Arrested: %d | Job 1: %s | Job 2: %s | Health: %0.1f | Armor: %0.1f", RPPNO(playerb), PlayerInfo[playerb][pWTC], PlayerInfo[playerb][pWanted], PlayerInfo[playerb][pCrimes], PlayerInfo[playerb][pArrested], RPJN(playerb), RPVJN(playerb), H, A);
	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "Packages: %s | Materials: %d | Weed: %d | Crack: %d | Cigar: %d | Sprunk: %d | Spray: %d | Ropes: %d | Blindfolds: %d", RPPN(playerb), PlayerInfo[playerb][pMaterials], PlayerInfo[playerb][pWeed], PlayerInfo[playerb][pCrack], PlayerInfo[playerb][pCigar], PlayerInfo[playerb][pSprunk], PlayerInfo[playerb][pSpray], PlayerInfo[playerb][pRope], PlayerInfo[playerb][pBlindfold]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Gas Can: %d | Scopes: %d | Referral Points: %d | Loyalty Points: %d | VIP Bonus Points: %d | Skin: %d | Int: %d | VW: %d", PlayerInfo[playerb][pGas], PlayerInfo[playerb][pScope], PlayerInfo[playerb][pRefPoints], PlayerInfo[playerb][pLPoints], PlayerInfo[playerb][pReward], PlayerInfo[playerb][pModel], GetPlayerInterior(playerb), GetPlayerVirtualWorld(playerb));
	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "Faction: %s | Rank: %d | Division: %s | Family: %s | Rank: %d | House 1: %s | House 2: %s", RPFNEx(playerb), PlayerInfo[playerb][pFacRank], RPFDN(playerb), RPFaN(playerb), PlayerInfo[playerb][pFamRank], RPHK(playerb), RPVIPHK(playerb));
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Business 1: %s (ID: %s) | Business 2: %s (ID: %s) | Vehicle 1: %s (ID: %d) | Vehicle 2: %s (ID: %d) | Vehicle 3: %s (ID: %d)", RBT(PlayerInfo[playerb][pBiz]), RPBK(playerb), RBT(PlayerInfo[playerb][pVBiz]), RPVIPBK(playerb), RVN(GetVehicleModel(PlayerInfo[playerb][pVeh])), PlayerInfo[playerb][pVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVeh])), PlayerInfo[playerb][pVVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pBVeh])), PlayerInfo[playerb][pBVeh]);
	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "Gate 1: %d | Gate 2: %d | Gate 3: %d | Loyal: %s | Oldskool: %s | VIP: %s | Helper Level: %d | Admin Level: %d | Married: %s", PlayerInfo[playerb][pGate][0], PlayerInfo[playerb][pGate][1], PlayerInfo[playerb][pGate][2], loyal, oldskool, RPVIPN(playerb), PlayerInfo[playerb][pHelper], PlayerInfo[playerb][pAdmin], relation);
 	SendClientMessage(playerid, COLOR_WHITE, string);
	SendClientMessage(playerid, COLOR_REPORT, " Type /bizstats for detailed information about your businesses.");
	SendClientMessage(playerid, COLOR_LIGHTBLUE, "_____________________________________________________");
	return 1;
}

stock ShowStatsSmall(playerid, playerb)
{
	new string[128], gender[8], relation[20];
	// Gender
	if(PlayerInfo[playerb][pGender] == 1) format(gender, sizeof(gender), "Male");
	else if(PlayerInfo[playerb][pGender] == 2) format(gender, sizeof(gender), "Female");
	// Marriage / Relation
	strmid(relation, PlayerInfo[playerb][pRelationWith], 0, strlen(PlayerInfo[playerb][pRelationWith]), 255);
	if(PlayerInfo[playerid][pRelationShip] == 0) { relation = "None"; }
	
	SendClientMessage(playerid, COLOR_YELLOW,"--------------------------- [PLAYER STATS] -------------------------------------------");
	format(string, sizeof(string), "%s (%s) - Level[%d] - Age[%d] - Respect[%d] - Money[$%d] - Bank[$%d] - Warnings[%d/5]", NORPN(playerb), gender, PlayerInfo[playerb][pLevel], PlayerInfo[playerb][pAge], PlayerInfo[playerb][pHours], PlayerInfo[playerb][pMoney], PlayerInfo[playerb][pBank], PlayerInfo[playerb][pWarns]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Phone[%d] - WTC[%d] - Wanted[%d] - Crimes[%d] - Arrested[%d] - Job 1[%s] - Job 2 [%s]", RPPNO(playerb), PlayerInfo[playerb][pWTC], PlayerInfo[playerb][pWanted], PlayerInfo[playerb][pCrimes], PlayerInfo[playerb][pArrested], RPJN(playerb), RPVJN(playerb));
	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "Packages[%s] - Materials[%d] - Weed[%d] - Crack[%d] - Cigar[%d] - Rope[%d] - Spray[%d] - Married[%s]", RPPN(playerb), PlayerInfo[playerb][pMaterials],PlayerInfo[playerb][pWeed], PlayerInfo[playerb][pCrack], PlayerInfo[playerb][pCigar], PlayerInfo[playerb][pRope], PlayerInfo[playerb][pSpray], relation);
	SendClientMessage(playerid, COLOR_WHITE, string);
	format(string, sizeof(string), "Faction[%s] - Rank[%d] - Division[%s] - Family[%s] - Rank[%d] - VIP[%s]", RPFNEx(playerb), PlayerInfo[playerb][pFacRank], RPFDN(playerb), RPFaN(playerb), PlayerInfo[playerb][pFamRank], RPVIPN(playerb));
	SendClientMessage(playerid, COLOR_FADE2, string);
	format(string, sizeof(string), "Houses[1:%s 2:%s] Businesses[1:%s(%s) 2:%s(%s)] Vehicles[1:%s(%d) 2:%s(%d) 3:%s(%d)]", RPHK(playerb), RPVIPHK(playerb), RBT(PlayerInfo[playerb][pBiz]), RPBK(playerb), RBT(PlayerInfo[playerb][pVBiz]), RPVIPBK(playerb), RVN(GetVehicleModel(PlayerInfo[playerb][pVeh])), PlayerInfo[playerb][pVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pVVeh])), PlayerInfo[playerb][pVVeh], RVN(GetVehicleModel(PlayerInfo[playerb][pBVeh])), PlayerInfo[playerb][pBVeh]);
	SendClientMessage(playerid, COLOR_WHITE, string);
	SendClientMessage(playerid, COLOR_PURPLE,"Do you want the full information stats typ /fullstats");
	SendClientMessage(playerid, COLOR_YELLOW,"---------------------------------------------------------------------------------------");
	return 1;
}

stock RWN(weaponid)
{
	new name[32];
	GetWeaponName(weaponid, name, sizeof(name));
	if(weaponid == 0) format(name, sizeof(name), "Fist");
	return name;
}

stock RPIP(playerid)
{
	new ip[16];
	GetPlayerIp(playerid, ip, sizeof(ip));
	return ip;
}

stock RPVIPN(playerid)
{
	new name[32];
	if(PlayerInfo[playerid][pVIP] == 0) format(name, sizeof(name), "None");
	else if(PlayerInfo[playerid][pVIP] == 1) format(name, sizeof(name), "Bronze");
	else if(PlayerInfo[playerid][pVIP] == 2) format(name, sizeof(name), "Silver");
	else if(PlayerInfo[playerid][pVIP] == 3) format(name, sizeof(name), "Gold");
	else if(PlayerInfo[playerid][pVIP] == 4) format(name, sizeof(name), "Platinum");
	return name;
}

stock RPALN(playerid)
{
	new name[32];
	if(PlayerInfo[playerid][pAdmin] == 1) format(name, sizeof(name), "Basic Admin");
	else if(PlayerInfo[playerid][pAdmin] == 2) format(name, sizeof(name), "General Admin"); 
	else if(PlayerInfo[playerid][pAdmin] == 3) format(name, sizeof(name), "Senior Admin"); 
	else if(PlayerInfo[playerid][pAdmin] == 4) format(name, sizeof(name), "Server Manager");
	else if(PlayerInfo[playerid][pAdmin] >= 5) format(name, sizeof(name), "Unknown Admin");
	return name;
}

stock RPHLN(playerid)
{
	new name[32];
	if(PlayerInfo[playerid][pHelper] == 1) format(name, sizeof(name), "Helper");
	else if(PlayerInfo[playerid][pHelper] == 2) format(name, sizeof(name), "Head Helper");
	return name;
}

stock IsPlayerLoggedIn(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    if(PlayerInfo[playerid][pLoggedIn])
	    {
	        return 1;
	    }
	}
	return 0;
}

stock SendNearbyMessage(playerid, Float:radius, string[], col1, col2, col3, col4, col5)
{
	new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);
	new Float:ix, Float:iy, Float:iz;
	new Float:cx, Float:cy, Float:cz;
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
	        if(GetPlayerInterior(playerid) == GetPlayerInterior(i) && GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i))
	        {
				GetPlayerPos(i, ix, iy, iz);
				cx = (x - ix);
				cy = (y - iy);
				cz = (z - iz);
				if(((cx < radius/16) && (cx > -radius/16)) && ((cy < radius/16) && (cy > -radius/16)) && ((cz < radius/16) && (cz > -radius/16)))
				{
				    SendClientMessage(i, col1, string);
				}
				else if(((cx < radius/8) && (cx > -radius/8)) && ((cy < radius/8) && (cy > -radius/8)) && ((cz < radius/8) && (cz > -radius/8)))
				{
				    SendClientMessage(i, col2, string);
				}
				else if(((cx < radius/4) && (cx > -radius/4)) && ((cy < radius/4) && (cy > -radius/4)) && ((cz < radius/4) && (cz > -radius/4)))
				{
				    SendClientMessage(i, col3, string);
				}
				else if(((cx < radius/2) && (cx > -radius/2)) && ((cy < radius/2) && (cy > -radius/2)) && ((cz < radius/2) && (cz > -radius/2)))
				{
				    SendClientMessage(i, col4, string);
				}
				else if(((cx < radius) && (cx > -radius)) && ((cy < radius) && (cy > -radius)) && ((cz < radius) && (cz > -radius)))
				{
				    SendClientMessage(i, col5, string);
				}
			}
	    }
	}
	return 1;
}

stock IsPlayerNearPlayer(playerid, targetid, Float:radius)
{
	new Float:x, Float:y, Float:z;
	GetPlayerPos(targetid, x, y, z);
	if(IsPlayerInRangeOfPoint(playerid, radius ,x, y, z))
	{
	    return 1;
	}
	return 0;
}

stock IsPlayerNearVehicle(playerid, vehicleid, Float:radius)
{
	new Float:x, Float:y, Float:z;
	GetVehiclePos(vehicleid, x, y, z);
	if(IsPlayerInRangeOfPoint(playerid, radius ,x, y, z))
	{
	    return 1;
	}
	return 0;
}

stock ShowDialog(playerid, dialogid)
{
    new string[356], tstring[356], cstring[356], ip[16];
	switch(dialogid)
	{
	    case 0: // Tutorial Dialog
		{
			ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "{42C2F5}[Real Life Roleplay RP: {FFFFFF}Register Finish{42C2F5}]","Would you like to see the tutorial?", "Yes", "No");
		}
		case 1: // Register
		{
			GetPlayerIp(playerid,ip,sizeof(ip));
		    format(tstring, sizeof(tstring), "{42C2F5}[Real Life Roleplay RP: {FFFFFF}Register{42C2F5}]");
		    format(cstring, sizeof(cstring), "{FFFFFF}Hello, Welcome to Real Life Roleplay We have found you are not registered.\n\n[Username]: {E3DD3B}%s{FFFFFF} - [IP]: {E3DD3B}%s{FFFFFF}\n\nIt seems you are not registered, enter a password below to do-so!", NORPN(playerid), ip);
		    ShowPlayerDialog(playerid, 1, DIALOG_STYLE_PASSWORD, tstring, cstring, "Register", "Quit");
		}
		case 2: // Login
		{
			GetPlayerIp(playerid,ip,sizeof(ip));
		    format(tstring, sizeof(tstring), "{42C2F5}[Real Life Roleplay RP: {FFFFFF}Login{42C2F5}]", RPN(playerid));
			format(cstring, sizeof(cstring), "{FFFFFF}Hello, Welcome to Real Life Roleplay We have found you are registered.\n\n[Username]: {E3DD3B}%s{FFFFFF} - [IP]: {E3DD3B}%s{FFFFFF}\n\nPlease enter your password below to login.", NORPN(playerid), ip);
		    ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD, tstring, cstring, "Login", "Quit");
		}
		case 3: // Male/Female
		{
		    ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "{42C2F5}Choose your character's gender", "Male\nFemale", "Choose", "Cancel");
		}
		case 4: // Age
		{
		    ShowPlayerDialog(playerid, 4, DIALOG_STYLE_INPUT, "{42C2F5}Character's age","Choose your character's age (18-80)", "Choose", "Cancel");
		}
		case 5: // SAPD Lockers
		{
		    ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "{42C2F5}LSPD Lockers", "Duty\nArmory\nClothes(Textdraw)\nClothes(Dialog)", "Choose", "Cancel");
		}
		case 763: // SWAT Lockers
		{
		    ShowPlayerDialog(playerid, 763, DIALOG_STYLE_LIST, "{42C2F5}SWAT Lockers", "Duty\nArmory\nClothes(Textdraw)\nClothes(Dialog)", "Choose", "Cancel");
		}
		case 6: // SAPD Armory
		{
		    ShowPlayerDialog(playerid, 6, DIALOG_STYLE_LIST, "{42C2F5}LSPD Lockers", "Nightstick ($50)\nMace ($100)\nDesert Eagle ($200)\nShotgun ($100)\nMP5 ($600)\nM4 ($1000)\nCombat Shotgun ($1500)\nSniper Rifle ($2500)\nPainkiller ($100)\nVest ($200)\nFast Arm ($10000)", "Choose", "Cancel");
		}
		case 7: // Clothes Dialog
		{
		    ShowPlayerDialog(playerid, 7, DIALOG_STYLE_INPUT, "{42C2F5}Clothes","Choose your clothes (( Skin ID ))", "Choose", "Cancel");
		}
		case 8: // Smartphone Browse 1
		{
		    ShowPlayerDialog(playerid, 8, DIALOG_STYLE_MSGBOX, "{42C2F5}Smartphone Web Browser > www.emp3world.com","Downloading a song costs $50\n\n1) Champaigne Showers - LMFAO      2) Club can't Handle Me - David Guetta", "Next", "Close");
		}
		case 9: // Mechanic
		{
		    ShowPlayerDialog(playerid, 9, DIALOG_STYLE_LIST, "{42C2F5}Mechanic Tools", "Repair Vehicle\nAdd/Remove Nitros\nAdd/Remove Hydraulics", "Choose", "Cancel");
		}
		case 10: // Dealership Main
		{
		    ShowPlayerDialog(playerid, 10, DIALOG_STYLE_LIST, "{42C2F5}Choose a category", "Bikes\nNormal Vehicles\nLowriders\nOff-Road Vehicles\nSport Vehicles", "Choose", "Cancel");
		}
        case 11: // Bikes
		{
		    ShowPlayerDialog(playerid, 11, DIALOG_STYLE_LIST, "{42C2F5}Bikes", "BMX ($600)\nFaggio ($10,000)\nFreeway ($60,000)\nSanchez ($40,000)\nQuad ($15,000)\nPCJ-600 ($200,000)\nFCR-900 ($250,000)", "Choose", "Cancel");
		}
		case 12: // Normal Vehicles
		{
		    ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "{42C2F5}Normal Vehicles", "Comet ($300,000)\nFeltzer ($160,000)\nStallion ($160,000)\nWindsor ($280,000)\nSentinel ($140,000)\nManana ($120,000)\nElegy ($130,000)", "Choose", "Cancel");
 		}
		case 13: // Off-Road Vehicles
		{
		    ShowPlayerDialog(playerid, 13, DIALOG_STYLE_LIST, "{42C2F5}Off-Road Vehicles", "Huntley ($220,000)\nLandstalker ($200,000)\nSandking ($700,000)\nCaddy ($50,000)", "Choose", "Cancel");
		}
		case 14: // Sport Vehicles
		{
		    ShowPlayerDialog(playerid, 14, DIALOG_STYLE_LIST, "{42C2F5}Sport Vehicles", "Sultan ($225,000)\nBanshee ($260,000)\nBuffalo ($200,000)\nBullet ($190,000)\nCheetah ($280,000)\nJester ($170,000)\nTurismo ($300,000)\nSabre ($500,000)\nInfernus ($700,000)", "Choose", "Cancel");
		}
		case 15: // Smartphone advertise
		{
		    ShowPlayerDialog(playerid, 15, DIALOG_STYLE_INPUT, "{42C2F5}Smartphone","Type in the advertisement you wish to create", "Choose", "Cancel");
		}
		case 16: // VIP Dialog
		{
		    ShowPlayerDialog(playerid, 16, DIALOG_STYLE_LIST, "{42C2F5}Choose a vehicle type", "VIP Color (Bronze VIP)\nVIP Tag Above Head (Silver VIP)\nTune Vehicle (Silver VIP)\nCreate Advertisement (Silver VIP)\nChange Skin (Gold VIP)\nChange Age (Gold VIP)\nChange Gender (Gold VIP)\nChange Name (Platinum VIP)", "Choose", "Cancel");
		}
		case 17: // Changing Skin
		{
		    ShowPlayerDialog(playerid, 17, DIALOG_STYLE_INPUT, "{42C2F5}VIP Skin Change","Choose a skin between 0 and 299", "Choose", "Cancel");
		}
		case 18: // Change name
		{
		    ShowPlayerDialog(playerid, 18, DIALOG_STYLE_INPUT, "{42C2F5}VIP Name Change","Type in your new name (Admins will approve/disapprove ASAP)", "Submit", "Cancel");
		}
		case 19: // Weapons Shop
		{
			ShowPlayerDialog(playerid, 19, DIALOG_STYLE_LIST, "{42C2F5}VIP Weapons Shop", "Knife ($1000000)\n5 Grenades ($1000000)\n5 Molotov Cocktails ($1000000)", "Choose", "Cancel");
		}
		case 20: // VIP advertise
		{
		    ShowPlayerDialog(playerid, 20, DIALOG_STYLE_INPUT, "{42C2F5}VIP Advertisement","Type in the advertisement you wish to create", "Choose", "Cancel");
		}
		case 21: // Lowriders
		{
		    ShowPlayerDialog(playerid, 21, DIALOG_STYLE_LIST, "{42C2F5}Lowriders", "Blade($25,000)\nBroadway ($35,000)\nRemington ($30,000)\nSavanna ($25,000)\nSlamvan ($27,000)\nTornado ($24,000)\nVoodo ($30,000)", "Choose", "Cancel");
		}
		case 22: // Fighting Styles
		{
		    ShowPlayerDialog(playerid, 22, DIALOG_STYLE_LIST, "{42C2F5}Choose a style", "Normal ($3,000)\nBoxing ($3,000)\nKung-Fu ($3,000)\nKnee-Head ($3,000)\nGrab-Kick ($3,000)\nElbow ($3,000)", "Choose", "Cancel");
		}
		case 23: // Toys
		{
			// 1 Glasses, 2 watches, 3 bandana, 4 hats

		    format(string, sizeof(string), "Slot 0 (%s)\nSlot 1 (%s)\nSlot 2 (%s)\nSlot 3 (%s)\nSlot 4 (%s)\nSlot 5 (%s)\nSlot 6 (%s)\nSlot 7 (%s)\nSlot 8 (%s)\nSlot 9 (%s)", RPTN(playerid, 0), RPTN(playerid, 1), RPTN(playerid, 2), RPTN(playerid, 3), RPTN(playerid, 4), RPTN(playerid, 5), RPTN(playerid, 6), RPTN(playerid, 7), RPTN(playerid, 8), RPTN(playerid, 9));
			ShowPlayerDialog(playerid, 23, DIALOG_STYLE_LIST, "Your toys", string, "Choose", "Cancel");
		}
		case 24: // Toy Add/Remove/Edit
		{
		    new info[16], type[16];
		    if(!IsPlayerAttachedObjectSlotUsed(playerid, toyslot[playerid])) format(info, sizeof(info), "Show Toy");
		    else format(info, sizeof(info), "Hide Toy");
		    format(string, sizeof(string), "%s\nEdit Toy", info);
		    format(type, sizeof(type), "Toy Slot %d", toyslot[playerid]);
		    ShowPlayerDialog(playerid, 24, DIALOG_STYLE_LIST, type, string, "Choose", "Back");
		}
		case 25: // Toy adding bones
		{
	    	 /*
             1) Spine | 2) Head | 3) Left upper arm | 4) Right upper arm | 5) Left hand | 6) Right hand | 7) Left thigh
			 8) Right thigh | 9) Left foot | 10) Right foot | 11) Right calf | 12) Left calf | 13) Left forearm
			 14) Right forearm | 15) Left clavicle | 16) Right clavicle | 17) Neck | 18) Jaw
			*/
		    ShowPlayerDialog(playerid, 25, DIALOG_STYLE_LIST, "Choose a bone", "Spine\nHead\nLeft upper arm\nRight upper arm\nLeft hand\nRight hand\nLeft thigh\nRight thigh\nLeft foot\nRight foot\nRight calf\nLeft calf\nLeft forearmRight forearm\nLeft clavicle\nRight clavicle\nNeck\nJaw", "Choose", "Back");
		}
		case 26: // Loyal Points
		{
		    format(string, sizeof(string), "You have %d loyalty points.", PlayerInfo[playerid][pLPoints]);
		    ShowPlayerDialog(playerid, 26, DIALOG_STYLE_LIST, string, "Refill Everybody's Health (2 Points)\nRepair All Vehicles (4 Points)\nRefill All Vehicles (6 Points)", "Confirm", "Cancel");
		}
		case 27: // NA Lockers
		{
		    ShowPlayerDialog(playerid, 27, DIALOG_STYLE_LIST, "{B30000}NA Lockers", "Camera\nClothes", "Choose", "Cancel");
		}
		case 89: // FBI Lockers
		{
		    ShowPlayerDialog(playerid, 89, DIALOG_STYLE_LIST, "{B30000}FBI Lockers", "Duty\nArmory\nClothes", "Choose", "Cancel");
		}
		case 90: // FBI Armory
		{
		    ShowPlayerDialog(playerid, 90, DIALOG_STYLE_LIST, "{B30000}FBI Lockers", "Nightstick ($50)\nMace ($100)\nDesert Eagle ($200)\nShotgun ($100)\nMP5 ($600)\nM4 ($1000)\nCombat Shotgun ($1500)\nSniper Rifle ($2500)\nPainkiller ($100)\nVest ($200)\nFast Arm ($10000)", "Choose", "Cancel");
		}
		case 91: // Clothes Dialog
		{
		    ShowPlayerDialog(playerid, 91, DIALOG_STYLE_INPUT, "{B30000}Clothes","Choose your clothes (( Skin ID ))", "Choose", "Cancel");
		}
		case 300: // HSF Lockers
		{
		    ShowPlayerDialog(playerid, 300, DIALOG_STYLE_LIST, "{B30000}HSF Lockers", "Duty\nArmory\nClothes(Textdraw)\nClothes(Dialog)", "Choose", "Cancel");
		}
		case 301: // HSF Armory
		{
		    ShowPlayerDialog(playerid, 301, DIALOG_STYLE_LIST, "{B30000}HSF Lockers", "Nightstick ($50)\nMace ($100)\nDesert Eagle ($200)\nMP5 ($600)\nShotgun ($1500)\nSniper Rifle ($2500)\nPainkiller ($100)\nVest ($200)", "Choose", "Cancel");
		}
		case 302: // Clothes Dialog
		{
		    ShowPlayerDialog(playerid, 302, DIALOG_STYLE_INPUT, "{B30000}Clothes","Choose your clothes (( Skin ID ))", "Choose", "Cancel");
		}
		case 303: // Toy Slot Dialog
		{
		    ShowPlayerDialog(playerid, 303, DIALOG_STYLE_INPUT, "{B30000}Toy Slot","Choose your toy slot (( 0 - 9 ))", "Choose", "Cancel");
		}
		case 350: // Corleone/Leone/ESF Lockers
		{
		    ShowPlayerDialog(playerid, 350, DIALOG_STYLE_LIST, "{B30000}Criminal Lockers", "Duty\nArmory\nClothes", "Choose", "Cancel");
		}
		case 351: // Corleone/Leone/ESF Armory
		{
		    ShowPlayerDialog(playerid, 351, DIALOG_STYLE_LIST, "{B30000}Criminal Lockers", "Mace ($100)\nDesert Eagle ($200)\nMP5 ($600)\nShotgun ($1500)\nSniper Rifle ($2500)\nAK-47 ($5500)\nPainkiller ($100)\nVest ($200)", "Choose", "Cancel");
		}
		case 352: // Clothes Dialog
		{
		    ShowPlayerDialog(playerid, 352, DIALOG_STYLE_INPUT, "{B30000}Clothes","Choose your clothes (( Skin ID ))", "Choose", "Cancel");
		}
		case 388: // Reporttips Dialog
		{
		    ShowPlayerDialog(playerid, 388, DIALOG_STYLE_MSGBOX, "{B30000}Report tips","Tips when reporting:\n- Report what you need, not who you need.\n- Be specific, report exactly what you need.\n- Do not make false reports.\n- Do not flame admins.\n- Report only for in-game items.\nDont Report For Hitman\nDont Report For ADMIN/HELPER","Close", "");
		}
		case 550: // Car Plate System Choose
		{
			if(PlayerInfo[playerid][pVeh])
			{
				ShowPlayerDialog(playerid, 550, DIALOG_STYLE_LIST, "{B30000}Vehicle Plate","Vehicle Slot 1","Close", "");
			}
			else if(PlayerInfo[playerid][pVVeh])
			{
				ShowPlayerDialog(playerid, 550, DIALOG_STYLE_LIST, "{B30000}Vehicle Plate","Vehicle Slot 1\nVehicle Slot 2","Close", "");
			}
			else if(PlayerInfo[playerid][pBVeh])
			{
				ShowPlayerDialog(playerid, 550, DIALOG_STYLE_LIST, "{B30000}Vehicle Plate","Vehicle Slot 1\nVehicle Slot 2\nVehicle Slot 3","Close", "");
			}
			else
			{
				SendClientMessage(playerid, COLOR_RED, "You do not own any vehicle slot.");
			}
		}	
		case 551: // Car Plate System Input
		{
		    ShowPlayerDialog(playerid, 388, DIALOG_STYLE_INPUT, "{B30000}Vehicle Plate","Typ something that you want as your vehicle plate.","Ok", "Cancel");
		}	
		case 552: // Car Plate System Input
		{
		    ShowPlayerDialog(playerid, 388, DIALOG_STYLE_INPUT, "{B30000}Vehicle Plate","Typ something that you want as your vehicle plate.","Ok", "Cancel");
		}	
		case 553: // Car Plate System Input
		{
		    ShowPlayerDialog(playerid, 388, DIALOG_STYLE_INPUT, "{B30000}Vehicle Plate","Typ something that you want as your vehicle plate.","Ok", "Cancel");
		}
		case 850: // SWAT Lockers
		{
		    ShowPlayerDialog(playerid, 850, DIALOG_STYLE_LIST, "{B30000}SWAT Lockers", "Duty\nArmory\nClothes(Textdraw)\nClothes(Dialog)", "Choose", "Cancel");
		}
	}
	return 1;
}

stock GiveZaiatMoney(playerid, amount)
{
	new string[128];
	if(amount < 0) format(string, sizeof(string), "~r~-$%d", amount*-1);
	else if(amount > 0) format(string, sizeof(string), "~g~+$%d", amount);
	GameTextForPlayer(playerid, string, 3000, 1);
	PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	PlayerInfo[playerid][pMoney] += amount;
	return 1;
}

stock SetZaiatMoney(playerid, amount)
{
    PlayerInfo[playerid][pMoney] = amount;
	return 1;
}

stock split(const strsrc[], strdest[][], delimiter)
{
    new i, li;
    new aNum;
    new len;
    while(i <= strlen(strsrc))
    {
        if(strsrc[i] == delimiter || i == strlen(strsrc))
        {
            len = strmid(strdest[aNum], strsrc, li, i, 128);
            strdest[aNum][len] = 0;
            li = i+1;
            aNum++;
        }
        i++;
    }
    return 1;
}
stock SendPlayerFamMessage(playerid, color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFam] == PlayerInfo[playerid][pFam])
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}

stock SendCopMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 1)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendFBIMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 6)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendSWATMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 11)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendSATFMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 12)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendHSFMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 8)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendGovMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 2)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendHitmanMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == 3)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendTesterMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pTester])
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}
stock SendAdminMessage(color, admlvl, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pAdmin] >= admlvl)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}

stock SendVIPMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pVIP] && !VIPOff[i])
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}

stock SendGCMessage(color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && !GCOff[i])
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}

stock SendHelperMessage(color, admlvl, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pHelper] >= admlvl)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}

stock SendPlayerFactionMessage(playerid, rank, color, string[])
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i) && PlayerInfo[i][pFac] == PlayerInfo[playerid][pFac] && PlayerInfo[i][pFacRank] >= rank)
		{
		    SendClientMessage(i, color, string);
		}
	}
	return 1;
}

stock Log(sz_fileName[], sz_input[]) {

	new	sz_logEntry[156], i_dateTime[2][3], File: fileHandle = fopen(sz_fileName, io_append);
	gettime(i_dateTime[0][0], i_dateTime[0][1], i_dateTime[0][2]);
	getdate(i_dateTime[1][0], i_dateTime[1][1], i_dateTime[1][2]);
	format(sz_logEntry, sizeof(sz_logEntry), "[%i/%i/%i - %i:%i:%i] %s\r\n", i_dateTime[1][0], i_dateTime[1][1], i_dateTime[1][2], i_dateTime[0][0], i_dateTime[0][1], i_dateTime[0][2], sz_input);
	fwrite(fileHandle, sz_logEntry);
	return fclose(fileHandle);
}

stock AddBan(playerid)
{
 	new string[24];
	new File:ban = fopen("ban.cfg", io_append);
	format(string, sizeof(string), "%s\r\n", RPIP(playerid));
	fwrite(ban, string);
	fclose(ban);
}

stock AddRangeBan(IP[])
{
 	new string[24];
	new File:ban = fopen("ban.cfg", io_append);
	format(string, sizeof(string), "%s\r\n", IP);
	fwrite(ban, string);
	fclose(ban);
}

stock CheckBan(ip[])
{
	new string[20];
    new File: file = fopen("ban.cfg", io_read);
	while(fread(file, string))
	{
	    if (strcmp(ip, string, true, strlen(ip)) == 0)
	    {
	        fclose(file);
	        return 1;
	    }
	}
	fclose(file);
	return 0;
}



fdeleteline(filename[], line)
{
  new count, string[256], File:file, File:temp;

  file= fopen(filename, io_read);
  temp = fopen("tmpfile.tmp", io_write);

  while (fread(file, string))
    if (++count != line)
      fwrite(temp, string);

  fclose(file);
  fclose(temp);

  file= fopen(filename, io_write);
  temp = fopen("tmpfile.tmp", io_read);

  while (fread(temp, string))
    fwrite(file, string);

  fclose(file);
  fclose(temp);
  fremove("tmpfile.tmp");
}

stock IsValidIP(ip[])
{
    new a;
	for (new i = 0; i < strlen(ip); i++)
	{
		if (ip[i] == '.')
		{
		    a++;
		}
	}
	if (a != 3)
	{
	    return 1;
	}
	return 0;
}

stock SpawnChar(playerid)
{
    if(IsPlayerLoggedIn(playerid))
	{
		SpeedHack[playerid] = 0;
	    // Legit Loyalty
	    if(!PlayerInfo[playerid][pLoyal] && PlayerInfo[playerid][pHours] < 24) {PlayerInfo[playerid][pLoyal] = 1;}
	    // Safe Admin
		/*if(PlayerInfo[playerid][pAdmin] && !PlayerInfo[playerid][pSafeAdmin] && !aDuty[playerid])
		{
		    new string[128];
		    format(string, sizeof(string), "%s (%s) has been flagged as an unsafe admin.", RPN(playerid), RPIP(playerid));
		    Log("logs/safeadmin.log", string);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Your account is flagged as an unsafe admin, Go to Forums and Post Support Account");
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "Go to Forums and Post Support Account");
		    FixedKick(playerid);
		}*/
	    // Tutorial
	    if(!PlayerInfo[playerid][pTutorial])
	    {
	        SetZaiatMoney(playerid, 0);
            GiveZaiatMoney(playerid, 3000);
            SetPlayerPos(playerid, 1743.3009,-1863.0076,13.5756); // Old Spawned -  1499.8129,1308.9163,1093.2891
	        SetPlayerFacingAngle(playerid, 93.3274);
	        SetCameraBehindPlayer(playerid);
	        SetPlayerInterior(playerid, 0);
	        SetPlayerVirtualWorld(playerid, 98489165189612);
            ShowDialog(playerid, 0);
	        return 1;
	    }
	    TogglePlayerControllable(playerid, 1);
	    // Family Strikes
	    if(PlayerInfo[playerid][pFam])
	    {
	        new idx = PlayerInfo[playerid][pFam];
			if(FamInfo[idx][fStrikes] >= 3)
			{
			    PlayerInfo[playerid][pFam] = 0;
				PlayerInfo[playerid][pFamRank] = 0;
				SendClientMessage(playerid, COLOR_LIGHTBLUE, "Your family has been disbanded due to having 3 strikes, you have been autokicked from the family.");
			}
	    }
	    topened[playerid] = 0;
	    // Website
	    TextDrawShowForPlayer(playerid, WebTD);
	    // Time
 	    TextDrawShowForPlayer(playerid, TimeTD);
		// Date
		TextDrawShowForPlayer(playerid, DateTD);
   	    // Balk
	    TextDrawShowForPlayer(playerid, information);
		// Packet
		PlayerTextDrawShow(playerid, FPSPingPacket[playerid]);
	    // Name Color & Level & Wanted Level
		SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
	    SetPlayerColor(playerid, TRANSPARENT_WHITE);
	    SetPlayerWantedLevel(playerid, PlayerInfo[playerid][pWanted]);
	    // Download bar
		Download[playerid] = CreateProgressBar(499.00, 103.00, 107.50, 3.20, -16776961, 100.0);
		SetProgressBarMaxValue(Download[playerid], 100);
		SetProgressBarColor(Download[playerid], COLOR_GREEN);
		// Custom Int
		if(PlayerInfo[playerid][pSpawnFreeze])
		{
		    SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
		}
	    // Business, House and Gates Checking
	    if(PlayerInfo[playerid][pBiz] != 0 && strcmp(RPNU(playerid), BizInfo[PlayerInfo[playerid][pBiz]][bOwner]) || PlayerInfo[playerid][pBiz] != 0 && !strlen(BizInfo[PlayerInfo[playerid][pBiz]][bOwner]))
	    {
			PlayerInfo[playerid][pBiz] = 0;
			SendClientMessage(playerid, COLOR_WHITE, " An administrator has sold your business while you were offline.");
	    }
	    if(PlayerInfo[playerid][pHouse] != 0 && strcmp(RPNU(playerid),  HouseInfo[PlayerInfo[playerid][pHouse]][hOwner]) || PlayerInfo[playerid][pHouse] != 0 && !strlen(HouseInfo[PlayerInfo[playerid][pHouse]][hOwner]))
	    {
			PlayerInfo[playerid][pHouse] = 0;
			SendClientMessage(playerid, COLOR_WHITE, " An administrator has sold your house while you were offline.");
	    }
	    new idx; idx = PlayerInfo[playerid][pGate][0]; // Gate slot 1
	    if(idx && !GateInfo[idx][gModel])
	    {
	        PlayerInfo[playerid][pGate][0] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " An administrator has deleted your gate in slot 1 while you were offline.");
	    }
	    idx = PlayerInfo[playerid][pGate][1]; // Gate slot 2
	    if(idx && !GateInfo[idx][gModel])
	    {
	        PlayerInfo[playerid][pGate][1] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " An administrator has deleted your gate in slot 2 while you were offline.");
	    }
	    idx = PlayerInfo[playerid][pGate][2]; // Gate slot 3
	    if(idx && !GateInfo[idx][gModel])
	    {
	        PlayerInfo[playerid][pGate][2] = 0;
	        SendClientMessage(playerid, COLOR_WHITE, " An administrator has deleted your gate in slot 3 while you were offline.");
	    }
	    // Spawning
	    if(PlayerInfo[playerid][pX] == 0 && PlayerInfo[playerid][pY] == 0 && PlayerInfo[playerid][pZ] == 0)
	    {
	        SetPlayerPos(playerid, 1743.3009,-1863.0076,13.5756); // Old Spawned -  1499.8129,1308.9163,1093.2891
	        SetPlayerFacingAngle(playerid, 93.3274);
	        SetCameraBehindPlayer(playerid);
	        SetPlayerInterior(playerid, 0);
	        SetPlayerVirtualWorld(playerid, 0);
	        //SendClientMessage(playerid, COLOR_RED, "We won't give a big refund, Maybe a house and a car :P.");
			//SendClientMessage(playerid, COLOR_RED, "If you wish to have a stats refund, try to contact an in-game admin /report");
	    }
	    else
	    {
		    SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVW]);
		    SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
		    SetCameraBehindPlayer(playerid);
		    SetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
		    // HP and Armor
			if(PlayerInfo[playerid][pHealth] <= 0) PlayerInfo[playerid][pHealth] = 1;
			SetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
			SetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
	    }
	    // Skin
	    SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
	    // Guns
		for(new i = 0; i < 13; i++)
		{
		    if(PlayerInfo[playerid][pWeapon][i]) GiveZaiatWeapon(playerid, PlayerInfo[playerid][pWeapon][i], PlayerInfo[playerid][pWeaponAmmo][i]);
		}
		// Hospital
		if(!PlayerInfo[playerid][pPrison])
		{
			if(PlayerInfo[playerid][pHospital])
			{
				Hospital[playerid] = random(2);
				if(Hospital[playerid] == 0) // AllSaints
				{

				    SetPlayerPos(playerid, 1177.5485,-1323.5773,11.0761);
				    SetPlayerCameraPos(playerid,1223.2250,-1289.4913,31.9257);
				    SetPlayerCameraLookAt(playerid,1177.5485,-1323.5773,14.0761);
				}
				else if(Hospital[playerid] == 1) // County General
				{
				    SetPlayerPos(playerid, 2034.0833,-1404.6536,14.2539);
				    SetPlayerCameraPos(playerid,1997.1254,-1457.8685,34.8850);
				    SetPlayerCameraLookAt(playerid,2034.0833,-1404.6536,17.2539);
				}
				ResetZaiatWeapons(playerid);
				PlayerInfo[playerid][pFacDuty] = 0;
				SetPlayerInterior(playerid, 0);
			 	SetPlayerVirtualWorld(playerid, 0);
			    TogglePlayerControllable(playerid, 0);
				TogglePlayerCuffed(playerid, 0);
				Uncuffed[playerid] = 1;
				HospitalTime[playerid] = 10;
				if(PlayerInfo[playerid][pVIP] >= 2) HospitalTime[playerid] = 1;
				HospitalCountDown[playerid] = SetTimerEx("HospitalTimer", 1000, false, "d", playerid);
			}
		}
		// SAPD Duty
        if(PlayerInfo[playerid][pFacDuty] && PlayerInfo[playerid][pFac] == 1)
        {
	    	SetPlayerColor(playerid, TRANSPARENT_LSPD);
		}
		// SAPD-Prison
		if(PlayerInfo[playerid][pPrison] == 1)
		{
		    ResetZaiatWeapons(playerid);
		    SetPlayerColor(playerid, TRANSPARENT_PURPLE);
			SetPlayerInterior(playerid, 1);
			new RandomCell = random(sizeof(RandomPrison));
			SetPlayerFacingAngle(playerid, RandomPrison[RandomCell][3]);
			TogglePlayerControllable(playerid, 0);
			SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
			SetPlayerPos(playerid, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
			SetCameraBehindPlayer(playerid);
		}
		// Admin-Prison
		if(PlayerInfo[playerid][pPrison] == 2)
		{
			ResetZaiatWeapons(playerid);
		    SetPlayerColor(playerid, TRANSPARENT_ORANGE);
			SetPlayerInterior(playerid, 2);
			SetPlayerVirtualWorld(playerid, 1);
			new RandomCell = random(sizeof(RandomPrison));
			SetPlayerFacingAngle(playerid, RandomPrison[RandomCell][3]);
			TogglePlayerControllable(playerid, 0);
			SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
			SetPlayerPos(playerid, RandomPrison[RandomCell][0], RandomPrison[RandomCell][1], RandomPrison[RandomCell][2]);
			SetCameraBehindPlayer(playerid);
		}
		// Bank Robbery
		if(PlayerInfo[playerid][pFac] == 1 && RobberyStarted)
	    {
	        TextDrawShowForPlayer(playerid, Area5);
			TextDrawShowForPlayer(playerid, Textdraw1);
	    	if(BankRobbersCount == 2) {TextDrawShowForPlayer(playerid, Textdraw2);}
			else if(BankRobbersCount == 3) {TextDrawShowForPlayer(playerid, Textdraw3);}
			else if(BankRobbersCount == 4) {TextDrawShowForPlayer(playerid, Textdraw4);}
			else if(BankRobbersCount == 5) {TextDrawShowForPlayer(playerid, Textdraw5);}
	    }
	}
	return 1;
}

stock fcreate(filename[])
{
	if (fexist(filename)) return false;
	new File:fhnd;
	fhnd=fopen(filename,io_write);
	if (fhnd) {
		fclose(fhnd);
		return true;
	}
	return false;
}

stock IsAReporter(playerid)
{
	if(PlayerInfo[playerid][pFac] == 4) return 1;
	return 0;
}

stock IsACop(playerid)
{
	if(PlayerInfo[playerid][pFac] == 1) return 1;
	return 0;
}

stock IsAPDFBIHGGOV(playerid)
{
	if(PlayerInfo[playerid][pFac] == 1) return 1;
	if(PlayerInfo[playerid][pFac] == 2) return 1;
	if(PlayerInfo[playerid][pFac] == 6) return 1;
	if(PlayerInfo[playerid][pFac] == 8) return 1;
	if(PlayerInfo[playerid][pFac] == 11) return 1;
	if(PlayerInfo[playerid][pFac] == 12) return 1;
	return 0;
}

stock NeedBackUp(playerid)
{
	if(PlayerInfo[playerid][pFac] == 1) return 1;
	if(PlayerInfo[playerid][pFac] == 6) return 1;
	if(PlayerInfo[playerid][pFac] == 8) return 1;
	if(PlayerInfo[playerid][pFac] == 11) return 1;
	if(PlayerInfo[playerid][pFac] == 12) return 1;
	return 0;
}

stock IsAGov(playerid)
{
	if(PlayerInfo[playerid][pFac] == 2) return 1;
	return 0;
}

stock IsAHitman(playerid)
{
	if(PlayerInfo[playerid][pFac] == 3) return 1;
	return 0;
}

forward BizRobbery();
public BizRobbery()
{
	for (new i = 0; i < MAX_PLAYERS; i++)
	{
	    if (g_remainingRobTicks[i])
	    {
	        new strAreWeThereYet[100];
	        format(strAreWeThereYet, sizeof(strAreWeThereYet), "~n~~n~~n~~n~~n~Robbery ~r~%i seconds.", g_remainingRobTicks[i]);
	        g_remainingRobTicks[i]--;
			if (g_remainingRobTicks[i] == 0)
		 	{
			    new hideoutID = random(4);
			    if (hideoutID == 0) SetPlayerCheckpoint(i, 1407.4974, -1300.4349, 13.0459, 5.0);
				else if (hideoutID == 1) SetPlayerCheckpoint(i, 1338.4047, -1820.0010, 12.5437, 5.0);
				else if (hideoutID == 2) SetPlayerCheckpoint(i, 816.7613, -1006.4637, 26.7493, 5.0);
			 	else SetPlayerCheckpoint(i, 816.7613, -1006.4637, 26.7493, 5.0);

				SendClientMessage(i, COLOR_ORANGE, "You have the cash, Get to the drop off and lose the heat.");
			}
		 	GameTextForPlayer(i, strAreWeThereYet, 1200, 3);
		}
	}

	for (new i = 0; i < MAX_BIZ; i++)
	{
	    if (g_remainingBizTicks[i])
	    {
	        g_remainingBizTicks[i]--;
			if (g_remainingBizTicks[i] == 0) g_bizRobber[i] = -1;
		}
	}
}

forward OtherTimer();
public OtherTimer()
{
	for(new i; i<MAX_PLAYERS; i++)
	{
		if(MsgSent[i] > 0)
		{
			MsgSent[i]--;
		}
	}
}

forward IsAtPizza(playerid);
public IsAtPizza(playerid)
{
	if(IsPlayerConnected(playerid))
	{
		if(IsPlayerInRangeOfPoint(playerid,2.0, 1718.7186,-1897.4199,13.5657))
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid,2.0, 1709.9825,-1930.3344,13.5660))
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid,2.0, 1707.0359,-1930.3033,13.5685))
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid,2.0, 1805.9501,-1925.1265,13.3901))
		{
		return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid,2.0, 1804.0553,-1934.8900,13.3853))
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid,2.0, 1805.9744,-1920.1869,13.3925))
		{
			return 1;
		}
	}
	return 0;
}

IsAtammoshop(playerid)
{
 	if(IsPlayerConnected(playerid))
	{
		if(IsPlayerInRangeOfPoint(playerid, 50.0, 286.148987, -40.644398, 1001.569946)) // Ammunation 1 INT
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 50.0, 286.800995, -82.547600, 1001.539978)) // Ammunation 2 INT
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 50.0, 296.919983, -108.071999, 1001.569946)) // Ammunation 3 INT
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 50.0, 314.820984, -141.431992, 999.661987)) // Ammunation 4 INT
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 50.0, 316.524994, -167.706985, 999.661987)) // Ammunation 5 INT
		{
			return 1;
		}
 	}
	return 0;
}

stock IsALeone(playerid)
{
	if(PlayerInfo[playerid][pFac] == 5) return 1;
	return 0;
}

stock IsACorleone(playerid)
{
	if(PlayerInfo[playerid][pFac] == 9) return 1;
	return 0;
}

stock IsAAncelotti(playerid)
{
	if(PlayerInfo[playerid][pFac] == 10) return 1;
	return 0;
}

stock IsAFBI(playerid)
{
	if(PlayerInfo[playerid][pFac] == 6) return 1;
	return 0;
}

stock IsALSEMS(playerid)
{
	if(PlayerInfo[playerid][pFac] == 7) return 1;
	return 0;
}

stock IsAHSF(playerid)
{
	if(PlayerInfo[playerid][pFac] == 8) return 1;
	return 0;
}

stock IsASWAT(playerid)
{
	if(PlayerInfo[playerid][pFac] == 11) return 1;
	return 0;
}

stock IsASATF(playerid)
{
	if(PlayerInfo[playerid][pFac] == 12) return 1;
	return 0;
}

stock IsAESF(playerid)
{
	if(PlayerInfo[playerid][pFac] == 13) return 1;
	return 0;
}

IsAtHouse(playerid)
{
 	if(IsPlayerConnected(playerid))
	{
		if(IsPlayerInRangeOfPoint(playerid, 20.0, 243.9951, 304.9418, 999.1484)) // House 1
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 2259.6702, -1135.8542, 1050.6328)) // House 2
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 2308.8254, -1212.8070, 1049.0234)) // House 3
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 260.7436, 1237.5563, 1084.2578)) // House 4
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, -42.5742, 1405.6521, 1084.4297)) // House 5
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 2468.6787, -1698.2617, 1013.5078)) // House 6
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 2365.2183, -1135.4014, 1050.8750)) // House 7
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 2270.1270, -1210.4855, 1047.5625)) // House 8
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 2324.4424, -1149.2057, 1050.7101)) // House 9
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 83.0863, 1322.3020, 1083.8662)) // House 10
		{
			return 1;
		}
		else if(IsPlayerInRangeOfPoint(playerid, 20.0, 1327.1052,-1071.0226,3458.9060)) // House 11
		{
			return 1;
		}
 	}
	return 0;
}

stock RemoveZaiatWeapon(playerid, weaponid)
{
    GunsBeingRemoved[playerid] = 1;
    ResetPlayerWeapons(playerid);
    GunsBeingRemoved[playerid] = 1;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	for(new w = 0; w < 13; w++)
	{
	    GetPlayerWeaponData(playerid, w, TempGuns[w], TempGunsAmmo[w]);
	    if(PlayerInfo[playerid][pWeapon][w] == weaponid)
		{
			PlayerInfo[playerid][pWeapon][w] = 0;
			TempGuns[w] = 0;
			TempGunsAmmo[w] = 0;
		}
	    PlayerInfo[playerid][pWeapon][w] = 0;
	}
	for(new w = 0; w < 13; w++)
	{
	    GiveZaiatWeapon(playerid, TempGuns[w], TempGunsAmmo[w]);
	}
	return 1;
}

stock SaveZaiatAmmo(playerid)
{
	for(new i = 0; i < 13; i++)
	{
	    new Guns[2][13];
	    GetPlayerWeaponData(playerid, i, Guns[0][i], Guns[1][i]);
		if(PlayerInfo[playerid][pWeapon][i] == Guns[0][i])
		{
		    PlayerInfo[playerid][pWeaponAmmo][i] = Guns[1][i];
		}
	}
	return 1;
}

stock ResetZaiatWeapons(playerid)
{
    GunsBeingRemoved[playerid] = 1;
    ResetPlayerWeapons(playerid);
    GunsBeingRemoved[playerid] = 1;
    PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	for(new i = 0; i < 13; i++)
	{
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][i] = 0;
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeaponAmmo][i] = 0;
	    GunsBeingRemoved[playerid] = 1;
	}
	GunsBeingRemoved[playerid] = 1;
	return 1;
}

stock GiveZaiatWeapon(playerid, weaponid, ammo)
{
	GunsBeingRemoved[playerid] = 1;
	PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
	if(weaponid == 0 || weaponid == 1)
	{ // Slot 0
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][0] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 2 || weaponid == 3 || weaponid == 4 || weaponid == 5 || weaponid == 6 || weaponid == 7 || weaponid == 8 || weaponid == 9)
	{ // Slot 1
		GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][1] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 22 || weaponid == 23 || weaponid == 24)
	{ // Slot 2
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][2] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 25 || weaponid == 26 || weaponid == 27)
	{ // Slot 3
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][3] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 28 || weaponid == 29 || weaponid == 32)
	{ // Slot 4
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][4] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 30 || weaponid == 31)
	{ // Slot 5
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][5] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 33 || weaponid == 34)
	{ // Slot 6
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][6] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 35 || weaponid == 36 || weaponid == 37 || weaponid == 38)
	{ // Slot 7
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][7] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 16 || weaponid == 17 || weaponid == 18 || weaponid == 39)
	{ // Slot 8
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][8] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 41 || weaponid == 42 || weaponid == 43)
	{ // Slot 9
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][9] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 10 || weaponid == 11 || weaponid == 12 || weaponid == 13 || weaponid == 14 || weaponid == 15)
	{ // Slot 10
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][10] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 44 || weaponid == 45 || weaponid == 46)
	{ // Slot 11
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][11] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	else if(weaponid == 40)
	{ // Slot 12
	    GunsBeingRemoved[playerid] = 1;
	    PlayerInfo[playerid][pWeapon][12] = weaponid;
	    GunsBeingRemoved[playerid] = 1;
	}
	GivePlayerWeapon(playerid, weaponid, ammo);
	return 1;
}

stock RPFN(playerid)
{
	new facname[32];
	if(PlayerInfo[playerid][pFac] == 0) format(facname, sizeof(facname), "CIV");
	else if(PlayerInfo[playerid][pFac] == 1) format(facname, sizeof(facname), "LSPD");
	else if(PlayerInfo[playerid][pFac] == 2) format(facname, sizeof(facname), "GOV");
	else if(PlayerInfo[playerid][pFac] == 3) format(facname, sizeof(facname), "HA");
	else if(PlayerInfo[playerid][pFac] == 4) format(facname, sizeof(facname), "News");
	else if(PlayerInfo[playerid][pFac] == 5) format(facname, sizeof(facname), "Leone");
	else if(PlayerInfo[playerid][pFac] == 6) format(facname, sizeof(facname), "FBI");
	else if(PlayerInfo[playerid][pFac] == 7) format(facname, sizeof(facname), "LSEMS");
	else if(PlayerInfo[playerid][pFac] == 8) format(facname, sizeof(facname), "HSF");
	else if(PlayerInfo[playerid][pFac] == 9) format(facname, sizeof(facname), "Corleone");
	else if(PlayerInfo[playerid][pFac] == 10) format(facname, sizeof(facname), "Ancelotti");
	else if(PlayerInfo[playerid][pFac] == 11) format(facname, sizeof(facname), "SWAT");
	else if(PlayerInfo[playerid][pFac] == 12) format(facname, sizeof(facname), "SATF");
	else if(PlayerInfo[playerid][pFac] == 13) format(facname, sizeof(facname), "ESF");
	return facname;
}

stock RPFNEx(playerid)
{
	new facname[32];
	if(PlayerInfo[playerid][pFac] == 0) format(facname, sizeof(facname), "Civilian");
	else if(PlayerInfo[playerid][pFac] == 1) format(facname, sizeof(facname), "Los Santos Police Department");
	else if(PlayerInfo[playerid][pFac] == 2) format(facname, sizeof(facname), "Government");
	else if(PlayerInfo[playerid][pFac] == 3) format(facname, sizeof(facname), "Hitman Agency");
	else if(PlayerInfo[playerid][pFac] == 4) format(facname, sizeof(facname), "News Agency");
	else if(PlayerInfo[playerid][pFac] == 5) format(facname, sizeof(facname), "Leone");
	else if(PlayerInfo[playerid][pFac] == 6) format(facname, sizeof(facname), "Federal Bureau of Investigation");
	else if(PlayerInfo[playerid][pFac] == 7) format(facname, sizeof(facname), "Los Santos Emergency Service");
	else if(PlayerInfo[playerid][pFac] == 8) format(facname, sizeof(facname), "Highland Security Firm");
	else if(PlayerInfo[playerid][pFac] == 9) format(facname, sizeof(facname), "Corleone");
	else if(PlayerInfo[playerid][pFac] == 10) format(facname, sizeof(facname), "The Ancelotti Family");
	else if(PlayerInfo[playerid][pFac] == 11) format(facname, sizeof(facname), "Special Weapons And Tactics");
	else if(PlayerInfo[playerid][pFac] == 12) format(facname, sizeof(facname), "San Andreas Task Force");
	else if(PlayerInfo[playerid][pFac] == 13) format(facname, sizeof(facname), "East Side Fellas");
	return facname;
}

stock RPFaRN(playerid)
{
	new rankname[32];
	if(PlayerInfo[playerid][pFamRank] == 0 && PlayerInfo[playerid][pFam] == 0) format(rankname, sizeof(rankname), "None");
	else if(PlayerInfo[playerid][pFam])
	{
		if(PlayerInfo[playerid][pFamRank] == 1) format(rankname, sizeof(rankname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fRank1]);
		else if(PlayerInfo[playerid][pFamRank] == 2) format(rankname, sizeof(rankname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fRank2]);
		else if(PlayerInfo[playerid][pFamRank] == 3) format(rankname, sizeof(rankname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fRank3]);
		else if(PlayerInfo[playerid][pFamRank] == 4) format(rankname, sizeof(rankname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fRank4]);
		else if(PlayerInfo[playerid][pFamRank] == 5) format(rankname, sizeof(rankname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fRank5]);
		else if(PlayerInfo[playerid][pFamRank] == 6) format(rankname, sizeof(rankname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fRank6]);
	}
	return rankname;
}

stock RPFaN(playerid)
{
    new famname[32];
    if(!PlayerInfo[playerid][pFam]) format(famname, sizeof(famname), "None");
    else format(famname, sizeof(famname), "%s", FamInfo[PlayerInfo[playerid][pFam]][fName]);
    return famname;
}

stock RFaN(idx)
{
    new famname[32];
    if(!idx) format(famname, sizeof(famname), "None");
    else format(famname, sizeof(famname), "%s", FamInfo[idx][fName]);
    return famname;
}

stock RPFRN(playerid)
{
	new rankname[32];
	if(PlayerInfo[playerid][pFacRank] == 0 && PlayerInfo[playerid][pFac] == 0) format(rankname, sizeof(rankname), "Civilian");
	else if(PlayerInfo[playerid][pFac])
	{
		if(PlayerInfo[playerid][pFacRank] == 0) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank0]);
		else if(PlayerInfo[playerid][pFacRank] == 1) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank1]);
		else if(PlayerInfo[playerid][pFacRank] == 2) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank2]);
		else if(PlayerInfo[playerid][pFacRank] == 3) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank3]);
		else if(PlayerInfo[playerid][pFacRank] == 4) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank4]);
		else if(PlayerInfo[playerid][pFacRank] == 5) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank5]);
		else if(PlayerInfo[playerid][pFacRank] == 6) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank6]);
		else if(PlayerInfo[playerid][pFacRank] == 7) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank7]);
		else if(PlayerInfo[playerid][pFacRank] == 8) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank8]);
		else if(PlayerInfo[playerid][pFacRank] == 9) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank9]);
		else if(PlayerInfo[playerid][pFacRank] == 10) format(rankname, sizeof(rankname), "%s", FacInfo[PlayerInfo[playerid][pFac]][fRank10]);
	}
	return rankname;
}

stock FACPAY(playerid)
{
	new pay[10];
	if(PlayerInfo[playerid][pFacRank] == 0 && PlayerInfo[playerid][pFac] == 0) format(pay, sizeof(pay), "None");
	else if(PlayerInfo[playerid][pFac])
	{
		if(PlayerInfo[playerid][pFacRank] == 0) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay1]);
		else if(PlayerInfo[playerid][pFacRank] == 1) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay2]);
		else if(PlayerInfo[playerid][pFacRank] == 2) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay3]);
		else if(PlayerInfo[playerid][pFacRank] == 3) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay4]);
		else if(PlayerInfo[playerid][pFacRank] == 4) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay5]);
		else if(PlayerInfo[playerid][pFacRank] == 5) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay6]);
		else if(PlayerInfo[playerid][pFacRank] == 6) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay7]);
		else if(PlayerInfo[playerid][pFacRank] == 7) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay8]);
		else if(PlayerInfo[playerid][pFacRank] == 8) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay9]);
		else if(PlayerInfo[playerid][pFacRank] == 9) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay10]);
		else if(PlayerInfo[playerid][pFacRank] == 10) format(pay, sizeof(pay), "%d", FacInfo[PlayerInfo[playerid][pFac]][fPay11]);
	}
	return pay;
}

stock RPFL(playerid)
{
	new leader[4];
	if(PlayerInfo[playerid][pFacLeader] == 0) format(leader, sizeof(leader), "No");
	else if(PlayerInfo[playerid][pFacLeader] == 1) format(leader, sizeof(leader), "Yes");
	return leader;
}

stock RPFDN(playerid)
{
	new divname[8];
	if(PlayerInfo[playerid][pFac] == 1)
	{
		if(PlayerInfo[playerid][pFacDiv] == 1) format(divname, sizeof(divname), "%s", FacInfo[1][fDiv1]);
		else if(PlayerInfo[playerid][pFacDiv] == 2) format(divname, sizeof(divname), "%s", FacInfo[1][fDiv2]);
		else if(PlayerInfo[playerid][pFacDiv] == 3) format(divname, sizeof(divname), "%s", FacInfo[1][fDiv3]);
		else if(PlayerInfo[playerid][pFacDiv] == 4) format(divname, sizeof(divname), "%s", FacInfo[1][fDiv4]);
 		else if(PlayerInfo[playerid][pFacDiv] == 5) format(divname, sizeof(divname), "%s", FacInfo[1][fDiv5]);
	}
	if(PlayerInfo[playerid][pFacDiv] == 0) format(divname, sizeof(divname), "None");
	return divname;
}



stock RPFDL(playerid)
{
	new leader[4];
	if(PlayerInfo[playerid][pFacDivLeader] == 0) format(leader, sizeof(leader), "No");
	else format(leader, sizeof(leader), "Yes");
	return leader;
}


stock IsHoldingFirearm(playerid)
{
	if(GetPlayerWeapon(playerid) < 16) return 0;
	if(GetPlayerWeapon(playerid) > 40) return 0;
	return 1;
}



stock TogglePlayerTazed(playerid, status)
{
	Tazed[playerid] = status;
	return 1;
}
stock IsPlayerTazed(playerid)
{
	if(!Tazed[playerid]) return 0;
	if(Tazed[playerid]) return 1;
	return 1;
}

stock TogglePlayerTied(playerid, status)
{
	Tied[playerid] = status;
	return 1;
}
stock IsPlayerTied(playerid)
{
	if(!Tied[playerid]) return 0;
	if(Tied[playerid]) return 1;
	return 1;
}

stock TogglePlayerCuffed(playerid, status)
{
	Cuffed[playerid] = status;
	return 1;
}
stock IsPlayerCuffed(playerid)
{
	if(!Cuffed[playerid]) return 0;
	if(Cuffed[playerid]) return 1;
	return 1;
}

// TIMERS
/*forward WeatherChange();
public WeatherChange()
{
    new weather = random(45);
    SetWeather(weather);
    new str[40];
    format(str, sizeof str, "Weather changed to %i.", weather);
    SendClientMessageToAll(-1, str);
    return 1;
}*/

forward LoyalFeatures();
public LoyalFeatures()
{
	if(LHealth) LHealth --;
	if(LFix) LFix --;
	if(LRefill) LRefill --;
	return 1;
}

forward FishingTime(playerid);
public FishingTime(playerid)
{
    FishTime[playerid] --;
    if(FishTime[playerid] < 0)
    {
        FishTime[playerid] = 0;
    }
	if(FishTime[playerid] > 0)
	{
		SetTimerEx("FishingTime", 1000, false, "i", playerid);
	}

	return 1;
}

forward BankVaultTimer();
public BankVaultTimer()
{
	CreateExplosion(2242.0234,1632.7185,961.7531, 11, 5);
	DestroyDynamicObject(BankC4);
	MoveDynamicObject(BankVault, 2241.946044, 1629.377319, 960.893493, 100, 89.799987, -18.700002, 10.300001);
	SendRobberyMessage(COLOR_LIGHTRED, "** The bank vault has been exploded, money will be loaded in 4 minutes **");
	SendRobberyMessage(COLOR_LIGHTRED, "** If you exit the bank before the money is loaded you will fail the robbery **");
	SendRobberyMessage(COLOR_LIGHTRED, "** You will be informed when the money is fully loaded and ready to be delivered **");
	SetTimer("BankVaultLoaded", 240000, false);
	return 1;
}

forward BankVaultLoaded();
public BankVaultLoaded()
{
    SendRobberyMessage(COLOR_LIGHTRED, "** The money is loaded successfully, go and deliver it to the checkpoint **");
	SendCopMessage(COLOR_BLUE, "LS Bank: Robbers have loaded money and are on their way out of the bank, stop them!");
 	SendFBIMessage(COLOR_BLUE, "LS Bank: Robbers have loaded money and are on their way out of the bank, stop them!");
 	SendHSFMessage(COLOR_BLUE, "LS Bank: Robbers have loaded money and are on their way out of the bank, stop them!");
	SendSWATMessage(COLOR_BLUE, "LS Bank: Robbers have loaded money and are on their way out of the bank, stop them!");
	SendSATFMessage(COLOR_BLUE, "LS Bank: Robbers have loaded money and are on their way out of the bank, stop them!");
	foreach(Player, playerid)
	{
	    if(BankRobber[playerid])
	    {
	        DeliverMoney[playerid] = 1;
	        SetPlayerCheckpoint(playerid, -2227.4868,2327.0056,7.5469, 10);
	    }
	}
	BankBlock = 0;
	MoveDynamicObject(BankVault, 2242.202148, 1631.861694, 961.833129, 100, 0.000000, 0.000000, 9.799999);
	return 1;
}
forward FalseBanFix(playerid);
public FalseBanFix(playerid)
{
    FalseBan[playerid] = 1;
	return 1;
}

forward StartRandomFire();
public StartRandomFire()
{
	new rand = 0 + random(7), string[256];
	switch(rand)
	{
		case 0:
		{
			FireObject = CreateDynamicObject(18691, 1509.9354,-1668.4127,14.0469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 1508.7214,-1671.8635,14.0469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 1509.1333,-1665.4514,13.7969-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 1509.9354,-1668.4127,14.0469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 1508.7214,-1671.8635,14.0469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 1509.1333,-1665.4514,13.7969-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(1509.9354,-1668.4127,14.0469, 0, 12.0);
			CreateExplosion(1508.7214,-1671.8635,14.0469, 0, 12.0);
			CreateExplosion(1509.1333,-1665.4514,13.7969, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 1509.9354,-1668.4127,14.0469, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 1509.9354,-1668.4127,14.0469, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
		case 1:
		{
			FireObject = CreateDynamicObject(18691, 2224.3931,-1724.7338,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 2228.0444,-1722.1847,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 2231.0425,-1723.8420,13.5578-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 2224.3931,-1724.7338,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 2228.0444,-1722.1847,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 2231.0425,-1723.8420,13.5578-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(2224.3931,-1724.7338,13.5625, 0, 12.0);
			CreateExplosion(2228.0444,-1722.1847,13.5625, 0, 12.0);
			CreateExplosion(2231.0425,-1723.8420,13.5578, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 2224.3931,-1724.7338,13.5625, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 2224.3931,-1724.7338,13.5625, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
		case 2:
		{
			FireObject = CreateDynamicObject(18691, 2112.4897,-2009.9846,13.5469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 2108.1038,-2008.5305,13.5469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 2109.9126,-2010.9750,13.5469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 2112.4897,-2009.9846,13.5469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 2108.1038,-2008.5305,13.5469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 2109.9126,-2010.9750,13.5469-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(2112.4897,-2009.9846,13.5469, 0, 12.0);
			CreateExplosion(2108.1038,-2008.5305,13.5469, 0, 12.0);
			CreateExplosion(2109.9126,-2010.9750,13.5469, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 2112.4897,-2009.9846,13.5469, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 2112.4897,-2009.9846,13.5469, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
		case 3:
		{
			FireObject = CreateDynamicObject(18691, 1940.6008,-1773.4745,13.4078-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 1940.6010,-1777.7401,13.4078-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 1940.6061,-1770.0192,13.4078-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 1940.6008,-1773.4745,13.4078-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 1940.6010,-1777.7401,13.4078-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 1940.6061,-1770.0192,13.4078-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(1940.6008,-1773.4745,13.4078, 0, 12.0);
			CreateExplosion(1940.6010,-1777.7401,13.4078, 0, 12.0);
			CreateExplosion(1940.6061,-1770.0192,13.4078, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 1940.6008,-1773.4745,13.4078, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 1940.6008,-1773.4745,13.4078, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
		case 4:
		{
			FireObject = CreateDynamicObject(18691, 2105.2722,-1762.5763,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 2103.0251,-1765.3396,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 2099.9744,-1766.3607,13.5631-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 2105.2722,-1762.5763,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 2103.0251,-1765.3396,13.5625-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 2099.9744,-1766.3607,13.5631-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(2105.2722,-1762.5763,13.5625, 0, 12.0);
			CreateExplosion(2103.0251,-1765.3396,13.5625, 0, 12.0);
			CreateExplosion(2099.9744,-1766.3607,13.5631, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 2105.2722,-1762.5763,13.5625, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 2105.2722,-1762.5763,13.5625, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
		case 5:
		{
			FireObject = CreateDynamicObject(18691, 898.7970,-1553.2992,13.5547-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 897.7530,-1548.5321,13.5547-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 2099.9744,-1766.3607,13.5631-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 898.7970,-1553.2992,13.5547-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 897.7530,-1548.5321,13.5547-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 895.5179,-1553.5947,13.5547-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(898.7970,-1553.2992,13.5547, 0, 12.0);
			CreateExplosion(897.7530,-1548.5321,13.5547, 0, 12.0);
			CreateExplosion(895.5179,-1553.5947,13.5547, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 898.7970,-1553.2992,13.5547, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 898.7970,-1553.2992,13.5547, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
		case 6:
		{
			FireObject = CreateDynamicObject(18691, 1110.4935,-1981.8112,64.1646-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject1 = CreateDynamicObject(18691, 1114.8939,-1981.5032,63.9463-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			FireObject2 = CreateDynamicObject(18691, 1115.3918,-1985.2706,65.6395-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject = CreateDynamicObject(18723, 1110.4935,-1981.8112,64.1646-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject1 = CreateDynamicObject(18723, 1114.8939,-1981.5032,63.9463-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			SmokeObject2 = CreateDynamicObject(18723, 1115.3918,-1985.2706,65.6395-3.0, 0, 0, 0.0); // 2, 2, 2 - X, Y, Z
			CreateExplosion(1110.4935,-1981.8112,64.1646, 0, 12.0);
			CreateExplosion(1114.8939,-1981.5032,63.9463, 0, 12.0);
			CreateExplosion(1115.3918,-1985.2706,65.6395, 0, 12.0);
			FireHealth = 250;
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} A fire has broken out in your area, Check it out.");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
 				}
  			}
			format(string, sizeof(string), "{2641FE}Dispatch:{FFFFFF} We have sended you the GPS Location at your Mobile Device");
			foreach(Player, i)
			{
				if(IsACop(i) || IsAGov(i) || IsALSEMS(i) || IsASWAT(i) || IsAHSF(i) || IsASATF(i))
				{
					SendClientMessage(i, COLOR_DEPTRADIO, string);
					SetPlayerCheckpoint(i, 1110.4935,-1981.8112,64.1646, 1.0);
 				}
  			}
			KillTimer(FireTimer);
			FireText = Create3DTextLabel("250/250%", COLOR_GREEN, 1110.4935,-1981.8112,64.1646, 20.0, 0, 0);
			foreach(Player, i)
			{
				if(IsPlayerInRangeOfPoint(i, 25.0, 1767.1621,-1763.4482,13.5411))
    			{
			        format(string, sizeof(string), "* Fire alarms begins to rings and color sign became red *");
			        SendClientMessage(i, COLOR_ORANGE, string);
				}
			}
		}
	}
	return 1;
}

forward RefillTimer(playerid);
public RefillTimer(playerid)
{
    new engine, lights, alarm, doors, bonnet, boot, objective, string[128];
	GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER || engine)
	{
	    GiveZaiatMoney(playerid, -(Refill[playerid]*2));
	    format(string, sizeof(string), "* %s has stopped refilling their vehicle.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    format(string, sizeof(string), " You have refilled your vehicle for $%d.", (Refill[playerid]*2));
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
	    if(PointInfo[5][pOwner])
	    {
			new idx = PointInfo[5][pOwner];
			FamInfo[idx][fMoney] += Refill[playerid]*2;
			PointInfo[5][pProfit] += Refill[playerid]*2;
	    }
	    Refill[playerid] = 0;
	    return 1;
	}
	new veh = GetPlayerVehicleID(playerid);
	Refill[playerid] ++;
	Fuel[veh] ++;
	if(Fuel[veh] >= 100 || PlayerInfo[playerid][pMoney]-2 <= (Refill[playerid]*2))
	{
	    GiveZaiatMoney(playerid, -(Refill[playerid]*2));
	    format(string, sizeof(string), "* %s has stopped refilling their vehicle.", RPN(playerid));
 		SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    format(string, sizeof(string), " You have refilled your vehicle for $%d.", (Refill[playerid]*2));
	    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    	if(PointInfo[5][pOwner])
	    {
			new idx = PointInfo[5][pOwner];
			FamInfo[idx][fMoney] += Refill[playerid]*2;
			PointInfo[5][pProfit] += Refill[playerid]*2;
	    }
	    Refill[playerid] = 0;
	    return 1;
	}
	if(Fuel[veh] < 100)
	{
	    SetTimerEx("RefillTimer", 1000, false, "i", playerid);
	}
	return 1;
}

forward FuelTimer();
public FuelTimer()
{
	for(new vehid=0; vehid < MAX_VEHICLES; vehid++)
	{
		new engine, lights, alarm, doors, bonnet, boot, objective;
		GetVehicleParamsEx(vehid, engine, lights, alarm, doors, bonnet, boot, objective);
		if(engine && Fuel[vehid])
		{
		    FuelVar[vehid] ++;
		    if(GetVehicleSpeed(vehid, 0) != 0 && FuelVar[vehid] >= 72/2)
		    {
		        FuelVar[vehid] = 0;
				Fuel[vehid] --;
			}
			else if(GetVehicleSpeed(vehid, 0) == 0 && FuelVar[vehid] >= 108/2)
		    {
		        FuelVar[vehid] = 0;
				Fuel[vehid] --;
			}
		}
	}
	return 1;
}

new BusTime[MAX_PLAYERS];
forward BusTimer(playerid);
public BusTimer(playerid)
{
	new string[128];
	if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER && GetPlayerVehicleID(playerid) == NPCBus)
	{
	    BusTime[playerid]++;
	    if(!GetVehicleSpeed(NPCBus, 0) && BusTime[playerid] > 15)
	    {
	        BusTime[playerid] = 0;
	        GiveZaiatMoney(playerid, -2);
	        format(string, sizeof(string), "* %s takes out $2 and hands them to the bus driver.", RPN(playerid));
			if(PlayerInfo[playerid][pMaskOn] == 1)
			{
		        format(string, sizeof(string), "* Stranger takes out $2 and hands them to the bus driver.");
			}
			else
			{
				format(string, sizeof(string), "* %s takes out $2 and hands them to the bus driver.", RPN(playerid));
			}
 			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	    }
	    SetTimerEx("BusTimer", 1000, false, "i", playerid);
	}
	else
	{
		BusTime[playerid] = 0;
	}
	return 1;
}


forward ConnectedPlayers();
public ConnectedPlayers()
{
	new Connected;
	for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i) && !IsPlayerNPC(i)) Connected++;
	return Connected;
}
forward AltTabTimer();
public AltTabTimer()
{
    foreach(Player, i)
    {
        if(IsPlayerLoggedIn(i))
		{
		    // AFK Detection
			GetPlayerPos(i, NewPos[i][0], NewPos[i][1], NewPos[i][2]);
			if(IsPlayerInRangeOfPoint(i, 3, OldPos[i][0], OldPos[i][1], OldPos[i][2])) {AFK[i] ++;} else {AFK[i] = 0;}
			GetPlayerPos(i, OldPos[i][0], OldPos[i][1], OldPos[i][2]);
			if(AFK[i] >= 600)
			{
			    if(!IsAFK[i])
			    {
					IsAFK[i] = 1;
					SendClientMessage(i, COLOR_LIGHTBLUE, " You have been standing in the same area for 10 minutes, you have been marked as AFK.");
                    /*AFKText[i] = Create3DTextLabel("AFK", COLOR_CYAN, 0, 0, -20, 25, -1, 1);
			    	Attach3DTextLabelToPlayer(AFKText[i], i, 0, 0, 0.35);*/
			    	AFKText[i] = CreateDynamic3DTextLabel("AFK", COLOR_CYAN, 0, 0, -20, 25, i);
			    	Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL,AFKText[i] , E_STREAMER_ATTACH_OFFSET_Z, 0.35);
				}
			}
			else if(AFK[i] == 0)
			{
				if(IsAFK[i])
				{
					IsAFK[i] = 0;
					SendClientMessage(i, COLOR_LIGHTBLUE, " You have moved from your AFK area, you are not marked as AFK anymore.");
                    //Delete3DTextLabel(AFKText[i]);
                    if(IsValidDynamic3DTextLabel(AFKText[i])) DestroyDynamic3DTextLabel(AFKText[i]);
				}
			}
		    // Alt-Tab Detection
		    AltTabbed[i] ++;
		    if(AltTabbed[i] < 2)
			{
				if(HasText[i])
				{
				    HasText[i] = 0;
					//Delete3DTextLabel(AltTabText[i]);
					if(IsValidDynamic3DTextLabel(AltTabText[i])) DestroyDynamic3DTextLabel(AltTabText[i]);
				}
			}
		    if(AltTabbed[i] > 2) {Tabbed[i] = 1;}
		    else Tabbed[i] = 0;
			if(Tabbed[i])
			{
			    if(!HasText[i])
			    {
			    	HasText[i] = 1;
			    	/*AltTabText[i] = Create3DTextLabel("Alt Tabbed", COLOR_RED, 0, 0, -20, 25, -1, 1);
			    	Attach3DTextLabelToPlayer(AltTabText[i], i, 0, 0, 0.3);*/
			    	AltTabText[i] = CreateDynamic3DTextLabel("[Tabbed]", COLOR_RED, 0, 0, -20, 25, i);
			    	Streamer_SetFloatData(STREAMER_TYPE_3D_TEXT_LABEL, AltTabText[i] , E_STREAMER_ATTACH_OFFSET_Z, 0.25);
			    }
				if(Event[i])
				{
				    new string[128];
					format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is alt-tabbed inside the event.", RPN(i));
				    SendAdminMessage(COLOR_DARKRED, 1, string);
			    }
			}
		}
	}
	return 1;
}
forward AntiTPHacks(playerid);
public AntiTPHacks(playerid)
{
	AntiTP[playerid] = 0;
	return 1;
}
forward CapturePoint(playerid, idx);
public CapturePoint(playerid, idx)
{
	new Float:Cap[3], string[128];
	GetPlayerPos(playerid, Cap[0], Cap[1], Cap[2]);
	if(Cap[0] == Capture[0] && Cap[1] == Capture[1] && Cap[2] == Capture[2])
	{
	    format(string, sizeof(string), "%s has attempted to capture the %s for %s, it will be theirs in 10 minutes.", RPN(playerid), PointInfo[idx][pName], RPFaN(playerid));
	    SendClientMessageToAll(COLOR_YELLOW, string);
	    Capturing = 0;
	    PointInfo[idx][pOwner] = 0;
	    KillTimer(PointTimer);
	    Capturer = playerid;
	    CapturerFam = idx;
	    PointTimer = SetTimerEx("FinalCapture", 600000, false, "dd", Capturer, CapturerFam);
	}
	else
	{
		Capturing = 0;
		SendClientMessage(playerid, COLOR_GREY, "You have moved from your position and failed to capture the point.");
	}
	return 1;
}

forward FinalCapture(playerid, idx);
public FinalCapture(playerid, idx)
{
	new string[128];
	format(string, sizeof(string), "%s has successfully captured the %s for %s.", RPN(playerid), PointInfo[idx][pName], RPFaN(playerid));
	SendClientMessageToAll(COLOR_YELLOW, string);
	Capturer = -1;
 	CapturerFam = -1;
	PointInfo[idx][pTime] = 24;
	PointInfo[idx][pOwner] = PlayerInfo[playerid][pFam];
	DestroyDynamicPickup(PointInfo[idx][pPickup]);
	DestroyDynamic3DTextLabel(PointInfo[idx][pText]);
	SavePoints();
	return 1;
}

forward PayCheckDone();
public PayCheckDone()
{
    PayChecks = 0;
	return 1;
}
forward HealthHackCheck(playerid, giveplayerid);
public HealthHackCheck(playerid, giveplayerid)
{
	new string[128];
 	if(giveplayerid == INVALID_PLAYER_ID)
    {
        SendClientMessage(playerid, COLOR_GREY, "Player has logged off, causing the health hacks check to be cancelled.");
        HHcheckUsed = 0;
        return 1;
    }
    if(!IsPlayerInRangeOfPoint(giveplayerid,20,-1400.994873, 106.899650, 1032.273437))
    {
        SendClientMessage(playerid, COLOR_GREY, "Player is either desynced, lagging or using NOP SetPlayerPos hacks, the health hacks check has been cancelled.");

		SetPlayerHealth(giveplayerid, HHcheckFloats[giveplayerid][0]);
		SetPlayerArmour(giveplayerid, HHcheckFloats[giveplayerid][1]);
		SetPlayerPos(giveplayerid, HHcheckFloats[giveplayerid][2], HHcheckFloats[giveplayerid][3], HHcheckFloats[giveplayerid][4]);
		SetPlayerFacingAngle(giveplayerid, HHcheckFloats[giveplayerid][5]);
		SetCameraBehindPlayer(giveplayerid);
		SetPlayerVirtualWorld(giveplayerid, HHcheckVW[giveplayerid]);
 		SetPlayerInterior(giveplayerid, HHcheckInt[giveplayerid]);

  		for(new i = 0; i < 6; i++)
		{
			HHcheckFloats[giveplayerid][i] = 0;
		}
		HHcheckVW[giveplayerid] = 0;
		HHcheckInt[giveplayerid] = 0;

        HHcheckUsed = 0;
		return 1;
    }

    new Float:health;
    GetPlayerHealth(giveplayerid, health);
    if(health == 100)
	{
	    format(string, sizeof(string), "HealthHackWarn: (POSITIVE) %s may be health hacking.", RPN(giveplayerid));
	    SendAdminMessage(COLOR_DARKRED, 1, string);
    }
    else
	{
		format(string, sizeof(string), "HealthHackWarn: (NEGATIVE) %s is not health hacking.", RPN(giveplayerid));
	    SendAdminMessage(COLOR_DARKRED, 1, string);
    }

	SetPlayerHealth(giveplayerid, HHcheckFloats[giveplayerid][0]);
	SetPlayerArmour(giveplayerid, HHcheckFloats[giveplayerid][1]);
	SetPlayerPos(giveplayerid, HHcheckFloats[giveplayerid][2], HHcheckFloats[giveplayerid][3], HHcheckFloats[giveplayerid][4]);
	SetPlayerFacingAngle(giveplayerid, HHcheckFloats[giveplayerid][5]);
	SetCameraBehindPlayer(giveplayerid);
	SetPlayerVirtualWorld(giveplayerid, HHcheckVW[giveplayerid]);
 	SetPlayerInterior(giveplayerid, HHcheckInt[giveplayerid]);

  	for(new i = 0; i < 6; i++)
	{
		HHcheckFloats[giveplayerid][i] = 0;
	}
	HHcheckVW[giveplayerid] = 0;
	HHcheckInt[giveplayerid] = 0;

    HHcheckUsed = 0;
    return 1;
}

// NGG Weapon Hack
/*ExecuteHackerAction( playerid, weaponid )
{
	if(!IsPlayerLoggedIn(playerid)) { return 1; }
	if(PlayerInfo[playerid][pTutorial] == 0) { return 1; }
	if(Tabbed[playerid] == 1) { return 1; }
	//if(GetPVarInt(playerid, "IsInArena") >= 0) { return 1; }

	new String[ 128 ], WeaponName[ 128 ];
	GetWeaponName( weaponid, WeaponName, sizeof( WeaponName ) );

	format( String, sizeof( String ), "{FF6347}AdmWarning{FFFF00}: %s (ID %d) may possibly be weapon hacking (%s).", GetPlayerNameEx(playerid), playerid, WeaponName );
	SendAdminMessage( COLOR_YELLOW, String, 2 );
	format(String, sizeof(String), "%s (ID %d) may possibly be weapon hacking (%s)", GetPlayerNameEx(playerid), playerid, WeaponName);
	Log("logs/weaponhackbeta.log", String);

	return 1;
}*/

// NGG Weapon hack End

forward WeaponCheat(); // Anti Cheat Disabled
public WeaponCheat() // Anti Weapon Cheat Disabled Reason: Bugged
{
	if(USE_ANTI_WEAPONHACK == true)
	{
		foreach(Player, playerid)
		{
			// Weapon Anticheat
			if(IsPlayerLoggedIn(playerid) && !GunsBeingRemoved[playerid] && FalseBan[playerid])
			{
				if(GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][0] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][1] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][2] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][3] &&
				GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][4] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][5] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][6] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][7] &&
				GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][8] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][9] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][10] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][11] && GetPlayerWeapon(playerid) != PlayerInfo[playerid][pWeapon][12] &&
				GetPlayerWeapon(playerid) != EventWep[0] && GetPlayerWeapon(playerid) != EventWep[1] && GetPlayerWeapon(playerid) != EventWep[2])
				{
					if(GetPlayerState(playerid) != PLAYER_STATE_EXIT_VEHICLE || GetPlayerState(playerid) != PLAYER_STATE_ENTER_VEHICLE_DRIVER || GetPlayerState(playerid) != PLAYER_STATE_ENTER_VEHICLE_PASSENGER)
					{
						if(GetPlayerWeapon(playerid) != 46)
						{
							new string[128];
							//format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been autokicked, reason: Weapon Hacks (%s)", RPN(playerid), RWN(GetPlayerWeapon(playerid)));
							//SendClientMessageToAll(COLOR_LIGHTRED, string);
							format(string, sizeof(string), "{FF0000}[WARN]{FF6347} %s is might be using Weapon Hacks (%s)", NORPN(playerid), RWN(GetPlayerWeapon(playerid)));
							SendAdminMessage(COLOR_DARKRED, 1, string);
							//FixedKick(playerid);
							/*Log("logs/ban.log", string);
							Banreason
							new file[32];
							format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
							format(string, sizeof(string), "Weapon Hacks (%s)", RWN(GetPlayerWeapon(playerid)));
							dini_Set(file, "BanReason", string);
							dini_Set(file, "BannedBy", "AutoBan");
							PlayerInfo[playerid][pBanned] = 1;
							AddBan(playerid);*/
							//new String[128];
							//format(String, sizeof(String), "{FF6347}AdmWarning{FFFF00}: %s (ID %d) may possibly be weapon hacking.", RPN(playerid), playerid);
							//SendAdminMessage(COLOR_DARKRED, 2, String);
							format(string, sizeof(string), "{FF0000}[WARN]{FF6347} %s is might be using Weapon Hacks (%s)", NORPN(playerid), RWN(GetPlayerWeapon(playerid)));
							Log("logs/weaponhack.log", string);
						}
					}
				}
			}
			if(GunsBeingRemoved[playerid]) GunsBeingRemoved[playerid] = 0;
		}
	}
	return 1;
}

// New Server Saves

/*forward SaveServer1(); // Characters 
public SaveServer1()
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
		    SaveChar(i);
		}
	}
	return 1;
}
forward SaveServer2(); // Garages & Motds & Map Icons
public SaveServer2()
{
	SaveGarages();
	SaveMOTDS();
	SaveMapIcons();
	return 1;
}
forward SaveServer3(); // Factions & Points & Arrest Point
public SaveServer3()
{
	SaveFactions();
	SavePoints();
	SaveArrestPoint();
	return 1;
}
forward SaveServer4(); // Families & Gates
public SaveServer4()
{
	SaveFamilies();
	SaveGates();
	SaveHouses();
	return 1;
}
forward SaveServer5(); // Doors & Drugs
public SaveServer5()
{
	SaveDoors();
	SaveDrugs();
	SaveBiz();
	return 1;
}*/
/*
forward SaveServer6(); // Houses
public SaveServer6()
{
	SaveHouses();
	return 1;
}
forward SaveServer7(); // Businesses
public SaveServer7()
{
	SaveBiz();
	return 1;
}
*/

forward SaveServer();
public SaveServer()
{
	foreach(Player, i)
	{
		if(IsPlayerLoggedIn(i))
		{
		    SaveChar(i);
		}
	}
	//SaveFactions();
	SaveGarages();
	//SaveFamilies();
	SavePoints();
//	SaveBiz();
//	SaveHouses();
//	SaveDoors();
	SaveGates();
	//SaveMapIcons();
	//SaveArrestPoint();
	SaveDrugs();
	//SaveMOTDS();
	return 1;
}
forward SaveFactionFiles();
public SaveFactionFiles()
{
	SaveFactions();
	SaveArrestPoint();
	SaveMOTDS();
	SaveMapIcons();
	return 1;
}
forward SaveBizsHouses();
public SaveBizsHouses()
{
	SaveBiz();
	SaveHouses();
	SaveDoors();
	return 1;
}
forward SaveOtherFiles();
public SaveOtherFiles()
{
	SaveFamilies();
	return 1;
}


forward DrugTimer(playerid);
public DrugTimer(playerid)
{
	DrugTimeout[playerid] = 0;
	return 1;
}
forward pollend(playerid);
public pollend(playerid)
{
	new string[128];
    format(string, sizeof(string), "The Poll has ended, {FFFFFF}%d{FF6347} people voted {FFFFFF}No{FF6347}, {FFFFFF}%d{FF6347} people voted {FFFFFF}Yes{FF6347}.", PollN, PollY);
    SendClientMessageToAll(COLOR_LIGHTRED, string);
    PollOn = 0;
	return 1;
}
forward Stoned(playerid);
public Stoned(playerid)
{
	SetPlayerWeather(playerid, 1);
	PlayerInfo[playerid][pStoned] = 0;
}

forward Tut1(playerid);
public Tut1(playerid)
{
	new string[528];
	TextDrawShowForPlayer(playerid, TextTut[playerid]);
	for(new p = 1; p < 4; p++)
	{
		TextDrawShowForPlayer(playerid, TutTxt[p]);
	}

	TextDrawHideForPlayer(playerid,information);
	TextDrawHideForPlayer(playerid,TimeTD);
	TextDrawHideForPlayer(playerid,DateTD);
	TextDrawHideForPlayer(playerid,WebTD);
	
    SetPlayerCameraPos(playerid, 1668.9432,-1458.1198,120.6119);
    SetPlayerCameraLookAt(playerid,1586.5640,-1281.9943,120.6119);
    SetPlayerPos(playerid,1582.0026,-1274.0721,119.7132);
	SetPlayerVirtualWorld(playerid, 94375);
	TogglePlayerControllable(playerid, 0);
    format(string, sizeof(string), "Welcome to Real Life Roleplay, We always able to help you~n~\
									Since this is your first time, you've to see the tutorial.~n~\
									You will notice the important & basic things and don't forget to /rpguide after the tutorial...~n~\
									~n~\
									Server made by Garfield Ram");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("Tut2", 12000, false, "i", playerid);
	return 1;
}

forward Tut2(playerid);
public Tut2(playerid)
{
	new string[528];
    InterpolateCameraPos(playerid, 1668.9432,-1458.1198,120.6119, 1506.6499,-1675.8396,41.2007, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1586.5640,-1281.9943,120.6119, 1554.6344,-1675.5366,16.1953, 3000, CAMERA_MOVE);
	format(string, sizeof(string), "In RL:RP we have some factions, We only show 2 of them inside this tutorial~n~\
									- Los Santos Police Department~n~\
									The LSPD is the only Law Enforcement Faction on RL:RP.~n~\
									This means it takes care of everything related to law and crimes.~n~\
									If you get arrested you will be transported to the prison.");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("Tut3", 16000, false, "i", playerid);
	return 1;
}

forward Tut3(playerid);
public Tut3(playerid)
{
	new string[528];
    InterpolateCameraPos(playerid, 1506.6499,-1675.8396,41.2007, 1444.9666,-1709.8527,42.3163, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1554.6344,-1675.5366,16.1953, 1483.7808,-1762.6996,18.7958, 3000, CAMERA_MOVE);
	format(string, sizeof(string), "- San Andreas Government~n~\
									The GOV is a political faction, which means they don't get weapons from the state, etc.~n~\
									The GOV basically consists of the president and their staff who are elected by civilians.~n~\
									The government's role is to make laws for the LSPD to follow, set taxes on civilians~n~\
									and finally to pay LSPD their paychecks.");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("Tut4", 16000, false, "i", playerid);
	return 1;
}

forward Tut4(playerid);
public Tut4(playerid)
{
	new string[528];
    InterpolateCameraPos(playerid, 1444.9666,-1709.8527,42.3163, 2441.1738,-1698.3149,31.4247, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1483.7808,-1762.6996,18.7958, 2507.3250,-1648.5522,13.8510, 3000, CAMERA_MOVE);
	format(string, sizeof(string), "There are 15 family slots in RL:RP.~n~\
									This means the maximum official families around is 10, this is to keep order on the server.~n~\
									You may still create your own unofficial family and roleplay your way with it.~n~\
									If you wish to join a family you should contact family leaders ICly about it, found on /families.~n~\
									If you wish to create your own family, a spot can ask it to an admin");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("Tut5", 16000, false, "i", playerid);
	return 1;
}

forward Tut5(playerid);
public Tut5(playerid)
{
	new string[528];
    InterpolateCameraPos(playerid, 2441.1738,-1698.3149,31.4247, 1733.3695,2300.4736,28.1169, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,2507.3250,-1648.5522,13.8510, 1677.3669,2340.1497,9.8972, 3000, CAMERA_MOVE);
	format(string, sizeof(string), "RL:RP has different types of businesses any player can own.~n~\
									We will explain three types of businesses...~n~\
									24/7 Market: Sells general things any player would need like a cellphone.~n~\
									Clothes Shop: This is where you can change your skin. (( RPly Clothes ))~n~\
									Ammunation: You can buy ammo for your weapons from an ammunation.");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("Tut6", 18000, false, "i", playerid);
	return 1;
}

forward Tut6(playerid);
public Tut6(playerid)
{
	new string[528];
    InterpolateCameraPos(playerid, 1733.3695,2300.4736,28.1169, 979.7817,-1468.0079,41.3712, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1677.3669,2340.1497,9.8972, 1030.9037,-1441.5906,13.5546, 3000, CAMERA_MOVE);
	format(string, sizeof(string), "RL:RP has different types of jobs any player can have, only 4 listed.~n~\
									Mechanic: Can repair, add modifications like nitros and hydraulics to vehicles.~n~\
									Trucker: Can deliver products to the packages dropoff so business buy products off it and operate.~n~\
									Weapons Smuggler: Can smuggle materials then sell them to anybody.~n~\
									Drugs Dealer: Can get Weed/Crack from the Drugs House or Crack Lab and use/sell them.");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("Tut7", 25000, false, "i", playerid);
	return 1;
}

forward Tut7(playerid);
public Tut7(playerid)
{
	new string[528];
    InterpolateCameraPos(playerid, 979.7817,-1468.0079,41.3712, 1111.8488,-1202.7986,52.5143, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1030.9037,-1441.5906,13.5546, 1153.9945,-1180.8960,32.8187, 3000, CAMERA_MOVE);
	format(string, sizeof(string), "The telecom company will be where you buy a sim card (Phone number) or activate~n~\
									the Internet service which requires smartphone.~n~\
									Internet service allows you to download music and play them on your smartphone. It also allows you to place~n~\
									advertisements from anywhere with double the price any Advertisement Agency would cost you.~n~\
									Money taken from the Telecom Company will go to the state's tax vault.");
	TextDrawSetString(TextTut[playerid], string);
	Tut[playerid] = SetTimerEx("TutFinal", 15000, false, "i", playerid);
	return 1;
}

forward TutFinal(playerid);
public TutFinal(playerid)
{
	TextDrawHideForPlayer(playerid, TextTut[playerid]);
	for(new p = 1; p < 4; p++)
	{
		TextDrawHideForPlayer(playerid, TutTxt[p]);
	}
	
	TextDrawShowForPlayer(playerid,TimeTD);
	TextDrawShowForPlayer(playerid,DateTD);
	TextDrawShowForPlayer(playerid,information);
	TextDrawShowForPlayer(playerid,WebTD);
	
	TogglePlayerControllable(playerid, 1);
	SetPlayerVirtualWorld(playerid, 0);
	SetCameraBehindPlayer(playerid);
	
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 6 - The End =====");
    SendClientMessage(playerid, COLOR_WHITE, "That was the end of our tutorial. If you have questions about anything feel free to");
	SendClientMessage(playerid, COLOR_WHITE, "ask over /newbie chat or /report.");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "If you wish to make money you should try either trucker or drugs smuggler job, both on /search.");
	SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "-> If you never heard about Roleplay, Google: SAMP Roleplay Tutorial, Please");
	SendClientMessage(playerid, COLOR_WHITE, "-> When you break a roleplay rule you will be jailed, kicked, warned or banned.");
	PlayerInfo[playerid][pTutorial] = 1;
	SpawnChar(playerid);
	TogglePlayerControllable(playerid, 1);
	SetPlayerVirtualWorld(playerid, 0);
	TextDrawHideForPlayer(playerid, TutorialTD);
	SendClientMessage(playerid, COLOR_GREEN, ".: START PACKET :.");
	SendClientMessage(playerid, COLOR_WHITE, "- Level 1");
	SendClientMessage(playerid, COLOR_WHITE, "- On Hand: $10,000");
	SendClientMessage(playerid, COLOR_WHITE, "- Bank: $5,000");
	SendClientMessage(playerid, COLOR_WHITE, "- Materials: 50");
	SendClientMessage(playerid, COLOR_WHITE, "- Pot: 10");
	SendClientMessage(playerid, COLOR_WHITE, "- Crack: 10");
	SendClientMessage(playerid, COLOR_WHITE, "- MORE? / VIP? /report for it");
	SendClientMessage(playerid, COLOR_WHITE, "- And More...");
	// Starter Package
	PlayerInfo[playerid][pLevel] = 3;
	PlayerInfo[playerid][pNew] = 1;
	PlayerInfo[playerid][pLoyal] = 1;
	PlayerInfo[playerid][pModel] = 250;
	SetPlayerSkin(playerid, 250);
	GiveZaiatMoney(playerid, 10000);
	PlayerInfo[playerid][pBank] = 5000;
	PlayerInfo[playerid][pMaterials] = 50;
	PlayerInfo[playerid][pWeed] = 10;
	PlayerInfo[playerid][pCrack] = 10;
	PlayerInfo[playerid][pVIPDay] = 7;
	PlayerInfo[playerid][pVIPMonth] = 0;
	PlayerInfo[playerid][pVIPHour] = 24;
	PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_NORMAL;
	return 1;
}

/*forward Tut1(playerid);
public Tut1(playerid)
{
	TextDrawShowForPlayer(playerid, TutorialTD);
	SetPlayerInterior(playerid, 0);
	SetPlayerVirtualWorld(playerid, 94375);
    TogglePlayerControllable(playerid, 0);
    SetPlayerCameraPos(playerid, 1668.9432,-1458.1198,120.6119);
    SetPlayerCameraLookAt(playerid,1586.5640,-1281.9943,120.6119);
    SetPlayerPos(playerid,1582.0026,-1274.0721,119.7132);
	SendClientMessage(playerid, COLOR_LIME, "===== Real Life Roleplay Tutorial =====");
	SendClientMessage(playerid, COLOR_WHITE, "Welcome to RL:RP, as this is your first time here you'll have to go through our tutorial");
	SendClientMessage(playerid, COLOR_WHITE, "to get known to important things we currently have on our server.");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "If you have some questions /helpme /report.");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "Real Life Roleplay, Always helping you.");
	SendClientMessage(playerid, COLOR_WHITE, "");
	Tut[playerid] = SetTimerEx("Tut2", 12000, false, "i", playerid);
	return 1;
}
forward Tut2(playerid);
public Tut2(playerid)
{
    InterpolateCameraPos(playerid, 1668.9432,-1458.1198,120.6119, 1506.6499,-1675.8396,41.2007, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1586.5640,-1281.9943,120.6119, 1554.6344,-1675.5366,16.1953, 3000, CAMERA_MOVE);
	//SetPlayerCameraPos(playerid,1506.6499,-1675.8396,41.2007);
	//SetPlayerCameraLookAt(playerid, 1554.6344,-1675.5366,16.1953);
	SetPlayerPos(playerid,1554.6344,-1675.5366,16.1953-3);
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 1 - Factions =====");
    SendClientMessage(playerid, COLOR_WHITE, "In A:RP we have some factions, we will only speak about two of them:");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_LIME, "- Los Santos Police Department [LSPD]");
    SendClientMessage(playerid, COLOR_WHITE, " The LSPD is the only Law Enforcement Faction on A:RP.");
    SendClientMessage(playerid, COLOR_WHITE, " This means it takes care of everything related to law and crimes.");
    SendClientMessage(playerid, COLOR_WHITE, " If you get arrested you will be transported to the prison which is also being guarded by the LSPD");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "Want to join the LSPD Force? Apply at "w"");
	SendClientMessage(playerid, COLOR_WHITE, "");
	Tut[playerid] = SetTimerEx("Tut3", 16000, false, "i", playerid);
	return 1;
}
forward Tut3(playerid);
public Tut3(playerid)
{
    InterpolateCameraPos(playerid, 1506.6499,-1675.8396,41.2007, 1444.9666,-1709.8527,42.3163, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1554.6344,-1675.5366,16.1953, 1483.7808,-1762.6996,18.7958, 3000, CAMERA_MOVE);
	//SetPlayerCameraPos(playerid,1444.9666,-1709.8527,42.3163);
	//SetPlayerCameraLookAt(playerid, 1483.7808,-1762.6996,18.7958);
	SetPlayerPos(playerid,1483.7808,-1762.6996,18.7958-3);
    SendClientMessage(playerid, COLOR_LIME, "- San Andreas Government [GOV]");
    SendClientMessage(playerid, COLOR_WHITE, " The GOV is a political faction, which means they don't get weapons from the state, etc.");
    SendClientMessage(playerid, COLOR_WHITE, " The GOV basically consists of the president and their staff who are elected by civilians.");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, " The government's role is to make laws for the LSPD to follow, set taxes on civilians");
    SendClientMessage(playerid, COLOR_WHITE, " and finally to pay LSPD their paychecks.");
    SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, " If you wish to be a part of the government apply at "SERVER_WEBSITE"");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	Tut[playerid] = SetTimerEx("Tut4", 16000, false, "i", playerid);
	return 1;
}
forward Tut4(playerid);
public Tut4(playerid)
{
    InterpolateCameraPos(playerid, 1444.9666,-1709.8527,42.3163, 2441.1738,-1698.3149,31.4247, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1483.7808,-1762.6996,18.7958, 2507.3250,-1648.5522,13.8510, 3000, CAMERA_MOVE);
	//SetPlayerCameraPos(playerid,2441.1738,-1698.3149,31.4247);
	//SetPlayerCameraLookAt(playerid, 2507.3250,-1648.5522,13.8510);
	SetPlayerPos(playerid,2507.3250,-1648.5522,13.8510-3);
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 2 - Families =====");
    SendClientMessage(playerid, COLOR_WHITE, "There are 10 family slots in A:RP.");
    SendClientMessage(playerid, COLOR_WHITE, "This means the maximum official families around is 10, this is to keep order on the server.");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "You may still create your own unofficial family and roleplay your way with it.");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "If you wish to join a family you should contact family leaders ICly about it, found on /families.");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "If you wish to create your own family, a spot can ask it to an admin");
	Tut[playerid] = SetTimerEx("Tut5", 16000, false, "i", playerid);
	return 1;
}
forward Tut5(playerid);
public Tut5(playerid)
{
    InterpolateCameraPos(playerid, 2441.1738,-1698.3149,31.4247, 1733.3695,2300.4736,28.1169, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid,2507.3250,-1648.5522,13.8510, 1677.3669,2340.1497,9.8972, 3000, CAMERA_MOVE);
	//SetPlayerCameraPos(playerid,1733.3695,2300.4736,28.1169);
	//SetPlayerCameraLookAt(playerid, 1677.3669,2340.1497,9.8972);
	SetPlayerPos(playerid,1677.3669,2340.1497,9.8972-3);
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 3 - Businesses =====");
    SendClientMessage(playerid, COLOR_WHITE, "RL:RP has 7 different types of businesses any player can own.");
    SendClientMessage(playerid, COLOR_WHITE, "24/7 Market - Clothes Shop - Ammunation - Advertisement Agency - Club - Fast Food - Casino");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "24/7 Market: Sells general things any player would need like a cellphone and sprunks.");
    SendClientMessage(playerid, COLOR_WHITE, "Clothes Shop: This is where you can change your skin. (( RPly Clothes ))");
    SendClientMessage(playerid, COLOR_WHITE, "Ammunation: You can buy ammo for your weapons from an ammunation.");
	SendClientMessage(playerid, COLOR_WHITE, "Advertisement Agency: You can place advertisements for everybody to see there.");
	SendClientMessage(playerid, COLOR_WHITE, "Club: A place for partying, you can get drunk in there too.");
	SendClientMessage(playerid, COLOR_WHITE, "Fast Food: You can get meals to recover health from a fast food.");
	Tut[playerid] = SetTimerEx("Tut6", 18000, false, "i", playerid);
	return 1;
}
forward Tut6(playerid);
public Tut6(playerid)
{
    InterpolateCameraPos(playerid, 1733.3695,2300.4736,28.1169, 979.7817,-1468.0079,41.3712, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1677.3669,2340.1497,9.8972, 1030.9037,-1441.5906,13.5546, 3000, CAMERA_MOVE);
	//SetPlayerCameraPos(playerid,979.7817,-1468.0079,41.3712);
	//SetPlayerCameraLookAt(playerid, 1030.9037,-1441.5906,13.5546);
	SetPlayerPos(playerid,1030.9037,-1441.5906,13.5546-3);
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 4 - Jobs =====");
    SendClientMessage(playerid, COLOR_WHITE, "A:RP has different types of jobs any player can have, only 7 of them are listed below.");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "Mechanic: Can repair, add modifications like nitros and hydraulics to vehicles.");
    SendClientMessage(playerid, COLOR_WHITE, "Lawyer: Can reduce prison sentence or even remove someone's crime if he hasn't been arrested yet.");
	SendClientMessage(playerid, COLOR_WHITE, "Trucker: Can deliver products to the packages dropoff so business buy products off it and operate.");
    SendClientMessage(playerid, COLOR_WHITE, "Weapons Dealer: Can create/sell weapons using materials, or even sell materials.");
    SendClientMessage(playerid, COLOR_WHITE, "Weapons Smuggler: Can smuggle materials then sell them to anybody.");
	SendClientMessage(playerid, COLOR_WHITE, "Drugs Dealer: Can get Weed/Crack from the Drugs House or Crack Lab and use/sell them.");
	SendClientMessage(playerid, COLOR_WHITE, "Drugs Smuggler: Smuggles drugs to Drugs House or Crack Lab for dealers to be able to sell.");
	Tut[playerid] = SetTimerEx("Tut7", 25000, false, "i", playerid);
	return 1;
}
forward Tut7(playerid);
public Tut7(playerid)
{
    InterpolateCameraPos(playerid, 979.7817,-1468.0079,41.3712, 1111.8488,-1202.7986,52.5143, 3000, CAMERA_MOVE);
    InterpolateCameraLookAt(playerid, 1030.9037,-1441.5906,13.5546, 1153.9945,-1180.8960,32.8187, 3000, CAMERA_MOVE);
	//SetPlayerCameraPos(playerid,1111.8488,-1202.7986,52.5143);
	//SetPlayerCameraLookAt(playerid, 1153.9945,-1180.8960,32.8187);
	SetPlayerPos(playerid,1153.9945,-1180.8960,32.8187-3);
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 5 - Telecom Company =====");
    SendClientMessage(playerid, COLOR_WHITE, "The telecom company will be where you buy a sim card (Phone number) or activate");
	SendClientMessage(playerid, COLOR_WHITE, "the Internet service which requires smartphone.");
	SendClientMessage(playerid, COLOR_WHITE, "Internet service allows you to download music and play them on your smartphone. It also allows you to place");
	SendClientMessage(playerid, COLOR_WHITE, "advertisements from anywhere with double the price any Advertisement Agency would cost you.");
	SendClientMessage(playerid, COLOR_WHITE, "Money taken from the Telecom Company will go to the state's tax vault.");
	SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	Tut[playerid] = SetTimerEx("TutFinal", 15000, false, "i", playerid);
	return 1;
}
forward TutFinal(playerid);
public TutFinal(playerid)
{
    SendClientMessage(playerid, COLOR_LIME, "===== Tutorial: Part 6 - The End =====");
    SendClientMessage(playerid, COLOR_WHITE, "That was the end of our tutorial. If you have questions about anything feel free to");
	SendClientMessage(playerid, COLOR_WHITE, "ask over /newbie chat or /report.");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "");
	SendClientMessage(playerid, COLOR_WHITE, "If you wish to make money you should try either trucker or drugs smuggler job, both on /search.");
	SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "");
    SendClientMessage(playerid, COLOR_WHITE, "-> If you never heard about Roleplay, Google: SAMP Roleplay Tutorial, Please");
	SendClientMessage(playerid, COLOR_WHITE, "-> When you break a roleplay rule you will be jailed, kicked, warned or banned.");
	PlayerInfo[playerid][pTutorial] = 1;
	SpawnChar(playerid);
	TogglePlayerControllable(playerid, 1);
	SetPlayerVirtualWorld(playerid, 0);
	TextDrawHideForPlayer(playerid, TutorialTD);
	SendClientMessage(playerid, COLOR_GREEN, ".: START PACKET :.");
	SendClientMessage(playerid, COLOR_WHITE, "- Level 1");
	SendClientMessage(playerid, COLOR_WHITE, "- On Hand: $10,000");
	SendClientMessage(playerid, COLOR_WHITE, "- Bank: $5,000");
	SendClientMessage(playerid, COLOR_WHITE, "- Materials: 50");
	SendClientMessage(playerid, COLOR_WHITE, "- Pot: 10");
	SendClientMessage(playerid, COLOR_WHITE, "- Crack: 10");
	SendClientMessage(playerid, COLOR_WHITE, "- Vip? /report for it");
	SendClientMessage(playerid, COLOR_WHITE, "- And More...");
	// Starter Package
	PlayerInfo[playerid][pLevel] = 3;
	PlayerInfo[playerid][pNew] = 1;
	PlayerInfo[playerid][pLoyal] = 1;
	PlayerInfo[playerid][pModel] = 250;
	SetPlayerSkin(playerid, 250);
	GiveZaiatMoney(playerid, 10000);
	PlayerInfo[playerid][pBank] = 5000;
	PlayerInfo[playerid][pMaterials] = 50;
	PlayerInfo[playerid][pWeed] = 10;
	PlayerInfo[playerid][pCrack] = 10;
	PlayerInfo[playerid][pFightStyle] = FIGHT_STYLE_NORMAL;
	return 1;
}*/

forward FreeTimer(playerid);
public FreeTimer(playerid)
{
	FreeTimeout[playerid] --;
	if(FreeTimeout[playerid] > 0)
	{
	    SetTimerEx("FreeTimer", 1000, false, "i", playerid);
	}
	return 1;
}

forward DefendTimer(playerid);
public DefendTimer(playerid)
{
	DefendTimeout[playerid] --;
	if(DefendTimeout[playerid] > 0)
	{
	    SetTimerEx("DefendTimer", 1000, false, "i", playerid);
	}
	return 1;
}

/*forward NOPSetPlayerPosCheck();
public NOPSetPlayerPosCheck()
{
    // NOP Vehicle Cheat
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsLeoVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 1 && IsHSFVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 8  && IsFBIVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 6|| IsTruckerVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pJob] != JOB_TRUCKER)
		    {
			    new string[128];
			    format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s is either desynced or using NOP hacks. (Driving Restricted Vehicle)", RPN(playerid));
			    SendAdminMessage(COLOR_DARKRED, 1, string);
		        RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}*/

/*forward restrictedfac1();
public restrictedfac1()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsLeoVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 1)
		    {
       			SendClientMessage(playerid, COLOR_ORANGE, "This vehicle is restricted to the LSPD faction.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac2();
public restrictedfac2()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsGovVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 2)
		    {
      			SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the GOV faction.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac3();
public restrictedfac3()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsHAVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 3)
		    {
      			SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Hitman Agency faction.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac4();
public restrictedfac4()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsNewsVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 4)
		    {
  				SendClientMessage(playerid, COLOR_ORANGE, "This vehicle is restricted to the News Agency faction.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac5();
public restrictedfac5()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsLeoneVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 5)
		    {
      			SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Leone.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac6();
public restrictedfac6()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsFBIVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 6)
		    {
				SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the FBI.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac7();
public restrictedfac7()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsLSEMSVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 7)
		    {
      			SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the LSEMS.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac8();
public restrictedfac8()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsHSFVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 8)
		    {
      			SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the HSF.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}

forward restrictedfac9();
public restrictedfac9()
{
    foreach(Player, playerid)
    {
	    if(GetPlayerState(playerid) != PLAYER_STATE_PASSENGER)
		{
		    if(IsCORLEONEVehicle(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pFac] != 9)
		    {
      			SendClientMessage(playerid, COLOR_ORANGE, " This vehicle is restricted to the Corleone.");
			    RemovePlayerFromVehicle(playerid);
		    }
		}
	}
	return 1;
}*/

forward ADTimer();
public ADTimer()
{
	if(!LastAd)
	{
		for(new i=0; i<MAX_ADS; i++)
		{
		    if(strlen(AD[i]) > 0 && !LastAd)
			{
			    new string[128];
				SendClientMessageToAll(COLOR_ADV, AD[i]);
				//if(iAD[i] == 2) SendClientMessageToAll(COLOR_GREEN, "This advertisement was created using a VIP service.");
				//else if(iAD[i] == 1) SendClientMessageToAll(COLOR_GREEN, "This advertisement was created using an internet service.");
				//else if(!iAD[i]) {format(string, sizeof(string), "This advertisement was created using %s's Advertisement Agency.", iAdName[i]); SendClientMessageToAll(COLOR_GREEN, string);}
				if(AdQueue > 0) AdQueue --;
		    	LastAd = TIMER_AD;
		    	// LastAds
		    	new File: file = fopen("logs/advertisements.log", io_append);
                if(!dini_Exists("logs/advertisements.log")) dini_Create("logs/advertisements.log");
				format(string, sizeof(string), "%s\r\n", AD[i]);
				fwrite(file, string);
				fclose(file);
		    	// End of LastAds
		    	foreach(Player, p)
		    	{
		    		if(strfind(AD[i], RPN(p)) != -1)
		    		{
		    		    HasAD[p] = 0;
		    		    SendClientMessage(p, COLOR_LIGHTBLUE, " You can now submit another advertisement.");
		    		}
		    	}
		    	format(AD[i], 128, "");
			}
		}
	}
	if(LastAd > 0) LastAd--;
	return 1;
}

forward Clock();
public Clock()
{
    new string[128];
	gettime(thour, tmin, tsec);
	new Day, Month, Year;
	getdate(Year, Month, Day);
	//format(string, sizeof(string), "~b~~h~~h~Time: ~w~%d:%d:%d", thour, tmin, tsec);
	format(string, sizeof(string), "%d:%d:%d", thour, tmin, tsec);
	TextDrawSetString(TimeTD, string);
	// Date
    new year,month,day;
    getdate(year, month, day);
	format(string, sizeof string, "%d/%s%d/%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year);
	TextDrawSetString(DateTD, string);
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
	        if(!IsAFK[i] && !BusTime[i])
	        {
				Seconds[i] ++;
				if(Seconds[i] == 60)
				{
				    Seconds[i] = 0;
				    PlayerInfo[i][pMinutes] ++;
				    if(PlayerInfo[i][pVIPTemp])
				    {
				    	PlayerInfo[i][pVIPTemp] --;
				    	if(PlayerInfo[i][pVIPTemp] <= 0)
				    	{
				    	    PlayerInfo[i][pVIP] = 0;
				    	    PlayerInfo[i][pVIPDay] = 0;
				    	    PlayerInfo[i][pVIPMonth] = 0;
				    	    PlayerInfo[i][pVIPHour] = 0;
				    	    PlayerInfo[i][pVIPTemp] = 0;
							format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s's temporary Bronze VIP package has expired.", RPN(i));
							SendAdminMessage(COLOR_DARKRED, 1, string);
							Log("logs/makevip.log", string);
							SendClientMessage(i, COLOR_LIGHTBLUE, " Your temporary Bronze VIP packag has expired.");
				    	}
					}
				}
				if(PlayerInfo[i][pVIP])
			    {
			        if(Day >= PlayerInfo[i][pVIPDay] && Month >= PlayerInfo[i][pVIPMonth] && !PlayerInfo[i][pVIPTemp])
			        {
						format(string, sizeof(string), "{FF0000}[Admin Warn]{FF6347} %s's %s VIP package has expired.", RPN(i), RPVIPN(i));
						SendAdminMessage(COLOR_DARKRED, 1, string);
						Log("logs/makevip.log", string);
						format(string, sizeof(string), " Your %s VIP package has expired.", RPVIPN(i));
						SendClientMessage(i, COLOR_LIGHTBLUE, string);
						PlayerInfo[i][pVIP] = 0;
			    	    PlayerInfo[i][pVIPDay] = 0;
			    	    PlayerInfo[i][pVIPMonth] = 0;
			    	    PlayerInfo[i][pVIPHour] = 0;
			    	    PlayerInfo[i][pVIPTemp] = 0;
			        }
			    }
			}
	    }
	}
	// Paycheck
	if(tmin == 0 && tsec <= 4 && PayChecks == 0)
	{
	    SetWorldTime(thour);
		Paycheck();
		// Points
		for(new idx = 0; idx<MAX_POINTS; idx++)
	    {
	    	PointBC[idx] = 0;
	    }
		for(new idx = 0; idx < MAX_POINTS; idx++)
		{
			if(PointInfo[idx][pTime]) PointInfo[idx][pTime] --;
			if(!PointInfo[idx][pTime] && !PointBC[idx])
			{
			    PointInfo[idx][pOwner] = 0;
			    PointInfo[idx][pProfit] = 0;
			    /////format(string, sizeof(string), "The %s is available to be captured.", PointInfo[idx][pName]);
			    //SendClientMessageToAll(COLOR_YELLOW, string);
			    DestroyDynamicPickup(PointInfo[idx][pPickup]);
			    DestroyDynamic3DTextLabel(PointInfo[idx][pText]);
			    PointInfo[idx][pPickup] = CreateDynamicPickup(1239, 1, PointInfo[idx][pX], PointInfo[idx][pY], PointInfo[idx][pZ]);
		    	PointInfo[idx][pText] = CreateDynamic3DTextLabel("Point\n/capture", COLOR_WHITE, PointInfo[idx][pX], PointInfo[idx][pY], PointInfo[idx][pZ]+0.3, 15);

			}
	    }
	}
	return 1;
}

forward EnterExitTimer(playerid);
public EnterExitTimer(playerid)
{
	TogglePlayerControllable(playerid, 1);
	PlayerInfo[playerid][pSpawnFreeze] = 0;
	return 1;
}

forward HospitalTimer(playerid);
public HospitalTimer(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		new string[128];
		if(HospitalTime[playerid] > 0)
		{
			format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Hospital Time Left: ~w~%d ~r~seconds", HospitalTime[playerid]);
			GameTextForPlayer(playerid, string,1500, 3);
			HospitalTime[playerid] --;
			HospitalCountDown[playerid] = SetTimerEx("HospitalTimer", 1000, false, "d", playerid);
		}
		else if(HospitalTime[playerid] <= 0)
		{
		    if(Hospital[playerid] == 0)
		    {
			    SetPlayerPos(playerid, 1177.5485,-1323.5773,14.0761);
			    SetPlayerFacingAngle(playerid, 269.4692);
		    }
		    else if(Hospital[playerid] == 1)
		    {
	            SetPlayerPos(playerid, 2034.0833,-1404.6536,17.2539);
			    SetPlayerFacingAngle(playerid, 178.1200);
		    }
		    PlayerInfo[playerid][pHospital] = 0;
		    SetCameraBehindPlayer(playerid);
		    TogglePlayerControllable(playerid, 1);
		    PlayerInfo[playerid][pArmor] = 0;
		    SetPlayerHealth(playerid, 60);
		    SetPlayerArmour(playerid, 0);
		    //SendClientMessage(playerid, COLOR_MEDIC, "(( You have lost 30 minutes of your IC memory, you don't remember the situation you died in ))");
			KillTimer(HospitalCountDown[playerid]);
			// Cuff
		  	TogglePlayerTazed(playerid, 0);
			TogglePlayerCuffed(playerid, 0);
			Uncuffed[playerid] = 1;
			KillTimer(CuffCountDown[playerid]);
			RemovePlayerAttachedObject(playerid, 0);
			SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
			TogglePlayerControllable(playerid, 1);
			// Cuff
			if(PlayerInfo[playerid][pVIP])
			{
				SetPlayerHealth(playerid, 100);
				//SendClientMessage(playerid, COLOR_VIP, "Bronze VIP: You have spawned with 100 health points.");
			}
			if(PlayerInfo[playerid][pVIP] >= 2) SendClientMessage(playerid, COLOR_VIP, "Silver VIP: You have recovered quickly from the hospital.");
			if(PlayerInfo[playerid][pVIP] >= 3)
			{
				SetPlayerArmour(playerid, 50);
				//SendClientMessage(playerid, COLOR_VIP, "Gold VIP: You have spawned with 50 armor points.");
			}
			if(PlayerInfo[playerid][pVIP] >= 4)
			{
				//SetPlayerArmour(playerid, 100);
				//SendClientMessage(playerid, COLOR_VIP, "Platinum VIP: You have spawned with 100 armor points.");
			}
		}
	}
	return 1;
}

new BugMessage;
forward Bug();
public Bug()
{
	if(!BugMessage)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Never give out your password to anyone. Including the staff team.");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 0;
	}
	else if(BugMessage == 1)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Remember! We record everything, and have auto-detection for the majority of hacks.");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
        BugMessage = 2;
	}
	else if(BugMessage == 2)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Can you not find location or job? /search(job)");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 3;
	}
	else if(BugMessage == 3)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Need help? Use /report to communicate with our admin team!");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 4;
	}
	else if(BugMessage == 4)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Want to join a gang or faction? Be sure to Roleplay with their leader");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 4;
	}
	else if(BugMessage == 5)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» This is not a DM server! Death Matching will not be tolerated!");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 5;
	}
	else if(BugMessage == 6)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Is there a player breaking the rules? /report it or report it on our fourms!");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 6;
	}
	else if(BugMessage == 7)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Abusing newbie channel will result in mutes, frequent abuse will be punished with a ban.");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 7;
	}
	else if(BugMessage == 8)
	{
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		SendClientMessageToAll(COLOR_LIGHTBLUE, "»» Feel free to come in our Teamspeak at 195.240.8.51.");
		SendClientMessageToAll(COLOR_GREY, "================================================================================");
		BugMessage = 8;
	}
	return 1;
}

forward SprunkTimer(playerid);
public SprunkTimer(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		NoSprunk[playerid] = 0;
	}
	return 1;
}

forward NewbieTimer(playerid);
public NewbieTimer(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		NewbieTime[playerid]--;
		if(NewbieTime[playerid] > 0)
		{
		    SetTimerEx("NewbieTimer", 1000, false, "i", playerid);
		}
	}
	return 1;
}

forward SetBack(playerid);
public SetBack(playerid)
{
	PlayerInfo[playerid][pAdmin] = PlayerInfo[playerid][pOldAdmin];
	SendClientMessage(playerid, COLOR_BLUE, "You have been set to your original level");
	PlayerInfo[playerid][pOldAdmin] = 0;
	PlayerInfo[playerid][pSafeAdmin] = 0;
}

forward GCTimer(playerid);
public GCTimer(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		GCTime[playerid]--;
		if(GCTime[playerid] > 0)
		{
		    SetTimerEx("GCTimer", 1000, false, "i", playerid);
		}
	}
	return 1;
}


forward ReportTimer(playerid);
public ReportTimer(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		ReportTime[playerid]--;
		if(ReportTime[playerid] > 0)
		{
		    SetTimerEx("ReportTimer", 1000, false, "i", playerid);
		}
	}
	return 1;
}

forward HelpTimer(playerid);
public HelpTimer(playerid)
{
	if(IsPlayerLoggedIn(playerid))
	{
		HelpTime[playerid]--;
		if(HelpTime[playerid] > 0)
		{
		    SetTimerEx("HelpTimer", 1000, false, "i", playerid);
		}
	}
	return 1;
}

forward TazeTimer(playerid);
public TazeTimer(playerid)
{
    if(IsPlayerLoggedIn(playerid))
	{
	    new string[128];
		if (TazeTimeout[playerid] > 0)
	   	{
	   		format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Tazer effect fading in ~w~%d ~r~seconds", TazeTimeout[playerid]);
			GameTextForPlayer(playerid, string,1500, 3);
			TazeTimeout[playerid] -= 1;
			ApplyAnimation(playerid,"CRACK","crckdeth2",4.1,0,1,1,1,1,1);
	   	}
	   	if(TazeTimeout[playerid] <= 0)
	   	{
	   	    KillTimer(TazeCountDown[playerid]);
	   	    TogglePlayerControllable(playerid, 1);
	   	    TogglePlayerTazed(playerid, 0);
	   	    ClearAnimations(playerid);
	   	    format(string, sizeof(string), "* %s recovers from the tazer effect and stands up.", RPN(playerid));
			SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
	   	}
   	}
	return 1;
}


forward CuffTimer(playerid);
public CuffTimer(playerid)
{
    if(IsPlayerLoggedIn(playerid))
	{
	    new string[128];
		if (CuffTimeout[playerid] > 0)
	   	{
	   		//format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Cuffs open in ~w~%d ~r~seconds", CuffTimeout[playerid]);
			//GameTextForPlayer(playerid, string,1500, 3);
			CuffTimeout[playerid] -= 1;
	   	}
	   	if(CuffTimeout[playerid] <= 0)
	   	{
	   	    KillTimer(CuffCountDown[playerid]);
	   	    TogglePlayerControllable(playerid, 1);
	   	    TogglePlayerCuffed(playerid, 0);
	   	    TogglePlayerTazed(playerid, 0);
	   	    if(!Uncuffed[playerid])
	   	    {
		   	    format(string, sizeof(string), "* %s manages to get their hands out of the cuffs.", RPN(playerid));
				SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE);
			}
			Uncuffed[playerid] = 0;
			KillTimer(CuffCountDown[playerid]);
			RemovePlayerAttachedObject(playerid, 0);
			ClearAnimations(playerid);
			SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
	   	}
   	}
	return 1;
}

forward PhoneCall(playerid);
public PhoneCall(playerid)
{
    if(IsPlayerLoggedIn(playerid))
	{
		new string[128];
		if(Calling[playerid])
		{
		    CallTime[playerid] ++;
		    format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Call timer: ~w~%d ~r~seconds", CallTime[playerid]);
			GameTextForPlayer(playerid, string,1500, 3);
		    SetTimerEx("PhoneCall", 1000, false, "d", playerid);
		}
	}
	return 1;
}

forward PrisonTimer();
public PrisonTimer()
{
	foreach(Player, playerid)
	{
		new string[128];
	    if(PlayerInfo[playerid][pPrisonTime] <=0)
	    {
	        if(PlayerInfo[playerid][pPrison] == 1) // SAPD Prison
			{
			    PlayerInfo[playerid][pPrison] = 0;
				PlayerInfo[playerid][pPrisonTime] = 0;
				SetPlayerInterior(playerid, 0);
				TogglePlayerCuffed(playerid, 0);
				Uncuffed[playerid] = 1;
				SetPlayerFacingAngle(playerid, 88.5042);
				SetPlayerColor(playerid, TRANSPARENT_WHITE);
				SetPlayerPos(playerid, 1548.8394,-1669.6111,13.5656);
				SetCameraBehindPlayer(playerid);
				SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have served your prison time, try to be a better citizen.");
				format(string, sizeof(string), "LSPD: %s has been released as they served their prison time.", RPN(playerid));
				foreach(Player, i)
				{
				    if(IsACop(i))
				    {
				        SendClientMessage(i, COLOR_BLUE, string);
				    }
				}
			}
	        else if(PlayerInfo[playerid][pPrison] == 2) // Admin Prison
			{
			    PlayerInfo[playerid][pPrison] = 0;
				PlayerInfo[playerid][pPrisonTime] = 0;
				format(PlayerInfo[playerid][pPrisonReason], 64, "");
				format(PlayerInfo[playerid][pPrisonBy], 32, "");
				SetPlayerInterior(playerid, 0);
				SetPlayerVirtualWorld(playerid, 0);
				SetPlayerFacingAngle(playerid, 88.5042);
				SetPlayerColor(playerid, TRANSPARENT_WHITE);
				SetPlayerPos(playerid, 1548.8394,-1669.6111,13.5656);
				SetCameraBehindPlayer(playerid);
				format(string, sizeof(string), "{FF0000}[Admin]{FF6347} %s has been released, reason: Prison time over", NORPN(playerid));
				SendClientMessageToAll(COLOR_LIGHTRED, string);
				SendClientMessage(playerid, COLOR_LIGHTBLUE, " You have served your prison time, try to be a better player.");
			}
	    }
	    else
	    {
	    	PlayerInfo[playerid][pPrisonTime] --;
	    	format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Prison Time Left: ~w~%d ~r~seconds", PlayerInfo[playerid][pPrisonTime]);
			GameTextForPlayer(playerid, string,1500, 3);
		}
	}
	return 1;
}

// Radio Plublics
public PlayVehicleRadioForPlayer(playerid,online)
{
    TextDrawShowForPlayer(playerid,StationText[online]);
	if(online == 0)
	{
	    StopAudioStreamForPlayer(playerid);
		WaitForBuf[playerid] = true;
		SetTimerEx("NonChangeRadio",5000,false,"i",playerid);
		SetTimerEx("HideStationTitle",3500,false,"id",playerid,0);
		return 1;
	}
	StopAudioStreamForPlayer(playerid);
	PlayAudioStreamForPlayer(playerid,RadioParams[online][1]);
	WaitForBuf[playerid] = true;
	SetTimerEx("NonChangeRadio",5000,false,"i",playerid);
	SetTimerEx("HideStationTitle",3500,false,"id",playerid,online);
	return 1;
}

public NonChangeRadio(playerid) return WaitForBuf[playerid] = false;

public HideStationTitle(playerid,numberid) return TextDrawHideForPlayer(playerid,StationText[numberid]);

public IsAVel(vehicleid)
{
	new model = GetVehicleModel(vehicleid);
	if(model == 481 || model == 509 || model == 510) return 1;
	return 0;
}

public CalculateX(numberid)
{
	new symbols = strlen(RadioParams[numberid][0]);
	if(24-symbols > 0) return 200+((24-symbols)*5);
	if(24-symbols < 0) return 200-((symbols - 24)*5);
	return 200;
}

public LoadRadioParams()
{
	new rf = ini_openFile("radio_settings.ini");
	ini_getInteger(rf,"Radios",NumOfRadio);
	for(new i = 1; i <= NumOfRadio; i++)
	{
	    new str[32];
		format(str,sizeof(str),"Radio_Title%d",i);
	    ini_getString(rf,str,RadioParams[i][0]);
	    format(str,sizeof(str),"Radio_URL%d",i);
	    ini_getString(rf,str,RadioParams[i][1]);
	}
	ini_closeFile(rf);
	return 1;
}

// Stocks
stock Float:GetPlayerPacketLoss(playerid) {

    new stats[401], stringstats[70];
    GetPlayerNetworkStats(playerid, stats, sizeof(stats));
    new len = strfind(stats, "Packetloss: ");
    new Float:packetloss = 0.0;
    if(len != -1) {
        strmid(stringstats, stats, len, strlen(stats));
        new len2 = strfind(stringstats, "%");
        if(len != -1) {
            strdel(stats, 0, strlen(stats));
            strmid(stats, stringstats, len2-3, len2);
            packetloss = floatstr(stats);
            }
    }
    return packetloss;
}

forward OnScriptUpdate();
public OnScriptUpdate()
{
	foreach(new i : Player) {
		new pPing = GetPlayerPing(i);
		new Float:pPacket = GetPlayerPacketLoss(i);
		new iString[128];
		format(iString,sizeof(iString),"~w~~h~~h~Ping ~r~~h~~h~%d			~w~~h~~h~PacketLoss ~r~~h~~h~%.1f%%", pPing, pPacket);
		PlayerTextDrawSetString(i, FPSPingPacket[i],iString);
	}
}

// health bar vehicle
stock UpdateHP(playerid)
{
	if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return 1;
	new Float:HP,veh;
 	veh = GetPlayerVehicleID(playerid);
	GetVehicleHealth(veh, HP);
	if(HP != OldHealth[playerid])
	{
		OldDamage[playerid]=OldHealth[playerid]-HP;
		OldHealth[playerid] = HP;
		if(OldDamage[playerid] > 0)
		{

			new texts[128];
			if(LabelActive[playerid])
			{
				CDamage[playerid]+=OldDamage[playerid];
				format(texts,sizeof(texts),"{ffd800}-%.0f\n%s",CDamage[playerid],UpdateString(HP));
				KillTimer(timercar[playerid]);
				timercar[playerid] = SetTimerEx("DeleteText", 2000, 0, "i", playerid);
			}
			else
			{
				LabelActive[playerid] = true;
				format(texts,sizeof(texts),"{ffd800}-%.0f\n%s",OldDamage[playerid],UpdateString(HP));
				timercar[playerid] = SetTimerEx("DeleteText", 2000, 0, "i", playerid);
			}
			UpdatePlayer3DTextLabelText(playerid, CarLabel[playerid], -1, texts);
		}
	}
	return 1;
}

stock UpdateBar(playerid)
{
	new Float:HP,veh;
 	veh = GetPlayerVehicleID(playerid);
	GetVehicleHealth(veh, HP);
	UpdateString(HP);
	UpdatePlayer3DTextLabelText(playerid, CarLabel[playerid], -1, UpdateString(HP));
	return 1;
}

stock UpdateString(Float:HP)
{
	new str[30];
	if(HP == 1000)          format(str,sizeof(str),"{00ff00}••••••••••");
	else if(HP >= 900)  	format(str,sizeof(str),"{66ff00}•••••••••{ffffff}•");
	else if(HP >= 800) 		format(str,sizeof(str),"{7fff00}••••••••{ffffff}••");
	else if(HP >= 700)		format(str,sizeof(str),"{ccff00}•••••••{ffffff}•••");
	else if(HP >= 600)		format(str,sizeof(str),"{f7f21a}••••••{ffffff}••••");
	else if(HP >= 500)		format(str,sizeof(str),"{f4c430}•••••{ffffff}•••••");
	else if(HP >= 400)		format(str,sizeof(str),"{e49b0f}••••{ffffff}••••••");
	else if(HP >= 300)		format(str,sizeof(str),"{e4650e}•••{ffffff}•••••••");
	else if(HP >= 250)		format(str,sizeof(str),"{ff2400}••{ffffff}••••••••");
	else 					format(str,sizeof(str),"{ff2400}Boom!");
	return str;
}


forward DeleteText(playerid);
public DeleteText(playerid)
{
	KillTimer(timercar[playerid]);
	LabelActive[playerid] = false;
	UpdateBar(playerid);
	CDamage[playerid]=0;
	return 1;
}

RespawnNearbyVehicles(playerid, Float:radi)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    for(new i=1; i<MAX_VEHICLES; i++)
    {
        if(GetVehicleModel(i))
        {
            new Float:posx, Float:posy, Float:posz;
            new Float:tempposx, Float:tempposy, Float:tempposz;
            GetVehiclePos(i, posx, posy, posz);
            tempposx = (posx - x);
            tempposy = (posy - y);
            tempposz = (posz - z);
            if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
            {
                SetVehicleToRespawn(i);
            }
        }
    }
}

stock SetPlayerWalkingStyle(playerid, style)
{
	PlayerInfo[playerid][pWalkStyle] = style;
}

stock GetPlayerWalkingStyle(playerid)
{
	return PlayerInfo[playerid][pWalkStyle];
}

forward WalkAnim(playerid);
public WalkAnim(playerid)
{
	new keys, updown, leftright;
	GetPlayerKeys(playerid,keys,updown,leftright);
	if (GetPlayerWalkingStyle(playerid) == WALK_NORMAL)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_player",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_player",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_PED)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_civi",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_civi",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
 	else if (GetPlayerWalkingStyle(playerid) == WALK_GANGSTA)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_gang1",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_gang1",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_GANGSTA2)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_gang2",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_OLD)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_old",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_old",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_FAT_OLD)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_fatold",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_fatold",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_FAT)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_fat",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_fat",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_LADY)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WOMAN_walknorm",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WOMAN_walknorm",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_LADY2)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WOMAN_walkbusy",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WOMAN_walkbusy",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_WHORE)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_WHORE2)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WOMAN_walksexy",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WOMAN_walksexy",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_DRUNK)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","WALK_drunk",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","WALK_drunk",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	else if (GetPlayerWalkingStyle(playerid) == WALK_BLIND)
	{
 	 	if ((keys & KEY_WALK && updown & KEY_UP) || (keys & KEY_WALK && updown & KEY_DOWN) || (keys & KEY_WALK && leftright & KEY_LEFT) || (keys & KEY_WALK && leftright & KEY_RIGHT))
		{
		   	KillTimer(walktime[playerid]);
			ApplyAnimation(playerid,"PED","Walk_Wuzi",4.1,1,1,1,1,1);
			walktime[playerid] = SetTimerEx("WalkAnim",200,0,"d",playerid);
		}
		else ApplyAnimation(playerid,"PED","Walk_Wuzi",4.0,0,0,0,0,1), KillTimer(walktime[playerid]);
	}
	return true;
}

stock SetVehicleForwardVelocity(vehicleid, Float:Velocity, Float:Z)
{
	new Float:Angle;
	new Float:SpeedX, Float:SpeedY;
	GetVehicleZAngle(vehicleid, Angle);
	SpeedX = floatsin(-Angle, degrees);
	SpeedY = floatcos(-Angle, degrees);
	SetVehicleVelocity(vehicleid, floatmul(Velocity, SpeedX), floatmul(Velocity, SpeedY), Z);
	return true;
}

public Zones_Update()
{
	new zone[MAX_ZONE_NAME], string[30];
	for(new i=0; i<MAX_PLAYERS; i++){
	GetPlayer2DZone(i, zone, MAX_ZONE_NAME);
	format(string,sizeof(string),"%s", zone);
	TextDrawSetString(Zones[i], string);
	TextDrawShowForPlayer(i, Zones[i]);}
	return 1;
}

stock IsPlayerInZone(playerid, zone[]) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
	new TmpZone[MAX_ZONE_NAME];
	GetPlayer3DZone(playerid, TmpZone, sizeof(TmpZone));
	for(new i = 0; i != sizeof(gSAZones); i++)
	{
		if(strfind(TmpZone, zone, true) != -1)
			return 1;
	}
	return 0;
}

stock GetPlayer2DZone(playerid, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
	new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);
 	for(new i = 0; i != sizeof(gSAZones); i++ )
 	{
		if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4])
		{
		    return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
		}
	}
	return 0;
}

stock GetPlayer3DZone(playerid, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).
{
	new Float:x, Float:y, Float:z;
	GetPlayerPos(playerid, x, y, z);
 	for(new i = 0; i != sizeof(gSAZones); i++ )
 	{
		if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4] && z >= gSAZones[i][SAZONE_AREA][2] && z <= gSAZones[i][SAZONE_AREA][5])
		{
		    return format(zone, len, gSAZones[i][SAZONE_NAME], 0);
		}
	}
	return 0;
}

/*stock Elevator_Initialize()
{
	// Initializes the elevator.

	Obj_Elevator 			= CreateDynamicObject(18755, 1786.678100, -1303.459472, GROUND_Z_COORD + ELEVATOR_OFFSET, 0.000000, 0.000000, 270.000000);
	Obj_ElevatorDoors[0] 	= CreateDynamicObject(18757, X_DOOR_CLOSED, -1303.459472, GROUND_Z_COORD, 0.000000, 0.000000, 270.000000);
	Obj_ElevatorDoors[1] 	= CreateDynamicObject(18756, X_DOOR_CLOSED, -1303.459472, GROUND_Z_COORD, 0.000000, 0.000000, 270.000000);

	Label_Elevator          = Create3DTextLabel("Press 'F' to use elevator", 0xFFFFDD, 1784.9822, -1302.0426, 13.6491, 4.0, 0, 1);

	new string[128],
		Float:z;

	for(new i; i < sizeof(Obj_FloorDoors); i ++)
	{
	    Obj_FloorDoors[i][0] 	= CreateDynamicObject(18757, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(i), 0.000000, 0.000000, 270.000000);
		Obj_FloorDoors[i][1] 	= CreateDynamicObject(18756, X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(i), 0.000000, 0.000000, 270.000000);

		format(string, sizeof(string), "%s\nPress 'F' to call", FloorNames[i]);

		if(i == 0)
		    z = 13.4713;
		else
		    z = 13.4713 + 8.7396 + ((i-1) * 5.45155);

		Label_Floors[i]         = Create3DTextLabel(string, 0xFFFFDD, 1783.9799, -1300.7660, z, 10.5, 0, 1);
		// Label_Elevator, Text3D:Label_Floors[21];
	}

	// Open ground floor doors:
	Floor_OpenDoors(0);
	Elevator_OpenDoors();

	return 1;
}

stock Elevator_Destroy()
{
	// Destroys the elevator.

	DestroyObject(Obj_Elevator);
	DestroyObject(Obj_ElevatorDoors[0]);
	DestroyObject(Obj_ElevatorDoors[1]);
	Delete3DTextLabel(Label_Elevator);

	for(new i; i < sizeof(Obj_FloorDoors); i ++)
	{
	    DestroyObject(Obj_FloorDoors[i][0]);
		DestroyObject(Obj_FloorDoors[i][1]);
		Delete3DTextLabel(Label_Floors[i]);
	}

	return 1;
}

stock Elevator_OpenDoors()
{
	// Opens the elevator's doors.

	new Float:x, Float:y, Float:z;

	GetObjectPos(Obj_ElevatorDoors[0], x, y, z);
	MoveObject(Obj_ElevatorDoors[0], X_DOOR_L_OPENED, y, z, DOORS_SPEED);
	MoveObject(Obj_ElevatorDoors[1], X_DOOR_R_OPENED, y, z, DOORS_SPEED);

	return 1;
}

stock Elevator_CloseDoors()
{
    // Closes the elevator's doors.

    if(ElevatorState == ELEVATOR_STATE_MOVING)
	    return 0;

    new Float:x, Float:y, Float:z;

	GetObjectPos(Obj_ElevatorDoors[0], x, y, z);
	MoveObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, y, z, DOORS_SPEED);
	MoveObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, y, z, DOORS_SPEED);

	return 1;
}

stock Floor_OpenDoors(floorid)
{
    // Opens the doors at the specified floor.

    MoveObject(Obj_FloorDoors[floorid][0], X_DOOR_L_OPENED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);
	MoveObject(Obj_FloorDoors[floorid][1], X_DOOR_R_OPENED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);

	return 1;
}

stock Floor_CloseDoors(floorid)
{
    // Closes the doors at the specified floor.

    MoveObject(Obj_FloorDoors[floorid][0], X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);
	MoveObject(Obj_FloorDoors[floorid][1], X_DOOR_CLOSED, -1303.171142, GetDoorsZCoordForFloor(floorid), DOORS_SPEED);

	return 1;
}

stock Elevator_MoveToFloor(floorid)
{
	// Moves the elevator to specified floor (doors are meant to be already closed).

	ElevatorState = ELEVATOR_STATE_MOVING;
	ElevatorFloor = floorid;

	// Move the elevator slowly, to give time to clients to sync the object surfing. Then, boost it up:
	MoveObject(Obj_Elevator, 1786.678100, -1303.459472, GetElevatorZCoordForFloor(floorid), 0.5);
    MoveObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), 0.5);
    MoveObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), 0.5);
    Delete3DTextLabel(Label_Elevator);

	ElevatorBoostTimer = SetTimerEx("Elevator_Boost", 2000, 0, "i", floorid);

	return 1;
}

public Elevator_Boost(floorid)
{
	// Increases the elevator's speed until it reaches 'floorid'

	MoveObject(Obj_Elevator, 1786.678100, -1303.459472, GetElevatorZCoordForFloor(floorid), ELEVATOR_SPEED);
    MoveObject(Obj_ElevatorDoors[0], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), ELEVATOR_SPEED);
    MoveObject(Obj_ElevatorDoors[1], X_DOOR_CLOSED, -1303.459472, GetDoorsZCoordForFloor(floorid), ELEVATOR_SPEED);

	return 1;
}

public Elevator_TurnToIdle()
{
	ElevatorState = ELEVATOR_STATE_IDLE;
	ReadNextFloorInQueue();

	return 1;
}

stock RemoveFirstQueueFloor()
{
	// Removes the data in ElevatorQueue[0], and reorders the queue accordingly.

	for(new i; i < sizeof(ElevatorQueue) - 1; i ++)
	    ElevatorQueue[i] = ElevatorQueue[i + 1];

	ElevatorQueue[sizeof(ElevatorQueue) - 1] = INVALID_FLOOR;

	return 1;
}

stock AddFloorToQueue(floorid)
{
 	// Adds 'floorid' at the end of the queue.

	// Scan for the first empty space:
	new slot = -1;
	for(new i; i < sizeof(ElevatorQueue); i ++)
	{
	    if(ElevatorQueue[i] == INVALID_FLOOR)
	    {
	        slot = i;
	        break;
	    }
	}

	if(slot != -1)
	{
	    ElevatorQueue[slot] = floorid;

     	// If needed, move the elevator.
	    if(ElevatorState == ELEVATOR_STATE_IDLE)
	        ReadNextFloorInQueue();

	    return 1;
	}

	return 0;
}

stock ResetElevatorQueue()
{
	// Resets the queue.

	for(new i; i < sizeof(ElevatorQueue); i ++)
	{
	    ElevatorQueue[i] 	= INVALID_FLOOR;
	    FloorRequestedBy[i] = INVALID_PLAYER_ID;
	}

	return 1;
}

stock IsFloorInQueue(floorid)
{
	// Checks if the specified floor is currently part of the queue.

	for(new i; i < sizeof(ElevatorQueue); i ++)
	    if(ElevatorQueue[i] == floorid)
	        return 1;

	return 0;
}

stock ReadNextFloorInQueue()
{
	// Reads the next floor in the queue, closes doors, and goes to it.

	if(ElevatorState != ELEVATOR_STATE_IDLE || ElevatorQueue[0] == INVALID_FLOOR)
	    return 0;

	Elevator_CloseDoors();
	Floor_CloseDoors(ElevatorFloor);

	return 1;
}

stock DidPlayerRequestElevator(playerid)
{
	for(new i; i < sizeof(FloorRequestedBy); i ++)
	    if(FloorRequestedBy[i] == playerid)
	        return 1;

	return 0;
}

stock ShowElevatorDialog(playerid)
{
	new string[512];
	for(new i; i < sizeof(ElevatorQueue); i ++)
	{
	    if(FloorRequestedBy[i] != INVALID_PLAYER_ID)
	        strcat(string, "{FF0000}");

	    strcat(string, FloorNames[i]);
	    strcat(string, "\n");
	}

	ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LIST, "Elevator", string, "Accept", "Cancel");

	return 1;
}

stock CallElevator(playerid, floorid)
{
	// Calls the elevator (also used with the elevator dialog).

	if(FloorRequestedBy[floorid] != INVALID_PLAYER_ID || IsFloorInQueue(floorid))
	    return 0;

	FloorRequestedBy[floorid] = playerid;
	AddFloorToQueue(floorid);

	return 1;
}

stock Float:GetElevatorZCoordForFloor(floorid)
    return (GROUND_Z_COORD + FloorZOffsets[floorid] + ELEVATOR_OFFSET); // A small offset for the elevator object itself.

stock Float:GetDoorsZCoordForFloor(floorid)
	return (GROUND_Z_COORD + FloorZOffsets[floorid]);*/

stock IsPlayerInSphere(playerid,Float:sx,Float:sy,Float:sz,sradius)
{
	if(GetPlayerDistanceToPointEx(playerid,sx,sy,sz) < sradius){
	return 1;
}
	return 0;
}


stock GetPlayerDistanceToPointEx(playerid,Float:sx,Float:sy,Float:sz)
{
	new Float:x1,Float:y1,Float:z1;
	new Float:tmpdis;
	GetPlayerPos(playerid,x1,y1,z1);
	tmpdis = floatsqroot(floatpower(floatabs(floatsub(sx,x1)),2)+floatpower(floatabs(floatsub(sy,y1)),2)+floatpower(floatabs(floatsub(sz,z1)),2));
	return floatround(tmpdis);
}

stock NearZone(playerid,otherplayer)
{
	new Float:newx,Float:newy,Float:newz;
	GetPlayerPos(playerid,newx,newy,newz);
	if(IsPlayerInSphere(otherplayer,newx,newy,newz,8)) return 1;
	return 0;
}

stock RPNU(playerid)
{
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	return name;
}

stock RPN(playerid)
{
	new string[25];
	if(PlayerInfo[playerid][pMaskOn] == 0)format(string, sizeof(string), "%s", RemoveUnderScore(playerid));
	else if(PlayerInfo[playerid][pMaskOn] == 1)format(string, sizeof(string), "Stranger");
	return string;
}


stock RemoveUnderScore(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if(name[i] == '_') name[i] = ' ';
    }
    return name;
}


stock NORPN(playerid)
{
	new astring[25];
	if(PlayerInfo[playerid][pHideOn] == 0)format(astring, sizeof(astring), "%s", RemoveUnderScore(playerid));
	else if(PlayerInfo[playerid][pHideOn] == 1)format(astring, sizeof(astring), "Anon");
	return astring;
}

/*
stock RPN(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if(name[i] == '_') name[i] = ' ';
    }
    return name;
}*/

stock IsHAVehicle(vehicleid)
{
	for(new i=0; i<9; i++)
	{
	    if(vehicleid == FacInfo[3][fCars][i]) return 1;
	}
	return 0;
}

stock IsGovVehicle(vehicleid)
{
	for(new i=0; i<12; i++)
	{
	    if(vehicleid == FacInfo[2][fCars][i]) return 1;
	}
	return 0;
}

stock IsDMVCar(vehicleid)
{
    for(new i=0; i<5; i++)
    {
        if(vehicleid == DMVCar[i]) return 1;
    }
    return 0;
}

/*stock IsDMVPCar(vehicleid)
{
    for(new i=0; i<5; i++)
    {
        if(vehicleid == DMVPCar[i]) return 1;
    }
    return 0;
}*/

stock IsNewsVehicle(vehicleid)
{
	for(new i=0; i<10; i++)
	{
	    if(vehicleid == FacInfo[4][fCars][i]) return 1;
	}
	return 0;
}

stock IsLeoVehicle(vehicleid)
{
	for(new i=0; i<55; i++)
	{
	    if(vehicleid == FacInfo[1][fCars][i]) return 1;
	}
	return 0;
}

stock IsLeoneVehicle(vehicleid)
{
	for(new i=0; i<15; i++)
	{
	    if(vehicleid == FacInfo[5][fCars][i]) return 1;
	}
	return 0;
}

stock IsFBIVehicle(vehicleid)
{
	for(new i=0; i<20; i++)
	{
	    if(vehicleid == FacInfo[6][fCars][i]) return 1;
	}
	return 0;
}

stock IsLSEMSVehicle(vehicleid)
{
	for(new i=0; i<25; i++)
	{
	    if(vehicleid == FacInfo[7][fCars][i]) return 1;
	}
	return 0;
}

stock IsHSFVehicle(vehicleid)
{
	for(new i=0; i<45; i++)
	{
	    if(vehicleid == FacInfo[8][fCars][i]) return 1;
	}
	return 0;
}

stock IsSWATVehicle(vehicleid)
{
	for(new i=0; i<15; i++)
	{
	    if(vehicleid == FacInfo[11][fCars][i]) return 1;
	}
	return 0;
}

stock IsSATFVehicle(vehicleid)
{
	for(new i=0; i<20; i++)
	{
	    if(vehicleid == FacInfo[12][fCars][i]) return 1;
	}
	return 0;
}

stock IsESFVehicle(vehicleid)
{
	for(new i=0; i<17; i++)
	{
	    if(vehicleid == FacInfo[13][fCars][i]) return 1;
	}
	return 0;
}

stock IsCORLEONEVehicle(vehicleid)
{
	for(new i=0; i<10; i++)
	{
	    if(vehicleid == FacInfo[9][fCars][i]) return 1;
	}
	return 0;
}


stock IsAncelottiVehicle(vehicleid)
{
	for(new i=0; i<10; i++)
	{
	    if(vehicleid == FacInfo[10][fCars][i]) return 1;
	}
	return 0;
}

stock IsFamVehicle(vehicleid)
{
	for(new idx=1; idx<MAX_FAMILIES; idx++)
	{
	    for(new v=0; v<5; v++)
	    {
			if(vehicleid == FamInfo[idx][fVeh][v]) return 1;
		}
	}
	return 0;
}

stock GFVS(vehicleid)
{
	new slot;
	for(new idx=1; idx<MAX_FAMILIES; idx++)
	{
	    for(new v=0; v<5; v++)
	    {
			if(vehicleid == FamInfo[idx][fVeh][v]) {slot = v;}
		}
	}
	return slot;
}

stock RVF(vehicleid)
{
	new fam;

	return fam;
}

stock IsTruckerVehicle(vehicleid)
{
	for(new i=0; i<10; i++)
	{
	    if(vehicleid == JobInfo[JOB_TRUCKER][jCars][i]) return 1;
	}
	return 0;
}

stock IsCruiser(vehicleid)
{
	for(new i=0; i<35; i++)
	{
	    if(vehicleid == FacInfo[1][fCars][i]) return 1;
	    if(vehicleid == FacInfo[6][fCars][i]) return 1;
	    if(vehicleid == FacInfo[8][fCars][i]) return 1;
	}
	return 0;
}

forward SAPDLobbyTimer();
public SAPDLobbyTimer()
{
	if(SAPDLobbyStatus == 1)
    {
    	MoveDynamicObject(SAPDLobby[0], 246.4050, 72.3000, 1003.6700, 1.50);
    	MoveDynamicObject(SAPDLobby[1], 246.4050, 72.5750, 1003.6650, 1.50);
    	MoveDynamicObject(SAPDLobby[2], 246.9850, 72.4500, 1003.7000, 1.50);
    	MoveDynamicObject(SAPDLobby[3], 245.8330, 72.4500, 1003.7000, 1.50);
    	SAPDLobbyStatus = 0;
    	foreach(Player, i)
    	{
			if(IsPlayerInRangeOfPoint(i, 15, 246.381317,72.578338,1003.706604) || IsPlayerInRangeOfPoint(i, 3, 246.381317,72.292190,1003.706604))
			{
				SendClientMessage(i, COLOR_PURPLE, "* The lobby door automatically closes. (( LSPD Lobby ))");
			}
		}
    }
	return 1;
}

forward SAPDCellsTimer();
public SAPDCellsTimer()
{
	if(SAPDCellsStatus == 1)
    {
    	MoveDynamicObject(SAPDCells[0], 259.105194,90.812126,1002.584350, 1.50);
    	MoveDynamicObject(SAPDCells[1], 258.843353,90.840599,1002.584350, 1.50);
    	MoveDynamicObject(SAPDCells[2], 258.949157,91.412040,1002.528625, 1.50);
    	MoveDynamicObject(SAPDCells[3], 258.949157,90.292076,1002.528625, 1.50);
    	SAPDCellsStatus = 0;
    	foreach(Player, i)
    	{
			if(IsPlayerInRangeOfPoint(i, 3, 259.105194,90.812126,1002.584350) || IsPlayerInRangeOfPoint(i, 3, 258.843353,90.840599,1002.584350))
			{
				SendClientMessage(i, COLOR_PURPLE, "* The cells door automatically closes. (( LSPD Cells ))");
			}
		}
    }
	return 1;
}

// Animations Defines

stock LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
	if (gPlayerUsingLoopingAnim[playerid] == 1) TextDrawHideForPlayer(playerid,txtAnimHelper);
	gPlayerUsingLoopingAnim[playerid] = 1;
	ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
	TextDrawShowForPlayer(playerid,txtAnimHelper);
	animation[playerid]++;
}

stock OnePlayAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)
{
	if (gPlayerUsingLoopingAnim[playerid] == 1) TextDrawHideForPlayer(playerid,txtAnimHelper);
	ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);
	animation[playerid]++;
}

stock StopLoopingAnim(playerid)
{
	gPlayerUsingLoopingAnim[playerid] = 0;
	ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
}

stock PreloadAnimLib(playerid, animlib[])
{
	ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0);
}

// End of animations defines

stock IsKeyJustDown(key, newkeys, oldkeys)
{
	if((newkeys & key) && !(oldkeys & key)) return 1;
	return 0;
}

stock RBT(bizid)
{
	new string[24];
	if(!BizInfo[bizid][bType]) format(string, sizeof(string), "None");
    else if(BizInfo[bizid][bType] == 1) format(string, sizeof(string), "24/7 Market");
    else if(BizInfo[bizid][bType] == 2) format(string, sizeof(string), "Clothes Shop");
    else if(BizInfo[bizid][bType] == 3) format(string, sizeof(string), "Ammunation");
    else if(BizInfo[bizid][bType] == 4) format(string, sizeof(string), "Club");
    //else if(BizInfo[bizid][bType] == 5) format(string, sizeof(string), "Advertisement Agency");
    else if(BizInfo[bizid][bType] == 5) format(string, sizeof(string), "Adv. Agency");
    else if(BizInfo[bizid][bType] == 6) format(string, sizeof(string), "Fast Food");
    else if(BizInfo[bizid][bType] == 7) format(string, sizeof(string), "Casino");
	return string;
}

stock RHS(bizid)
{
	new string[16];
	if(!HouseInfo[bizid][hStatus]) format(string, sizeof(string), "Closed");
    else if(HouseInfo[bizid][hStatus]) format(string, sizeof(string), "Open");
	return string;
}

stock RBS(bizid)
{
	new string[16];
	if(!BizInfo[bizid][bStatus]) format(string, sizeof(string), "Closed");
    else if(BizInfo[bizid][bStatus]) format(string, sizeof(string), "Open");
	return string;
}

stock RPBP(playerid)
{
	new string[32];
	if(!PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "%d", BizInfo[PlayerInfo[playerid][pBiz]][bProducts]);
	return string;
}

stock RPVIPBP(playerid)
{
	new string[32];
	if(!PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "%d", BizInfo[PlayerInfo[playerid][pVBiz]][bProducts]);
	return string;
}

stock RPPNO(playerid)
{
	new string[32];
	if(!PlayerInfo[playerid][pCellphone]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pCellphone]) format(string, sizeof(string), "%d", PlayerInfo[playerid][pCellphone]);
	return string;
}

stock RPBM(playerid)
{
	new string[32];
	if(!PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "$%d", BizInfo[PlayerInfo[playerid][pBiz]][bMoney]);
	return string;
}
stock RPBK(playerid)
{
	new string[8];
	if(!PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "0");
	else if(PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "%d", PlayerInfo[playerid][pBiz]);
	return string;
}

stock RPBS(playerid)
{
	new idx = PlayerInfo[playerid][pBiz];
	return BizInfo[idx][bSold];
}

stock RPBL(playerid)
{
	new string[32], idx = PlayerInfo[playerid][pBiz];
	if(!PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pBiz]) format(string, sizeof(string), "%d", BizInfo[idx][bLevel]);
	return string;
}

// VIP
stock RPVIPBM(playerid)
{
	new string[32];
	if(!PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "$%d", BizInfo[PlayerInfo[playerid][pVBiz]][bMoney]);
	return string;
}
stock RPVIPBK(playerid)
{
	new string[8];
	if(!PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "0");
	else if(PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "%d", PlayerInfo[playerid][pVBiz]);
	return string;
}

stock RPVIPBS(playerid)
{
	new idx = PlayerInfo[playerid][pVBiz];
	return BizInfo[idx][bSold];
}

stock RPVIPBL(playerid)
{
	new string[32], idx = PlayerInfo[playerid][pVBiz];
	if(!PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pVBiz]) format(string, sizeof(string), "%d", BizInfo[idx][bLevel]);
	return string;
}
//

stock RPHL(playerid)
{
	new string[32], idx = PlayerInfo[playerid][pHouse];
	if(!PlayerInfo[playerid][pHouse]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pHouse]) format(string, sizeof(string), "%d", HouseInfo[idx][hLevel]);
	return string;
}

stock RPVIPHL(playerid)
{
	new string[32], idx = PlayerInfo[playerid][pVHouse];
	if(!PlayerInfo[playerid][pVHouse]) format(string, sizeof(string), "0");
	else if(PlayerInfo[playerid][pVHouse]) format(string, sizeof(string), "%d", HouseInfo[idx][hLevel]);
	return string;
}

stock RPHK(playerid)
{
	new string[8];
	if(!PlayerInfo[playerid][pHouse]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pHouse]) format(string, sizeof(string), "%d", PlayerInfo[playerid][pHouse]);
	return string;
}

stock RPVIPHK(playerid)
{
	new string[8];
	if(!PlayerInfo[playerid][pVHouse]) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pVHouse]) format(string, sizeof(string), "%d", PlayerInfo[playerid][pVHouse]);
	return string;
}

stock RPJN(playerid)
{
	new string[32];
	if(PlayerInfo[playerid][pJob] == JOB_NONE) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pJob] == JOB_MECHANIC) format(string, sizeof(string), "Mechanic");
	else if(PlayerInfo[playerid][pJob] == JOB_LAWYER) format(string, sizeof(string), "Lawyer");
	else if(PlayerInfo[playerid][pJob] == JOB_TRUCKER) format(string, sizeof(string), "Trucker");
	else if(PlayerInfo[playerid][pJob] == JOB_WDEALER) format(string, sizeof(string), "Weapons Dealer");
	else if(PlayerInfo[playerid][pJob] == JOB_WSMUGGLER) format(string, sizeof(string), "Weapons Smuggler");
	else if(PlayerInfo[playerid][pJob] == JOB_DDEALER) format(string, sizeof(string), "Drugs Dealer");
	else if(PlayerInfo[playerid][pJob] == JOB_DSMUGGLER) format(string, sizeof(string), "Drugs Smuggler");
	else if(PlayerInfo[playerid][pJob] == JOB_BODYGUARD) format(string, sizeof(string), "Bodyguard");
 	else if(PlayerInfo[playerid][pJob] == JOB_BOXER) format(string, sizeof(string), "Boxer");
	else if(PlayerInfo[playerid][pJob] == JOB_THIEF) format(string, sizeof(string), "Thief");
	return string;
}

stock RPVJN(playerid)
{
	new string[32];
	if(PlayerInfo[playerid][pVIPJob] == JOB_NONE) format(string, sizeof(string), "None");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_MECHANIC) format(string, sizeof(string), "Mechanic");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_LAWYER) format(string, sizeof(string), "Lawyer");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_TRUCKER) format(string, sizeof(string), "Trucker");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_WDEALER) format(string, sizeof(string), "Weapons Dealer");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_WSMUGGLER) format(string, sizeof(string), "Weapons Smuggler");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_DDEALER) format(string, sizeof(string), "Drugs Dealer");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_DSMUGGLER) format(string, sizeof(string), "Drugs Smuggler");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_BODYGUARD) format(string, sizeof(string), "Bodyguard");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_BOXER) format(string, sizeof(string), "Boxer");
	else if(PlayerInfo[playerid][pVIPJob] == JOB_THIEF) format(string, sizeof(string), "Thief");
	return string;
}

stock RPJL(playerid, skillid)
{
    // Legal Jobs: 1) Mechanic | 2) Lawyer | 3) Trucker | 4) Fisher
	// Illegal Jobs: 5) Weapons Dealer | 6) Weapons Smuggler | 7) Drugs Dealer | 8) Drugs Smuggler | 9) Car Jacker
	// L1: 0 | L2: 100 | L3: 300 | L4: 700 | L5: 1200
	new string[4], skill, level;
	skill = PlayerInfo[playerid][pJobSkill][skillid];
	if(skill < 100) level = 1;
	else if(skill < 300) level = 2;
	else if(skill < 700) level = 3;
	else if(skill < 1200) level = 4;
	else if(skill >= 1200) level = 5;
	format(string, sizeof(string), "%d", level);
	return string;
}

stock RPJS(playerid, jobid)
{
	return PlayerInfo[playerid][pJobSkill][jobid];
}


stock RPPN(playerid)
{
	new string[16];
	format(string, sizeof(string), "None");
	if(PlayerInfo[playerid][pJob] == JOB_TRUCKER)
	{
		if(PlayerInfo[playerid][pTPackages] == 1) format(string, sizeof(string), "Products");
	}
	else if(PlayerInfo[playerid][pJob] == JOB_WSMUGGLER)
	{
        if(PlayerInfo[playerid][pMPackages]) format(string, sizeof(string), "Materials");
	}
	else if(PlayerInfo[playerid][pJob] == JOB_DSMUGGLER)
	{
        if(PlayerInfo[playerid][pDPackages] == 1) format(string, sizeof(string), "Weed");
        else if(PlayerInfo[playerid][pDPackages] == 2) format(string, sizeof(string), "Crack");
	}
	return string;
}

stock GetVehicleSpeed(vehicleid, get3d)
{
	new Float:x, Float:y, Float:z;
	GetVehicleVelocity(vehicleid, x, y, z);
	return SpeedCheck(x, y, z, 100.0, get3d);
}

stock AddZaiatWantedLevel(playerid, crime[])
{
	PlayerInfo[playerid][pCrimes] ++;
	PlayerInfo[playerid][pWanted] ++;
    SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+1);
    if(PlayerInfo[playerid][pWanted] == 1) format(PlayerInfo[playerid][pWanted1], 64, "%s", crime);
    if(PlayerInfo[playerid][pWanted] == 2) format(PlayerInfo[playerid][pWanted2], 64, "%s", crime);
    if(PlayerInfo[playerid][pWanted] == 3) format(PlayerInfo[playerid][pWanted3], 64, "%s", crime);
    if(PlayerInfo[playerid][pWanted] == 4) format(PlayerInfo[playerid][pWanted4], 64, "%s", crime);
    if(PlayerInfo[playerid][pWanted] == 5) format(PlayerInfo[playerid][pWanted5], 64, "%s", crime);
    if(PlayerInfo[playerid][pWanted] == 6) format(PlayerInfo[playerid][pWanted6], 64, "%s", crime);
	return 1;
}

stock ClearZaiatWantedLevels(playerid)
{
    PlayerInfo[playerid][pWanted] = 0;
    SetPlayerWantedLevel(playerid, 0);
    format(PlayerInfo[playerid][pWanted1], 64, "");
    format(PlayerInfo[playerid][pWanted2], 64, "");
    format(PlayerInfo[playerid][pWanted3], 64, "");
    format(PlayerInfo[playerid][pWanted4], 64, "");
    format(PlayerInfo[playerid][pWanted5], 64, "");
    format(PlayerInfo[playerid][pWanted6], 64, "");
	return 1;
}

stock IsPlayerNearBankBooth(playerid)
{
	if(IsPlayerInRangeOfPoint(playerid, 2, 2227.3281,1655.5314,961.7531)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 2228.5593,1651.2610,961.7596)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 2236.6938,1634.4552,961.7531)) return 1;
	else if(IsPlayerInRangeOfPoint(playerid, 2, 2250.9041,1662.3793,961.7531)) return 1;
	return 0;
}

stock IsPlayerNearAtm(playerid)
{
	//new path[32];
	for(new a=0;a<MAX_ATM;a++)
	{
	    //format(path,sizeof(path),"atms/atm%d.txt",a);
		if(IsPlayerInRangeOfPoint(playerid, 3, atmInfo[a][aX],atmInfo[a][aY],atmInfo[a][aZ])) return 1;
	}
	return 0;
}

stock Paycheck()
{
	// Bank Robbery
	if(BankRobberyTime) BankRobberyTime --;
	// Bonus Calculation
	new bonus;
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i)) bonus ++;
	}
	bonus = bonus*2;
	// Paycheck
	foreach(Player, i)
	{
	    if(IsPlayerLoggedIn(i))
	    {
	        if(PlayerInfo[i][pMinutes] >= 40)
	        {
	            new string[128], idx;
	            // Calculating Paycheck
		        new paycheck = ((PlayerInfo[i][pMinutes]*PlayerInfo[i][pMinutes]) / 12) * PlayerInfo[i][pLevel];
		        new taxamount = (TaxPercent * paycheck) / 100;
		        new finalpaycheck = paycheck + strval(FACPAY(i)) - taxamount;
		        if(PlayerInfo[i][pInternet]) {finalpaycheck = finalpaycheck - 50; TaxMoney += 50;}
		        idx = PlayerInfo[i][pBiz];
		        if(PlayerInfo[i][pBiz]) {finalpaycheck = finalpaycheck - (BizInfo[idx][bLevel] * PlayerInfo[i][pLevel]); TaxMoney += (BizInfo[idx][bLevel] * PlayerInfo[i][pLevel]);}
                idx = PlayerInfo[i][pHouse];
				if(PlayerInfo[i][pHouse]) {finalpaycheck = finalpaycheck - (HouseInfo[idx][hLevel] * PlayerInfo[i][pLevel]); TaxMoney += (HouseInfo[idx][hLevel] * PlayerInfo[i][pLevel]);}
				if(PlayerInfo[i][pVIP] == 2) {finalpaycheck = finalpaycheck * (125/100);}
				if(PlayerInfo[i][pVIP] == 3) {finalpaycheck = finalpaycheck * (150/100);}
				if(PlayerInfo[i][pVIP] == 4) {finalpaycheck = finalpaycheck * (200/100);}
				finalpaycheck = finalpaycheck + ((bonus/100)*finalpaycheck);
				// Increasing Respect
				new calc, stack[4];
				if(PlayerInfo[i][pMinutes] >= 120)
				{
					calc = (PlayerInfo[i][pMinutes]/60);
					format(stack, sizeof(stack), "%d", calc);
			        PlayerInfo[i][pHours] += strval(stack);
		        }
		        else
		        {
		            PlayerInfo[i][pHours] ++;
		        }
		        // Levels: 1-30
				new OldLevel = PlayerInfo[i][pLevel];
		        if(PlayerInfo[i][pLevel] == 1 && PlayerInfo[i][pHours] >= 4) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 2 && PlayerInfo[i][pHours] >= 12) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 3 && PlayerInfo[i][pHours] >= 16) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 4 && PlayerInfo[i][pHours] >= 20) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 5 && PlayerInfo[i][pHours] >= 24) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 6 && PlayerInfo[i][pHours] >= 60) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 7 && PlayerInfo[i][pHours] >= 80) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 8 && PlayerInfo[i][pHours] >= 100) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 9 && PlayerInfo[i][pHours] >= 125) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 10 && PlayerInfo[i][pHours] >= 144) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 11 && PlayerInfo[i][pHours] >= 173) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 12 && PlayerInfo[i][pHours] >= 200) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 13 && PlayerInfo[i][pHours] >= 250) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 14 && PlayerInfo[i][pHours] >= 300) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 15 && PlayerInfo[i][pHours] >= 350) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 16 && PlayerInfo[i][pHours] >= 400) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 17 && PlayerInfo[i][pHours] >= 450) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 18 && PlayerInfo[i][pHours] >= 500) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 19 && PlayerInfo[i][pHours] >= 550) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 20 && PlayerInfo[i][pHours] >= 600) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 21 && PlayerInfo[i][pHours] >= 700) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 22 && PlayerInfo[i][pHours] >= 750) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 23 && PlayerInfo[i][pHours] >= 800) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 24 && PlayerInfo[i][pHours] >= 850) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 25 && PlayerInfo[i][pHours] >= 900) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 26 && PlayerInfo[i][pHours] >= 950) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 27 && PlayerInfo[i][pHours] >= 1000) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 28 && PlayerInfo[i][pHours] >= 1050) PlayerInfo[i][pLevel]++;
		        else if(PlayerInfo[i][pLevel] == 29 && PlayerInfo[i][pHours] >= 1100) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 30 && PlayerInfo[i][pHours] >= 1125) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 31 && PlayerInfo[i][pHours] >= 1150) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 32 && PlayerInfo[i][pHours] >= 1175) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 33 && PlayerInfo[i][pHours] >= 1200) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 34 && PlayerInfo[i][pHours] >= 1225) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 35 && PlayerInfo[i][pHours] >= 1260) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 36 && PlayerInfo[i][pHours] >= 1280) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 37 && PlayerInfo[i][pHours] >= 1310) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 38 && PlayerInfo[i][pHours] >= 1290) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 39 && PlayerInfo[i][pHours] >= 1320) PlayerInfo[i][pLevel]++;
				else if(PlayerInfo[i][pLevel] == 41 && PlayerInfo[i][pHours] >= 1350) PlayerInfo[i][pLevel]++;
                new NewLevel = PlayerInfo[i][pLevel];
		        // Setting Level
				format(string, sizeof(string), "~r~Level up");
				GameTextForPlayer(i, string, 5000, 1);
				PlayerPlaySound(i, 1052, 0.0, 0.0, 0.0);
		        SetPlayerScore(i, PlayerInfo[i][pLevel]);
		        new oldbalance = PlayerInfo[i][pBank];
		        PlayerInfo[i][pBank] += finalpaycheck;
		        TaxMoney += taxamount;
		        // Paycheck Report
	    		//SendClientMessage(i, COLOR_LIGHTBLUE, "|________ BANK STATEMENT ________|");
	    		SendClientMessage(i, COLOR_WHITE, "{FF6347}===================== {FFFFFF}Los Santos Payday {FF6347}=====================");
	    		format(string, sizeof(string), "{FF6347}Minutes Played: {FFFFFF}%d {FF6347} {FF6347}Level: {FFFFFF}%d  {FF6347}Respect: {FFFFFF}%d", PlayerInfo[i][pMinutes], PlayerInfo[i][pLevel], PlayerInfo[i][pHours]);
	    		SendClientMessage(i, COLOR_FADE1, string);
	    		format(string, sizeof(string), "{FF6347}Paycheck: {FFFFFF}$%d  {FF6347}Tax: {FFFFFF}$%d (%d percent)  {FF6347}Final Paycheck: {FFFFFF}$%d", paycheck, taxamount, TaxPercent, finalpaycheck);
				SendClientMessage(i, COLOR_FADE1, string);
	    		format(string, sizeof(string), "{FF6347}Old Balance: {FFFFFF}$%d {FF6347}Faction Pay: {FFFFFF}$%d {FF6347}New Balance: {FFFFFF}$%d", oldbalance, FACPAY(i), PlayerInfo[i][pBank]);
	    		SendClientMessage(i, COLOR_FADE1, string);
				if(OldLevel != NewLevel) SendClientMessage(i, COLOR_FADE1, "{FF6347}* You have increased your level by playing a lot.");
				SendClientMessage(i, COLOR_WHITE, "{FF6347}==========================================================");
	    		/*if(PlayerInfo[i][pMinutes] >= 120)
				{
					format(string, sizeof(string), "* You have been given %d respect points for playing for %d minutes.", strval(stack), PlayerInfo[i][pMinutes]);
	            	if(PlayerInfo[i][pVIPBuddy]) PlayerInfo[i][pVIPBuddy] -= strval(stack);
				}
				else
				{
					format(string, sizeof(string), "* You have been given 1 respect point for playing for %d minutes.", PlayerInfo[i][pMinutes]);
	            	if(PlayerInfo[i][pVIPBuddy]) PlayerInfo[i][pVIPBuddy] --;
				}
				SendClientMessage(i, COLOR_LIGHTBLUE, string);*/
				//if(PlayerInfo[i][pInternet]) SendClientMessage(i, COLOR_LIGHTBLUE, "* You have been charged $50 for having smartphone internet service activated.");
                idx = PlayerInfo[i][pBiz];
				if(PlayerInfo[i][pBiz])
				{
				    //format(string, sizeof(string), "* You have been charged $%d for having a business.", BizInfo[idx][bLevel] * PlayerInfo[i][pLevel]);
				    //SendClientMessage(i, COLOR_LIGHTBLUE, string);
				}
				idx = PlayerInfo[i][pHouse];
				if(PlayerInfo[i][pHouse])
				{
				    //format(string, sizeof(string), "* You have been charged $%d for having a house.", HouseInfo[idx][hLevel] * PlayerInfo[i][pLevel]);
				    //SendClientMessage(i, COLOR_LIGHTBLUE, string);
				}
				//if(PlayerInfo[i][pVIP] == 2) SendClientMessage(i, COLOR_VIP, "* Silver VIP: Your paycheck was 25 percent higher than usual.");
				//else if(PlayerInfo[i][pVIP] == 3) SendClientMessage(i, COLOR_VIP, "* Gold VIP: Your paycheck was 50 percent higher than usual.");
				//else if(PlayerInfo[i][pVIP] == 4) SendClientMessage(i, COLOR_VIP, "* Platinum VIP: Your paycheck was 100 percent higher than usual.");
				// Paycheck Bonus
				//format(string, sizeof(string), "* Bonus: Your paycheck was %d percent higher as we have %d players online.", bonus, bonus/2);
				//SendClientMessage(i, COLOR_LIME, string);
				// Clearing Playing Minutes
	    		PlayerInfo[i][pMinutes] = 0;
	    		// Giving a reward point
	    		/*if(!PlayerInfo[i][pVIP])
	    		{
		    		PlayerInfo[i][pReward] ++;
		    		if(PlayerInfo[i][pReward] >= 12)
		    		{
						PlayerInfo[i][pReward] = 0;
						PlayerInfo[i][pVIP] = 2;
						PlayerInfo[i][pVIPTemp] = 60*24;
						format(string, sizeof(string), "RewardWarn: %s has been rewarded a Silver VIP package for 24 hours for being active.", RPN(i));
						SendClientMessageToAll(COLOR_VIP, string);
						Log("logs/makevip.log", string);
						SendClientMessage(i, COLOR_LIGHTBLUE, " You will not be rewarded again until your Silver VIP reward time is over.");
		    		}
		    		else
		    		{
						format(string, sizeof(string), "* You have gained an activity point, you have total of %d points.", PlayerInfo[i][pReward]);
						SendClientMessage(i, COLOR_VIP, string);
		    		}
	    		}*/
	    		// Loyal Points
	    		if(!PlayerInfo[i][pLoyal])
	    		{
	    		    PlayerInfo[i][pLPoints] ++;
   					//format(string, sizeof(string), "* You have gained a loyalty point, you have total of %d points.", PlayerInfo[i][pLPoints]);
	    		    //SendClientMessage(i, COLOR_LIME, string);
       			}
    		}
    		else
			{
			    SendClientMessage(i, COLOR_LIGHTRED, " You haven't played long enough to recieve a paycheck.");
			}
			PayChecks = 1;
			SetTimer("PayCheckDone", 5000, false);
		}
    }
	return 1;
}

stock stringContainsIP(const szStr[])
{
    new
        iDots,
        i
    ;
    while(szStr[i] != EOS)
    {
        if('0' <= szStr[i] <= '9')
        {
            do
            {
                if(szStr[i] == '.')
                    iDots++;

                i++;
            }
            while(('0' <= szStr[i] <= '9') || szStr[i] == '.' || szStr[i] == ':');
        }
        if(iDots > 2)
            return 1;
        else
            iDots = 0;

        i++;
    }
    return 0;
}



// new function
stock RPIDFN(playername[])
{
  for(new i = 0; i <= MAX_PLAYERS; i++)
  {
    if(IsPlayerConnected(i))
    {
      new playername2[MAX_PLAYER_NAME];
      GetPlayerName(i, playername2, sizeof(playername2));
      if(strcmp(playername2, playername, true, strlen(playername)) == 0)
      {
        return i;
      }
    }
  }
  return INVALID_PLAYER_ID;
}

stock SetVehicleSpeed(vehicleid,mph) //Miles Per Hour
{
	new Float:Vx,Float:Vy,Float:Vz,Float:DV,Float:multiple;
	GetVehicleVelocity(vehicleid,Vx,Vy,Vz);
	DV = floatsqroot(Vx*Vx + Vy*Vy + Vz*Vz);
	if(DV > 0) //Directional velocity must be greater than 0 (display strobes if 0)
	{
		multiple = (mph / (DV * 100)); //Multiplying DV by 100 calculates speed in MPH
		return SetVehicleVelocity(vehicleid,Vx*multiple,Vy*multiple,Vz*multiple);
	}
	return 0;
}

stock ModifyVehicleSpeed(vehicleid,mph) //Miles Per Hour
{
	new Float:Vx,Float:Vy,Float:Vz,Float:DV,Float:multiple;
	GetVehicleVelocity(vehicleid,Vx,Vy,Vz);
	DV = floatsqroot(Vx*Vx + Vy*Vy + Vz*Vz);
	if(DV > 0) //Directional velocity must be greater than 0 (display strobes if 0)
	{
		multiple = ((mph + DV * 100) / (DV * 100)); //Multiplying DV by 100 calculates speed in MPH
		return SetVehicleVelocity(vehicleid,Vx*multiple,Vy*multiple,Vz*multiple);
	}
	return 0;
}

stock GetPlayerSpeed(playerid, get3d)
{
	new Float:x, Float:y, Float:z;
	if(IsPlayerInAnyVehicle(playerid)) GetVehicleVelocity(GetPlayerVehicleID(playerid), x, y, z);
	else GetPlayerVelocity(playerid, x, y, z);
	return SpeedCheck(x, y, z, 100.0, get3d);
}

stock RVN(carid)
{
    new name[32];
	switch(carid)
	{
		case 0: format(name, sizeof(name), "None");
		case 400: format(name, sizeof(name), "Landstalker");
		case 401: format(name, sizeof(name), "Bravura");
		case 402: format(name, sizeof(name), "Buffalo");
		case 403: format(name, sizeof(name), "Linerunner");
		case 404: format(name, sizeof(name), "Perenniel");
		case 405: format(name, sizeof(name), "Sentinel");
		case 406: format(name, sizeof(name), "Dumper");
		case 407: format(name, sizeof(name), "Firetruck");
		case 408: format(name, sizeof(name), "Trashmaster");
		case 409: format(name, sizeof(name), "Stretch");
		case 410: format(name, sizeof(name), "Manana");
		case 411: format(name, sizeof(name), "Infernus");
		case 412: format(name, sizeof(name), "Voodoo");
		case 413: format(name, sizeof(name), "Pony");
		case 414: format(name, sizeof(name), "Mule");
		case 415: format(name, sizeof(name), "Cheetah");
		case 416: format(name, sizeof(name), "Ambulance");
		case 417: format(name, sizeof(name), "Leviathan");
		case 418: format(name, sizeof(name), "Moonbeam");
		case 419: format(name, sizeof(name), "Esperanto");
		case 420: format(name, sizeof(name), "Taxi");
		case 421: format(name, sizeof(name), "Washington");
		case 422: format(name, sizeof(name), "Bobcat");
		case 423: format(name, sizeof(name), "Mr Whoopee");
		case 424: format(name, sizeof(name), "BF Injection");
		case 425: format(name, sizeof(name), "Hunter");
		case 426: format(name, sizeof(name), "Premier");
		case 427: format(name, sizeof(name), "Enforcer");
		case 428: format(name, sizeof(name), "Securicar");
		case 429: format(name, sizeof(name), "Banshee");
		case 430: format(name, sizeof(name), "Predator");
		case 431: format(name, sizeof(name), "Bus");
		case 432: format(name, sizeof(name), "Rhino");
		case 433: format(name, sizeof(name), "Barracks");
		case 434: format(name, sizeof(name), "Hotknife");
		case 435: format(name, sizeof(name), "Article Trailer");
		case 436: format(name, sizeof(name), "Previon");
		case 437: format(name, sizeof(name), "Coach");
		case 438: format(name, sizeof(name), "Cabbie");
		case 439: format(name, sizeof(name), "Stallion");
		case 440: format(name, sizeof(name), "Rumpo");
		case 441: format(name, sizeof(name), "RC Bandit");
		case 442: format(name, sizeof(name), "Romero");
		case 443: format(name, sizeof(name), "Packer");
		case 444: format(name, sizeof(name), "Monster");
		case 445: format(name, sizeof(name), "Admiral");
		case 446: format(name, sizeof(name), "Squallo");
		case 447: format(name, sizeof(name), "Seasparrow");
		case 448: format(name, sizeof(name), "Pizzaboy");
		case 449: format(name, sizeof(name), "Tram");
		case 450: format(name, sizeof(name), "Article Trailer ");
		case 451: format(name, sizeof(name), "Turismo");
		case 452: format(name, sizeof(name), "Speeder");
		case 453: format(name, sizeof(name), "Reefer");
		case 454: format(name, sizeof(name), "Tropic");
		case 455: format(name, sizeof(name), "Flatbed");
		case 456: format(name, sizeof(name), "Yankee");
		case 457: format(name, sizeof(name), "Caddy");
		case 458: format(name, sizeof(name), "Solair");
		case 459: format(name, sizeof(name), "Topfun Van");
		case 460: format(name, sizeof(name), "Skimmer");
		case 461: format(name, sizeof(name), "PCJ-600");
		case 462: format(name, sizeof(name), "Faggio");
		case 463: format(name, sizeof(name), "Freeway");
		case 464: format(name, sizeof(name), "RC Baron");
		case 465: format(name, sizeof(name), "RC Raider");
		case 466: format(name, sizeof(name), "Glendale");
		case 467: format(name, sizeof(name), "Oceanic");
		case 468: format(name, sizeof(name), "Sanchez");
		case 469: format(name, sizeof(name), "Sparrow");
		case 470: format(name, sizeof(name), "Patriot");
		case 471: format(name, sizeof(name), "Quad");
		case 472: format(name, sizeof(name), "Coastguard");
		case 473: format(name, sizeof(name), "Dinghy");
		case 474: format(name, sizeof(name), "Hermes");
		case 475: format(name, sizeof(name), "Sabre");
		case 476: format(name, sizeof(name), "Rustler");
		case 477: format(name, sizeof(name), "ZR-350");
		case 478: format(name, sizeof(name), "Walton");
		case 479: format(name, sizeof(name), "Regina");
		case 480: format(name, sizeof(name), "Comet");
		case 481: format(name, sizeof(name), "BMX");
		case 482: format(name, sizeof(name), "Burrito");
		case 483: format(name, sizeof(name), "Camper");
		case 484: format(name, sizeof(name), "Marquis");
		case 485: format(name, sizeof(name), "Baggage");
		case 486: format(name, sizeof(name), "Dozer");
		case 487: format(name, sizeof(name), "Maverick");
		case 488: format(name, sizeof(name), "SAN News Maverick");
		case 489: format(name, sizeof(name), "Rancher");
		case 490: format(name, sizeof(name), "FBI Rancher");
		case 491: format(name, sizeof(name), "Virgo");
		case 492: format(name, sizeof(name), "Greenwood");
		case 493: format(name, sizeof(name), "Jetmax");
		case 494: format(name, sizeof(name), "Hotring Racer");
		case 495: format(name, sizeof(name), "Sandking");
		case 496: format(name, sizeof(name), "Blista Compact");
		case 497: format(name, sizeof(name), "Police Maverick");
		case 498: format(name, sizeof(name), "Boxville");
		case 499: format(name, sizeof(name), "Benson");
		case 500: format(name, sizeof(name), "Mesa");
		case 501: format(name, sizeof(name), "RC Goblin");
		case 502: format(name, sizeof(name), "Hotring Racer");
		case 503: format(name, sizeof(name), "Hotring Racer");
		case 504: format(name, sizeof(name), "Bloodring Banger");
		case 505: format(name, sizeof(name), "Rancher");
		case 506: format(name, sizeof(name), "Super GT");
		case 507: format(name, sizeof(name), "Elegant");
		case 508: format(name, sizeof(name), "Journey");
		case 509: format(name, sizeof(name), "Bike");
		case 510: format(name, sizeof(name), "Mountain Bike");
		case 511: format(name, sizeof(name), "Beagle");
		case 512: format(name, sizeof(name), "Cropduster");
		case 513: format(name, sizeof(name), "Stuntplane");
		case 514: format(name, sizeof(name), "Tanker");
		case 515: format(name, sizeof(name), "Roadtrain");
		case 516: format(name, sizeof(name), "Nebula");
		case 517: format(name, sizeof(name), "Majestic");
		case 518: format(name, sizeof(name), "Buccaneer");
		case 519: format(name, sizeof(name), "Shamal");
		case 520: format(name, sizeof(name), "Hydra");
		case 521: format(name, sizeof(name), "FCR-900");
		case 522: format(name, sizeof(name), "NRG-500");
		case 523: format(name, sizeof(name), "HPV1000");
		case 524: format(name, sizeof(name), "Cement Truck");
		case 525: format(name, sizeof(name), "Towtruck");
		case 526: format(name, sizeof(name), "Fortune");
		case 527: format(name, sizeof(name), "Cadrona");
		case 528: format(name, sizeof(name), "FBI Truck");
		case 529: format(name, sizeof(name), "Willard");
		case 530: format(name, sizeof(name), "Forklift");
		case 531: format(name, sizeof(name), "Tractor");
		case 532: format(name, sizeof(name), "Combine Harvester");
		case 533: format(name, sizeof(name), "Feltzer");
		case 534: format(name, sizeof(name), "Remington");
		case 535: format(name, sizeof(name), "Slamvan");
		case 536: format(name, sizeof(name), "Blade");
		case 537: format(name, sizeof(name), "Freight");
		case 538: format(name, sizeof(name), "Brownstreak");
		case 539: format(name, sizeof(name), "Vortex");
		case 540: format(name, sizeof(name), "Vincent");
		case 541: format(name, sizeof(name), "Bullet");
		case 542: format(name, sizeof(name), "Clover");
		case 543: format(name, sizeof(name), "Sadler");
		case 544: format(name, sizeof(name), "Firetruck LA");
		case 545: format(name, sizeof(name), "Hustler");
		case 546: format(name, sizeof(name), "Intruder");
		case 547: format(name, sizeof(name), "Primo");
		case 548: format(name, sizeof(name), "Cargobob");
		case 549: format(name, sizeof(name), "Tampa");
		case 550: format(name, sizeof(name), "Sunrise");
		case 551: format(name, sizeof(name), "Merit");
		case 552: format(name, sizeof(name), "Utility Van");
		case 553: format(name, sizeof(name), "Nevada");
		case 554: format(name, sizeof(name), "Yosemite");
		case 555: format(name, sizeof(name), "Windsor");
		case 556: format(name, sizeof(name), "Monster A");
		case 557: format(name, sizeof(name), "Monster B");
		case 558: format(name, sizeof(name), "Uranus");
		case 559: format(name, sizeof(name), "Jester");
		case 560: format(name, sizeof(name), "Sultan");
		case 561: format(name, sizeof(name), "Stratum");
		case 562: format(name, sizeof(name), "Elegy");
		case 563: format(name, sizeof(name), "Raindance");
		case 564: format(name, sizeof(name), "RC Tiger");
		case 565: format(name, sizeof(name), "Flash");
		case 566: format(name, sizeof(name), "Tahoma");
		case 567: format(name, sizeof(name), "Savanna");
		case 568: format(name, sizeof(name), "Bandito");
		case 569: format(name, sizeof(name), "Freight Flat Trailer");
		case 570: format(name, sizeof(name), "Streak Trailer");
		case 571: format(name, sizeof(name), "Kart");
		case 572: format(name, sizeof(name), "Mower");
		case 573: format(name, sizeof(name), "Dune");
		case 574: format(name, sizeof(name), "Sweeper");
		case 575: format(name, sizeof(name), "Broadway");
		case 576: format(name, sizeof(name), "Tornado");
		case 577: format(name, sizeof(name), "AT400");
		case 578: format(name, sizeof(name), "DFT-30");
		case 579: format(name, sizeof(name), "Huntley");
		case 580: format(name, sizeof(name), "Stafford");
		case 581: format(name, sizeof(name), "BF-400");
		case 582: format(name, sizeof(name), "Newsvan");
		case 583: format(name, sizeof(name), "Tug");
		case 584: format(name, sizeof(name), "Petrol Trailer");
		case 585: format(name, sizeof(name), "Emperor");
		case 586: format(name, sizeof(name), "Wayfarer");
		case 587: format(name, sizeof(name), "Euros");
		case 588: format(name, sizeof(name), "Hotdog");
		case 589: format(name, sizeof(name), "Club");
		case 590: format(name, sizeof(name), "Freight Box Trailer");
		case 591: format(name, sizeof(name), "Article Trailer 3");
		case 592: format(name, sizeof(name), "Andromada");
		case 593: format(name, sizeof(name), "Dodo");
		case 594: format(name, sizeof(name), "RC Cam");
		case 595: format(name, sizeof(name), "Launch");
		case 596: format(name, sizeof(name), "LS Cruiser");
		case 597: format(name, sizeof(name), "SF Cruiser");
		case 598: format(name, sizeof(name), "LV Cruiser");
		case 599: format(name, sizeof(name), "Police Ranger");
		case 600: format(name, sizeof(name), "Picador");
		case 601: format(name, sizeof(name), "S.W.A.T");
		case 602: format(name, sizeof(name), "Alpha");
		case 603: format(name, sizeof(name), "Phoenix");
		case 604: format(name, sizeof(name), "Glendale Shit");
		case 605: format(name, sizeof(name), "Sadler Shit");
		case 606: format(name, sizeof(name), "Baggage Trailer A");
		case 607: format(name, sizeof(name), "Baggage Trailer B");
		case 608: format(name, sizeof(name), "Tug Stairs Trailer");
		case 609: format(name, sizeof(name), "Boxville");
		case 610: format(name, sizeof(name), "Farm Trailer");
		case 611: format(name, sizeof(name), "Utility Trailer");
	}
    return name;
}

// BEGIN OF VIP TUNING
stock CarmodDialog(playerid)
{
	ShowPlayerDialog(playerid,1111,DIALOG_STYLE_LIST,"Select things to put in your car","Nitro\nCar Color\nWheels\nStereo\nHydraulics\nCar Components","Select","Cancel");
	return 1;
}
stock Lowrider(playerid)
{
    ShowPlayerDialog(playerid,1001,DIALOG_STYLE_LIST,"Choose one","Paintjob\nChrome\nSlamin\n{FF0000}Back","Select","Cancel");
    return 1;
}
stock RegularCarDialog(playerid)
{
    new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
 	new string[128];
	if(vehmd == 401 || vehmd == 496 || vehmd == 518 || vehmd == 540 || vehmd == 546 || vehmd == 589)
	{string = "Spoiler\nHood\nRoof\nVents\nSideskirt\nLights\n{FF0000}Back";}
	else if(vehmd == 549)
	{string = "Spoiler\nHood\nVents\nSideskirt\nLights\n{FF0000}Back";}
	else if(vehmd == 550)
	{string = "Spoiler\nHood\nRoof\nVents\nLights\n{FF0000}Back";}
	else if(vehmd == 585 || vehmd == 603)
	{string = "Spoiler\nRoof\nVents\nSideskirt\nLights\n{FF0000}Back";}
	else if(vehmd == 410 || vehmd == 436)
	{string = "Spoiler\nRoof\nSideskirt\nLights\n{FF0000}Back";}
	else if(vehmd == 439 || vehmd == 458)
	{string = "Spoiler\nVents\nSideskirt\nLights\n{FF0000}Back";}
	else if(vehmd == 551 || vehmd == 492 || vehmd == 529)
	{string = "Spoiler\nHood\nRoof\nSideskirt\n{FF0000}Back";}
	else if(vehmd == 489 || vehmd == 505)
	{string = "Spoiler\nHood\nRoof\nLights\n{FF0000}Back";}
	else if(vehmd == 516)
	{string = "Spoiler\nHood\nSideskirt\n{FF0000}Back";}
	else if(vehmd == 491 || vehmd == 517)
	{string = "Spoiler\nVents\nSideskirt\n{FF0000}Back";}
	else if(vehmd == 418 || vehmd == 527 || vehmd == 580)
	{string = "Spoiler\nRoof\nSideskirt\n{FF0000}Back";}
	else if(vehmd == 420 || vehmd == 587)
	{string = "Spoiler\nHood\n{FF0000}Back";}
	else if(vehmd == 547)
	{string = "Spoiler\nVents\n{FF0000}Back";}
	else if(vehmd == 415)
	{string = "Spoiler\nSideskirt\n{FF0000}Back";}

    ShowPlayerDialog(playerid,1004,DIALOG_STYLE_LIST,"Choose one",string,"Select","Cancel");
    return 1;
}
stock Mod(playerid)//Alien
{
    ShowPlayerDialog(playerid,1511,DIALOG_STYLE_LIST,"Choose one","Right Sideskirt\nLeft Sideskirt\nExhaust\nRoof\nSpoiler\nFront Bumper\nRear Bumper\n{FF0000}Back","Select","Cancle");
    return 1;
}
stock Mod1(playerid)//X-Flow
{
	ShowPlayerDialog(playerid,1512,DIALOG_STYLE_LIST,"Choose one","Right Sideskirt\nLeft Sideskirt\nExhaust\nRoof\nSpoiler\nFront Bumper\nRear Bumper\n{FF0000}Back","Select","Cancle");
	return 1;
}
stock Mod2(playerid)//Chrome
{
    new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
    new string[128];
	if(vehmd == 576 || vehmd == 575)
	{string = "Right Sideskirt\nLeft Sideskirt\nExhaust\nFront Bumper\nRear Bumper\n{FF0000}Back";}
	else if(vehmd == 535)
	{string = "Front Bullbars\nRear Bullbars\nExhaust\nFront Bumper\nRight Sideskirt\nLeft Sideskirt\n{FF0000}Back";}
	else if(vehmd == 567 || vehmd == 536)
	{string = "Exhaust\nRight Sideskirt\nLeft Sideskirt\nRear Bumper\nFront Bumper\n{FF0000}Back";}
	else if(vehmd == 534)
	{string = "Grill\nBars\nLights\nExhaust\nFront Bumper\nRear Bumper\n{FF0000}Back";}

    ShowPlayerDialog(playerid,1513,DIALOG_STYLE_LIST,"Choose one",string,"Select","Cancle");
	return 1;
}
stock Mod3(playerid)//Slamin
{
    new vehmd = GetVehicleModel(GetPlayerVehicleID(playerid));
    new string[128];
    if(vehmd == 575 || vehmd == 576)
	{string = "Exhaust\nFront Bumper\nRear Bumper\n{FF0000}Back";}
	else if(vehmd == 535)
	{string = "Rear Bullbars\nFront Bullbars\nExhaust\nRight Sideskirt\nLeft Sidedkirt\n{FF0000}Back";}
	else if(vehmd == 567 || vehmd == 536 || vehmd == 534)
	{string = "Front Bumper\nRear Bumper\nExhaust\n{FF0000}Back";}
    ShowPlayerDialog(playerid,1514,DIALOG_STYLE_LIST,"Choose one",string,"Select","Cancle");
    return 1;
}
// END OF VIP TUNING

// Anti CS
forward OnPlayerCBug(playerid);
public OnPlayerCBug(playerid) {
	if(!Event[playerid])
	{
		new Float:H;
		GetPlayerHealth(playerid, H);
		SetPlayerHealth(playerid, H-5);
	}
	return 1;
}
forward CrouchCheck(playerid);
public CrouchCheck(playerid) {
	CheckCrouch[playerid] = 0;
	return 1;
}


stock SaveToys(playerid, file[])
{
	// Toys Model
	dini_IntSet(file, "tModel0", PlayerInfo[playerid][pToyModel][0]);
	dini_IntSet(file, "tModel1", PlayerInfo[playerid][pToyModel][1]);
	dini_IntSet(file, "tModel2", PlayerInfo[playerid][pToyModel][2]);
	dini_IntSet(file, "tModel3", PlayerInfo[playerid][pToyModel][3]);
	dini_IntSet(file, "tModel4", PlayerInfo[playerid][pToyModel][4]);
	dini_IntSet(file, "tModel5", PlayerInfo[playerid][pToyModel][5]);
	dini_IntSet(file, "tModel6", PlayerInfo[playerid][pToyModel][6]);
	dini_IntSet(file, "tModel7", PlayerInfo[playerid][pToyModel][7]);
	dini_IntSet(file, "tModel8", PlayerInfo[playerid][pToyModel][8]);
	dini_IntSet(file, "tModel9", PlayerInfo[playerid][pToyModel][9]);
	// Toys X
	dini_FloatSet(file, "tX0", PlayerInfo[playerid][pToyX][0]);	dini_FloatSet(file, "tX1", PlayerInfo[playerid][pToyX][1]);	dini_FloatSet(file, "tX2", PlayerInfo[playerid][pToyX][2]);	dini_FloatSet(file, "tX3", PlayerInfo[playerid][pToyX][3]);
	dini_FloatSet(file, "tX4", PlayerInfo[playerid][pToyX][4]);	dini_FloatSet(file, "tX5", PlayerInfo[playerid][pToyX][5]);	dini_FloatSet(file, "tX6", PlayerInfo[playerid][pToyX][6]);	dini_FloatSet(file, "tX7", PlayerInfo[playerid][pToyX][7]);
	dini_FloatSet(file, "tX8", PlayerInfo[playerid][pToyX][8]);	dini_FloatSet(file, "tX9", PlayerInfo[playerid][pToyX][9]);
	// Toys Y
	dini_FloatSet(file, "tY0", PlayerInfo[playerid][pToyY][0]);	dini_FloatSet(file, "tY1", PlayerInfo[playerid][pToyY][1]);	dini_FloatSet(file, "tY2", PlayerInfo[playerid][pToyY][2]);	dini_FloatSet(file, "tY3", PlayerInfo[playerid][pToyY][3]);
	dini_FloatSet(file, "tY4", PlayerInfo[playerid][pToyY][4]);	dini_FloatSet(file, "tY5", PlayerInfo[playerid][pToyY][5]);	dini_FloatSet(file, "tY6", PlayerInfo[playerid][pToyY][6]);	dini_FloatSet(file, "tY7", PlayerInfo[playerid][pToyY][7]);
	dini_FloatSet(file, "tY8", PlayerInfo[playerid][pToyY][8]); dini_FloatSet(file, "tY9", PlayerInfo[playerid][pToyY][9]);
	// Toy Z
	dini_FloatSet(file, "tZ0", PlayerInfo[playerid][pToyZ][0]);	dini_FloatSet(file, "tZ1", PlayerInfo[playerid][pToyZ][1]);	dini_FloatSet(file, "tZ2", PlayerInfo[playerid][pToyZ][2]);	dini_FloatSet(file, "tZ3", PlayerInfo[playerid][pToyZ][3]);
	dini_FloatSet(file, "tZ4", PlayerInfo[playerid][pToyZ][4]);	dini_FloatSet(file, "tZ5", PlayerInfo[playerid][pToyZ][5]);	dini_FloatSet(file, "tZ6", PlayerInfo[playerid][pToyZ][6]);	dini_FloatSet(file, "tZ7", PlayerInfo[playerid][pToyZ][7]);
	dini_FloatSet(file, "tZ8", PlayerInfo[playerid][pToyZ][8]);	dini_FloatSet(file, "tZ9", PlayerInfo[playerid][pToyZ][9]);
	// Toy RX
	dini_FloatSet(file, "tRX0", PlayerInfo[playerid][pToyRX][0]); dini_FloatSet(file, "tRX1", PlayerInfo[playerid][pToyRX][1]);	dini_FloatSet(file, "tRX2", PlayerInfo[playerid][pToyRX][2]); dini_FloatSet(file, "tRX3", PlayerInfo[playerid][pToyRX][3]);
	dini_FloatSet(file, "tRX4", PlayerInfo[playerid][pToyRX][4]); dini_FloatSet(file, "tRX5", PlayerInfo[playerid][pToyRX][5]);	dini_FloatSet(file, "tRX6", PlayerInfo[playerid][pToyRX][6]); dini_FloatSet(file, "tRX7", PlayerInfo[playerid][pToyRX][7]);
	dini_FloatSet(file, "tRX8", PlayerInfo[playerid][pToyRX][8]); dini_FloatSet(file, "tRX9", PlayerInfo[playerid][pToyRX][9]);
	// Toy RY
	dini_FloatSet(file, "tRY0", PlayerInfo[playerid][pToyRY][0]); dini_FloatSet(file, "tRY1", PlayerInfo[playerid][pToyRY][1]);	dini_FloatSet(file, "tRY2", PlayerInfo[playerid][pToyRY][2]); dini_FloatSet(file, "tRY3", PlayerInfo[playerid][pToyRY][3]);
	dini_FloatSet(file, "tRY4", PlayerInfo[playerid][pToyRY][4]); dini_FloatSet(file, "tRY5", PlayerInfo[playerid][pToyRY][5]);	dini_FloatSet(file, "tRY6", PlayerInfo[playerid][pToyRY][6]); dini_FloatSet(file, "tRY7", PlayerInfo[playerid][pToyRY][7]);
	dini_FloatSet(file, "tRY8", PlayerInfo[playerid][pToyRY][8]); dini_FloatSet(file, "tRY9", PlayerInfo[playerid][pToyRY][9]);
	// Toy RZ
	dini_FloatSet(file, "tRZ0", PlayerInfo[playerid][pToyRZ][0]); dini_FloatSet(file, "tRZ1", PlayerInfo[playerid][pToyRZ][1]);	dini_FloatSet(file, "tRZ2", PlayerInfo[playerid][pToyRZ][2]); dini_FloatSet(file, "tRZ3", PlayerInfo[playerid][pToyRZ][3]);
	dini_FloatSet(file, "tRZ4", PlayerInfo[playerid][pToyRZ][4]); dini_FloatSet(file, "tRZ5", PlayerInfo[playerid][pToyRZ][5]);	dini_FloatSet(file, "tRZ6", PlayerInfo[playerid][pToyRZ][6]); dini_FloatSet(file, "tRZ7", PlayerInfo[playerid][pToyRZ][7]);
	dini_FloatSet(file, "tRZ8", PlayerInfo[playerid][pToyRZ][8]); dini_FloatSet(file, "tRZ9", PlayerInfo[playerid][pToyRZ][9]);
	// Toy SX
	dini_FloatSet(file, "tSX0", PlayerInfo[playerid][pToySX][0]); dini_FloatSet(file, "tSX1", PlayerInfo[playerid][pToySX][1]);	dini_FloatSet(file, "tSX2", PlayerInfo[playerid][pToySX][2]); dini_FloatSet(file, "tSX3", PlayerInfo[playerid][pToySX][3]);
	dini_FloatSet(file, "tSX4", PlayerInfo[playerid][pToySX][4]); dini_FloatSet(file, "tSX5", PlayerInfo[playerid][pToySX][5]);	dini_FloatSet(file, "tSX6", PlayerInfo[playerid][pToySX][6]); dini_FloatSet(file, "tSX7", PlayerInfo[playerid][pToySX][7]);
	dini_FloatSet(file, "tSX8", PlayerInfo[playerid][pToySX][8]); dini_FloatSet(file, "tSX9", PlayerInfo[playerid][pToySX][9]);
	// Toy SY
	dini_FloatSet(file, "tSY0", PlayerInfo[playerid][pToySY][0]); dini_FloatSet(file, "tSY1", PlayerInfo[playerid][pToySY][1]);	dini_FloatSet(file, "tSY2", PlayerInfo[playerid][pToySY][2]); dini_FloatSet(file, "tSY3", PlayerInfo[playerid][pToySY][3]);
	dini_FloatSet(file, "tSY4", PlayerInfo[playerid][pToySY][4]); dini_FloatSet(file, "tSY5", PlayerInfo[playerid][pToySY][5]);	dini_FloatSet(file, "tSY6", PlayerInfo[playerid][pToySY][6]); dini_FloatSet(file, "tSY7", PlayerInfo[playerid][pToySY][7]);
	dini_FloatSet(file, "tSY8", PlayerInfo[playerid][pToySY][8]); dini_FloatSet(file, "tSY9", PlayerInfo[playerid][pToySY][9]);
	// Toy SZ
	dini_FloatSet(file, "tSZ0", PlayerInfo[playerid][pToySZ][0]); dini_FloatSet(file, "tSZ1", PlayerInfo[playerid][pToySZ][1]);	dini_FloatSet(file, "tSZ2", PlayerInfo[playerid][pToySZ][2]); dini_FloatSet(file, "tSZ3", PlayerInfo[playerid][pToySZ][3]);
	dini_FloatSet(file, "tSZ4", PlayerInfo[playerid][pToySZ][4]); dini_FloatSet(file, "tSZ5", PlayerInfo[playerid][pToySZ][5]);	dini_FloatSet(file, "tSZ6", PlayerInfo[playerid][pToySZ][6]); dini_FloatSet(file, "tSZ7", PlayerInfo[playerid][pToySZ][7]);
	dini_FloatSet(file, "tSZ8", PlayerInfo[playerid][pToySZ][8]); dini_FloatSet(file, "tSZ9", PlayerInfo[playerid][pToySZ][9]);
	return 1;
}

stock LoadToys(playerid, file[])
{
	// Toys
	PlayerInfo[playerid][pToyModel][0] = dini_Int(file, "tModel0");
	PlayerInfo[playerid][pToyModel][1] = dini_Int(file, "tModel1");
	PlayerInfo[playerid][pToyModel][2] = dini_Int(file, "tModel2");
	PlayerInfo[playerid][pToyModel][3] = dini_Int(file, "tModel3");
	PlayerInfo[playerid][pToyModel][4] = dini_Int(file, "tModel4");
	PlayerInfo[playerid][pToyModel][5] = dini_Int(file, "tModel5");
	PlayerInfo[playerid][pToyModel][6] = dini_Int(file, "tModel6");
	PlayerInfo[playerid][pToyModel][7] = dini_Int(file, "tModel7");
	PlayerInfo[playerid][pToyModel][8] = dini_Int(file, "tModel8");
	PlayerInfo[playerid][pToyModel][9] = dini_Int(file, "tModel9");
	// Toys X
	PlayerInfo[playerid][pToyX][0] = dini_Float(file, "tX0"); PlayerInfo[playerid][pToyX][1] = dini_Float(file, "tX1");	PlayerInfo[playerid][pToyX][2] = dini_Float(file, "tX2"); PlayerInfo[playerid][pToyX][3] = dini_Float(file, "tX3");
	PlayerInfo[playerid][pToyX][4] = dini_Float(file, "tX4"); PlayerInfo[playerid][pToyX][5] = dini_Float(file, "tX5");	PlayerInfo[playerid][pToyX][6] = dini_Float(file, "tX6"); PlayerInfo[playerid][pToyX][7] = dini_Float(file, "tX7");
	PlayerInfo[playerid][pToyX][8] = dini_Float(file, "tX8"); PlayerInfo[playerid][pToyX][9] = dini_Float(file, "tX9");
	// Toys Y
	PlayerInfo[playerid][pToyY][0] = dini_Float(file, "tY0"); PlayerInfo[playerid][pToyY][1] = dini_Float(file, "tY1");	PlayerInfo[playerid][pToyY][2] = dini_Float(file, "tY2"); PlayerInfo[playerid][pToyY][3] = dini_Float(file, "tY3");
	PlayerInfo[playerid][pToyY][4] = dini_Float(file, "tY4"); PlayerInfo[playerid][pToyY][5] = dini_Float(file, "tY5");	PlayerInfo[playerid][pToyY][6] = dini_Float(file, "tY6"); PlayerInfo[playerid][pToyY][7] = dini_Float(file, "tY7");
	PlayerInfo[playerid][pToyY][8] = dini_Float(file, "tY8"); PlayerInfo[playerid][pToyY][9] = dini_Float(file, "tY9");
	// Toy Z
	PlayerInfo[playerid][pToyZ][0] = dini_Float(file, "tZ0"); PlayerInfo[playerid][pToyZ][1] = dini_Float(file, "tZ1");	PlayerInfo[playerid][pToyZ][2] = dini_Float(file, "tZ2"); PlayerInfo[playerid][pToyZ][3] = dini_Float(file, "tZ3");
	PlayerInfo[playerid][pToyZ][4] = dini_Float(file, "tZ4"); PlayerInfo[playerid][pToyZ][5] = dini_Float(file, "tZ5");	PlayerInfo[playerid][pToyZ][6] = dini_Float(file, "tZ6"); PlayerInfo[playerid][pToyZ][7] = dini_Float(file, "tZ7");
	PlayerInfo[playerid][pToyZ][8] = dini_Float(file, "tZ8"); PlayerInfo[playerid][pToyZ][9] = dini_Float(file, "tZ9");
	// Toy RX
	PlayerInfo[playerid][pToyRX][0] = dini_Float(file, "tRX0"); PlayerInfo[playerid][pToyRX][1] = dini_Float(file, "tRX1");	PlayerInfo[playerid][pToyRX][2] = dini_Float(file, "tRX2"); PlayerInfo[playerid][pToyRX][3] = dini_Float(file, "tRX3");
	PlayerInfo[playerid][pToyRX][4] = dini_Float(file, "tRX4"); PlayerInfo[playerid][pToyRX][5] = dini_Float(file, "tRX5");	PlayerInfo[playerid][pToyRX][6] = dini_Float(file, "tRX6"); PlayerInfo[playerid][pToyRX][7] = dini_Float(file, "tRX7");
	PlayerInfo[playerid][pToyRX][8] = dini_Float(file, "tRX8"); PlayerInfo[playerid][pToyRX][9] = dini_Float(file, "tRX9");
	// Toy RY
	PlayerInfo[playerid][pToyRY][0] = dini_Float(file, "tRY0");	PlayerInfo[playerid][pToyRY][1] = dini_Float(file, "tRY1");	PlayerInfo[playerid][pToyRY][2] = dini_Float(file, "tRY2");	PlayerInfo[playerid][pToyRY][3] = dini_Float(file, "tRY3");
	PlayerInfo[playerid][pToyRY][4] = dini_Float(file, "tRY4");	PlayerInfo[playerid][pToyRY][5] = dini_Float(file, "tRY5");	PlayerInfo[playerid][pToyRY][6] = dini_Float(file, "tRY6");	PlayerInfo[playerid][pToyRY][7] = dini_Float(file, "tRY7");
	PlayerInfo[playerid][pToyRY][8] = dini_Float(file, "tRY8");	PlayerInfo[playerid][pToyRY][9] = dini_Float(file, "tRY9");
	// Toy RZ
	PlayerInfo[playerid][pToyRZ][0] = dini_Float(file, "tRZ0");	PlayerInfo[playerid][pToyRZ][1] = dini_Float(file, "tRZ1");	PlayerInfo[playerid][pToyRZ][2] = dini_Float(file, "tRZ2");	PlayerInfo[playerid][pToyRZ][3] = dini_Float(file, "tRZ3");
	PlayerInfo[playerid][pToyRZ][4] = dini_Float(file, "tRZ4");	PlayerInfo[playerid][pToyRZ][5] = dini_Float(file, "tRZ5");	PlayerInfo[playerid][pToyRZ][6] = dini_Float(file, "tRZ6");	PlayerInfo[playerid][pToyRZ][7] = dini_Float(file, "tRZ7");
	PlayerInfo[playerid][pToyRZ][8] = dini_Float(file, "tRZ8");	PlayerInfo[playerid][pToyRZ][9] = dini_Float(file, "tRZ9");
	// Toy SX
	PlayerInfo[playerid][pToySX][0] = dini_Float(file, "tSX0");	PlayerInfo[playerid][pToySX][1] = dini_Float(file, "tSX1");	PlayerInfo[playerid][pToySX][2] = dini_Float(file, "tSX2");	PlayerInfo[playerid][pToySX][3] = dini_Float(file, "tSX3");
	PlayerInfo[playerid][pToySX][4] = dini_Float(file, "tSX4");	PlayerInfo[playerid][pToySX][5] = dini_Float(file, "tSX5");	PlayerInfo[playerid][pToySX][6] = dini_Float(file, "tSX6");	PlayerInfo[playerid][pToySX][7] = dini_Float(file, "tSX7");
	PlayerInfo[playerid][pToySX][8] = dini_Float(file, "tSX8");	PlayerInfo[playerid][pToySX][9] = dini_Float(file, "tSX9");
	// Toy SY
	PlayerInfo[playerid][pToySY][0] = dini_Float(file, "tSY0");	PlayerInfo[playerid][pToySY][1] = dini_Float(file, "tSY1");	PlayerInfo[playerid][pToySY][2] = dini_Float(file, "tSY2");	PlayerInfo[playerid][pToySY][3] = dini_Float(file, "tSY3");
	PlayerInfo[playerid][pToySY][4] = dini_Float(file, "tSY4");	PlayerInfo[playerid][pToySY][5] = dini_Float(file, "tSY5");	PlayerInfo[playerid][pToySY][6] = dini_Float(file, "tSY6");	PlayerInfo[playerid][pToySY][7] = dini_Float(file, "tSY7");
	PlayerInfo[playerid][pToySY][8] = dini_Float(file, "tSY8");	PlayerInfo[playerid][pToySY][9] = dini_Float(file, "tSY9");
	// Toy SZ
	PlayerInfo[playerid][pToySZ][0] = dini_Float(file, "tSZ0");	PlayerInfo[playerid][pToySZ][1] = dini_Float(file, "tSZ1");	PlayerInfo[playerid][pToySZ][2] = dini_Float(file, "tSZ2");	PlayerInfo[playerid][pToySZ][3] = dini_Float(file, "tSZ3");
	PlayerInfo[playerid][pToySZ][4] = dini_Float(file, "tSZ4");	PlayerInfo[playerid][pToySZ][5] = dini_Float(file, "tSZ5");	PlayerInfo[playerid][pToySZ][6] = dini_Float(file, "tSZ6");	PlayerInfo[playerid][pToySZ][7] = dini_Float(file, "tSZ7");
	PlayerInfo[playerid][pToySZ][8] = dini_Float(file, "tSZ8");	PlayerInfo[playerid][pToySZ][9] = dini_Float(file, "tSZ9");
	for(new i=0; i<10; i++) // Toys
    {
	 	if(PlayerInfo[playerid][pToySX][i] == 0) PlayerInfo[playerid][pToySX][i] = 1;
	    if(PlayerInfo[playerid][pToySY][i] == 0) PlayerInfo[playerid][pToySY][i] = 1;
	    if(PlayerInfo[playerid][pToySZ][i] == 0) PlayerInfo[playerid][pToySZ][i] = 1;
    }
	return 1;
}

stock RPTN(playerid, slot)
{
    new name[24], toy = PlayerInfo[playerid][pToyModel][slot];
    format(name, sizeof(name), "None");
    // Model assigning
	if(toy >= 19006 && toy <= 19035) format(name, sizeof(name), "Glasses");
	else if(toy >= 19039 && toy <= 19053) format(name, sizeof(name), "Watch");
	else if(toy >= 18891 && toy <= 18910) format(name, sizeof(name), "Bandana");
	else if(toy >= 18926 && toy <= 18935) format(name, sizeof(name), "Hat");
	else if(toy >= 18911 && toy <= 18920) format(name, sizeof(name), "Mask");
	else if(toy == 18640 || toy == 18975 || toy == 19077 || toy == 19136 || toy == 19274) format(name, sizeof(name), "Hair");
	else if(toy == 18643 || toy >= 19080 && toy <= 19084) format(name, sizeof(name), "Laser");
	else if(toy >= 19421 && toy <= 19424) format(name, sizeof(name), "Headphones");
	else if(toy == 19317) format(name, sizeof(name), "Guitar");
	else if(toy == 19352) format(name, sizeof(name), "TopHat");
	else if(toy == 18645 || toy >= 18976 && toy <= 18979) format(name, sizeof(name), "Motorcycle Helmet");
	else if(toy == 18675) format(name, sizeof(name), "Smoke Puff");
	else if(toy == 19142) format(name, sizeof(name), "Police Vest");
	else if(toy == 19141) format(name, sizeof(name), "Swat Helmet");
	else if(toy == 18637) format(name, sizeof(name), "Police Shield");
	else if(toy == 18642) format(name, sizeof(name), "Tazer");
	else if(toy == 330) format(name, sizeof(name), "Tazer");
	else if(toy == 18639) format(name, sizeof(name), "Black Hat");
	else if(toy == 1485) format(name, sizeof(name), "Cigar");
	else if(toy == 19317) format(name, sizeof(name), "Bass Guitar");
	return name;
}
