Woofing Giraffe
Активный
- 402
- 49
Код:
char intext[128];
sprintf(intext, "%s", input);
char * pch = strtok(intext, " ");
while (pch != NULL)
{
if (*one = '\0')
{
sprintf(one, "%s", pch);
SF->getSAMP()->getChat()->AddChatMessage(-1, one);
oone = atoi(one);
}
else
{
sprintf(two, "%s", pch);
SF->getSAMP()->getChat()->AddChatMessage(-1, two);
ttwo = atoi(two);
activation = true;
}
sprintf(textcmd, " %d %d %d", carid, oone, ttwo);
pch = strtok(NULL, " ");
}