30.08.2017, 10:17
DestroyDynamic3DTextLabel require a integer with the tag
. GetPVarInt only gives a integer without any tags.
If you know what your PVar have, you can do that :
This is the same thing but we de-tag the value get by CreateDynamic3DTextLabel
You really should read https://sampwiki.blast.hk/wiki/Scripting:tags
PHP код:
Text3D
If you know what your PVar have, you can do that :
PHP код:
DestroyDynamic3DTextLabel(Text3D:GetPVarInt(playerid, "author"));
PHP код:
SetPVarInt(playerid, "author", _:CreateDynamic3DTextLabel(string, 0xFFFFFFFF, x, y, z + 1.0, 20, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, .worldid = GetPlayerVirtualWorld(playerid), .interiorid = GetPlayerInterior(playerid)));