[AJUDA] Comando Simples
#5

Coloque isso no final do seu GameMode

PHP код:
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
[RESOLVIDO] Por: MIM - by GuiihCamargo - 05.03.2012, 23:58
Re: [AJUDA] Comando Simples - by histire - 06.03.2012, 00:00
Re: [AJUDA] Comando Simples - by steeldark - 06.03.2012, 00:20
Re: [AJUDA] Comando Simples - by GuiihCamargo - 06.03.2012, 00:27
Re: [AJUDA] Comando Simples - by Đeagle - 06.03.2012, 00:32
Re: [AJUDA] Comando Simples - by GuiihCamargo - 06.03.2012, 00:34
Re: [AJUDA] Comando Simples - by steeldark - 06.03.2012, 00:38
Re: [AJUDA] Comando Simples - by GuiihCamargo - 06.03.2012, 00:39
Re: [AJUDA] Comando Simples - by Đeagle - 06.03.2012, 00:41

Forum Jump:


Users browsing this thread: 1 Guest(s)