am facut tot cum scrie aici dar nu pot intra si iesi din hq ma puteti ajuta plzz si daca mi-ati zice cum scot cercurile galbene care te baga si te scot din cladire ar fi f frumos
if(house == 242)
{
SetPlayerInterior(i,2);
SetPlayerPos(i,1123.5602,-2036.9929,69.8867);
PlayerInfo[i][pInt] = 0;
PlayerInfo[i][pLocal] = 255;
}
AddStaticPickup(1239, 2, 1123.5602,-2036.9929,69.8867);
"/enter"
else if (PlayerToPoint(3.0, playerid,1123.5602,-2036.9929,69.8867))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
SetPlayerInterior(playerid,2);
GameTextForPlayer(playerid, "~w~To the HQ", 5000, 1);
SetPlayerPos(playerid,2543.462646,-1308.379882,1026.728393);
PlayerInfo[playerid][pInt] = 2;
PlayerInfo[playerid][pLocal] = 242;
}
}
"/exit"
else if (PlayerToPoint(3.0, playerid,2543.462646,-1308.379882,1026.728393))
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1123.5602,-2036.9929,69.8867);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
else if (PlayerToPoint(3, i,1123.5602,-2036.9929,69.8867))
{
GameTextForPlayer(i, "~y~Welcome to ~r~To the HQ~n~~w~Type /enter to go in", 5000, 5);
}