08.01.2018, 20:02
Try debugging the code to make sure that inputtext and pKod are actually being set correctly:
Try this code and when you enter the code in game then check the server log to see what values are printed.
Could there be an issue with how you're loading pKod?
Код:
printf("inputtext is %s", inputtext); printf("pKod is %s", PI[playerid][pKod]); if(strcmp(inputtext, PI[playerid][pKod]) != -1) {
Could there be an issue with how you're loading pKod?