3D Text Labels conflict -
Battlezone - 13.08.2015
Under OnGameModeInit I got this:
Код:
CreateIntPickup(1318, UNDERGROUND_X,UNDERGROUND_Y,UNDERGROUND_Z, "Underground Metro");
Create3DTextLabel("Public Bikes Parking", 0x87FFFF, 1489.66, -2215.08, 13.92, 60, 0, 1);
Create3DTextLabel("Public Bikes Parking", 0x87FFFF, 1524.03, -2214.83, 13.93, 60, 0, 1);
And this is the CreateIntPickup function:
Код:
stock CreateIntPickup(pickupid, Float:x, Float:y, Float:z, description[20])
{
CreatePickup(pickupid, 1, x, y, z, -1);
strcat(description, "(/enter or F)", sizeof description+14);
Create3DTextLabel(description, 0xFFF00FF, x, y, z,35,0,1);
return 1;
}
Now those two 3d text labels are working fine :
Код:
CreateIntPickup(1318, UNDERGROUND_X,UNDERGROUND_Y,UNDERGROUND_Z, "Underground Metro");
Create3DTextLabel("Public Bikes Parking", 0x87FFFF, 1489.66, -2215.08, 13.92, 60, 0, 1);
But this one shows "(/enter or F)" instead of "Public Bikes Parking"
Код:
Create3DTextLabel("Public Bikes Parking", 0x87FFFF, 1524.03, -2214.83, 13.93, 60, 0, 1);
I'm not sure, but could this be a samp bug?
Re: 3D Text Labels conflict -
Battlezone - 13.08.2015
Worked when I did this
Код:
new Text3D:Up = Create3DTextLabel("Public Bikes Parking", 0x87FFFF, 1489.66, -2215.08, 13.92, 60, 0, 1);
Update3DTextLabelText(Up, 0x87FFFF, "Public Bikes Parking");
Though this is likely a samp bug, waiting for someone to confirm it.