Deletinfg a 3D Text Label
#1

pawn Код:
Create3DTextLabel(string2,COLOR_LIGHTRED,deadx[playerid],deady[playerid],deadz[playerid],40.0,0);
How the firetruck can I delete a 3d text label when I dont have a ID to do such a thing, so can anyone identify this text labels ID?
Reply
#2

Quote:
Originally Posted by Riddy
Посмотреть сообщение
pawn Код:
Create3DTextLabel(string2,COLOR_LIGHTRED,deadx[playerid],deady[playerid],deadz[playerid],40.0,0);
How the firetruck can I delete a 3d text label when I dont have a ID to do such a thing, so can anyone identify this text labels ID?
First make a global var like the following:-

pawn Код:
new Text3d:n_bMyText; // global 3d text var at top
then create the 3d text label like this:

pawn Код:
n_bMyText = Create3DTextLabel( string2, COLOR_LIGHTRED, deadx[ playerid ], deady[ playerid ], deadz[ playerid ], 40.0, 0 ); // this is n_bMyText is your id
then for deleting use the following:

pawn Код:
Delete3DtextLabel( n_bMyText ); // now deleting it :))
Hope this helps

-FalconX
Reply
#3

@edit : Already posted above.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)