TextDrawDestroy

From SA-MP Wiki

Jump to: navigation, search

TextDrawDestroy


Destroys a TextDraw.


Parameters:
(Text:text)
textThe TextDraw to destroy.


This function does not return a specific value.


new Text:textdraw;
 
 
public OnGameModeInit()
{
    textdraw = TextDrawCreate(...);
    return 1;
}
 
public OnGameModeExit()
{
    TextDrawDestroy(textdraw);
    return 1;
}

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.


Personal tools