problem with ondialogresponse and inputtext with password...
#2

You need this:

pawn Код:
if(strcmp(inputtext, "chilltime") == 0)
because Strcmp returns ZERO when the strings are the same.

Also you may want to use the 3rd parameter of Strcmp which is ignorecase as it's a password dialog box. For more info about Strcmp: https://sampwiki.blast.hk/wiki/Strcmp.
Reply


Messages In This Thread
problem with ondialogresponse and inputtext with password... - by niels44 - 19.12.2012, 18:42
Re: problem with ondialogresponse and inputtext with password... - by [KHK]Khalid - 19.12.2012, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)