C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc(289) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc(298) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(419) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1010) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1032) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1049) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(412) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(590) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(617) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(682) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(1079) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(1099) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_malloc/funcs.inc(435) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_malloc/funcs.inc(572) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_inline/impl.inc(1468) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_inline/impl.inc(1735) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_stringhash.inc(306) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_hooks/impl.inc(443) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\y_ini/reading.inc(550) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(119) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(120) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(200) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(228) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(228) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(236) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(238) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(238) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(246) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(522) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(588) : warning 203: symbol is never used: "AdminInfo" C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(588) : warning 203: symbol is never used: "gMyPlayerText" C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(588) : warning 203: symbol is never used: "str" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 32 Warnings.
if(PlayerInfo[playerid][aDuty] = 0)
AdminInfo[playerid][aDuty] == 0)
"str" is being used by YSI library (probably as name of parameter). Remove "str" declaration as global from line 56 and declare it each time as local where needed to be used. Otherwise just rename it.
When you want to check if X is equal to Y, we use double equal sign such X == Y. Go to the lines that gave warning 211: possibly unintended assignment and correct them. You have 3 different enums that are used in 3 different arrays. Using an array with a different constant from another enum will give tag mismatch. For example: pawn Code:
Code:
AdminInfo[playerid][aDuty] == 0) |