y_races -
iJumbo - 12.07.2013
is 4.6 mega big for only
pawn Код:
public OnFilterScriptInit()
{
Langs_AddLanguage("IT","Italian");
gRace = Race_Create();
Race_SetLaps(gRace, 0);
Race_SetEntry(gRace, 0);
Race_SetFixedWin(gRace, false);
Race_SetExitTime(gRace, 5);
Race_SetInterior(gRace, 0);
Race_SetWorld(gRace, 400);
Race_AddStart(gRace, -305.5157,1510.1431,75.0187,183.6269);
Race_AddStart(gRace, -299.2621,1510.3364,75.0186,182.6061);
Race_AddCheckpoint(gRace, -306.8676,1396.6772,71.9437);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
+ y_races? or is normal?
Re: y_races -
iJumbo - 12.07.2013
Yes is normal? or yes is too big?
Re: y_races -
iJumbo - 12.07.2013
Yea i know but just for info.
Another question.
When i create the race, all required player joined, race started and ended with a winner ect.. i cant use again that race becouse is destroyed right?
becouse when i try to enter in race when is finish is not starting.. i have to reloadfs
Re: y_races -
iJumbo - 12.07.2013
Oh my bad. many thanks
iJumbo.
EDIT:
Is "IT","Italian" correct syntax for italian language on y races? becouse says no lang file founded or something like that
Re: y_races -
iJumbo - 12.07.2013
Yes in scriptfiles/YSI/text
Re: y_races -
iJumbo - 12.07.2013
You can see where i add Langs_AddLanguage in the script
Attach of error
Re: y_races -
iJumbo - 12.07.2013
What you mean?
oh so is a bug..
in core.IT
Код:
[ysi_race]
YSI_RACE_COUNTDOWN = %d
YSI_RACE_GO = VIA VIA VIA!!!
must be
Код:
[ysi_races]
YSI_RACE_COUNTDOWN = %d
YSI_RACE_GO = VIA VIA VIA!!!
?
EDIT: mmh no seems not work anyway..
another bug i found is like
/enterrace << make me enter the race and wait for start
/startrace << start the race and when i enter in last checkpoint is working fine..
ok now i type again /enterrace.. when i type /startrace i get teleported and prepared for race but server freeze i think on an infinite loop :/
Re: y_races -
iJumbo - 14.07.2013
Bump 24 hr ..
Re: y_races -
ReVo_ - 14.07.2013
Post /startrace and /enterrace command.
Re: y_races -
iJumbo - 14.07.2013
pawn Код:
Langs_AddLanguage("IT","Italian");
Race = Race_Create();
Race_SetLaps(Race, 0);
Race_SetEntry(Race, 0);
Race_SetFixedWin(Race, false);
Race_SetExitTime(Race, 5);
Race_SetInterior(Race, 0);
Race_SetWorld(Race, 400);
Race_SetRestart(Race, true);
Race_AddStart(Race, -305.5157,1510.1431,75.0187,183.6269);
Race_AddStart(Race, -299.2621,1510.3364,75.0186,182.6061);
Race_AddCheckpoint(Race, -306.8676,1396.6772,71.9437);
pawn Код:
Race_PlayerJoin(playerid, Race);
Race_Start(Race);
that all the code ...