[AJUDA] /pintar
#6

Tente no fim do GM

pawn Код:
stock strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];

while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Reply


Messages In This Thread
[AJUDA] /pintar - by Oakley_TwOPaCk - 14.02.2012, 16:35
Re: [AJUDA] /pintar - by [NC]BlackSky - 14.02.2012, 16:38
Re: [AJUDA] /pintar - by Hard` - 14.02.2012, 16:39
Re: [AJUDA] /pintar - by Oakley_TwOPaCk - 14.02.2012, 16:41
Re: [AJUDA] /pintar - by [NC]BlackSky - 14.02.2012, 16:41
Re: [AJUDA] /pintar - by Hard` - 14.02.2012, 16:42
Re: [AJUDA] /pintar - by Oakley_TwOPaCk - 14.02.2012, 16:45
Re: [AJUDA] /pintar - by [NC]BlackSky - 14.02.2012, 16:50
Re: [AJUDA] /pintar - by Oakley_TwOPaCk - 14.02.2012, 16:55
Re: [AJUDA] /pintar - by [NC]BlackSky - 14.02.2012, 16:58

Forum Jump:


Users browsing this thread: 3 Guest(s)