3D Text Label
#2

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)
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: 3 Guest(s)