[POMOC]: Spawn Exit

Započeo Lonkec, Januar 02, 2011, 17:38:12 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Imam problem, naime stavio sam PD Spawn u postaji. I spawna ga sve super, ali kada ocu van nemogu. Namjestio sam sve koordinate znaci sve valja. Kada idem /portls I udjem izvana u PD onda mogu izaci. A kad se spawnam unutra nemogu. Bilo kakva pomoc?

Stavi kod,ovako ti nemogu pomoc...
Mysterious roleplay

SPAWN

if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//PD SPawn
{
SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 6);
    SetPlayerPos(playerid, 228.0103,80.0350,1005.0391);
    SetPlayerFacingAngle(playerid,180.1964);
    PlayerInfo[playerid][pInt] = 0;
    SetCameraBehindPlayer(playerid);
    SetPlayerVirtualWorld(playerid,0);
    return 1;
    }


Kad stisnem ENTER Da izadje

if(IsPlayerInRangeOfPoint(playerid, 3.0,246.6580,62.3258,1003.6406) && PlayerInfo[playerid][pInt] == 1345)
{
SetPlayerPos(playerid,1555.5031,-1675.6370,16.1953);
SetPlayerInterior(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid,0);
}


Kad stisnem ENTER da Udje

//PD ENTER
      if(IsPlayerInRangeOfPoint(playerid, 2.0, 1555.5031,-1675.6370,16.1953))
{
    if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
    {
  SetPlayerInterior(playerid, 6);
  SetPlayerPos(playerid, 246.783996,63.900199,1003.640625);
  SetPlayerVirtualWorld(playerid,1345);
  PlayerInfo[playerid][pInt] = 1345;
GameTextForPlayer(playerid, "~g~Los Santos Policija!", 5000, 1);
}
else
{
GameTextForPlayer(playerid, "~g~Nisi clan LSPD-a", 5000, 1);
}
}

Ovo na spawnu zamijeni sa ovim:
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//PD SPawn
{
    SetPlayerToTeamColor(playerid);
    SetPlayerInterior(playerid, 6);
    SetPlayerPos(playerid, 228.0103,80.0350,1005.0391);
    SetPlayerFacingAngle(playerid,180.1964);
    PlayerInfo[playerid][pInt] = 1345;
    SetCameraBehindPlayer(playerid);
    SetPlayerVirtualWorld(playerid,0);
    return 1;
    }
Mysterious roleplay