28.10.2010, 15:22
Код:
new Float:pX,Float:pY,Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); new Float:Angle; GetPlayerFacingAngle(playerid, Angle); HouseInfo[playerid][hHouseX] = Float:pX; HouseInfo[playerid][hHouseY] = Float:pY; HouseInfo[playerid][hHouseZ] = Float:pZ; HouseInfo[playerid][hEnterHouse] = 0; HouseInfo[playerid][hMakingHouse] = 1; OnBuyHouse(playerid);