[HELP]Undefined INI_INT and other errors
#8

Quote:
Originally Posted by mahdi499
Посмотреть сообщение
I suggest reinstalling YSI include, And add this to your script at the top #include <YSI\y_ini>

Then About the error at 487, Do you mind showing me the whole Callback? It should be under OnPlayerConnect.

About Error at 490, change
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
to
pawn Код:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
The error here was that you used COLOR_WHITE instead of COL_WHITE
My color defines are:
pawn Код:
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x9EC73DAA
#define COLOR_GROVE 0x00FF00FF
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW 0xDABB3EAA
#define COLOR_3DTEXT 0xF5DEB3AA
#define COLOR_ORANGE 0xF5DEB3AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_ALLDEPT 0xFF8282AA
#define COLOR_NEWS 0x458E1DAA
#define COLOR_OOC 0xFFFFFFAA
#define COLOR_LIGHT 0x00FFFFAA
#define COLOR_RED2 0xFF0000AA
#define COLOR_ORENGE 0xFF4500AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CORAL 0xFF7F50AA  
#define COLOR_TOMATO 0xFF6347AA
and my includes :
pawn Код:
#include <a_samp>
#include <a_http>
#include <xml>
#include <streamer>
#include <filemanager>
#include <MXini>
#include <utils>
#include <YSI\y_ini>
#include <sscanf>
Also, after I re-edited and made what u said it still have 6 Errors:
Код:
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(2336) : error 025: function heading differs from prototype
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(2383) : error 025: function heading differs from prototype
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(2819) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(2863) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw")
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(2907) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(2959) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditAttachedObject")
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\pawno\include\YSI\y_hooks/impl.inc(3018) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(491) : warning 225: unreachable code
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : warning 215: expression has no effect
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : error 001: expected token: ";", but found "-string-"
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : warning 215: expression has no effect
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : warning 215: expression has no effect
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : warning 215: expression has no effect
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : warning 215: expression has no effect
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : error 001: expected token: ";", but found ")"
C:\Users\SA-MP\Desktop\Fun-Generation [DM] Server\gamemodes\mishakonsta.pwn(498) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)