Label won't add to newly added car. (SCREENSHOT)
#3

Quote:
Originally Posted by Loot
Посмотреть сообщение
Shouldn't:
pawn Код:
VehicleLabel[vehicleid] = CreateDynamic3DTextLabel(string, COLOUR_ORANGE, x,y, z, 100.0, INVALID_PLAYER_ID, VehicleSQLID[vehicleid] , 0, 0, -1, -1, 20.0);
be?
pawn Код:
VehicleLabel[vehicleid] = CreateDynamic3DTextLabel(string, COLOUR_ORANGE, x,y, z, 100.0, INVALID_PLAYER_ID, vehicleid , 0, 0, -1, -1, 20.0);
If I understand correctly, VehicleSQLID is the vehicle id saved into the database, and vehicleid is the vehicle IG at that time.
AFAIK VehicleSQLID shouldn't be used as the reference to the 3D text since it should be attached to the vehicle you're currently at.
Fixed, thank you! Stupid mistake, I'm a moron sometimes. You saved me from a rage attack.
Reply


Messages In This Thread
Label won't add to newly added car. (SCREENSHOT) - by Dokins - 12.12.2013, 02:04
Re: Label won't add to newly added car. (SCREENSHOT) - by Loot - 12.12.2013, 03:02
Re: Label won't add to newly added car. (SCREENSHOT) - by Dokins - 12.12.2013, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)