YSI Bug?
#1

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.
Reply
#2

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
Reply
#3

Код:
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..
Reply
#4

Код:
public OnPlayerDeath(playerid,killerid,reason)
{
	 SendClientMessage(playerid,-1, "You have died, choose a new class and try again!");
	 return true;
}
Still the same error?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)