strlen INPUTTEXT
#1

I know its wrong,


if(strlen(inputtext),name,true)


but how to write it correcty? just wanna check if inputtext = same value of name
Reply
#2

strcmp
Reply
#3

/ already done I used

if(strcmp(inputtext, name))


thx anyway @vik
Reply
#4

Quote:
Originally Posted by playstores
Посмотреть сообщение
I just wanna check if inputtext = same value of name
That's a strcmp thing. Maybe you've done it wrong?
Reply
#5

pawn Код:
if(!strcmp(inputtext, name, false)
{
    //Same names
}
Reply
#6

See the return values on the wiki.
Reply
#7

https://sampwiki.blast.hk/wiki/Strcmp

All you need ^^^
Reply
#8

Quote:
Originally Posted by Dennis12
Посмотреть сообщение
What's the point in replying pretty much the exact same thing...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)