strfind inputtext
#8

Try debugging the code to make sure that inputtext and pKod are actually being set correctly:
Код:
printf("inputtext is %s", inputtext);
printf("pKod is %s", PI[playerid][pKod]); 
if(strcmp(inputtext, PI[playerid][pKod]) != -1)
			{
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?
Reply


Messages In This Thread
strfind inputtext - by maksicnm - 08.01.2018, 19:26
Re: strfind inputtext - by MEW273 - 08.01.2018, 19:35
Re: strfind inputtext - by Misiur - 08.01.2018, 19:36
Re: strfind inputtext - by maksicnm - 08.01.2018, 19:41
Re: strfind inputtext - by MEW273 - 08.01.2018, 19:50
Re: strfind inputtext - by Misiur - 08.01.2018, 19:52
Re: strfind inputtext - by maksicnm - 08.01.2018, 19:57
Re: strfind inputtext - by MEW273 - 08.01.2018, 20:02
Re: strfind inputtext - by Misiur - 08.01.2018, 20:03
Re: strfind inputtext - by maksicnm - 08.01.2018, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)