y_hooks can`t use
#2

They are warnings and very simple to fix.

pawn Код:
warning 219: local variable "ip" shadows a variable at a preceding level
Rename `ip` global variable to something else.

pawn Код:
warning 219: local variable "sName" shadows a variable at a preceding level
Rename `sName` global variable to something else.

pawn Код:
warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level
Change the syntax from old and deprecated
pawn Код:
foreach(i, Player)
to the new syntax:
pawn Код:
foreach(new i : Player)
About the other thread, `OnPlayerLogin` is already defined (forwarded) in YSI. Rename it to something else.
`GetIP` is defined more than once and last, change md5 to bcrypt to hash passwords.
Reply


Messages In This Thread
y_hooks can`t use - by PepsiCola23 - 16.02.2019, 13:20
Re: y_hooks can`t use - by Calisthenics - 16.02.2019, 13:29
Re: y_hooks can`t use - by PepsiCola23 - 16.02.2019, 14:23
Re: y_hooks can`t use - by Calisthenics - 16.02.2019, 14:25
Re: y_hooks can`t use - by PepsiCola23 - 16.02.2019, 14:57
Re: y_hooks can`t use - by TheToretto - 16.02.2019, 15:09
Re: y_hooks can`t use - by PepsiCola23 - 16.02.2019, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)