TextDraw hidden when player clicks?
#1

Hey, I'm wondering how to make so when somebody clicks ( LMB ) or any other key ( doesn't matter since I just wanna learn ) the textdraw closes ( basically TextDrawHideForPlayer ).

I've already did everything , like when you type /command, the textdraw shows. And then, when you click, textdraw closes. So how do you make it to close when you click?
Reply
#2

This could be of some help: https://sampforum.blast.hk/showthread.php?tid=328267
Reply
#3

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys & KEY_FIRE)
    {
        TextDrawHideForPlayer(playerid, /*TextDraw Name...*/);
        return 1;
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)