y_inline
#1

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:
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.
Here are the Lines that are causing that:
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);
Hope you can help me out
Reply
#2

Bump
Reply
#3

Well, for starters until you work out the errors disregard the warnings. You script will generally still compile and run with warnings. Errors however are a different story. See, pawno is weird in the way that sometimes it tells you the error is on the line after where it actually is. In order for me to help you I will also need lines 454, 462, 470, and 475. If you don't want them shared publicly just PM me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)