[Ajuda]Criando 191?
#5

Final gm
pawn Код:
stock strtok(const string[], &index,seperator=' ')
{
  new length = strlen(string);
  new offset = index;
  new result[128];
  while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1)))
  {
   result[index - offset] = string[index];
   index++;
  }

  result[index - offset] = EOS;
  if ((index < length) && (string[index] == seperator))
  {
   index++;
  }
  return result;
}
OnPlayerCommandText
pawn Код:
new cmd[128];
Reply


Messages In This Thread
[Ajuda]Criando 191? - by Manteiga01 - 04.12.2010, 12:48
Re: [Ajuda]Criando 191? - by TiagoPS - 04.12.2010, 13:00
Re: [Ajuda]Criando 191? - by ipsBruno - 04.12.2010, 13:32
Re: [Ajuda]Criando 191? - by Manteiga01 - 04.12.2010, 13:33
Re: [Ajuda]Criando 191? - by ipsBruno - 04.12.2010, 13:46
Re: [Ajuda]Criando 191? - by roginho_97 - 04.12.2010, 13:49
Re: [Ajuda]Criando 191? - by Manteiga01 - 04.12.2010, 16:32
Re: [Ajuda]Criando 191? - by roginho_97 - 04.12.2010, 17:52
Re: [Ajuda]Criando 191? - by TiagoPS - 04.12.2010, 18:47
Re: [Ajuda]Criando 191? - by Swat007forever - 04.12.2010, 20:56

Forum Jump:


Users browsing this thread: 4 Guest(s)