YSI Bug? - 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: YSI Bug? (
/showthread.php?tid=508782)
YSI Bug? -
MMOSlot - 23.04.2014
I downloaded YSI to add some commands to my script (I literally only started scripting yesterday, and have wrote a pretty decent DM script), but, I want to have more variety.
When I use YSI, Y_Iterate bugs out for some reason. Here's an example:
Код:
C:\Users\Karl\Desktop\Making a script\pawno\include\YSI\y_iterate.inc(909) : warning 202: number of arguments does not match definition
C:\Users\Karl\Desktop\Making a script\pawno\include\YSI\y_iterate.inc(922) : error 025: function heading differs from prototype
C:\Users\Sonya\Desktop\Making a script\gamemodes\AhernSwag.pwn(9) : error 017: undefined symbol "Langs_AddFile"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
As soon as I take away #include <YSI>, there are no errors and I can run the GM.
Re: YSI Bug? -
MMOSlot - 24.04.2014
Yea, I sorted the third line. I don't have any other includes? :$ this is the top of my script:
Код:
#define YSI_DO_USER_UPGRADE
#define PP_YSI
#define MODE_NAME "AhernSwag"
#include <a_samp>
#include <core>
#include <YSI>
//#pragma unused Langs_AddFile
//#pragma unused Langs_AddLanguage
Re: YSI Bug? -
MMOSlot - 25.04.2014
Код:
public OnPlayerDeath(playerid)
{
SendClientMessage(playerid,-1, "You have died, choose a new class and try again!");
return true;
}
Well, I don't see anything wrong with it tbh..
Re: YSI Bug? -
MMOSlot - 25.04.2014
Код:
public OnPlayerDeath(playerid,killerid,reason)
{
SendClientMessage(playerid,-1, "You have died, choose a new class and try again!");
return true;
}
Still the same error?