pawn Код:
jCMD (String[],Command []) ;
//-->
jCMD(cmdtext,"/kick"){/ / Divide the command parameter eg jCMD (cmdtext, "/ kick") or jCMD (text, "!kick");
//note: when using change in OnPlayerText return 1; to return 0; І Note: returns the paramentro (after '') in jCMD_params
return 1;/ / in OnPlayerText: return 0;
}
//<--
jCMD_Mid(String[],size);/ / returns what comes after a certain part of the text (in jCMD_params returns)
jCMD_Mid2(String[],Size,Command []); / * Removed Mid2 .. Reason: Only tests to prepare jCMD * /
jCMD_MidV(string[], size,output []);/ * The Same jCMD_Mid only thing that returns the array that you put in 'output []' * /
jCMD_Texto(text[] - So Can Be Used in Commands);/ / This was used to create the most jCMD, you can only use in OnPlayerCommandText, the wave is text[] enclose the command in quotation marks and bar Note: The even jcmd, use quotation marks and bar /
jCMD_Exit();/ / just to avoid the warning in GM / FS in OnGameModeExit or OnFilterScriptExit 'jCMD_Exit ();'