16.09.2016, 16:22
Hello all, i want to make my roleplay gamemode and i've got a buggy script after much work.
I think that's not okay to be that many warnings.
http://pastebin.com/4dd06bFq - here's my gamemode.
really thanks!
Code:
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.
http://pastebin.com/4dd06bFq - here's my gamemode.
really thanks!