mSelection include error
#1

I downloaded mSelection include from ****** and now I putted one on include folder and other on pawno--include folder
and did
#include <mSelection> on the gamemode but I get include error here what i found, I dont know how to fix it plz help !!

....\pawno\include\mSelection.inc(698 ) : warning 219: local variable "string" shadows a variable at a preceding level
pawn Код:
(698)stock mS_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
mSelection include error - by D3vin - 08.11.2014, 19:54
Re: mSelection include error - by Kwarde - 13.11.2014, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)