26.07.2015, 07:55
(
Последний раз редактировалось dominik523; 26.07.2015 в 09:42.
)
Variable that stores a text label has to have different tag:
And when you want to empty that variable, you will have to store '0' inside, not "NULL".
EDIT: Oops, sorry I didn't see you were emptying pHouse[i][Owner] which is a string. I thought you were setting your htext to a 0.
pawn Код:
enum hinfo
{
id,
Cost,
Owner[MAX_PLAYER_NAME],
bool:hBought,
VW,
Interior,
Float:extX,
Float:extY,
Float:extZ,
Float:intX,
Float:intY,
Float:intZ,
hpickup,
Text3D:htext <---
};
new pHouse[MAX_HOUSES][hinfo];
pawn Код:
pHouse[i][Owner]= Text3D:0; <-- Let's say 0 doesn't have a tag (actually it has, and it is _: ) and you want to store it inside of a variable with Text3D:, so you will have to add a tag to the 0 so you won't get tag mismatch

