11.07.2014, 19:30
Should i use PlayerTextDraw or Global TextDraws for creating information about house. Those TD i would use when player pickup house icon and it will show stats about that house (ID, Price, Owned or Not, Owner etc..)
new Text:td_HouseBackground;
new PlayerText:ptd_HousePrice[MAX_PLAYERS];
new PlayerText:ptd_HouseOwner[MAX_PLAYERS];
new PlayerText:ptd_HouseID[MAX_PLAYERS];
stock RandomFunction(playerid)
{
// ... random code
TextDrawShowForPlayer(playerid, td_HouseBackground);
PlayerTextDrawShow(playerid, ptd_HousePrice[playerid]);
PlayerTextDrawShow(playerid, ptd_HouseOwner[playerid]);
PlayerTextDrawShow(playerid, ptd_HouseID[playerid]);
// ... random code
}