Hello Lapperusers,
We have been working in cooperation with "iceman121" on a cruise insim for many months now. During the development of this insim we encountered some bugs. Some are old bugs and some are fairly new, that are caused by the latest releases of LFSLapper, ye sorry . But we are gonna fix them bit by bit.
In this version we fixed some bugs and updated 1 GetLapperVar().
See the changelog below.
Have fun and see you on the roads
We have been working in cooperation with "iceman121" on a cruise insim for many months now. During the development of this insim we encountered some bugs. Some are old bugs and some are fairly new, that are caused by the latest releases of LFSLapper, ye sorry . But we are gonna fix them bit by bit.
In this version we fixed some bugs and updated 1 GetLapperVar().
See the changelog below.
=================================================
Changed:
=================================================
1: GetLapperVar(ShortDate): Possible to add a 2nd parameter to add/delete days
Example: calculate date of unban a player
$NewDate = GetLapperVar(ShortDate,5); // Adds 5 days to the current date
$NewDate = GetLapperVar(ShortDate,+5); // Adds 5 days to the current date
$NewDate = GetLapperVar(ShortDate,-5); // Deletes 5 days to the current date
=================================================
Fix:
=================================================
1: InstantSpeed Playervar didnt reset to '0' after going to pit or spec (Shift+P / Shift+S)
2: Angle of car didnt reset to '0' after going to pit or spec (Shift+P / Shift+S)
-This could spam Event OnAngleVelocity() after losing control and pit/spec at the same time.
3: Event OnTakeOverCar(): Typo in sourcecode, didnt execute the event.
4: RegisterScheduledAction(): Function did not execute when only minutes are set.
-Rewrote small code of RegisterScheduledAction() and (Priv/Host)DelayedCommand();
-Lapper will now check, if it is a scheduled action or a delayedaction.
5: RegisterStreetAction(); Lappercrash when changing tracks or random lappercrash when leaving a street.
6: RegisterZoneAction ID still remains when a player pit/specs while standing inside a zone.
Have fun and see you on the roads