30.01.2013, 10:26
Quote:
No sorry. If you mean the default Command processor, that is not possible.
|
pawn Код:
if( !strcmp( cmdtext, "/cake", true ))
{
// /cake is 5 characters long. this means that index 6 is the first letter of the first param
if( sscanf( cmdtext[ 6 ], "s[4]", "hey" ))
Still would be more efficient to just use ZCMD though