11.12.2015, 22:14
Tipo assim, eu criei duas orgs com o mesmo interior, mais eu quero fazer assim, quando ele entrar num interior ele sai em um local, e no outro interior, em outro local. Й que assim, sгo duas orgs "ROTAM-SF" e "ROTAM-LS". Daн quando for em ROTAM-SF ele sair em SF e quando for ROTAM-LS ele sai em LS.
A ROTAM SF
A ROTAM LS
A ROTAM SF
Quote:
if (PlayerToPoint(2, playerid,-1755.0914,962.3484,24.882) { //ROTAM-SF entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,288.745971,169.350997,1007 .171875); GameTextForPlayer(playerid, "~y~HQ ROTAM-SF", 5000, 1); PlayerInfo[playerid][pInt] = 3; SetPlayerInterior(playerid,3); storeexit[playerid] = 15; } if (PlayerToPoint(2, playerid,238.8815,139.5029,1003.0234)) { //ROTAM-SF saida XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,-1755.0914,962.3484,24.882; GameTextForPlayer(playerid, "~y~SAN FIERRO", 5000, 1); PlayerInfo[playerid][pInt] = 0; SetPlayerInterior(playerid,0); storeexit[playerid] = 15; } |
Quote:
else if (PlayerToPoint(3, playerid,328.0614,-1512.2689,36.0325)) {//Rotam LS entrada XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid, 238.7194,141.7792,1003.0234); GameTextForPlayer(playerid, "~w~DP Rotam-LS",5000,1); SetPlayerInterior(playerid,3); SetPlayerFacingAngle(playerid, 0); //localizardppc[playerid] = 1; PlayerInfo[playerid][pInt] = 3; SetPlayerVirtualWorld(playerid, 1); storeexit[playerid] = 2; } else if (PlayerToPoint(3, playerid,238.5649,139.3974,1003.0234)) {//ROTAM LS SAIDA XXAirBreak[playerid] += 3; XXAirBreak[playerid] += 3;SetPlayerPos(playerid,329.1469,-1512.7855,36.0391); GameTextForPlayer(playerid, "~r~Los Santos",5000,1); SetPlayerInterior(playerid,0); SetPlayerFacingAngle(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid,0); storeexit[playerid] = 0; } |