[AJUDA] Prefeitura
#8

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
Finge q nao le ne Tem Que Desabilitar as Entradas originais do new.pwn
pawn Код:
DisableInteriorEnterExits();
http://forum.sa-mp.com/showthread.ph...53#post1635753
Essas Entradas Sao Queals Que Entra Com o ''f''


pawn Код:
if ((newkeys==KEY_SECONDARY_ATTACK)) // Key ( F / Enter /Sair )
{
   OnPlayerCommandText(playerid,"/enter");
   OnPlayerCommandText(playerid,"/sair");
}
pawn Код:
if(strcmp(cmdtext, "/enter", true) == 0)
{
   if(IsPlayerInRangeOfPoint(playerid, 2.0, 2196.4326,1677.2306,12.3672))//Prefeitura Las Venture
   {
      SetPlayerInterior(playerid, 3);
      SetPlayerPos(playerid,385.4674,173.9319,1008.3828); //Prefeitura Las Venture
    }
   if(IsPlayerInRangeOfPoint(playerid, 2.0, 1480.8795,-1771.4631,18.7958))//Prefeitura Ls
   {
      SetPlayerInterior(playerid, 3);
      SetPlayerPos(playerid,385.4674,173.9319,1008.3828); //Prefeitura Ls
    }
pawn Код:
if(strcmp(cmdtext, "/sair", true) == 0)
{
  if(IsPlayerInRangeOfPoint(playerid, 2.0, 389.0495,173.6506,1008.3828))//Prefeitura Las Venturas
   {
      SetPlayerInterior(playerid, 0);
      SetPlayerPos(playerid, 2194.8538,1678.1536,12.3672); //Prefeitura Las Venture
    }
   if(IsPlayerInRangeOfPoint(playerid, 2.0, 389.0495,173.6506,1008.3828))//Prefeitura Ls
   {
      SetPlayerInterior(playerid, 0);
      SetPlayerPos(playerid, 1480.6866,-1768.7736,18.7958); //Prefeitura Ls
    }
Reply


Messages In This Thread
[AJUDA] Prefeitura - by Ryktardy - 19.01.2012, 18:59
Re: [AJUDA] Prefeitura - by dPlaYer_ - 19.01.2012, 19:11
Re: [AJUDA] Prefeitura - by Don_Speed - 19.01.2012, 19:22
Re: [AJUDA] Prefeitura - by Ryktardy - 19.01.2012, 19:39
Re: [AJUDA] Prefeitura - by Blacknot - 19.01.2012, 19:51
Re: [AJUDA] Prefeitura - by Ryktardy - 19.01.2012, 20:14
Re: [AJUDA] Prefeitura - by Don_Speed - 19.01.2012, 21:47
Re: [AJUDA] Prefeitura - by Ryktardy - 19.01.2012, 22:14
Re: [AJUDA] Prefeitura - by Don_Speed - 19.01.2012, 22:18
Re: [AJUDA] Prefeitura - by Ryktardy - 19.01.2012, 22:20

Forum Jump:


Users browsing this thread: 1 Guest(s)