11.07.2016, 19:44
PHP код:
\pawno\include\YSI\y_debug.inc(277) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_debug.inc(339) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_debug.inc(344) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_amx.inc(454) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_amx.inc(904) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_amx.inc(926) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_utils.inc(246) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_utils.inc(369) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_utils.inc(396) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_utils.inc(475) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_malloc.inc(488) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_malloc.inc(613) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_timers/impl.inc(338) : warning 219: local variable "str" shadows a variable at a preceding level
\pawno\include\YSI\y_timers/impl.inc(358) : warning 219: local variable "str" shadows a variable at a preceding level
\gamemodes\zma.pwn(400) : warning 219: local variable "str" shadows a variable at a preceding level
\gamemodes\zma.pwn(470) : warning 219: local variable "str" shadows a variable at a preceding level
\gamemodes\zma.pwn(500) : warning 219: local variable "str" shadows a variable at a preceding level
PHP код:
function OnMapUpdate()
{
gtime -= 1;
new str[64];
format(str,sizeof(str),"~r~%d",gtime);
TextDrawSetString(TimeLeft,str);
if(gtime <= 0) TextDrawSetString(TimeLeft,"~y~Evac"),KillTimer(mapvar),KillTimer(balvar),SetTimer("ShowCheckpoint",MAX_SHOW_CP_TIME,false);
return 1;
}