10.08.2009, 16:07
pawn Код:
stock HouseID(playerid)
{
new returnid = 1;
for(new i = 1;i < sizeof(StaticHouse);i ++)
{
if(PlayerToPoint(1,playerid,House[i][HD_ExtX],House[i][HD_ExtY],House[i][HD_ExtZ]))
{
returnid = i;
}
}
return returnid;
}