11.12.2011, 11:54
pawn Код:
if(house != 255 && LocalSpawn[playerid] == 1)
{
if(SpawnChange[playerid])
{
SetPlayerInterior(playerid,HouseInfo[house][hInt]);
SetPlayerPos(playerid, HouseInfo[house][hEntrancex], HouseInfo[house][hEntrancey],HouseInfo[house][hEntrancez]);
PlayerInfo[playerid][pLocal] = house;
PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
}
return 1;
}