Hallo Com.
Habe verschiedenes versucht um die Errors rauszubekommen, doch bei manchen Versuchen hats geklappt dann kamen Warnings bei manchen halt nicht..
Hoffe auf schnelle Hilfe!
[s]C:\Users\Alikoo\Desktop\WorldLife\pawno\include\morphinc.inc(3) : warning 219: local variable "x2" shadows a variable at a preceding level
C:\Users\Alikoo\Desktop\WorldLife\pawno\include\morphinc.inc(3) : warning 219: local variable "y2" shadows a variable at a preceding level
C:\Users\Alikoo\Desktop\WorldLife\pawno\include\morphinc.inc(3) : warning 219: local variable "z2" shadows a variable at a preceding level[/s]
C:\Users\Alikoo\Desktop\hd\gamemodes\hd.pwn(15610) : error 021: symbol already defined: "strtok"
C:\Users\Alikoo\Desktop\hd\gamemodes\hd.pwn(15625) : error 047: array sizes do not match, or destination array is too small
[s]Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase[/s]
2 Errors.
15610 (1) => 15625 (17)
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;