Dialog system...........!!!!!?????
#1

I got a tonns of teleporting on my server the problem is when i put them in my /tele it exccceds the limit of the chat line...........so i need someone that can make a dialong system so when a player type /tele a menu should open and show them all the teleportings..........i will give you all the tele places..............if someone can help........?

THANKS IN ADVANCE!!!!
RESEPECT
Reply
#2

Well, show me the teleports.. I'll make the dialog for you..
Reply
#3

Quote:
Originally Posted by [SFA]SpiRRiT
Посмотреть сообщение
Well, show me the teleports.. I'll make the dialog for you..
ahh here are those..............

Код:
  }
   if(strcmp(cmdtext, "/jumps", true) == 0)
    {
		ShowPlayerDialog(playerid,JUMPS,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/hj - Huge Jump\n/wj - Water Jump\n/sj - Sky Jump\n/bj - Beach Jump\n/dj - Death Jump\n/pj - Pier Jump\n/cj1 - Cool Jump 1\n/ij - Incredible Jump\n/lsj1 - Los Santos Jump 1\n/lvj1 - Las Venturas Jump 1\n/lvj3 - Las Venturas Jump 3\n/lvj - Las Venturas Jump (Standard)\n/sfj1 - San Fierro Jump 1 (Standard)","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/dm", true) == 0)
    {
		ShowPlayerDialog(playerid,DM,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/minigun - Minigun DM\n/wang - Wang DM\n/sniper - Sniper DM\n/dildo - Dildo DM\n/ctd - Catch the dealer\n/teepee - Teepee DM\n/golf - Golf DM","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/places", true) == 0)
    {
		ShowPlayerDialog(playerid,PLACES,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/home - Home\n/aa - Abandon Airport\n/mc - Mount Chilliad\n/atlantis - Atlatntis\n/lsa - Los Santos Airport\n/quarry - Hunter Quarry\n/dam - Sherdam dam\n/skate - Skate\n/derby - Derby\n/derby2 - Derby 2\n/bowl - NRG Bowl","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/places2", true) == 0)
    {
		ShowPlayerDialog(playerid,PLACES2,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/farm - Farm of hell\n/lc - Liberty City (Non-solid in some areas)\n/sf - San Fierro\n/lv - Las Venturas\n/ls - Los Santos\n/ship - San Feirro Ship\n/pk1 - Parkour 1\n/pk2 - Parkour 2\n/pk3 - Parkour 3\n/pyr - Pyramid (Las Venturas)\n/dt - Downtown Los Santos\n/pk1 - Parkour 1\n/dilli\n/whetstone - Whetstone village\n/shitlake - Bigfoot's poop\n/pship - The Pirate Ship (Las Venturas)","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/vplaces", true) == 0)
    {
		ShowPlayerDialog(playerid,VPLACES,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/vw - Vinewood\n/lsbeach - Los Santos Beach\n/bmx - Biker Arena\n/area69 - Area 69 (Restricted Area)\n/lspd - Los Santos PD\n/bikes - Bike Gallery\n/dock - Eastern bay Docks\n/lva - Las Venturas Airport\n/sfa - San Fierro Airport","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/vplaces2", true) == 0)
    {
		ShowPlayerDialog(playerid,VPLACES2,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/spray - Spray Shop\n/bomb - Bomb Shop\n/predators - ''Predators'' Gallery\n/bikes - (It's the same >.<)","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/fun", true) == 0)
    {
		ShowPlayerDialog(playerid,VPLACES2,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/ee - Easter Eggs\n/dive - Dive 1,000 Feet\n/tr - The Place for Dunes!\n/cs - Car Sumo (Dunes ONLY!)\n/cs - Car Sumo (Dunes ONLY!)\n/pipe - Half-Pipe, Can you Take it?\n/omg - OMG Parachuting\n/jetmax - Jetmax Gallery\n/loop - Loop-de-loop then DIE D:!","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/races", true) == 0)
    {
		ShowPlayerDialog(playerid,VPLACES2,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/drift - Drifting, Are you a Pro?\n/drift2 - Are you a Pro pt.2?\n/drift3 - Are you a pro pt.3?\n/drag - Reach full speed and survive random obstacles to win!\n/drag2 - Give your car a little speed test\n/drag3 - Get that little engine of your's the speed it needs!\n/stadium - Stadium of Racing Action\n/rmc - Race to Mt.Chilliad!","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/tune", true) == 0)
    {
		ShowPlayerDialog(playerid,VPLACES2,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/tflv - Transfender Las Venturas\n/tfls - Transfender Los Santos\n/arch - Tuning Shop for Special Cars\n/loco - Tuning Shop for muscle cars","OK","Back");
		return 1;
	}
   if(strcmp(cmdtext, "/interiors", true) == 0)
    {
		ShowPlayerDialog(playerid,VPLACES2,DIALOG_STYLE_MSGBOX,"Where would you like to Teleport?:","\n/burger - Burger Shot\n/sclub - Sex Club\n/dclub - Dizzy's Club\n/stadium1 - Stadium 1\n/bulletshop - Ammunation Store","OK","Back");
		return 1;
	}
   if(strcmp("/pm", cmd, true) == 0)
	{
		tmp = strtok(cmdtext,idx);

		if(!strlen(tmp) || strlen(tmp) > 5) {
			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)");
			return 1;
		}

		new id = strval(tmp);
        gMessage = strrest(cmdtext,idx);

		if(!strlen(gMessage)) {
			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"Usage: /pm (id) (message)");
			return 1;
		}

		if(!IsPlayerConnected(id)) {
			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"/pm : Bad player ID");
			return 1;
		}

		if(playerid != id) {
			GetPlayerName(id,iName,sizeof(iName));
			GetPlayerName(playerid,pName,sizeof(pName));
			format(Message,sizeof(Message),">> %s(%d): %s",iName,id,gMessage);
			SendClientMessage(playerid,PM_OUTGOING_COLOR,Message);
			format(Message,sizeof(Message),"** %s(%d): %s",pName,playerid,gMessage);
			SendClientMessage(id,PM_INCOMING_COLOR,Message);
			PlayerPlaySound(id,1085,0.0,0.0,0.0);

			printf("PM: %s",Message);

		}
		else {
			SendClientMessage(playerid,ADMINFS_MESSAGE_COLOR,"You cannot PM yourself");
		}
		return 1;
	}
   if(strcmp(cmdtext, "/drift2", true) == 0)
  	{
  	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), -2406.201, -597.3188, 132.6484);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, -2392.3489, -583.6777, 132.3125);
   		}
       	GameTextForPlayer(playerid, "~w~drift 2", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);

       	return 1;
	}
   if(strcmp(cmdtext, "/bmx", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPos(playerid, -1090.029, -1221.1443, 129.2187);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/cj1", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 723.847839, -2446.462402, 538.574097);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/ij", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 1496.852539, 698.787109, 1018.056213);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/lsj1", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 1939.892944, -976.109009, 256.664001);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/lvj1", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 1545.891968, 2414.349121, 480.258240);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/lvj3", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, -1336.475220, 2438.851807, 664.158752);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/lvj", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 2093.783203, 825.678467, 295.681458);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/sfj1", true) == 0)
 	{
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, -2955.545166, -899.788818, 376.184082);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/pipe2", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 2890.6560,-2023.6359,5.1680);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/aa", true) == 0)
 	{
 	    if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
  		SetPlayerPosWV(playerid, 397.6663,2460.0630,16.5000);
  		ResetPlayerWeapons(playerid);
		return 1;
  	}
   if(strcmp(cmdtext, "/wang", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
       	new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsWang[rand][0], RandomPlayerSpawnsWang[rand][1], RandomPlayerSpawnsWang[rand][2]);
   		GameTextForPlayer(playerid, "~w~Wang", 4000, 6);
   		GivePlayerWeapon(playerid, 16, 10);
   		GivePlayerWeapon(playerid, 31, 1000);
   		GivePlayerWeapon(playerid, 32, 1000);
   		SetPlayerInterior(playerid, 0);
     	return 1;
   }
   if(strcmp(cmdtext, "/andromada", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 9);
   		SetPlayerPos(playerid, 315.9222, 973.6248, 1961.5189);
    	ResetPlayerWeapons(playerid);
    	GivePlayerWeapon(playerid, 46, 0);
     	GameTextForPlayer(playerid, "~w~Andromada", 4000, 6);
      	return 1;
   }
   if(strcmp(cmdtext, "/shamel", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 1);
   		SetPlayerPos(playerid, 1.8688, 34.3709, 1199.5937);
   		GameTextForPlayer(playerid, "~w~shamel", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/hj", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 1116.8577,2494.9219,432.4359);
   		GameTextForPlayer(playerid, "~y~Huge Jump", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/bj", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 832.2406,-2822.9058,355.3528);
   		GameTextForPlayer(playerid, "~y~Beach Jump", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pj", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 367.5171, -1123.3107, 283.4947);
   		GameTextForPlayer(playerid, "~y~Pier Jump", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/omg", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -1753.6965,884.9934,295.8750);
   		GameTextForPlayer(playerid, "~y~OMG", 4000, 6);
	   	GivePlayerWeapon(playerid, 46, 10);

     	return 1;
   }
   if(strcmp(cmdtext, "/mc", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -2316.3831,-1664.7451,483.1498);
   		GameTextForPlayer(playerid, "~y~Mount Chilliad", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/rmc", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2303.1746,-1664.8824,483.6466);
   		GameTextForPlayer(playerid, "~y~Mount Chilliad Race", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/dam", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -913.4705,2010.1625,60.9141);
   		GameTextForPlayer(playerid, "~y~The Dam", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/teepee", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
       	new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsTeepee[rand][0], RandomPlayerSpawnsTeepee[rand][1], RandomPlayerSpawnsTeepee[rand][2]);
  		SetPlayerInterior(playerid, 0);
   		GameTextForPlayer(playerid, "~y~Teepee", 4000, 6);
   		GivePlayerWeapon(playerid, 16, 10);
   		GivePlayerWeapon(playerid, 31, 1000);
   		GivePlayerWeapon(playerid, 32, 1000);
     	return 1;
   }
   if(strcmp(cmdtext, "/sniper", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
       	new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsSniper[rand][0], RandomPlayerSpawnsSniper[rand][1], RandomPlayerSpawnsSniper[rand][2]);
  		SetPlayerInterior(playerid, 0);
   		GameTextForPlayer(playerid, "~y~Sniper", 4000, 6);
   		GivePlayerWeapon(playerid, 34, 1000);
     	return 1;
   }
   if(strcmp(cmdtext, "/bowl", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -1649.5802,130.0506,3.5547);
   		GameTextForPlayer(playerid, "~y~NRG Bowl", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/atlantis", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -1696.7028,185.9553,-52.0744);
   		GameTextForPlayer(playerid, "~y~Atlantis", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/quarry", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 816.3667,856.1069,12.7891);
   		GameTextForPlayer(playerid, "~y~Quarry", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/ls", true) == 0)
   {
   		if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 2488.0310,-1669.7568,13.3359);
   		GameTextForPlayer(playerid, "~y~Los Santos", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/lsa", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 1882.1278,-2395.2168,15.8011);
   		GameTextForPlayer(playerid, "~y~Los Santos Airport", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/skate", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 1904.6875,-1361.4738,13.5182);
   		GameTextForPlayer(playerid, "~y~Skate", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/lsbeach", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 246.1977,-1875.6469,3.3176);
   		GameTextForPlayer(playerid, "~y~Los Santos Beach", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/vw", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 1417.6161,-860.8188,48.2027);
   		GameTextForPlayer(playerid, "~y~Vinewood", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/lva", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 1725.5525,1608.7756,10.1283);
   		GameTextForPlayer(playerid, "~y~Las Venturas Airport", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pyr", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2323.7888,1283.2003,97.5433);
   		GameTextForPlayer(playerid, "~y~Pyramid", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pship", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2000.2612,1539.5486,13.5859);
   		GameTextForPlayer(playerid, "~y~LV Pirate Ship", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/lv", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 2090.2625,1515.6399,10.8203);
   		GameTextForPlayer(playerid, "~y~Las Venturas", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/shitlake", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -814.5036,-1922.3623,8.3026);
   		GameTextForPlayer(playerid, "~y~Shit Lake", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/sj", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 32.4731, 1845.1531, 246.0731);
   		GameTextForPlayer(playerid, "~y~Sky Jump", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/cs", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2422.9431, -1754.7150, 106.9445);
   		GameTextForPlayer(playerid, "~y~Car Sumo", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/tr", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 241.9318, 312.7640, 449.6230);
   		GameTextForPlayer(playerid, "~y~Trampoline", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/wj", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2346.4353, 13.0089, 78.0566);
   		GameTextForPlayer(playerid, "~y~Water Jump", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/police", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 1544.0830,-1675.6649,13.5577);
   		GameTextForPlayer(playerid, "~y~Police", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/docks", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2229.8542,2398.7493,2.4804);
   		GameTextForPlayer(playerid, "~y~Docks", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/predator", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2229.8542,2398.7493,2.4804);
   		GameTextForPlayer(playerid, "~y~Predators", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pipe", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2567.0688,603.3401,9.4790);
   		GameTextForPlayer(playerid, "~y~Half Pipe", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/dj", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -656.4943,2324.4373,138.4693);
   		GameTextForPlayer(playerid, "~y~Death Jump", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/sfs", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -2632.2312,1381.6071,7.1703);
   		GameTextForPlayer(playerid, "~y~San Fierro Stunt", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/spray", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), 1975.0308,2162.6821,10.8022);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, 1975.0308,2162.6821,10.8022);
   		}
       	GameTextForPlayer(playerid, "~w~Spray", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/bomb", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), 2006.3000,2312.6213,10.5474);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, 2006.3000,2312.6213,10.5474);
   		}
       	GameTextForPlayer(playerid, "~w~Bomb Shop", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/bikes", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2374.2244,2335.1404,4.5708);
   		GameTextForPlayer(playerid, "~y~Bikes", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/dilli", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 4);
   		SetPlayerPos(playerid, -27.312300, -29.277599, 1003.549988);
   		GameTextForPlayer(playerid, "~y~dilli", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/drag", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 2094.3843,858.2151,6.7323);
   		GameTextForPlayer(playerid, "~y~drag", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/drag2", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), -1654.4640,-189.6507,14.1484);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, -1654.4640,-189.6507,14.1484);
   		}
       	GameTextForPlayer(playerid, "~w~Drag 2", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/drag3", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), -1654.4640,-189.6507,14.1484);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, -1654.4640,-189.6507,14.1484);
   		}
       	GameTextForPlayer(playerid, "~w~Drag 3", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/drift", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), -359.8420,1532.2262,75.3594);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, -359.8420,1532.2262,75.3594);
   		}
       	GameTextForPlayer(playerid, "~w~Drift", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/drift3", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
   		if(GetPlayerState(playerid) == 2)
     	{
      		SetVehiclePos(GetPlayerVehicleID(playerid), 2263.9978,1397.9921,42.8203);
        	SetVehicleZAngle(GetPlayerVehicleID(playerid), 0.0);
         	LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
       	}
        else
        {
      		SetPlayerPos(playerid, 2263.9978,1397.9921,42.8203);
   		}
       	GameTextForPlayer(playerid, "~w~Drift 3", 4000, 6);
       	SetPlayerInterior(playerid, 0);
       	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pk1", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2493.9856,-1698.2291,23.5697);
   		GameTextForPlayer(playerid, "~y~pk1", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pk2", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2472.6199,-1747.9617,17.0859);
   		GameTextForPlayer(playerid, "~y~pk2", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/pk3", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 2332.4680,-1997.1721,18.7264);
   		GameTextForPlayer(playerid, "~y~pk3", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/sfa", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -1263.8716,27.4944,14.1484);
   		GameTextForPlayer(playerid, "~y~San Fierro Airport", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/ship", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2374.2244,2335.1404,4.5708);
   		GameTextForPlayer(playerid, "~y~ship", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/studio", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2374.2244,2335.1404,4.5708);
   		GameTextForPlayer(playerid, "~y~studio", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/tflv", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 2383.9778,1000.2610,10.5474);
   		GameTextForPlayer(playerid, "~y~Transfender LV", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/tfls", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 1040.7086,-1036.7306,31.7306);
   		GameTextForPlayer(playerid, "~y~Transfender LS", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/tfsf", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -1935.3971,231.1490,34.1563);
   		GameTextForPlayer(playerid, "~y~Transfender SF", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/golf", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
	  	SetPlayerInterior(playerid, 0);
  		GivePlayerWeapon(playerid, 16, 10);
   		GivePlayerWeapon(playerid, 31, 1000);
   		GivePlayerWeapon(playerid, 32, 1000);
   		GameTextForPlayer(playerid, "~y~golf", 4000, 6);
		new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsGolf[rand][0], RandomPlayerSpawnsGolf[rand][1], RandomPlayerSpawnsGolf[rand][2]);
     	return 1;
   }
   if(strcmp(cmdtext, "/ee", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2678.8206,1595.1404,217.2739);
   		GameTextForPlayer(playerid, "~y~Go Away", 4000, 6);
   		GivePlayerWeapon(playerid, 46, 10);
    	return 1;
   }
   if(strcmp(cmdtext, "/jetmax", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -2330.2031,2323.9912,3.5000);
   		GameTextForPlayer(playerid, "~y~jetmax", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/bmx", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 298.5830,2530.8193,16.5502);
   		GameTextForPlayer(playerid, "~y~BMX", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/bmx2", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 1007.2529,1886.5430,10.6719);
   		GameTextForPlayer(playerid, "~y~BMX 2", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/loco", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 2644.8000,-2021.9266,13.5469);
   		GameTextForPlayer(playerid, "~y~loco", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/arch", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -2693.0024,217.5576,4.1797);
   		GameTextForPlayer(playerid, "~y~Arch Mod Shop", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/area69", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 161.7736,1930.5045,33.8984);
   		GameTextForPlayer(playerid, "~y~Area 69", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/ds", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -46.0976,1493.5569,12.2858);
   		GameTextForPlayer(playerid, "~y~Desert Stunt", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/loop", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -611.7880,409.9171,1979.5503);
   		GameTextForPlayer(playerid, "~y~loop", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/sfp", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -2453.4907,734.1584,35.0156);
   		GameTextForPlayer(playerid, "~y~San Fierro Parkour", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/aqua", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 2289.9238,614.8127,13.8203);
   		GameTextForPlayer(playerid, "~y~Aqua Park", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/monster", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, -278.7386,2178.7410,112.5564);
   		GameTextForPlayer(playerid, "~y~Monster", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/sex", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 3);
   		SetPlayerPos(playerid, -103.559165,-24.225606,1000.718750);
   		GameTextForPlayer(playerid, "~y~Sex Store", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/burger", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 363.4129,  -74.5786,  1001.5078  );
   		GameTextForPlayer(playerid, "~y~burger", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/derby", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 15);
   		SetPlayerPos(playerid, -1317.1908,945.8188,1036.4867);
   		GameTextForPlayer(playerid, "~y~derby", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/derby2", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 7);
   		SetPlayerPos(playerid, -1394.8817,-215.5168,1051.1439);
   		GameTextForPlayer(playerid, "~y~derby2", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/minigun", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
       	new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsMinigun[rand][0], RandomPlayerSpawnsMinigun[rand][1], RandomPlayerSpawnsMinigun[rand][2]);
  		SetPlayerInterior(playerid, 0);
   		GameTextForPlayer(playerid, "~y~Minigun", 4000, 6);
   		GivePlayerWeapon(playerid, 38, 100000);
	   	return 1;
   }
   if(strcmp(cmdtext, "/sf", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, -2632.2312,1381.6071,7.1703);
   		GameTextForPlayer(playerid, "~y~San Fierro", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/lc", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
		SetPlayerInterior(playerid, 1);
   		SetPlayerPos(playerid, -750.80,  491.00,  1374.70  );
   		GameTextForPlayer(playerid, "~y~Liberty City", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/dildo", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
       	new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsDildo[rand][0], RandomPlayerSpawnsDildo[rand][1], RandomPlayerSpawnsDildo[rand][2]);
  		SetPlayerInterior(playerid, 0);
   		GameTextForPlayer(playerid, "~y~dildo", 4000, 6);
     	return 1;
   }
   if(strcmp(cmdtext, "/stadium", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 14);
   		SetPlayerPos(playerid, -1367.2737,1566.3998,1052.5313);
   		GameTextForPlayer(playerid, "~y~stadium", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/bulletshop", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 7);
   		SetPlayerPos(playerid, 314.820984,-141.431992,999.661987);
   		GameTextForPlayer(playerid, "~y~Bullet Shop", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/md", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 5);
   		SetPlayerPos(playerid, 1299.14,-794.77,1084.00);
   		GameTextForPlayer(playerid, "~y~MadDogs", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/ctd", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
        DMZone[playerid] = 1;
       	new rand = random(sizeof(RandomPlayerSpawns));
		SetPlayerPos(playerid, RandomPlayerSpawnsCtd[rand][0], RandomPlayerSpawnsCtd[rand][1], RandomPlayerSpawnsCtd[rand][2]);
  		SetPlayerInterior(playerid, 5);
   		GameTextForPlayer(playerid, "~y~Catch The Dealer", 4000, 6);
   		GivePlayerWeapon(playerid, 16, 10);
   		GivePlayerWeapon(playerid, 31, 1000);
   		GivePlayerWeapon(playerid, 32, 1000);
     	return 1;
   }
   if(strcmp(cmdtext, "/sclub", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 2);
   		SetPlayerPos(playerid, 1204.809936,-11.586799,1000.921875);
   		GameTextForPlayer(playerid, "~y~Sex Club", 4000, 6);
    	ResetPlayerWeapons(playerid);
    	return 1;
   }
   if(strcmp(cmdtext, "/dclub", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 3);
   		SetPlayerPos(playerid, -2640.762939,1406.682006,906.460937);
   		GameTextForPlayer(playerid, "~y~Pleasure Domes", 4000, 6);
    	ResetPlayerWeapons(playerid);
    	return 1;

   }
   if(strcmp(cmdtext, "/stadium1", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
	  	SetPlayerInterior(playerid, 7);
   		SetPlayerPos(playerid, -1401.829956,107.051300,1032.273437);
   		GameTextForPlayer(playerid, "~y~Stadium 1", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/whetstone", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPosWV(playerid, 669.0580,-463.4053,16.3359);
   		GameTextForPlayer(playerid, "~y~Whetstone", 4000, 6);
    	ResetPlayerWeapons(playerid);
     	return 1;
   }
   if(strcmp(cmdtext, "/dt", true) == 0)
   {
        if(DMZone[playerid] == 1) return ShowPlayerDialog(playerid,TELEWARN,DIALOG_STYLE_MSGBOX,"Error:","Teleporting Error!\n\n-Sorry But you can't Teleport to another area while in a dm. Type /kill to leave the DM.","OK","KILL ME");
  		SetPlayerInterior(playerid, 0);
   		SetPlayerPos(playerid, 1672.0457,-1322.2759,17.4709);
   		GameTextForPlayer(playerid, "~y~DownTown", 4000, 6);
    	ResetPlayerWeapons(playerid);
	 	return 1;
Reply
#4

Paste your OnDialogResponse code.
Reply
#5

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
Paste your OnDialogResponse code.
Sir this thread is closed..........Thank you for reading.........
If you really wanna help........plz reply..........
Reply
#6

Quote:
Originally Posted by ronaldoraul
Посмотреть сообщение
Sir this thread is closed..........Thank you for reading.........
If you really wanna help........plz reply..........
omg, show that, we cant make teleports without that ....
Reply
#7

Quote:
Originally Posted by Gertin
Посмотреть сообщение
omg, show that, we cant make teleports without that ....
No sir you are getting it really wrong........no one is repling to the post and is not intrested.....so i just closed is
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)