3D Text Label
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
pawn Код:
Delete3DTextLabel(vehicle_label[User[playerid][ownedvehicle_id]]);
Before deleting, you must check if it is existing or not, because it may destroy the one with the value stored in that array.

Here you can do that by checking for vehicle instead (in your command: spawnvehicle)
pawn Код:
if (IsValidVehicle(User[playerid][ownedvehicle_id]))
{
    Delete3DTextLabel(vehicle_label[User[playerid][ownedvehicle_id]]);
    DestroyVehicle(User[playerid][ownedvehicle_id]);
}
Just for your future updating, maximum 3D text limit is 1024. (use streamer and you won't need to get into too much hassle like in this)
Well i am pretty sure it has nothing to do with the Delete3DTextLabel.
It's just that, the LabelUpdate updates the vehicle_label, instead of player_label.

By the way, thank you for letting me know.

Edit: IsValidVehicle doesn't exist.
Reply


Messages In This Thread
3D Text Label - by JaKe Elite - 31.10.2015, 05:08
Re: 3D Text Label - by Gammix - 31.10.2015, 05:17
Re: 3D Text Label - by JaKe Elite - 31.10.2015, 05:22
Re: 3D Text Label - by jlalt - 31.10.2015, 05:30
Re: 3D Text Label - by Gammix - 31.10.2015, 05:44
Re: 3D Text Label - by JaKe Elite - 31.10.2015, 05:50
Re: 3D Text Label - by Gammix - 31.10.2015, 06:02
Re: 3D Text Label - by JaKe Elite - 31.10.2015, 06:27
Re: 3D Text Label - by JaKe Elite - 31.10.2015, 07:27

Forum Jump:


Users browsing this thread: 1 Guest(s)