[Ajuda]Entrada de HQ's e etc.
#1

Eu uso o seguinte code para teleportes para hq's prefeitura e etc

Код:
	else if (PlayerToPointStripped(1, playerid,2352.1770,-1170.0190,28.0432, cx,cy,cz))
	{
		
		if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
		{
		    if(WantedLevel[playerid] > 0)
            {
                SendClientMessage(playerid, RED, "Vocк nгo pode entrar no HQ se for um procurado!");
            }
            else
            {
				SetPlayerPos(playerid, 2233.7102,-1112.3024,1050.8828);
				GameTextForPlayer(playerid, "~w~HQ Los Vagos",5000,1);
				SetPlayerInterior(playerid,5);
				SetPlayerFacingAngle(playerid, 1);
				PlayerInfo[playerid][pInt] = 5;
			}
		}
		else if(hqlock[iolock] == 0)
		{
		    SetPlayerPos(playerid, 2233.7102,-1112.3024,1050.8828);
			GameTextForPlayer(playerid, "~w~HQ Los Vagos",5000,1);
			SetPlayerInterior(playerid,5);
			SetPlayerFacingAngle(playerid, 0);
			PlayerInfo[playerid][pInt] = 5;
		}
		else
		{
		    GameTextForPlayer(playerid, "~r~Trancado",5000,1);
		}
	}
	else if (PlayerToPointStripped(1, playerid,2233.6675,-1114.8473,1050.8828, cx,cy,cz))
	{
		
		if(PlayerInfo[playerid][pLocal] != 255)
	    {
	    }
	    else
	    {
			SetPlayerPos(playerid, 2352.1252,-1166.8225,27.5172);
			GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
			SetPlayerInterior(playerid,0);
			SetPlayerFacingAngle(playerid, 179);
			PlayerInfo[playerid][pInt] = 0;
			SetPlayerVirtualWorld(playerid, 0);
		}
	}
Desta forma o player entra no local so de ficar em cima do checkpoint.
Gostaria de saber como eu faзo para colocar para o player ter que apertar o "F" para entrar em interiores.
Estou tendo muito problema com lag e preciso disto para minimizar o problema.
Se alguem puder ajudar ficaria grato.

Abraзo Keller
Reply


Messages In This Thread
[Ajuda]Entrada de HQ's e etc. - by keller012 - 05.07.2010, 18:04
Re: [Ajuda]Entrada de HQ's e etc. - by keller012 - 06.07.2010, 15:54
Re: [Ajuda]Entrada de HQ's e etc. - by Ricardo_Saddler - 06.07.2010, 18:26
Re: [Ajuda]Entrada de HQ's e etc. - by keller012 - 06.07.2010, 18:30
Re: [Ajuda]Entrada de HQ's e etc. - by Ricardo_Saddler - 06.07.2010, 18:37
Re: [Ajuda]Entrada de HQ's e etc. - by [NWD]Tweener_ - 06.07.2010, 19:02
Re: [Ajuda]Entrada de HQ's e etc. - by keller012 - 06.07.2010, 19:42
Re: [Ajuda]Entrada de HQ's e etc. - by Ricardo_Saddler - 06.07.2010, 20:14
Re: [Ajuda]Entrada de HQ's e etc. - by [NWD]Tweener_ - 06.07.2010, 20:57

Forum Jump:


Users browsing this thread: 2 Guest(s)