SA-MP Forums Archive
Y_Classes help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Y_Classes help (/showthread.php?tid=253011)



Y_Classes help - (SF)Noobanatior - 04.05.2011

ive been playing around with YSI and when i try include Y_Classes i get a bunch of errors i have the latest svn versions and am stumped how to fix it any ideas welcome
Код:
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(245) : error 035: argument type mismatch (argument 2)
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(245) : warning 203: symbol is never used: "s"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(245) : warning 203: symbol is never used: "p"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(245) : warning 203: symbol is never used: "g"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(247) : warning 209: function "Group_SetPlayer" should return a value
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264) : error 035: argument type mismatch (argument 2)
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264) : warning 203: symbol is never used: "p"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264) : warning 203: symbol is never used: "g"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264 -- 266) : warning 221: label name "bool" shadows tag name
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264 -- 266) : warning 209: function "Group_GetPlayer" should return a value
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(266) : warning 203: symbol is never used: "bool"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264) : warning 203: symbol is never used: "p"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264) : warning 203: symbol is never used: "g"
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264 -- 266) : error 025: function heading differs from prototype
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264 -- 266) : error 025: function heading differs from prototype
E:\Games\GTA San Andreas\pawno\include\YSI\internal\y_grouponce.inc(264 -- 266) : fatal error 107: too many error messages on one line

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


5 Errors.



Re: Y_Classes help - iggy1 - 04.05.2011

You need to update every YSI include in paticular the internal include "y_grouponce". Go to the YSI thread and download all the new includes from the SVN link (very important that its the SVN link). It requires a username and password both are "public".


Re: Y_Classes help - (SF)Noobanatior - 05.05.2011

i tryed redownloading the whole svn again still get these errors any other ideas?


Re: Y_Classes help - AK47317 - 05.05.2011

try to use 0.3c pawno.. u using maybe 0.3b or 0.3a or something..


Re: Y_Classes help - Lorenc_ - 05.05.2011

Quote:
Originally Posted by AK47317
Посмотреть сообщение
try to use 0.3c pawno.. u using maybe 0.3b or 0.3a or something..
No just no.

--

I had complete set of errors when i had a include i made and it influenced with y_ini and dini, you might wanna check some functions inside you're includes.


Re: Y_Classes help - (SF)Noobanatior - 05.05.2011

a_samp
y_ini and
y_classes
are the only files im including