Moin moin,
ich habe da einen kleinen Fehler im Script!
Ich hoffe ihr könnt mir helfen...
Habe das ganz unten eingetragen:
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;
}
Danach kamen diese Errors:
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\pawno\include\SAMsites.inc(145) : error 004: function "OnSamSiteUpdate" is not implemented
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(52) : warning 201: redefinition of constant/macro (symbol "MAX_STRING")
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(253) : error 003: declaration of a local variable must appear in a compound block
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(68) : error 025: function heading differs from prototype
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(3498) : warning 219: local variable "speed" shadows a variable at a preceding level
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(3632) : error 017: undefined symbol "gTeam"
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(3632) : warning 215: expression has no effect
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(3632) : error 001: expected token: ";", but found "]"
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(3632) : error 029: invalid expression, assumed zero
C:\Users\Moriz\Desktop\Server Scripts\TESTEB\gamemodes\Real-Roleplay.pwn(3632) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
Bitte um Hilfe
Mfg
Hydra