[Ajuda] Interiores
#10

Quote:
Originally Posted by AllanSG
Посмотреть сообщение
PHP код:
if(IsPlayerInRangeOfPoint(playerid1.5 1022.5699,-1121.4214,23.8723)) // Quando entra por LS
{
    
Entrada[playerid][0] = true;
    
SetPlayerPos(playerid1727.0101, -1642.748320.2253); // Coordenadas do interior
    
SetPlayerInterior(playerid18);
}
else if(
IsPlayerInRangeOfPoint(playerid1.52015.21941106.393810.8203)) // Quando entra por SF
{
    
Entrada[playerid][1] = true;
    
SetPlayerPos(playerid1727.0101, -1642.748320.2253); // Coordenadas do interior
    
SetPlayerInterior(playerid18);

SetPlayerPos
SetPlayerInterior
IsPlayerInRangeOfPoint
Os erros pararam, porem quando eu entro, entro normal, mais ao sair, eu caiu do cйu, aqui esta o cуdigo com as coordenas talvez tenha algum erro q eu nгo reparei


Entrada

Quote:

if(IsPlayerInRangeOfPoint(playerid, 1.5, 1219.1832,-1812.1083,16.593) // Quando entra por LS
{
Entrada[playerid][0] = true;
SetPlayerPos(playerid, 1490.4620,1305.9231,1093.2964); // Coordenadas do interior
SetPlayerInterior(playerid, 3);
}
Saida

if(IsPlayerInRangeOfPoint(playerid, 1.5, 1494.4674,1303.7887,1093.2891)) // saida do interior
{
if(Entrada[playerid][0] == true)
{
SetPlayerPos(1219.1832,-1812.1083,16.593; // poe as coordenada pra saida de LS
SetPlayerInterior(playerid, 0);
Entrada[playerid][0] = false;
}

Reply


Messages In This Thread
Interiores - by Ryuzaki07 - 03.04.2018, 02:35
Re: Interiores - by Lontresca - 03.04.2018, 02:56
Re: Interiores - by AllanSG - 03.04.2018, 03:31
Re: Interiores - by [BOPE]Seu._.Madruga - 03.04.2018, 03:31
Re: Interiores - by Ryuzaki07 - 03.04.2018, 21:33
eu me organizo desta maneira: - by RazorGuigo - 03.04.2018, 22:09
Re: Interiores - by Ryuzaki07 - 03.04.2018, 22:49
Re: eu me organizo desta maneira: - by Ryuzaki07 - 03.04.2018, 22:51
Re: Interiores - by AllanSG - 04.04.2018, 00:20
Re: Interiores - by Ryuzaki07 - 04.04.2018, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)