Erro ao sair do interior
#3

tente assim
PHP Code:
// ======================================== Entradas Do Servidor ================================== //
if(IsPlayerInRangeOfPoint(playerid1.01555.0127,-1675.6544,16.1953)) // Delegacia LS
{
SetPlayerPos(playerid,246.7995,65.9249,1003.6406);
SetPlayerInterior(playerid,6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao Principal {00FFF2}Departamento De Policia {FFFFFF}Los Santos !");
SetPlayerFacingAngle(playerid348.9244);
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 1;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.0, -1605.4912711.424213.8672)) // Delegacia SF
{
SetPlayerPos(playerid246.871862.32021003.6406);
SetPlayerFacingAngle(playerid348.9244);
SetPlayerInterior(playerid6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao Principal {00FFF2}Departamento De Policia {FFFFFF}San Fierro !");
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 2;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.02290.1243,2430.7190,10.8203)) // Delegacia LV
{
SetPlayerPos(playerid246.8164,65.2984,1003.6406);
SetPlayerFacingAngle(playerid348.9244);
SetPlayerInterior(playerid6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao Principal {00FFF2}Departamento De Policia {FFFFFF}Las Venturas !");
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 3;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.0, -2162.4524,-2386.0876,30.6250)) // Angel Pine
{
SetPlayerPos(playerid246.871862.32021003.6406);
SetPlayerFacingAngle(playerid348.9244);
SetPlayerInterior(playerid6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao {00FFF2}Departamento De Policia {FFFFFF}Angel Pine !");
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 4;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.0, -217.2057,979.1824,19.5006)) // Fort Carson
{
SetPlayerPos(playerid246.871862.32021003.6406);
SetPlayerFacingAngle(playerid348.9244);
SetPlayerInterior(playerid6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao {00FFF2}Departamento De Policia {FFFFFF}Fort Carson !");
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 5;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.0, -1389.9792,2637.6277,55.9844)) // El Quebrados
{
SetPlayerPos(playerid246.871862.32021003.6406);
SetPlayerFacingAngle(playerid348.9244);
SetPlayerInterior(playerid6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao {00FFF2}Departamento De Policia {FFFFFF}El Quebrados !");
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 6;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.0631.9159,-571.9997,16.3359)) // Dillimore
{
SetPlayerPos(playerid246.871862.32021003.6406);
SetPlayerFacingAngle(playerid348.9244);
SetPlayerInterior(playerid6);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) ao {00FFF2}Departamento De Policia {FFFFFF}Dillimore !");
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][entrouDEL] = 7;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.01219.1647,-1811.9906,16.593// Agencia ls
{
SetPlayerPos(playerid1490.4620,1305.9231,1093.2964);
SetPlayerInterior(playerid3);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) a {00FFF2}agencia de empregos de{FFFFFF}Los Santos !");
SetPlayerFacingAngle(playerid348.9244);
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][EntrouAgencia] = 1;
return 
1;
}
else if(
IsPlayerInRangeOfPoint(playerid1.01219.1647,-1811.9906,16.593// Agencia sf
{
SetPlayerPos(playerid1490.4620,1305.9231,1093.2964);
SetPlayerInterior(playerid3);
SendClientMessage(playerid0x00FFF2AA"[N.L-Admin] {FFFFFF}Bem Vindo(a) a {00FFF2}agencia de empregos de{FFFFFF}Los Santos !");
SetPlayerFacingAngle(playerid348.9244);
PlayerInfo[playerid][EntrouL] = true;
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][EntrouAgencia] = 2;
return 
1;
}
AQUI SГO AS SAIDAS
else if(PlayerInfo[playerid][EntrouL] == true// Saнdas
{
if(
IsPlayerInRangeOfPoint(playerid1.0246.871862.32021003.6406)) // Delegacias
{
if(
PlayerInfo[playerid][entrouDEL] == 1// Los Santos
{
SetPlayerPos(playerid1549.2688,-1675.6494,14.8906);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
PlayerInfo[playerid][entrouDEL] == 2// San Fierro
{
SetPlayerPos(playerid, -1606.0313717.903512.0699);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
PlayerInfo[playerid][entrouDEL] == 3// Las Venturas
{
SetPlayerPos(playerid2289.8953,2427.9226,10.8203);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
PlayerInfo[playerid][entrouDEL] == 4// Angel Pine
{
SetPlayerPos(playerid, -2164.1086,-2388.4053,30.6250);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
PlayerInfo[playerid][entrouDEL] == 5// Fort Carson
{
SetPlayerPos(playerid, -215.2102,980.9094,19.4932);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
PlayerInfo[playerid][entrouDEL] == 6// El quebrados
{
SetPlayerPos(playerid, -1394.4302,2637.4004,55.9107);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
PlayerInfo[playerid][entrouDEL] == 7// Dillimore
{
SetPlayerPos(playerid631.9159,-571.9997,16.3359);
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
else if(
IsPlayerInRangeOfPoint(playerid1.01494.4591,1303.7748,1093.2891)) // Agencia
{
if(
PlayerInfo[playerid][EntrouAgencia] == 1// Los Santos
{
SetPlayerPos(playerid1220.8401,-1815.4767,16.593;
SetPlayerFacingAngle(playerid359.8679);
SetPlayerInterior(playerid0);
return 
true;
}
}
}

Reply


Messages In This Thread
Erro ao sair do interior - by Ryuzaki07 - 10.04.2018, 22:39
Re: Erro ao sair do interior - by Ryuzaki07 - 11.04.2018, 16:32
Re: Erro ao sair do interior - by Izaque1998 - 11.04.2018, 17:08
Re: Erro ao sair do interior - by Ryuzaki07 - 11.04.2018, 20:31
Re: Erro ao sair do interior - by Ryuzaki07 - 11.04.2018, 20:40

Forum Jump:


Users browsing this thread: 1 Guest(s)