[Tutorial] [BEGINNER] Simple Commands & Functions
#4

I believe that '10' is the number of characters the command has (includes the slash). If the command was /kill, it'd be:

pawn Code:
if (strcmp("/kill", cmdtext, true, 5) == 0)
Not sure If I am correct though, I'm a beginner.
Reply


Messages In This Thread
[BEGINNER] Simple Commands & Functions - by McBan - 02.07.2013, 16:12
Re: [BEGINNER] Simple Commands & Functions - by mahony0509 - 02.07.2013, 17:27
Re: [BEGINNER] Simple Commands & Functions - by Vince - 02.07.2013, 17:36
Re: [BEGINNER] Simple Commands & Functions - by Twizted - 02.07.2013, 17:39

Forum Jump:


Users browsing this thread: 2 Guest(s)