01.02.2015, 20:18
Hey guys, i got a little problem with y_inline, i've got some errors and warnings on my Gamemode because of that here are the Errors:
Here are the Lines that are causing that:
Hope you can help me out
pawn Код:
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(434) : warning 219: local variable "sType" shadows a variable at a preceding level
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(436) : warning 206: redundant test: constant expression is non-zero
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(455) : error 022: must be lvalue (non-constant)
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(455) : warning 215: expression has no effect
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(463) : error 022: must be lvalue (non-constant)
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(463) : warning 215: expression has no effect
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(471) : error 022: must be lvalue (non-constant)
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(471) : warning 215: expression has no effect
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(476) : error 022: must be lvalue (non-constant)
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(476) : warning 215: expression has no effect
C:\Users\xxx\Desktop\SAMP Servers\Only Fun\pawno\include\YSI\y_inline.inc(434) : warning 203: symbol is never used: "sType"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
// line 434
Nothing
// line 436
{
// line 455
// Register and Login
// line 463
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,"{COLOR_GOLD}Registering...","{COLOR_AQUA}This Account is not registered, Type your Password to Register.","Register","Quit");
// line 471
// Leave Message
// line 476
case 0: format(string, sizeof(string), "[LEAVE] %s has left Only Fun Server! (Lost Connection)", pname);