16.05.2018, 20:31
Quote:
I believe that you are the wrong one, As I'm checking that if the strcmp is equal to 1 then teleport the player, Else, then send the wrong password message.
|
if the string match strcmp will sub -1 so if strcmp is not equal to 0 strings not match
PHP код:
strcmp("test", "te"); //will return 2
strcmp("test", "tes"); //will return 1
PHP код:
strcmp("test", "test"); //will return 0