- เครดิต
- 168
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if(WarOn == 1)
{
if(PlayerToPoint(1.0, playerid,-1939.6660,1227.4609,31.6424))
{
if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15 || gDoor[15] == 0)
{
//Aztecas Enter
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,2267.6077,-1210.4731,1048.1165);
GameTextForPlayer(playerid, "~b~Aztecas ~w~Home", 5000, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED,"¤Ø³äÁèãªè Varios Los Aztecas!");
return 0;
}
}
else if(PlayerToPoint(1.0, playerid,2270.2590,-1210.4333,1047.5625))
{
//Aztecas Exit
SetPlayerPos(playerid,-1941.2100,1227.4631,31.6085);
SetPlayerInterior(playerid,0);
}
else if(PlayerToPoint(1.0, playerid,-2454.8596,-135.8240,26.1772))
{
if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || gDoor[12] == 0)
{
//GROVE Enter
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,2495.9497,-1694.5311,1014.7422);
GameTextForPlayer(playerid, "~g~Johnson ~w~House", 5000, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED,"¤Ø³äÁèãªè Grove Street Family!");
return 0;
}
}
else if(PlayerToPoint(1.0, playerid,2496.0171,-1692.4968,1014.7422))
{
//GROVE Exit
SetPlayerPos(playerid,-2456.5066,-135.8146,26.0772);
SetPlayerInterior(playerid,0);
}
else if(PlayerToPoint(1.0, playerid,-2579.4365,310.0659,5.1797))
{
if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13 || gDoor[13] == 0)
{
//BALLAS Enter
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid,318.6083,1116.9370,1083.8828);
GameTextForPlayer(playerid, "~p~Ballas~n~~w~Crack Den", 5000, 1);
}
else
{
SendClientMessage(playerid,COLOR_RED, "¤Ø³äÁèãªè High-Roller Ballas!");
return 0;
}
}
else if(PlayerToPoint(1.0, playerid,318.6615,1114.9644,1083.8828))
{
//BALLAS Exit
SetPlayerPos(playerid,-2580.8582,310.3502,5.1856);
SetPlayerInterior(playerid,0);
}
else if(PlayerToPoint(1.0, playerid,-2192.6519,647.4236,49.4375))
{
if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || gDoor[6] == 0)
{
//Yakuza Enter
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,-2161.7400,641.6007,1052.3750);
GameTextForPlayer(playerid, "~r~Yakuza~n~~w~Office", 5000, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED, "¤Ø³äÁèãªè Yakuza!");
return 0;
}
}
else if(PlayerToPoint(1.0, playerid,-2158.6687,642.9635,1052.3750))
{
//Yakuza Exit
SetPlayerPos(playerid,-2192.7407,643.8399,49.4375);
SetPlayerInterior(playerid,0);
}
else if(PlayerToPoint(1.0, playerid,-2719.4019,-319.1833,7.8438))
{
if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || gDoor[5] == 0)
{
//LCN Enter
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid,1263.9938,-785.2942,1091.9063);
GameTextForPlayer(playerid, "~w~La Cosa Nostra~n~~w~Mansion", 5000, 1);
}
else
{
SendClientMessage(playerid, COLOR_RED, "¤Ø³äÁèãªè La Cosa Nostra!");
return 0;
}
}
else if(PlayerToPoint(1.0, playerid,1261.0292,-785.2979,1091.9063))
{
//LCN Exit
SetPlayerPos(playerid,-2720.6028,-317.6403,7.8438);
SetPlayerInterior(playerid,0);
}
return 1;
} |
|