Problem with warnings (+REP)
#1

Код:
D:\games\Скинове О.О\Без гангове\pawno\include\dutils.inc(318) : warning 219: local variable "count" shadows a variable at a preceding level
D:\games\Скинове О.О\Без гангове\pawno\include\dutils.inc(337) : warning 219: local variable "count" shadows a variable at a preceding level
D:\games\Скинове О.О\Без гангове\pawno\include\foreach.inc(710) : warning 219: local variable "count" shadows a variable at a preceding level
D:\games\Скинове О.О\Без гангове\pawno\include\foreach.inc(752) : warning 219: local variable "count" shadows a variable at a preceding level
D:\games\Скинове О.О\Без гангове\pawno\include\foreach.inc(794) : warning 219: local variable "count" shadows a variable at a preceding level
D:\games\Скинове О.О\Без гангове\pawno\include\foreach.inc(847) : warning 219: local variable "count" shadows a variable at a preceding level
D:\games\Скинове О.О\Без гангове\pawno\include\foreach.inc(890) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars.pwn(8445) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars.pwn(8826) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Users\ники\Desktop\gangwars.pwn(9932) : warning 219: local variable "count" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Warnings.
Reply
#2

Replace the name of this variable in your GM...
Reply
#3

The variable count is probably globally defined on top of your gamemode, that prevents other-same-named variables to be defined. Just remove the new count; somewhere on top of your gamemode
Reply
#4

Thanks man, I give you rep!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)