SA-MP Forums Archive
[Include] Interactive clickable textdraw keypad system (Easy to use) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] Interactive clickable textdraw keypad system (Easy to use) (/showthread.php?tid=329097)

Pages: 1 2


Re: Interactive clickable textdraw keypad system (Easy to use) - MP2 - 28.03.2012

Because I was never going to release it, I only made it to practise using the new textdraw functions.

But I fully appreciate your feedback, as always, and will modify the code.

As for the poor names, any tips? I've never been very good at naming variables.

As for '146Kb of data' - do you mean because MAX_PLAYERS is 500? Look at the 'installation' section in the first post. Otherwise, you mean it's a sparse array?

As for it being easy to crack, it's not really important, because it's only SA:MP, not a bank account, but I did originally plan to have an 'enter' key, but that would involve editing the textdraws. I may do it though.

EDIT: I have put the variables in an enum now. Any advice on names?


Re: Interactive clickable textdraw keypad system (Easy to use) - xX60CentXx - 28.03.2012

nice i love it *__*


Re: Interactive clickable textdraw keypad system (Easy to use) - MP2 - 28.03.2012

In response to ******' feedback, I have started to work on v2, which will have the following features:

- An 'attempts=1' parameter in CreateKeypad, so you can allow the player to have multiple attempts (input callback may need an 'attempts' parameter.
- 'Enter' key which will submit the entered code, instead of it checking when the length matches (as per ******' feedback)
- Optimized code (as per ******' tips)

Here's a look at the new 'enter' key:



Aiming to have it released next weekend.


Re: Interactive clickable textdraw keypad system (Easy to use) - jamesbond007 - 29.03.2012

wow.. cool man.. nice idea


Re: Interactive clickable textdraw keypad system (Easy to use) - ikey07 - 30.03.2012

I liked 1st one, and we dont talk about NASA keypads so, why should someone worry how you name your variables, you can name them ILikeTrains[MAX_PLAYERS] if you like..


Re: Interactive clickable textdraw keypad system (Easy to use) - Angel.Why - 16.04.2012

amanzing but how do you set the code?:-/


Re: Interactive clickable textdraw keypad system (Easy to use) - vIBIENNYx - 22.05.2012

If you could please make it so that the user can display how many numbers they have pressed in..

For example it displays above the keypad: ***** instead of 12345.. It looks really good though, I may use this in future.


Re: Interactive clickable textdraw keypad system (Easy to use) - vIBIENNYx - 23.05.2012

If you could please make it so that the user can display how many numbers they have pressed in..

For example it displays above the keypad: ***** instead of 12345.. It looks really good though, I may use this in future.


Re: Interactive clickable textdraw keypad system (Easy to use) - Jake_Ramsay - 24.06.2012

Could the blast door in area 69 please be made into a filterscript? I want to use it on my server for the STAG/NG
Thanks in advance!

Also, THIS IS AMAZING!!!!!!!!!!!!!!!!!!!


Re: Interactive clickable textdraw keypad system (Easy to use) - MP2 - 24.06.2012

Quote:
Originally Posted by Jake_Ramsay
Посмотреть сообщение
Could the blast door in area 69 please be made into a filterscript? I want to use it on my server for the STAG/NG
Thanks in advance!

Also, THIS IS AMAZING!!!!!!!!!!!!!!!!!!!
It's not difficult to do. Literally copy and paste..


Re: Interactive clickable textdraw keypad system (Easy to use) - Kontrol - 21.04.2013

This is nice, could be made into a mobile phone system!


Re: Interactive clickable textdraw keypad system (Easy to use) - coloN - 01.07.2014

Does anyone have this include?


Re: Interactive clickable textdraw keypad system (Easy to use) - JonathanW - 01.07.2014

A small picture maybe?
Code sounds good.


Re: Interactive clickable textdraw keypad system (Easy to use) - coloN - 01.07.2014

Quote:
Originally Posted by JonathanW
Посмотреть сообщение
A small picture maybe?
Code sounds good.
U can watch the video


Re: Interactive clickable textdraw keypad system (Easy to use) - OKStyle - 27.09.2014

link is dead, use this (only inc): http://pastebin.com/kcQd3ssh


Re: Interactive clickable textdraw keypad system (Easy to use) - Leitoo - 29.10.2014

www.movieserv.net/files/keypad_test.pwn

Good work !!

PS : This link is dead, someone can upload this file pleeaaaase ?


Re: Interactive clickable textdraw keypad system (Easy to use) - MP2 - 04.04.2015

Files re-uploaded. Sorry for the wait.


Re: Interactive clickable textdraw keypad system (Easy to use) - Golf - 05.04.2015

thanks MP2 3: :3 ^^


Re: Interactive clickable textdraw keypad system (Easy to use) - Riccardomen - 14.04.2015

reupload link dead


Re: Interactive clickable textdraw keypad system (Easy to use) - S3DOx - 14.07.2018

There Is No Ms_staff.inc where can i get this from ?