Can anyone help?
#4

1st error on this callback
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new Text3D:label; // It didn't have ";"
    Delete3DTextLabel(Text3D:label);
    return 1;
}
2nd error define the strtok
pawn Код:
// At The Bottom
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
Can anyone help? - by necrobg3 - 13.02.2012, 19:34
Re: Can anyone help? - by liinor - 13.02.2012, 20:07
Re: Can anyone help? - by necrobg3 - 14.02.2012, 20:04
Re: Can anyone help? - by Konstantinos - 14.02.2012, 20:09

Forum Jump:


Users browsing this thread: 1 Guest(s)