Click to close textdraw
#1

Hi, I have textdraws of the rules of the server for when you join the server.

How do I make it where you can click via the LMB (Left Mouse Button) or press enter to destroy the textdraws (So you can't see them with out re-typing the command /rules)?


Thanks.
Reply
#2

Under your OnPlayerKeyStateChange callback

pawn Код:
if(newkeys == KEY_FIRE)
{
// Your HideTextdrawForPlayer Code.
}
Reply
#3

Quote:
Originally Posted by Ronaldo_raul™
Посмотреть сообщение
Under your OnPlayerKeyStateChange callback

pawn Код:
if(newkeys == KEY_FIRE)
{
// Your HideTextdrawForPlayer Code.
}
Cheers mate!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)