So habe mir das script jez nochmal von der Festplatte genommen,so ist es original übernommen von 0.3a ohne das ich irgendwas verändert habe da kommt bei o.3c folgende errors
[pwn]D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(522) : error 025: function heading differs from prototype
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(523) : error 021: symbol already defined: "strtok"
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(538) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(730) : warning 217: loose indentation
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(738) : warning 217: loose indentation
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2010) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2072) : warning 204: symbol is assigned a value that is never used: "zeitrechnen"
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2190) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2406) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2418) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2436) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2466) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2485) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2721) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2728) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2928) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2982) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2985) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2989) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(2993) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(3026) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(3674) : error 047: array sizes do not match, or destination array is too small
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(4271) : warning 219: local variable "mod" shadows a variable at a preceding level
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(4399) : warning 219: local variable "mod" shadows a variable at a preceding level
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(4487) : warning 217: loose indentation
D:\PROGRA~1\ROCKST~1\GTASAN~1\GAMEMO~1\myrl.pwn(4999) : warning 235: public function lacks forward declaration (symbol "tutorial")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
19 Errors.
Das ist zeile 522-523
strtok(const string[], &index, trenner = ' ')
{
new length = strlen(string);
while ((index < length) && (string[index] <= trenner))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > trenner) && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Das ist zeile 538
return result;
das ist 2010
cmd = strtok(cmdtext, idx);
und die anderen errors haben auch alle mit dem cmd = strtok(cmdtext, idx); zu tun
[/pwn]