05.02.2012, 15:16
Upgrade your Server/Client to SA-MP 0.3d
For the second error add the strtok at the bottom of your script.
For the second error add the strtok at the bottom of your script.
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;
}