warning 219: local variable "string" shadows a variable at a preceding level
#1

Hello guys! I just want to include EVF, but I get an error like this:
Код:
D:\SAMPSERVER\Roleplay\pawno\include\dynamic_call.inc(59) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(701) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(951) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(994) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\YSI\..\YSI_Data\..\YSI_Internal\..\YSI_Core\y_utils.inc(1012) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\sscanf2.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\sscanf2.inc(396) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\pawno\include\EVF.inc(3424) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate")
Publics/publics.pwn(21) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/publics.pwn(77) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/house.pwn(119) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/business.pwn(75) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(79) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(94) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(124) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(142) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(175) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(193) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/atmbank.pwn(218) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(304) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(570) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(691) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(747) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/stock.pwn(1) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/stock.pwn(27) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/house.pwn(46) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/house.pwn(90) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/house.pwn(116) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/business.pwn(147) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/business.pwn(160) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/business.pwn(172) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/business.pwn(212) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/atmbank.pwn(96) : warning 219: local variable "string" shadows a variable at a preceding level
Stock/atmbank.pwn(177) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/OPPDP/house.pwn(12) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/OPPDP/house.pwn(18) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/OPPDP/business.pwn(15) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/OPSDO/furniture.pwn(13) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1111) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1680) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1691) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1702) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1713) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1724) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1738) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(52) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(83) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(105) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(300) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(367) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(739) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/house.pwn(805) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(40) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(67) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(129) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(209) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(240) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(259) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/business.pwn(410) : warning 219: local variable "string" shadows a variable at a preceding level
Publics/ODR/registerlogin.pwn(10) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1790) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1888) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1900) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1926) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1956) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1966) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(1977) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2021) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2169) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2258) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2301) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2335) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2352) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2368) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2378) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2420) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2671) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2714) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2830) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2845) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(2935) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3192) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3361) : error 010: invalid function or declaration
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3364) : error 021: symbol already defined: "format"
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3365) : error 010: invalid function or declaration
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3370) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3383) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3404) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3421) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3439) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3453) : error 017: undefined symbol "GetNearestVehicle"
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3456) : error 017: undefined symbol "GetVehicleBoot"
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3487) : error 017: undefined symbol "GetNearestVehicle"
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3490) : error 017: undefined symbol "GetVehicleBoot"
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3523) : error 017: undefined symbol "IsPlayerNearALogBuyer"
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3527) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMPSERVER\Roleplay\gamemodes\Roleplay.pwn(3534) : warning 203: symbol is never used: "string"
Previously there was no such error.

This is my include:

PHP код:
#include    <a_samp>
#include    <nex-ac>
#include    <a_mysql>
#include    <streamer>
#include    <foreach>
#include    <sscanf2>
#include    <EVF>
#include    <progress2>
#include    <Pawn.CMD>
#include    <WeaponData>
#include    <YSI\y_iterate>
#include    <YSI\y_va>
#include    <crashdetect> 
Can someone help me?
Reply
#2

It's from one of your include or your script,you create a global variable named 'string' which isn't a good practice.
Reply
#3

Quote:
Originally Posted by Verc
Посмотреть сообщение
It's from one of your include or your script,you create a global variable named 'string' which isn't a good practice.
But if i remove "#include <EVF>" the errors is gone
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)