I hope someone can help me with this ( I can't explain in title. )
#7

Little note for you again, maybe it's not too late to earn my rep!

Look, there is a difference:

pawn Код:
if(!strcmp(cmdtext, "/me", true, 3))
This you should not use, this is the form of a command you would script! (Read this again, it was also helpful for me at first: https://sampwiki.blast.hk/wiki/Using_strcmp%28%29 )

pawn Код:
if(strcmp(params, "General", true) == 0)
Here you don't write it in a form of command, you are comparing the string (strcmp) with the params and are checking it, if it's true! Therefore, you can use such a form!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)