Arn
Специалист
PHP:
\pawno\include\dutils.inc(368) : warning 219: local variable "str1" shadows a variable at a preceding level
\pawno\include\dutils.inc(368) : warning 219: local variable "str2" shadows a variable at a preceding level
\pawno\include\dutils.inc(427) : warning 219: local variable "str2" shadows a variable at a preceding level
\Samp-Rp.pwn(5001) : warning 219: local variable "house" shadows a variable at a preceding level
\Samp-Rp.pwn(5011) : warning 219: local variable "playername" shadows a variable at a preceding level
\Samp-Rp.pwn(10419) : warning 202: number of arguments does not match definition
\Samp-Rp.pwn(41158) : error 021: symbol already defined: "strtok"
\Samp-Rp.pwn(41172) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
error
PHP:
{
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;
}
