strfind inputtext
#5

The code we both provided above will check if pKod and inputtext are the same, or technically if pKod string exists within inputtext.

Replace your code:
Код:
if(strfind(inputtext) == PI[playerid][pKod]) //Warning here
With this code:
Код:
if(strfind(inputtext, PI[playerid][pKod]) != -1)
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)