22.12.2010, 18:00
pawn Код:
else if (PlayerToPointStripped(2.0, playerid,-2355.8181,1008.1110,50.8984, cx,cy,cz))
{
//ENTRADA
SetPlayerPos(playerid, 363.3360,-74.5500,1001.5078 );
GameTextForPlayer(playerid, "~p~Bem vindo a ~r~Burguer Shot",5000,3);
SetPlayerVirtualWorld(playerid, 1);
SetPlayerInterior(playerid,16);
PlayerInfo[playerid][pInt] = 16;
}
else if (PlayerToPointStripped(2.0, playerid,363.3360,-74.5500,1001.5078, cx,cy,cz))
{
//SAIDA
if(GetPlayerVirtualWorld(playerid) == 1)
{
SetPlayerPos(playerid, -2355.8181,1008.1110,50.8984);
GameTextForPlayer(playerid, "~r~San Fierro",5000,3);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
}