Posts: 1,659
Threads: 17
Joined: Sep 2008
Quote:
Originally Posted by Surprice
PHP код:
if(PlayerInfo[playerid][pPhousekey] != 255)
{
if(SpawnChange[playerid] == 1)
{
PlayerInfo[playerid][SetHPos] = PlayerInfo[playerid][pPhousekey];
new house = PlayerInfo[playerid][pPhousekey];
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
PlayerInfo[playerid][pLocal] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
SetPlayerVirtualWorld(playerid, house+50);
return true;
}
}
|
А код входа в гараж?