02.10.2009, 00:43
As an example, If I want to do a /kick command (/kick <id> <reason>) I can do
id = strval(cmdtext[9]);
As for the <reason> param of the command I am unsure. I have tried this (untested). Is the correct way?
Then
Im just using an example. Would that work?
id = strval(cmdtext[9]);
As for the <reason> param of the command I am unsure. I have tried this (untested). Is the correct way?
pawn Код:
if((pos = strfind(cmdtext, " ", 6)) != -1) return pos = strfind(cmdtext, " ", 6)) != -1);
pawn Код:
if(strval[pos] >= 0) return The number cannot be a number!