textdraw
#1

How i can remove a textdraw when a player type /something?
Reply
#2

theres two choices
if you want to destroy it use
pawn Код:
TextDrawDestroy(textdrawid);
if you want just to hide it use
pawn Код:
TextDrawHideForPlayer(playerid, Textdrawid);
Reply
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
     if(strcmp(cmd, "/something", true) == 9)
     {
        TextDrawDestroy(Textdraw); //This destroys the Textdraw
        TextDrawHideForPlayer(playerid, Textdraw); //This one just hides it
// Remember to choose only one of them for 1 specific textdraw
        return 1;
     }
 return 0;
}
Reply
#4

Ok thanks guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)