[HELP]І AJUDA COMPILANDO GM
#5

Funзгo completa:
strtok(const string[], &index)
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;
}


Linha 3193:
CreateDynamicObject(13592, -1244.453, -443.192, 30.588, 0.0, -48.988, -33.750);

Linha 4493:
result[index - offset] = EOS;
Reply


Messages In This Thread
[HELP]І AJUDA COMPILANDO GM - by tivin - 17.04.2011, 04:02
Re: [HELP]І AJUDA COMPILANDO GM - by tivin - 17.04.2011, 04:38
Re: [HELP]І AJUDA COMPILANDO GM - by JonathanFeitosa - 17.04.2011, 13:07
Re: [HELP]І AJUDA COMPILANDO GM - by Diogo_Bras - 17.04.2011, 13:31
Re: [HELP]І AJUDA COMPILANDO GM - by tivin - 17.04.2011, 14:21
Re: [HELP]І AJUDA COMPILANDO GM - by JonathanFeitosa - 17.04.2011, 14:28

Forum Jump:


Users browsing this thread: 1 Guest(s)