Help me to fix this errors
#1

I want to fix this error in my admin system pls help me.

Код:
#include <a_samp>
#include <core>
#include <float>
#include <string>
#include <file>
#include <time>
#include <a_players>
#include <a_vehicles>
#include <a_objects>
#include <dini>
#include <sscanf>
#include <strlib>
Код:
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;
}

Errors while compiling
Код:
F:\server\Cops and robbers\arjanzadmin.pwn(274) : error 021: symbol already defined: "strtok"
Reply


Messages In This Thread
Help me to fix this errors - by Suresh - 03.07.2014, 16:22
Re: Help me to fix this errors - by kamiliuxliuxliux - 03.07.2014, 16:24
Re: Help me to fix this errors - by Blademaster680 - 03.07.2014, 16:26
Re: Help me to fix this errors - by Suresh - 03.07.2014, 16:33
Re: Help me to fix this errors - by kamiliuxliuxliux - 03.07.2014, 16:44
Re: Help me to fix this errors - by Dziugsas - 03.07.2014, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)