06.11.2009, 20:59
The whole thing isn't working -_-
Even if I cahnge it to that it's just not working. I have to use
twice, for the clanname and clantag but I dont know where and how to use that stupid code.
Even if I cahnge it to that it's just not working. I have to use
pawn Код:
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new clanname[128];
while ((idx < length) && ((idx - offset) < (sizeof(clanname) - 1)))
{
clanname[idx - offset] = cmdtext[idx];
idx++;
}
clanname[idx - offset] = EOS;

