SA-MP Forums Archive
error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error (/showthread.php?tid=508946)



error - hillko - 24.04.2014

Код HTML:
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(3478) : error 017: undefined symbol "INI_ParseFile"
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(3478) : warning 215: expression has no effect
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(3478) : error 029: invalid expression, assumed zero
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(3478) : error 017: undefined symbol "extra"
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(3478) : fatal error 107: too many error messages on one line

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


4 Errors.
Код HTML:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);



Re: error - Galletziz - 24.04.2014

check if you have included :

pawn Код:
#include <YSI\y_ini>



Re: error - hillko - 25.04.2014

Quote:
Originally Posted by Galletziz
Посмотреть сообщение
check if you have included :

pawn Код:
#include <YSI\y_ini>
Код HTML:
F:\GTA\СЕРВ\samp03e_svr_r2_win3\pawno\include\YSI\y_bit.inc(243) : error 025: function heading differs from prototype
F:\GTA\СЕРВ\samp03e_svr_r2_win3\pawno\include\YSI\y_bit.inc(243) : error 025: function heading differs from prototype
F:\GTA\СЕРВ\samp03e_svr_r2_win3\pawno\include\YSI\y_bit.inc(244) : error 021: symbol already defined: "Bit_Set"
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(11201) : warning 219: local variable "id" shadows a variable at a preceding level
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(11234) : warning 219: local variable "id" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.



Re: error - Mattakil - 25.04.2014

show all of your #includes.


Re: error - Galletziz - 25.04.2014

Quote:
Originally Posted by hillko
Посмотреть сообщение
Код HTML:
F:\GTA\СЕРВ\samp03e_svr_r2_win3\pawno\include\YSI\y_bit.inc(243) : error 025: function heading differs from prototype
F:\GTA\СЕРВ\samp03e_svr_r2_win3\pawno\include\YSI\y_bit.inc(243) : error 025: function heading differs from prototype
F:\GTA\СЕРВ\samp03e_svr_r2_win3\pawno\include\YSI\y_bit.inc(244) : error 021: symbol already defined: "Bit_Set"
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(11201) : warning 219: local variable "id" shadows a variable at a preceding level
F:\GTA\СЕРВ\samp03e_svr_r2_win3\gamemodes\bRush.pwn(11234) : warning 219: local variable "id" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
check if you don't use a different systems for to read and to load ini files.. For exemple, if you use YSI\y_ini, can't use SII or Dini..


Re: error - hillko - 25.04.2014

Quote:
Originally Posted by Galletziz
Посмотреть сообщение
check if you don't use a different systems for to read and to load ini files.. For exemple, if you use YSI\y_ini, can't use SII or Dini..
Код HTML:
#include                                         <      a_samp      >
#include                                         <      SQlite      >
#include                                         <       dini       >
#include                                         <     streamer     >
#include 										 <		 a_http     >
#include                                         <YSI\y_ini>
include in my gamemode


Re: error - Galletziz - 25.04.2014

Quote:
Originally Posted by hillko
Посмотреть сообщение
pawn Код:
#include <a_samp>
#include <SQlite>
#include <dini>
#include <streamer>
#include <a_http>
#include <YSI\y_ini>
include in my gamemode
I guessed that you used two systems of reading and writing of files. ini different, that's why I made ​​that example.

You can not use dini and YSI \ y_ini both, seeks to unify everything in one system of reading and writing INI files.

good luck..


Re: error - Mattakil - 25.04.2014

Use Y_INI OR D_INI, dont use both. It's like trying to put chevy parts on a ford.


Re: error - Classical - 25.04.2014

Done.