Posts: 1,276
Threads: 6
Joined: Aug 2014
Quote:
Originally Posted by Dusan01
my bad, try it like this:
PHP код:
new string1[128], string2[128];
format(string1, sizeof(string1), "%s",udb_hash(inputtext));
format(string2, sizeof(string2), "%s",udb_hash(PlayerInfo[playerid][pPass]));
if(!strcmp(string1, string2)) return ..............
|
Why are you formatting, you can just use strcmp like Kaliber has said. Waste of strings.