04.04.2018, 00:20
Quote:
if(IsPlayerInRangeOfPoint(1022.5699,-1121.4214,23.8723); // Quando entra por LS
{ Entrada[playerid][0] = true; SetPlayerPos(1727.0101, -1642.7483,20.2253); // Coordenadas do interior SetPlayerInterior(1; } else if(IsPlayerInRangeOfPoint(2015.2194,1106.3938,10.8 203); // Quando entra por SF { Entrada[playerid][1] = true; SetPlayerPos(1727.0101, -1642.7483,20.2253); // Coordenadas do interior SetPlayerInterior(1; } Coloquei deste jeito, mais da erros. error 001: expected token: ")", but found ";" error 036: empty statement error 029: invalid expression, assumed zero error 001: expected token: ";", but found "if" error 001: expected token: ")", but found ";" fatal error 107: too many error messages on one line estao dando esses erros |
PHP код:
if(IsPlayerInRangeOfPoint(playerid, 1.5 1022.5699,-1121.4214,23.8723)) // Quando entra por LS
{
Entrada[playerid][0] = true;
SetPlayerPos(playerid, 1727.0101, -1642.7483, 20.2253); // Coordenadas do interior
SetPlayerInterior(playerid, 18);
}
else if(IsPlayerInRangeOfPoint(playerid, 1.5, 2015.2194, 1106.3938, 10.8203)) // Quando entra por SF
{
Entrada[playerid][1] = true;
SetPlayerPos(playerid, 1727.0101, -1642.7483, 20.2253); // Coordenadas do interior
SetPlayerInterior(playerid, 18);
}
SetPlayerInterior
IsPlayerInRangeOfPoint