19.12.2012, 18:57
You need this:
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.
pawn Код:
if(strcmp(inputtext, "chilltime") == 0)
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.