02.04.2018, 20:24
PHP код:
new file[24], PASS, PASS_2;
format(file, sizeof(file), "Players/%s.ini", PName(playerid));
PASS = dini_Int(file, "PASS");
PASS_2 = num_hash(inputtext);
Example:
PHP код:
i wrote "SAMPFORUM" and it return a 2039451 hash pass.
in file, PASS value is "20344900".
PASS_2 get right value = "2039451"
but
PASS don't get value from file, returning "0" value to PASS var.