Loadshit of error after adding...
#1

I added a hunger system.
http://pastebin.com/sVxFeU1X
After that, this is what I got :
pawn Код:
(3385) : warning 219: local variable "h" shadows a variable at a preceding level
(6748) : warning 219: local variable "h" shadows a variable at a preceding level
(7877) : warning 219: local variable "h" shadows a variable at a preceding level
(8165) : warning 219: local variable "h" shadows a variable at a preceding level
(8185) : warning 219: local variable "h" shadows a variable at a preceding level
(8202) : warning 219: local variable "h" shadows a variable at a preceding level
(8214) : warning 219: local variable "h" shadows a variable at a preceding level
(8276) : warning 219: local variable "h" shadows a variable at a preceding level
(8281) : warning 219: local variable "h" shadows a variable at a preceding level
(8286) : warning 219: local variable "h" shadows a variable at a preceding level
(8291) : warning 219: local variable "h" shadows a variable at a preceding level
(8296) : warning 219: local variable "h" shadows a variable at a preceding level
(8417) : warning 219: local variable "h" shadows a variable at a preceding level
(13041) : warning 219: local variable "h" shadows a variable at a preceding level
(17081) : warning 219: local variable "h" shadows a variable at a preceding level
(17094) : warning 219: local variable "h" shadows a variable at a preceding level
(17108) : warning 219: local variable "h" shadows a variable at a preceding level
(17124) : warning 219: local variable "h" shadows a variable at a preceding level
(22253) : warning 219: local variable "h" shadows a variable at a preceding level
(24058) : warning 219: local variable "h" shadows a variable at a preceding level
(24062) : warning 219: local variable "h" shadows a variable at a preceding level
(29837) : warning 219: local variable "h" shadows a variable at a preceding level
(37929) : warning 219: local variable "h" shadows a variable at a preceding level
(38075) : warning 219: local variable "h" shadows a variable at a preceding level
(38123) : warning 219: local variable "h" shadows a variable at a preceding level
(38471) : warning 219: local variable "h" shadows a variable at a preceding level
(40956) : warning 219: local variable "h" shadows a variable at a preceding level
(41288) : warning 219: local variable "h" shadows a variable at a preceding level
(41303) : warning 219: local variable "h" shadows a variable at a preceding level
(41333) : warning 219: local variable "h" shadows a variable at a preceding level
(41346) : warning 219: local variable "h" shadows a variable at a preceding level
(41353) : warning 219: local variable "h" shadows a variable at a preceding level
(41365) : warning 219: local variable "h" shadows a variable at a preceding level
(41375) : warning 219: local variable "h" shadows a variable at a preceding level
(41380) : warning 219: local variable "h" shadows a variable at a preceding level
(41386) : warning 219: local variable "h" shadows a variable at a preceding level
(41393) : warning 219: local variable "h" shadows a variable at a preceding level
(41398) : warning 219: local variable "h" shadows a variable at a preceding level
(41403) : warning 219: local variable "h" shadows a variable at a preceding level
(44311) : warning 219: local variable "h" shadows a variable at a preceding level
(47057) : warning 219: local variable "h" shadows a variable at a preceding level
(47306) : warning 203: symbol is never used: "h"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
How does that even make sense ?
Reply
#2

Do you have a global variable named 'h'?
Reply
#3

Nope.
every variable of my 'h' is a var of a loop.
Reply
#4

This means there's already a variable defined with the name "h" ...
Reply
#5

I know what this means, I just don't understand the problem here.
Let me re-script the hunger system.
Reply
#6

Do me a favor show me line
"(3385)"
"Pastebin don't work for me"
Reply
#7

Re-scripted,e verything alright, thanks though.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)