Please! need some help
#3

strcmp has a parameter to ignore case

Код:
strcmp(const string1[], const string2[], bool:ignorecase=false, length=cellmax)

set it to true..
for example
PHP код:
if(!strcmp(stringvar,"test",true)){



Edit: I misread the question.You want to compare if entered text is exactly equal to "TEsT" in that case leave default value as it is.
PHP код:
if(!strcmp(stringvar,"TEsT")){

https://sampwiki.blast.hk/wiki/Strcmp
Note: above one checks if the text is entirely equal to TEsT and i guess that's what you want.
Reply


Messages In This Thread
Please! need some help - by sage12 - 02.01.2019, 07:40
Re: Please! need some help - by AhmedMohamed - 02.01.2019, 08:37
Re: Please! need some help - by SyS - 02.01.2019, 09:32
Re: Please! need some help - by Y_Less - 02.01.2019, 12:31
Re: Please! need some help - by SyS - 03.01.2019, 02:00

Forum Jump:


Users browsing this thread: 2 Guest(s)