16.11.2011, 15:01
pawn Код:
for(new h = 0; h < sizeof(HouseInfo); h++)
{
if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]))
{
if(HouseInfo[h][hOwned] == 1)
{
if(HouseInfo[h][hRentabil] == 0)
{
/* This is line 52338*/ format(string, sizeof(string), "~r~~h~Propiedad Privada~n~~y~%s",HouseInfo[h][hOwner]); // THIS IS LINE 52338
}
else
{
format(string, sizeof(string), "~r~~h~Propiedad Privada~n~~y~---------------~r~Renta: ~w~%d~g~$~n~~r~Dueсo: ~w~%s~n~~y~---------------~n~~b~~h~/rcuarto",HouseInfo[h][hRent],HouseInfo[h][hOwner]);
}
GameTextForPlayer(i, string, 5000, 3);
TextDrawShowForPlayer(i, HouseDraw[i]);
TextDrawSetString(HouseDraw[i], string);
return 1;
}
else
{
// Code
}
}
}