Attaching text draw to vehicle
#7

Quote:
Originally Posted by maiky1499
Посмотреть сообщение
Kinda lost you back there;
I have this
Код:
format(string, sizeof(string), "%s", params);
VehSign[veh] = 1;
vcallsign[veh] = Create3DTextLabel(string, COLOR_WHITE, 0, 0, 0, 10, 0, 0); //adding textlabel
Attach3DTextLabelToVehicle(vcallsign[veh], veh, -0.5, -2.8, 0); //attaching text label to vehicle!
All of that works pretty well, now what I want to do is to remove the 3DText when the vehicle spawns again (respawns or destroy).

I tried this:
Код:
OnVehicleSpawn
if(VehSign[vehicleid])
{
Delete3DTextLabel(vcallsign[vehicleid]);
}
...BUMPED.
Reply


Messages In This Thread
Attaching text draw to vehicle - by maiky1499 - 27.12.2014, 19:48
Re: Attaching text draw to vehicle - by UltraScripter - 27.12.2014, 20:03
Re: Attaching text draw to vehicle - by LetsOWN[PL] - 27.12.2014, 20:06
Re: Attaching text draw to vehicle - by maiky1499 - 27.12.2014, 21:30
Re: Attaching text draw to vehicle - by Pottus - 27.12.2014, 21:54
Re: Attaching text draw to vehicle - by maiky1499 - 27.12.2014, 22:21
Re: Attaching text draw to vehicle - by maiky1499 - 28.12.2014, 23:06

Forum Jump:


Users browsing this thread: 3 Guest(s)