31.03.2011, 22:14
I'm trying to attach 3D Texts to cars that are buyable in my script it works fine, but when the car spawns there is no 3D Text i have the code under OnVehcileSpawn and Onvehiclestreamin heres the code
pawn Код:
for(new i = 0;i < MAX_VEHICLES; i++)
{
new Float:tmpx, Float:tmpy, Float:tmpz;
GetVehiclePos(i, tmpx, tmpy, tmpz);
new Text3D:label = Create3DTextLabel("Car", 0x00FFFFFF,tmpx,tmpy,tmpz,20,0,1);
Attach3DTextLabelToVehicle(Text3D:label, i, 0, 0, 0);
}