13.06.2018, 21:09
Tenta assim:
espero que n haja outro bug com UpdateDynamic3DTextLabelText
ou assim:
PHP код:
format(STRX, sizeof(STRX), "{00FFFF}Dono(a): {FFFFFF}%s \n\n{00FFFF}CasaID:{FFFFFF}%d", houseData[c][Dono], c);
UpdateDynamic3DTextLabelText(LabelCasa[c], Branco, STRX);
ou assim:
PHP код:
if(LabelCasa[c] == Text3D:INVALID_3DTEXT_ID)
{
LabelCasa[c] = CreateDynamic3DTextLabel(STRX, -1, houseData[c][houseX], houseData[c][houseY], houseData[c][houseZ], 30.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 3.0);
}
else
{
UpdateDynamic3DTextLabelText(LabelCasa[c], Branco, STRX);
}