17.04.2015, 08:32
Quote:
give me example and by the way when i do it,lets say i want to show all of the furnitures ,max furnitures per house is 250,so i will have to loop 250 and do Furniture[houseid][i]
|
If the player owns the house, say he wants to edit/display furniture ect. you would simply need to loop through the array:
for (new i = 0; i < MAX_PER_HOUSE; i++)
{
if (IsValidDynamicObject (Furniture[playerid][i][id]))
{
....
}
}
On mobile sorry.