Really need help with these errors.
#1

I didnt addd a single thing, just went to compile and got:
Код:
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(269) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(291) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(313) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(335) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(357) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(379) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(401) : error 017: undefined symbol "IsPlayerNPC"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(428) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(429) : error 017: undefined symbol "CreatePlayer3DTextLabel"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(431) : error 017: undefined symbol "DeletePlayer3DTextLabel"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\pawno\include\streamer.inc(449) : error 017: undefined symbol "UpdatePlayer3DTextLabelText"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(685) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(686) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(750) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(751) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(880) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(1028) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(1132) : warning 217: loose indentation
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7189) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7190) : error 017: undefined symbol "Create3DTextLabel"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7227) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7303) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7309) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7314) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(7494) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8376) : error 025: function heading differs from prototype
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8381) : error 025: function heading differs from prototype
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8386) : error 025: function heading differs from prototype
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8422) : warning 235: public function lacks forward declaration (symbol "OnRconLoginAttempt")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8427) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8432) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamIn")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8437) : warning 235: public function lacks forward declaration (symbol "OnPlayerStreamOut")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8442) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamIn")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8447) : warning 235: public function lacks forward declaration (symbol "OnVehicleStreamOut")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8452) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8475) : warning 202: number of arguments does not match definition
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8668) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8711) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8816) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8820) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8824) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8828) : error 017: undefined symbol "ShowPlayerDialog"
C:\Program Files (x86)\Rockstar Games\GTA San Andreas2\SAMP\gamemodes\MegaParadiseFreeroam.pwn(8836) : error 017: undefined symbol "ShowPlayerDialog"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
I understand the Loose Indention i can fix that but any one know? :\
Reply
#2

Pawn code?
Reply
#3

Quote:
Originally Posted by Faisal_khan
Посмотреть сообщение
Pawn code?
Its my gamemode.
Reply
#4

He means where is your code? We are not telepathic super-human beings that can automatically tell what's wrong without looking at your code.
Reply
#5

Quote:
Originally Posted by Walsh
Посмотреть сообщение
He means where is your code? We are not telepathic super-human beings that can automatically tell what's wrong without looking at your code.
Here lemme post each line that has errors.
Reply
#6

line 7189 - 8836 the lines with errors, heres that code :
Код:
	neonpickup = CreatePickup(1318, 14, -2448.3794,-122.6430,26.1381, -1);
	Create3DTextLabel("Neon Garage",0x008080FF,-2448.3794,-122.6430,26.1381,40.0,0);
	print("~~~Toretto Racing Basic Configuration loaded!~~~~");
	print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
	
	return 1;
}
public OnGameModeExit()
{
 	TextDrawHideForAll(Capstext);
	TextDrawDestroy(Capstext);
	TextDrawHideForAll(Wtext);
	TextDrawDestroy(Wtext);
	TextDrawHideForAll(cartext);
	TextDrawDestroy(cartext);
 	TextDrawHideForAll(tcartext);
	TextDrawDestroy(tcartext);
	TextDrawHideForAll(fliptext);
	TextDrawDestroy(fliptext);
	TextDrawHideForAll(sptext);
	TextDrawDestroy(sptext);
	TextDrawHideForAll(jumptext);
	TextDrawDestroy(jumptext);
	TextDrawHideForAll(vtext);
	TextDrawDestroy(vtext);
	return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == neonpickup){
   	SetPlayerCameraPos(playerid, -2453.5051,-117.5298,26.1219);
	SetPlayerCameraLookAt(playerid, -2448.3794,-122.6430,26.1381);
	new veh = GetPlayerVehicleID(playerid);
	SetVehiclePos(veh, -2448.3794,-122.6430,26.1381);
	SetVehicleZAngle(veh, 274.8242);
	LinkVehicleToInterior(veh, 0);
	SetVehicleVirtualWorld(veh, 0);
	PutPlayerInVehicle(playerid, veh, 0);
	ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "NeonShop", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nPolice Strobe\nInterior Lights\nBack Neon\nFront neon\nUndercover Roof Light\nRemove All Neon", "Mount", "Done");
	PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
	}
	return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 2106.7463,1002.0556,45.6641);
	SetPlayerCameraPos(playerid, 2111.1670,999.0892,45.6591);
	SetPlayerCameraLookAt(playerid, 2106.7463,1002.0556,45.6641);
	return 1;
}
public OnPlayerConnect(playerid)
{
	TextDrawShowForPlayer(playerid, fliptext);
	TextDrawShowForPlayer(playerid, sptext);
	TextDrawShowForPlayer(playerid, jumptext);
    TextDrawShowForPlayer(playerid, tcartext);
	TextDrawShowForPlayer(playerid, cartext);
	TextDrawShowForPlayer(playerid, Wtext);
	TextDrawShowForPlayer(playerid, vtext);
    new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "{FFFF00}Player {FF0000}%s {FFFF00}has Joined {FF0000}Mega-Paradise FreeRoam",pName);
    SendClientMessageToAll(playerid, string);
	SendClientMessage(playerid, COLOR_GREEN, "This Server uses the GameMode: Mega-Paradise FreeRoam by Cawfee");
	SendClientMessage(playerid, COLOR_GREEN, "To get a car use /car or /tcar, to see a list of teleports use /teles and for a list of commands use /cmds");
 	SetPlayerMapIcon(playerid, 0, -2448.3794,-122.6430,26.1381, mod, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 1, -2715.9482,217.4348,4.3494, mod, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 2, 2644.9614,-2038.6263,13.5500, mod, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 3, 1041.2988,-1026.3306,32.1016, mod, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 4, -1935.2159,239.1243,34.3202, mod, 0, MAPICON_LOCAL);
    SetPlayerMapIcon(playerid, 5, 2385.3591,1043.2128,10.8203, mod, 0, MAPICON_LOCAL);
    RemoveBuildingForPlayer(playerid, 3366, 276.6563, 2023.7578, 16.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1989.5469, 16.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 3366, 276.6563, 1955.7656, 16.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 3268, 276.6563, 2023.7578, 16.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1989.5469, 16.6328, 0.25);
	RemoveBuildingForPlayer(playerid, 3268, 276.6563, 1955.7656, 16.6328, 0.25);
	return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
	new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "{FFFF00}Player {FF0000}%s {FFFF00}has Left {FF0000}Mega-Paradise FreeRoam",pName);
    SendClientMessageToAll(playerid, string);
	return 1;
}
public Unfreeze(playerid)
{
TogglePlayerControllable(playerid, 1);
return 1;
}
public AutoRepair(){
for(new i=0; i<GetMaxPlayers(); i++)
{
  if(IsPlayerConnected(i)) if(IsPlayerInAnyVehicle(i)){
	new Float:fVehicleHealth;
	GetVehicleHealth(GetPlayerVehicleID(i),fVehicleHealth);
  	if(fVehicleHealth < 900) SetVehicleHealth(GetPlayerVehicleID(i),1000.0);
  }
}
}
public OnPlayerSpawn(playerid)
{
	new Random = random(sizeof(RandomSpawns));
    SetPlayerPos(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1], RandomSpawns[Random][2]);
	SetPlayerInterior(playerid, 0);
	SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
  	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	return 1;
}
CMD:cmds(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_CMDS1, DIALOG_STYLE_LIST, "All the Commands of Toretto Racing", "{FF0000}to give someone money: /givecash <playerid> <amount>\n{0000FF}to get a tuned car: /tcar [1/10]\n{FFFF00}to get a quick car: /car <modelid/Name> <color1> <color2>\n{E76D00}/rjoin to join a race\n{FFFF00}to flip your car: /flip\n{FF00FF}repair: CAPS or H\n{00FF00}to reclass: /reclass\n{E76D00}to listen to a radio channel: /radio\n{FF0000}For list of vehicles: /v", "OK", "CANCEL");
    return 1;
}
CMD:v(playerid, params[])
{
		new allvehicles[] = "1\t{FF0000}Airplanes\n2\t{0000FF}Helicopters\n3\t{00FF00}Bikes\n4\t{FFFF00}Convertibles\n5\t{FF00FF}Industrial\n6\t{E76D00}Lowriders\n7\t{FF0000}OffRoad\n8\t{00FF00}Public Service Vehicles\n9\t{FF00FF}Saloons\n10\t{FF0000}Sport Vehicles\n11\t{FF0000}Station Wagons\n12\t{0000FF}Boats\n13\t{FFFF00}Unique Vehicles\n14\t{FF0000}RC Vehicles\n15\t{E76D00}Trailers";
	   	ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST," Vehicles: || Scroll Down for more",allvehicles,"Select","Cancel");
		return 1;
}
CMD:teles(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, "Teleports", "{FF0000}/ls\n{0000FF}/sf\n{00FF00}/lv\n{FFFF00}Tuning\n{FF00FF}Airports\n{E76D00}Stunts\n{FF0000}DeathMatches", "OK", "CANCEL");
    return 1;
}
CMD:glass(playerid, params[])
{
	new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
    format(string, sizeof(string), "{FF0000}(/glass) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Glass DeathMatch",pName);
    SendClientMessageToAll(playerid, string);
    new Random = random(sizeof(RandomSpawnGlassDM));
    SetPlayerPos(playerid, RandomSpawnGlassDM[Random][0], RandomSpawnGlassDM[Random][1], RandomSpawnGlassDM[Random][2]);
    SetPlayerFacingAngle(playerid, RandomSpawnGlassDM[Random][3]);
}
CMD:bs(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, -2262.4324,2310.8086,4.8202);
		SetPlayerFacingAngle(playerid, 0.0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	    format(string, sizeof(string), "{FF0000}(/bs) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Bay Side Stunts",pName);
	    SendClientMessageToAll(playerid, string);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, -2262.4324,2310.8086,4.8202);
		SetVehicleZAngle(veh, 0.0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	    format(string, sizeof(string), "{FF0000}(/bs) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Bay Side Stunts",pName);
	    SendClientMessageToAll(playerid, string);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		PutPlayerInVehicle(playerid, veh, 0);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the Bay Side Stunts");
}
CMD:ws(playerid, params[])
{
	new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
    format(string, sizeof(string), "{FF0000}(/ws) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Water Slide",pName);
    SendClientMessageToAll(playerid, string);
    new Random = random(sizeof(RandomSpawnWS));
    SetPlayerPos(playerid, RandomSpawnWS[Random][0], RandomSpawnWS[Random][1], RandomSpawnWS[Random][2]);
    SetPlayerFacingAngle(playerid, RandomSpawnWS[Random][3]);
    return 1;
}
CMD:mc(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, -2322.072265, -1651.324707, 483.420562);
		SetPlayerFacingAngle(playerid, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
	 	new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Mount Chilliad",pName);
	    SendClientMessageToAll(playerid, string);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, -2322.072265, -1651.324707, 483.420562);
		SetVehicleZAngle(veh, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/mc) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Mount Chilliad",pName);
        SendClientMessageToAll(playerid, string);
		GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		PutPlayerInVehicle(playerid, veh, 0);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Mount Chilliad");
}
CMD:ls(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, 1607.6703,-1721.9176,13.5469);
		SetPlayerFacingAngle(playerid, 0.0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/ls) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos",pName);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, 1607.6703,-1721.9176,13.5469);
		SetVehicleZAngle(veh, 0.0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/ls) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos",pName);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
  		SendClientMessageToAll(playerid, string);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		PutPlayerInVehicle(playerid, veh, 0);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Los Santos");
}
CMD:sf(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, -1992.7402,148.8261,27.5391);
		SetPlayerFacingAngle(playerid, 0.0);
		SetPlayerInterior(playerid, 0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/sf) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro",pName);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		SendClientMessageToAll(playerid, string);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh,-1992.7402,148.8261,27.5391);
		SetVehicleZAngle(veh, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/sf) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro",pName);
		PutPlayerInVehicle(playerid, veh, 0);
		SendClientMessageToAll(playerid, string);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to San Fierro");
}
CMD:lv(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, 2104.1064,1430.4622,10.8203);
		SetPlayerFacingAngle(playerid, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/lv) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas",pName);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		SendClientMessageToAll(playerid, string);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, 2104.1064,1430.4622,10.8203);
		SetVehicleZAngle(veh, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/lv) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas",pName);
		PutPlayerInVehicle(playerid, veh, 0);
		SendClientMessageToAll(playerid, string);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Las Venturas");
}
CMD:radio(playerid, params[])
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_RED, BotName" ERROR, you aren't in a vehicle");
    ShowPlayerDialog(playerid, DIALOG_RADIO, DIALOG_STYLE_LIST, "Music Player", "Slam!FM (Dutch Radio Channel)\nAvicci Levels", "Play", "Close"); //This shows the dialog, notice we used DIALOG_MUSICPLAYER for the dialogid!
    return 1;
}
CMD:loop(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid,-2852.5603,2193.9573,175.1964);
		SetPlayerFacingAngle(playerid, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/loop) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to the {FF0000}Loop Stunt",pName);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		SendClientMessageToAll(playerid, string);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, -2852.5603,2193.9573,175.1964);
		SetVehicleZAngle(veh, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/loop) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to the {FF0000}Loop Stunt",pName);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		SendClientMessageToAll(playerid, string);
		SetVehicleVirtualWorld(veh, 0);
		PutPlayerInVehicle(playerid, veh, 0);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the most difficult loop race ever!!!");
}
CMD:reclass(playerid, params[])
{
    if(GetPlayerState(playerid) == PLAYER_STATE_WASTED) return SendClientMessage(playerid, -1, "You cannot use this right now."); // Disables command if user is dead. I believe the players state is PLAYER_STATE_WASTED when they are in class selection.
    ForceClassSelection(playerid); // Next time the user attempts to spawn, they will be put into class selection.
    SetPlayerHealth(playerid, 0.0); // Kill the user.
    return 1;
}
CMD:lsrace(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, 53.5172,-2095.3826,11.7887);
		SetPlayerFacingAngle(playerid, 0.0);
		SetPlayerInterior(playerid, 0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/lsrace) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos Race Track",pName);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	   	SendClientMessageToAll(playerid, string);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, 53.5172,-2095.3826,11.7887);
		SetVehicleZAngle(veh, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/lsrace) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos Race Track",pName);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		SetVehicleVirtualWorld(veh, 0);
		SendClientMessageToAll(playerid, string);
		PutPlayerInVehicle(playerid, veh, 0);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the race track!");
}
CMD:stuntpark(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, 873.5781,-2116.9656,4.7741);
		SetPlayerFacingAngle(playerid, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/stuntpark) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to the {FF0000}StuntPark",pName);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		SendClientMessageToAll(playerid, string);
		SetPlayerVirtualWorld(playerid, 0);
	}
	else{
		new veh = GetPlayerVehicleID(playerid);
		SetVehiclePos(veh, 873.5781,-2116.9656,4.7741);
		SetVehicleZAngle(veh, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		LinkVehicleToInterior(veh, 0);
		new string[128], pName[MAX_PLAYER_NAME];
	    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/stuntpark) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to the {FF0000}Stunt Park",pName);
		SetVehicleVirtualWorld(veh, 0);
		SendClientMessageToAll(playerid, string);
		PutPlayerInVehicle(playerid, veh, 0);
	}
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to LS stunt park!");
}
CMD:derby(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, -1398.103515,937.631164,1036.479125);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/derby) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Derby",pName);
       SetPlayerInterior(playerid, 15);
       SendClientMessageToAll(playerid, string);
       SetPlayerVirtualWorld(playerid, 15);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, -1398.103515,937.631164,1036.479125);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/derby) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}the Derby",pName);
  	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       LinkVehicleToInterior(veh, 15);
       SendClientMessageToAll(playerid, string);
       SetVehicleVirtualWorld(veh, 15);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the derby!");
}

CMD:lvtune(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 2385.0134,1030.7831,10.8203);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/lvtune) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       SetPlayerInterior(playerid, 0);
       SendClientMessageToAll(playerid, string);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 2385.0134,1030.7831,10.8203);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/lvtune) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	   SendClientMessageToAll(playerid, string);
       SetVehicleZAngle(veh, 0.0);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Las Venturas Tuning Garage!");
}
CMD:arch(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, -2706.3394,218.2382,4.1797);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
   	   format(string, sizeof(string), "{FF0000}(/arch) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Wheel Arch Angels Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	   SendClientMessageToAll(playerid, string);
       SetPlayerFacingAngle(playerid, 0.0);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, -2706.3394,218.2382,4.1797);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
	   GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
   	   format(string, sizeof(string), "{FF0000}(/arch) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Wheel Arch Angels Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Wheels Arch Angels!");
}

CMD:sftune(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, -1935.9169,234.4120,34.3125);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/sftune) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       SendClientMessageToAll(playerid, string);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, -1935.9169,234.4120,34.3125);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/sftune) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to San Fierro Tuning Garage!");
}
CMD:lstune(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 1040.8041,-1032.2076,32.0148);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/lstune) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       SetPlayerInterior(playerid, 0);
       SendClientMessageToAll(playerid, string);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 1040.8041,-1032.2076,32.0148);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/lstune) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Los Santos Tuning Garage!");
}

CMD:loco(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 2644.9099,-2022.1721,13.5469);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/loco) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Loco Low Co Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       SendClientMessageToAll(playerid, string);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 2644.9099,-2022.1721,13.5469);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/loco) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Loco Low Co Tuning Garage",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Loco Low Co Tuning Garage!");
}
CMD:lsa(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 2001.8843,-2646.8259,13.7503);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/lsa) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos Airport",pName);
       SetPlayerInterior(playerid, 0);
       SendClientMessageToAll(playerid, string);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 2001.8843,-2646.8259,13.7503);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/lsa) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos Airport",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Los Santos Airport");
}
CMD:kart(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, -2928.0491,-649.3088,4.5297);
		SetPlayerFacingAngle(playerid, 0.0);
  		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		new string[128], pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/kart) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Ultimate Kart Race",pName);
		SetPlayerVirtualWorld(playerid, 0);
		SendClientMessageToAll(playerid, string);
	}
 	else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, -2928.0491,-649.3088,4.5297);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/kart) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Ultimate Kart Map",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the ultimate kart map!");
}
CMD:funstunt(playerid, params[])
{
	if(!IsPlayerInAnyVehicle(playerid)){
		SetPlayerPos(playerid, 1073.1746,1267.1007,10.8281);
		SetPlayerFacingAngle(playerid, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		new string[128], pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/funstunt) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Fun Stunt",pName);
		SetPlayerVirtualWorld(playerid, 0);
		SendClientMessageToAll(playerid, string);
	}
 	else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 1073.1746,1267.1007,10.8281);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/funstunt) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Fun Stunt",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
	return SendClientMessage(playerid, COLOR_RED, "you have gone to the fun stunt");
}
CMD:superpipe(playerid, params[])
{
		SetPlayerPos(playerid, -1554.0211,-1078.7865,769.5139);
		SetPlayerFacingAngle(playerid, 0.0);
		SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
		SetPlayerInterior(playerid, 0);
		new string[128], pName[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	    format(string, sizeof(string), "{FF0000}(/superpipe) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Super Pipe",pName);
        SendClientMessageToAll(playerid, string);
		SetPlayerVirtualWorld(playerid, 0);
		return SendClientMessage(playerid, COLOR_RED, "you have gone to the super pipe");
}
CMD:aa(playerid, params[])
{
   	if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 383.0134,2538.8259,16.5391);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/aa) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Abandoned Airport",pName);
       SendClientMessageToAll(playerid, string);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   	}
	else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 383.0134,2538.8259,16.5391);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/aa) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Abandoned Airport",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
	return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the Abandoned Airport");
}
CMD:superrace(playerid, params[])
{
new cartype = GetPlayerVehicleID(playerid);
new State=GetPlayerState(playerid);
{
if(State!=PLAYER_STATE_DRIVER)
{
SetPlayerPos(playerid,445.5991,3240.7805,245.6453);
}
else if(IsPlayerInVehicle(playerid, cartype) == 1)
{
SetVehiclePos(cartype,445.5991,3240.7805,245.6453);
SetVehicleZAngle(cartype,30.6101);}
else
{
SetPlayerPos(playerid,445.5991,3240.7805,245.6453);
}
GameTextForPlayer(playerid,"welcome to the super race",2500,3);
}
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "{FF0000}(/superrace) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Super Race",pName);
SendClientMessageToAll(playerid, string);
return 1;
}
CMD:lva(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 1601.5837,1324.1768,10.9394);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/lva) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas Airport",pName);
       SendClientMessageToAll(playerid, string);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 1601.5837,1324.1768,10.9394);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/lva) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas Airport",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Las Venturas Airport!");
}
CMD:qs(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 1183.6688,739.8846,10.9028);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/qs) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Quarry Stunts",pName);
       SendClientMessageToAll(playerid, string);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 1183.6688,739.8846,10.9028);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/qs) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Quarry Stunts",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to LV quarry stunts");
}
CMD:as(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, 347.2199,2072.7920,17.6406);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/as) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}The Area 69 Stunts",pName);
       SendClientMessageToAll(playerid, string);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, 347.2199,2072.7920,17.6406);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/as) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Area 69 Stunts",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to the Area 69 Stunts");
}
CMD:sfa(playerid, params[])
{
   if(!IsPlayerInAnyVehicle(playerid)){
       SetPlayerPos(playerid, -1389.7465,-230.8466,14.148);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetPlayerFacingAngle(playerid, 0.0);
       new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
       format(string, sizeof(string), "{FF0000}(/sfa) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro Airport",pName);
       SendClientMessageToAll(playerid, string);
       SetPlayerInterior(playerid, 0);
       SetPlayerVirtualWorld(playerid, 0);
   }
   else{
       new veh = GetPlayerVehicleID(playerid);
       SetVehiclePos(veh, -1389.7465,-230.8466,14.148);
       TogglePlayerControllable(playerid, 0);
	   SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
	   new string[128], pName[MAX_PLAYER_NAME];
       GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
	   format(string, sizeof(string), "{FF0000}(/sfa) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro Airport",pName);
	   GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
       SetVehicleZAngle(veh, 0.0);
       SendClientMessageToAll(playerid, string);
       LinkVehicleToInterior(veh, 0);
       SetVehicleVirtualWorld(veh, 0);
       PutPlayerInVehicle(playerid, veh, 0);
   }
   return SendClientMessage(playerid, 0xFF0000FF, "you have gone to San Fierro Airport!");
}

CMD:givecash(playerid, params[])
{
    new id, money, string[128], string2[128];
    {
        if(sscanf(params,"ii",id,money)) return SendClientMessage(playerid,COLOR_WHITE,"USAGE: /givecash [ID] [amount]");
        else
        GivePlayerMoney(id,money);
        format(string, sizeof(string),"You have give player %s %d$!", GetName(id), money);
        SendClientMessage(playerid, COLOR_GREY, string);
        format(string2 ,sizeof(string2),"Someone %s has given you %d$!", GetName(id), money);
        SendClientMessage(id, COLOR_GREY, string2);
    }
    return 1;
}
CMD:kill(playerid, params[])
{
	SetPlayerHealth(playerid, 0);
	return 1;
}
CMD:suggest(playerid, params[])
{
    if ( isnull ( params ) ) return SendClientMessage( playerid, -1, #Syntax /suggest <suggestion> );

    new
        _msg[ 128 ],
        player_name[ MAX_PLAYER_NAME ];

    GetPlayerName( playerid, player_name, MAX_PLAYER_NAME );

    format( _msg, sizeof ( _msg ), "%s suggested: %s\r\n", player_name, params );

    new File: fileToWrite = fopen("suggestions.txt", io_append);
    fwrite(fileToWrite, _msg);
    fclose(fileToWrite);

    return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid, playerid, reason);
	GameTextForPlayer(playerid, "~b~haha you ~r~died~b~ XD", 4000, 6);
	return 1;
}

public OnVehicleSpawn(vehicleid)
{
	// TR Spawn Location
 	AddVehicleComponent(TRsultan1, 1138);
    AddVehicleComponent(TRsultan1, 1010);
    AddVehicleComponent(TRsultan1, 1032);
    AddVehicleComponent(TRsultan1, 1169);
    AddVehicleComponent(TRsultan1, 1141);
    ChangeVehiclePaintjob(TRsultan1, 2);
    AddVehicleComponent(TRsultan2, 1138);
    AddVehicleComponent(TRsultan2, 1010);
    AddVehicleComponent(TRsultan2, 1032);
    AddVehicleComponent(TRsultan2, 1169);
    AddVehicleComponent(TRsultan2, 1141);
    ChangeVehiclePaintjob(TRsultan2, 2);
    AddVehicleComponent(TRsultan3, 1138);
    AddVehicleComponent(TRsultan3, 1010);
    AddVehicleComponent(TRsultan3, 1032);
    AddVehicleComponent(TRsultan3, 1169);
    AddVehicleComponent(TRsultan3, 1141);
    ChangeVehiclePaintjob(TRsultan3, 2);
    AddVehicleComponent(TRsultan4, 1138);
    AddVehicleComponent(TRsultan4, 1010);
    AddVehicleComponent(TRsultan4, 1032);
    AddVehicleComponent(TRsultan4, 1169);
    AddVehicleComponent(TRsultan4, 1141);
    ChangeVehiclePaintjob(TRsultan4, 2);
    AddVehicleComponent(TRelegy1, 1147);
    AddVehicleComponent(TRelegy1, 1010);
    AddVehicleComponent(TRelegy1, 1038);
    ChangeVehiclePaintjob(TRelegy1, 2);
    AddVehicleComponent(TRelegy2, 1147);
    AddVehicleComponent(TRelegy2, 1010);
    AddVehicleComponent(TRelegy2, 1038);
    ChangeVehiclePaintjob(TRelegy2, 2);
    AddVehicleComponent(TRelegy3, 1147);
    AddVehicleComponent(TRelegy3, 1010);
    AddVehicleComponent(TRelegy3, 1038);
    ChangeVehiclePaintjob(TRelegy3, 2);
    AddVehicleComponent(TRjester1, 1066);
	AddVehicleComponent(TRjester1, 1068);
	AddVehicleComponent(TRjester1, 1158);
	AddVehicleComponent(TRjester1, 1161);
	AddVehicleComponent(TRjester1, 1173);
	ChangeVehiclePaintjob(TRjester1, 1);
	ChangeVehicleColor(TRjester1, 6, 6);
 	AddVehicleComponent(TRjester2, 1066);
	AddVehicleComponent(TRjester2, 1068);
	AddVehicleComponent(TRjester2, 1158);
	AddVehicleComponent(TRjester2, 1161);
	AddVehicleComponent(TRjester2, 1173);
	ChangeVehiclePaintjob(TRjester2, 1);
	ChangeVehicleColor(TRjester2, 6, 6);
	AddVehicleComponent(TRjester3, 1066);
	AddVehicleComponent(TRjester3, 1068);
	AddVehicleComponent(TRjester3, 1158);
	AddVehicleComponent(TRjester3, 1161);
	AddVehicleComponent(TRjester3, 1173);
	ChangeVehiclePaintjob(TRjester3, 1);
	ChangeVehicleColor(TRjester3, 6, 6);
    AddVehicleComponent(TRjester4, 1066);
	AddVehicleComponent(TRjester4, 1068);
	AddVehicleComponent(TRjester4, 1158);
	AddVehicleComponent(TRjester4, 1161);
	AddVehicleComponent(TRjester4, 1173);
	ChangeVehiclePaintjob(TRjester4, 1);
	ChangeVehicleColor(TRjester4, 6, 6);
	AddVehicleComponent(TRjester5, 1066);
	AddVehicleComponent(TRjester5, 1068);
	AddVehicleComponent(TRjester5, 1158);
	AddVehicleComponent(TRjester5, 1161);
	AddVehicleComponent(TRjester5, 1173);
	ChangeVehiclePaintjob(TRjester5, 1);
	ChangeVehicleColor(TRjester5, 6, 6);
	AddVehicleComponent(TRjester6, 1066);
	AddVehicleComponent(TRjester6, 1068);
	AddVehicleComponent(TRjester6, 1158);
	AddVehicleComponent(TRjester6, 1161);
	AddVehicleComponent(TRjester6, 1173);
	ChangeVehiclePaintjob(TRjester6, 1);
	ChangeVehicleColor(TRjester6, 6, 6);
	AddVehicleComponent(TRjester7, 1066);
	AddVehicleComponent(TRjester7, 1068);
	AddVehicleComponent(TRjester7, 1158);
	AddVehicleComponent(TRjester7, 1161);
	AddVehicleComponent(TRjester7, 1173);
	ChangeVehiclePaintjob(TRjester7, 1);
	ChangeVehicleColor(TRjester7, 6, 6);
	AddVehicleComponent(TRjester8, 1066);
	AddVehicleComponent(TRjester8, 1068);
	AddVehicleComponent(TRjester8, 1158);
	AddVehicleComponent(TRjester8, 1161);
	AddVehicleComponent(TRjester8, 1173);
	ChangeVehiclePaintjob(TRjester8, 1);
	ChangeVehicleColor(TRjester8, 6, 6);
 	AddVehicleComponent(TRuranus1, 1164);
    AddVehicleComponent(TRuranus1, 1010);
    AddVehicleComponent(TRuranus1, 1088);
    ChangeVehiclePaintjob(TRuranus1, 2);
    AddVehicleComponent(TRuranus2, 1164);
    AddVehicleComponent(TRuranus2, 1010);
    AddVehicleComponent(TRuranus2, 1088);
    ChangeVehiclePaintjob(TRuranus2, 2);
    AddVehicleComponent(TRuranus3, 1164);
    AddVehicleComponent(TRuranus3, 1010);
    AddVehicleComponent(TRuranus3, 1088);
    ChangeVehiclePaintjob(TRuranus3, 2);
    AddVehicleComponent(TRstratum1,1055);
	AddVehicleComponent(TRstratum1,1058);
	AddVehicleComponent(TRstratum1,1064);
	AddVehicleComponent(TRstratum1, 1154);
	AddVehicleComponent(TRstratum1,1155);
	ChangeVehiclePaintjob(TRstratum1, 1);
    AddVehicleComponent(TRstratum2,1055);
	AddVehicleComponent(TRstratum2,1058);
	AddVehicleComponent(TRstratum2,1064);
	AddVehicleComponent(TRstratum2, 1154);
	AddVehicleComponent(TRstratum2,1155);
	ChangeVehiclePaintjob(TRstratum2, 1);
    AddVehicleComponent(TRstratum3,1055);
	AddVehicleComponent(TRstratum3,1058);
	AddVehicleComponent(TRstratum3,1064);
	AddVehicleComponent(TRstratum3, 1154);
	AddVehicleComponent(TRstratum3,1155);
	ChangeVehiclePaintjob(TRstratum3, 1);
    AddVehicleComponent(TRstratum4,1055);
	AddVehicleComponent(TRstratum4,1058);
	AddVehicleComponent(TRstratum4,1064);
	AddVehicleComponent(TRstratum4, 1154);
	AddVehicleComponent(TRstratum4,1155);
	ChangeVehiclePaintjob(TRstratum4, 1);
	// wheels
	AddVehicleComponent(TRsultan1, 1074);
	AddVehicleComponent(TRsultan2, 1074);
	AddVehicleComponent(TRsultan3, 1074);
	AddVehicleComponent(TRsultan4, 1074);
	AddVehicleComponent(TRelegy1, 1074);
	AddVehicleComponent(TRelegy2, 1074);
	AddVehicleComponent(TRelegy3, 1074);
	AddVehicleComponent(TRjester1, 1074);
	AddVehicleComponent(TRjester2, 1074);
	AddVehicleComponent(TRjester3, 1074);
	AddVehicleComponent(TRjester4, 1074);
	AddVehicleComponent(TRjester5, 1074);
	AddVehicleComponent(TRjester6, 1074);
	AddVehicleComponent(TRjester7, 1074);
	AddVehicleComponent(TRjester8, 1074);
	AddVehicleComponent(TRuranus1, 1074);
	AddVehicleComponent(TRuranus2, 1074);
	AddVehicleComponent(TRuranus3, 1074);
	AddVehicleComponent(TRstratum1, 1074);
	AddVehicleComponent(TRstratum2, 1074);
	AddVehicleComponent(TRstratum3, 1074);
	AddVehicleComponent(TRstratum4, 1074);
	return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{

	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/me", true, 3)) // 3 is the length of /me
    {
        if(!cmdtext[3])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /me [action]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s %s", str, cmdtext[4]);
        SendClientMessageToAll(0xFFFF00AA, str);
        return 1;
	}
	return 0;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
	return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
	StopAudioStreamForPlayer(playerid);
	return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
	{
		TextDrawShowForPlayer(playerid, Capstext);
	}
	else if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER)
	{
		TextDrawHideForPlayer(playerid, Capstext);
	}
	return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
	return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
	return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
	return 1;
}

public OnRconCommand(cmd[])
{
	return 1;
}

public OnPlayerRequestSpawn(playerid)
{
	SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
  	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
	return 1;
}

public OnObjectMoved(objectid)
{
	return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
	return 1;
}


public OnVehicleMod(playerid, vehicleid, componentid)
{
	return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
	return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
	return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
	return 1;
}

public OnPlayerExitedMenu(playerid)
{
	return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
	return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
        if(newkeys == KEY_CROUCH) {
            if(IsPlayerInAnyVehicle(playerid)) { {
		    	new VehicleID = GetPlayerVehicleID(playerid);
				RepairVehicle(VehicleID);
				AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
				GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~Vehicle ~g~Repaired ~r~+ NOS Added!",3000,3);
                }
  		 	}
        }
    }
	return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
	return 1;
}

public OnPlayerUpdate(playerid)
{
	return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
	return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
	return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
	return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
	return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == DIALOG_RADIO) // This checks to see if the dialog the players viewing is the music player one
		{
          if(response) // If the player clicked a song
		  {
               if(listitem == 0) // Since this is a list, we check if they clicked the first song on the list.
               {
  				PlayAudioStreamForPlayer(playerid, "http://stream02.slamfm.trueserver.nl:8000/slamfm.m3u"); // Play the song
			   }
               if(listitem == 1)
               {
               	PlayAudioStreamForPlayer(playerid, "http://205.196.123.34/cctcosa4osjg/o1vhayconf16141/Avicii+-+Levels.mp3");
               }
		   }
		}
    if ( dialogid == 8899 ) // Neons
    {
        /* if second button pressed */
        new veh = GetPlayerVehicleID(playerid);
        if ( !response )
		{
		SetCameraBehindPlayer(playerid);
		neonpickup = CreatePickup(1274, 14, -2448.3794,-122.6430,26.1381, -1);
	 	return SetVehiclePos(veh, -2462.7966,-125.2506,25.4020);
	 	}
        /* if first button pressed */
        if ( response )
        {
            switch ( listitem )
            {
   			case 0:
			{


			//blue
			SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
            SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");
			}
			case 1:
			{


			 //red
				SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
	            SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");


			}
			case 2:
			{


			//green
		   	   SetPVarInt(playerid, "Status", 1);
       		   SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
               SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
               AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

	            }
			case 3:
			{

			//white
		   	   SetPVarInt(playerid, "Status", 1);
               SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
         	   SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
         	   AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
       		   AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

			}
			case 4:
			{


			//pink
		   	   SetPVarInt(playerid, "Status", 1);
       		   SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
               SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
               AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

			}
			case 5:
			{


			//yellow
		 		SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
	            SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

			}
			case 6:
			{


			//police
   	 		    SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "neon12", CreateObject(18646,0,0,0,0,0,0));
	            SetPVarInt(playerid, "neon13", CreateObject(18646,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "Police Strobe installed");

	            }

				case 7:
				{
	            SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "interior", CreateObject(18646,0,0,0,0,0,0));
	            SetPVarInt(playerid, "interior1", CreateObject(18646,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "interior"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "interior1"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "Interior lights installed");

	            }
           		case 8:
				{

				//back
	            SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "back", CreateObject(18646,0,0,0,0,0,0));
	            SetPVarInt(playerid, "back1", CreateObject(18646,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "back"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "back1"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "Back neon installed");
	            }
            	case 9:
				{

				//front
	            SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "front", CreateObject(18646,0,0,0,0,0,0));
	            SetPVarInt(playerid, "front1", CreateObject(18646,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "front"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "front1"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "Front neon installed");
	            }
	            case 10:
				{
	            //undercover
	            SetPVarInt(playerid, "Status", 1);
	            SetPVarInt(playerid, "undercover", CreateObject(18646,0,0,0,0,0,0));
	            SetPVarInt(playerid, "undercover1", CreateObject(18646,0,0,0,0,0,0));
	            AttachObjectToVehicle(GetPVarInt(playerid, "undercover"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
	            AttachObjectToVehicle(GetPVarInt(playerid, "undercover1"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
	            SendClientMessage(playerid, 0xFFFFFFAA, "Undercover lights installed");
	            }
			case 11:
			{
			//remove neon
            DestroyObject(GetPVarInt(playerid, "neon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon5"));
			DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon11"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon12"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon13"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "interior"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "interior1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "back"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "back1"));
            DeletePVar(playerid, "Status");
			DestroyObject(GetPVarInt(playerid, "front"));
			DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "front1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "undercover"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "undercover1"));
            SendClientMessage(playerid, 0xFFFFFFAA, "neons removed!");
            DeletePVar(playerid, "Status");

	 	      }
		 }
		 }
	    return ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "NeonShop", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nPolice Strobe\nInterior Lights\nBack Neon\nFront neon\nUndercover Roof Light\nRemove All Neon", "Mount", "Done");}
	if ( dialogid == DIALOG_CMDS1 ) // drift[1/3]
    {
        /* if second button pressed */
        if ( !response ) return SendClientMessage( playerid, -1, BotName"You have canceled" );
        /* if first button pressed */
        if ( response )
        {
            switch ( listitem )
            {
				case 0:
				{
					SendClientMessage(playerid, COLOR_BLUE, BotName" Usage: /givecash <playerid> <amount>");
				}
				case 1:
				{
					SendClientMessage(playerid, COLOR_BLUE, BotName" Usage: /tcar [1/10]");
				}
				case 2:
				{
					SendClientMessage(playerid, COLOR_BLUE, BotName" Usage: /car <ModelID/Name> <Color1> <Color2>");
				}
				case 3:
				{
					SendClientMessage(playerid, COLOR_BLUE, BotName" Usage: /race");
				}
				case 4:
				{
				    SendClientMessage(playerid, COLOR_RED, BotName" Usage: /flip or /flip <playerid>");
				}
				case 5:
				{
					SendClientMessage(playerid, COLOR_RED, BotName" Usage: /repair (or press 2) (when u press 2 then you also get some NOS");
				}
				case 6:
				{
				    if(GetPlayerState(playerid) == PLAYER_STATE_WASTED) return SendClientMessage(playerid, -1, "You cannot use this right now."); // Disables command if user is dead. I believe the players state is PLAYER_STATE_WASTED when they are in class selection.
    				ForceClassSelection(playerid); // Next time the user attempts to spawn, they will be put into class selection.
    				SetPlayerHealth(playerid, 0.0); // Kill the user.
				}
				case 7:
				{
						new allvehicles[] = "1\t{FF0000}Airplanes\n2\t{0000FF}Helicopters\n3\t{00FF00}Bikes\n4\t{FFFF00}Convertibles\n5\t{FF00FF}Industrial\n6\t{E76D00}Lowriders\n7\t{FF0000}OffRoad\n8\t{00FF00}Public Service Vehicles\n9\t{FF00FF}Saloons\n10\t{FF0000}Sport Vehicles\n11\t{FF0000}Station Wagons\n12\t{0000FF}Boats\n13\t{FFFF00}Unique Vehicles\n14\t{FF0000}RC Vehicles\n15\t{E76D00}Trailers";
	   					ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST," Vehicles: || Scroll Down for more",allvehicles,"Select","Cancel");
				}
			}
		}
	}
	if ( dialogid == DIALOG_TELES ) 
    {
        /* if second button pressed */
        if ( !response ) return SendClientMessage( playerid, -1, BotName"You have canceled" );
        /* if first button pressed */
        if ( response )
        {
            switch ( listitem )
            {
            	case 0:
				{
				if(!IsPlayerInAnyVehicle(playerid)){
				SetPlayerPos(playerid, 1607.6703,-1721.9176,13.5469);
				SetPlayerFacingAngle(playerid, 0.0);
				new string[128], pName[MAX_PLAYER_NAME];
			    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			    format(string, sizeof(string), "{FF0000}(/ls) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos",pName);
				SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
			   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
				SetPlayerInterior(playerid, 0);
				SetPlayerVirtualWorld(playerid, 0);
				}
				else{
				new veh = GetPlayerVehicleID(playerid);
				SetVehiclePos(veh, 1607.6703,-1721.9176,13.5469);
				SetVehicleZAngle(veh, 0.0);
				new string[128], pName[MAX_PLAYER_NAME];
			    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			    format(string, sizeof(string), "{FF0000}(/ls) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Los Santos",pName);
				SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
		  		SendClientMessageToAll(playerid, string);
			   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
				LinkVehicleToInterior(veh, 0);
				SetVehicleVirtualWorld(veh, 0);
				PutPlayerInVehicle(playerid, veh, 0);
				}
				return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Los Santos");
				}
				case 1:
				{
				if(!IsPlayerInAnyVehicle(playerid)){
				SetPlayerPos(playerid, -1992.7402,148.8261,27.5391);
				SetPlayerFacingAngle(playerid, 0.0);
				SetPlayerInterior(playerid, 0);
				new string[128], pName[MAX_PLAYER_NAME];
			    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			    format(string, sizeof(string), "{FF0000}(/sf) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro",pName);
				SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
				SendClientMessageToAll(playerid, string);
			   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
				SetPlayerVirtualWorld(playerid, 0);
				}
				else{
				new veh = GetPlayerVehicleID(playerid);
				SetVehiclePos(veh,-1992.7402,148.8261,27.5391);
				SetVehicleZAngle(veh, 0.0);
				SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
			   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
				LinkVehicleToInterior(veh, 0);
				SetVehicleVirtualWorld(veh, 0);
				new string[128], pName[MAX_PLAYER_NAME];
			    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			    format(string, sizeof(string), "{FF0000}(/sf) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}San Fierro",pName);
				PutPlayerInVehicle(playerid, veh, 0);
				SendClientMessageToAll(playerid, string);
				}
				return SendClientMessage(playerid, 0xFF0000FF, "you have gone to San Fierro");
				}
				case 2:
				{
				if(!IsPlayerInAnyVehicle(playerid)){
				SetPlayerPos(playerid, 2104.1064,1430.4622,10.8203);
				SetPlayerFacingAngle(playerid, 0.0);
				SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
				new string[128], pName[MAX_PLAYER_NAME];
			    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			    format(string, sizeof(string), "{FF0000}(/lv) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas",pName);
			   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
				SetPlayerInterior(playerid, 0);
				SendClientMessageToAll(playerid, string);
				SetPlayerVirtualWorld(playerid, 0);
				}
				else{
				new veh = GetPlayerVehicleID(playerid);
				SetVehiclePos(veh, 2104.1064,1430.4622,10.8203);
				SetVehicleZAngle(veh, 0.0);
				SetTimerEx("Unfreeze", 2000, 0, "d", playerid);
			   	GameTextForPlayer(playerid,"~g~Waiting for the Objects to load",2000,3);
				LinkVehicleToInterior(veh, 0);
				SetVehicleVirtualWorld(veh, 0);
				new string[128], pName[MAX_PLAYER_NAME];
			    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			    format(string, sizeof(string), "{FF0000}(/lv) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Las Venturas",pName);
				PutPlayerInVehicle(playerid, veh, 0);
				SendClientMessageToAll(playerid, string);
				}
				return SendClientMessage(playerid, 0xFF0000FF, "you have gone to Las Venturas");
				}
				case 3:
				{
					ShowPlayerDialog(playerid, DIALOG_TUNING1, DIALOG_STYLE_LIST, "Tuning Garages", "{FF0000}/lstune\n{00FF00}/lvtune\n{0000FF}/sftune\n{FF8600}/arch\n{FF00FF}/loco", "OK", "Back");
				}
				case 4:
				{
					ShowPlayerDialog(playerid, DIALOG_AIRPORTS1, DIALOG_STYLE_LIST, "Airport stunts", "{FF0000}/lsa\n{00FF00}/lva\n{0000FF}/sfa\n{FF8000}/aa", "OK", "Back");
				}
				case 5:
				{
					ShowPlayerDialog(playerid, DIALOG_STUNTS1, DIALOG_STYLE_LIST, "Stunts", "{00FF00}/derby\n{FF0000}/kart\n{0000FF}/funstunt\n{00CEFF}/superpipe\n{00FF00}/mc\n{0000FF}/stuntpark\n{FF00FF}/lsrace\n{00CEFF}/qs\n{00FF00}/as\n{FF0000}/loop\n{0000FF}/superrace\n{00CEFF}/ws\n{FF00FF}/bs", "OK", "Back");
				}
				case 6:
				{
					ShowPlayerDialog(playerid, DIALOG_DM, DIALOG_STYLE_LIST, "DeathMatches", "{FF0000}/glass", "OK", "Back");
				}
			}
		}
	}
	if ( dialogid == DIALOG_DM )
    {
        /* if second button pressed */
        if ( !response ) return ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, "Teleports", "{FF0000}/ls\n{0000FF}/sf\n{00FF00}/lv\n{FFFF00}Tuning\n{FF00FF}Airports\n{E76D00}Stunts", "OK", "CANCEL");
Reply
#7

Have you updated to the latest sa-mp version?
Reply
#8

Quote:
Originally Posted by Walsh
Посмотреть сообщение
Have you updated to the latest sa-mp version?
Yes. 0.3d
Reply
#9

Do you got

#include <a_samp>

if not you probally have missed a { or }
Reply
#10

Quote:
Originally Posted by new121
Посмотреть сообщение
Do you got

#include <a_samp>

if not you probally have missed a { or }
Thanks. i was missing that and streamer was messed up.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)