Quote:
Originally Posted by drekes
You can use parse()
PHP Code:
new szString[] = "Drekes is here";
new szFirst[10], szSecond[10];
parse(szString, szFirst, charsmax(szFirst), szSecond, charsmax(szSecond));
// szFirst = "Drekes"
// szSecond = "is here"
|
Don't work...
new said[192];
read_args(said, charsmax(said));
if (!said[0])
return PLUGIN_CONTINUE;
new msg1[32], msg2[32];
parse(said, msg1, charsmax(msg1), msg2, charsmax(msg));
if i write: hello b1ng0
msg1 show me : hello b1ng0
msg2 dont show nothing...