22.04.2012, 20:45
i have searched already but i didn't find anything about houses in the Spawn nor the Login
Also i had one for the house here it is
but it spawns reversed instead of the exit (inside)it spawns on the entrance(outside)
Also i had one for the house here it is
Код:
if(house !=255) { if(SpawnChange[playerid]) { SetPlayerToTeamColor(playerid); SetPlayerInterior(playerid,HouseInfo[house][hInt]); SetPlayerVirtualWorld(playerid,HouseInfo[house][hWorld]); SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player PlayerInfo[playerid][pLocal] = house; HouseEntered[playerid] = house; PlayerInfo[playerid][pInt] = HouseInfo[house][hInt]; return 1; } }