TextDraw InfoBox help
#1

Hello Everyone,

I want to know how can i make a Dynamic TextDraw InfoBox which can be used with any string and can be removed by pressing Caps Lock. I hope you understand.

If you can tell me simple functions to code this or show me any tutorial or anything? Will be appreciated by repping+ the person.

Thanks
Ballu Miaa
Reply
#2

You can get started by using this library.
Reply
#3

dont think you can capture the caps-lock press

https://sampwiki.blast.hk/wiki/GetPlayerKeys

youll have to use one of these keys,


then in the OnPlayerUpdate(playerid)
check if key is pressed and toggle the TD,
if you want to update the text i think you must destroy TD and remake it everytime.
Reply
#4

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
You can get started by using this library.
Thanks for that. Ill try to change it according to my needs for my usage! Repped+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)