error complie
#8

Quote:
Originally Posted by !R1Ch@rD!
Посмотреть сообщение
I put these 2 works or you have it on?

pawn Код:
#pragma unused ret_memcpy
strock

pawn Код:
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;
}
you can look good

Strock use
Posting up pure fixes without any "need" for reading, doesn't teach people anything except copy and paste.

The problem is his code, and he needs to read it to find it, and to fix it he must know how to script.


By doing it for him, you end up with a "scripter" who can't read code, nor write it.
Reply


Messages In This Thread
error complie - by acforcenon1 - 05.11.2014, 23:19
Re: error complie - by Sew_Sumi - 06.11.2014, 01:44
Re: error complie - by acforcenon1 - 06.11.2014, 09:33
Respuesta: error complie - by !R1Ch@rD! - 06.11.2014, 14:08
Re: error complie - by acforcenon1 - 06.11.2014, 16:03
Re: error complie - by Djean - 06.11.2014, 18:17
Re: error complie - by acforcenon1 - 06.11.2014, 19:08
Re: Respuesta: error complie - by Sew_Sumi - 06.11.2014, 21:44
Respuesta: Re: Respuesta: error complie - by !R1Ch@rD! - 07.11.2014, 00:57
Re: error complie - by acforcenon1 - 07.11.2014, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)