YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
Whats Wrong ?
YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar.
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
aco_SRBIJA - 19.04.2012
#define MODE_NAME
Add it somewhere
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
Quote:
Originally Posted by aco_SRBIJA
#define MODE_NAME
Add it somewhere
|
the Same problem
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar.
nothing changed
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[Diablo] - 19.04.2012
pawn Code:
#define MODE_NAME "MyGamemode"
before including y_svar
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
Not Working
:S
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
to include YSI i just have to put
#include <YSI>
when i put it like this :
Code:
#inclusw <YSI>
#define MODE_NAME "Zm"
Not Working
But if i put it like dis :
Code:
#define MODE_NAME "Zm"
#include <YSI>
It Take too long to Compiler
and Warning Show : warning 203: symbol is never used: "Langs_AddLanguage"
I never add somthing Called Langs_AddLanguage
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[Diablo] - 19.04.2012
pawn Code:
#define MODE_NAME "Zm"
#include <YSI>
this is correct. the warning shows because the "YSI" file includes several libraries, including y_languages and y_text. those 2 libraries requires a "language" to be added to system
you can use under OnGameModeInit() callback:
pawn Code:
Langs_AddLanguage("EN", "English");
// more languages here
and the warning will disappear.
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
Thanks its work But why does it take long time to compile D: ?& + Rep
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
And Sometime it does't Response
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
If i Want To Define or include only Classes Wat should i do ?
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
new ZTeam = Class_Add(162,623.8319,-506.1828,16.3525,92.4209,WEAPON_CHAINSAW,22);
if(GetPlayerSkin(playerid) == ZTeam)
{
GameTextForPlayer(playerid, "~r~zombie Team", 1000, 4);
}
else if(GetPlayerSkin(playerid) == 2)
{
GameTextForPlayer(playerid, "~g~human Team", 1000, 4);
How and Where can i put this Class_SetPlayer(classid, playerid, bool
et);
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
[D]ry[D]esert - 19.04.2012
What About Group_SetPlayer
How it Work
Quote:
#define TEAM_ZOMBIES 1
#define TEAM_HUMANS 2
public OnPlayerSpawn(playerid)
{
new ZTeam = Class_AddForGroup(TEAM_ZOMBIES,162,623.8319,-506.1828,16.3525,92.4209,WEAPON_CHAINSAW,200);
if (classid = TEAM_ZOMBIES){
Group_SetPlayer(ZTeam, playerid, false);
return -1;
}
}
|
Код:
C:\Users\almooo\Desktop\Zombie server\pawno\include\YSI\y_classes.inc(545) : error 017: undefined symbol "Group_SetPlayer"
C:\Users\almooo\Desktop\Zombie server\gamemodes\Zm.pwn(68) : warning 213: tag mismatch
C:\Users\almooo\Desktop\Zombie server\gamemodes\Zm.pwn(69) : error 017: undefined symbol "classid"
C:\Users\almooo\Desktop\Zombie server\gamemodes\Zm.pwn(69) : warning 215: expression has no effect
C:\Users\almooo\Desktop\Zombie server\gamemodes\Zm.pwn(69) : error 001: expected token: ";", but found ")"
C:\Users\almooo\Desktop\Zombie server\gamemodes\Zm.pwn(69) : error 029: invalid expression, assumed zero
C:\Users\almooo\Desktop\Zombie server\gamemodes\Zm.pwn(69) : fatal error 107: too many error messages on one line
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
IceSKull - 04.07.2016
Same here Plz Here : user error: Please define "MODE_NAME" before including y_users.
when i add like this :
#include <YSI\y_users>
#define MODE_NAME "RunMeOnceOnly"
Then the error and if like that
#define MODE_NAME "RunMeOnceOnly"
#include <YSI\y_users>
Then Pawno Stop Working not responding plz help
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
Misiur - 04.07.2016
Leave it for a few minutes, and check then. Some YSI libraries make compile time much much longer
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
IceSKull - 05.07.2016
noo !! "close the app error" , and then no other choice
Re: YSI\y_svar.inc(67) : fatal error 111: user error: Please define "MODE_NAME" before including y_svar. -
SyS - 05.07.2016
amazing bump guys