Hello LFSlapper users,
I'm proud to release a new small version of LFSLapper.
Examplevideo: First test
NOTE: Sub Callback with 1 variable will cause errors in the ERRORfiles.
NOTE: Older Scripts need to be updated
I'm proud to release a new small version of LFSLapper.
+-------------------------------+
|Changes from 7.0.4.3 to 7.0.4.4|
+-------------------------------+
=================================================
New:
=================================================
1. New LapperFunction: AllowedPlayerCars($UserName,$Cars);
$UserName = Bass-Driver;
$Cars = XFG+XRT+RB4;
AllowedPlayerCars($UserName,$Cars);
2. New LapperVar: GetLapperVar("racetime");
Time will be reset after restarting the race.
Examplevideo: First test
=================================================
Update: Lappercore/Script Updates.
=================================================
1. Update Sub Callback for RegisterNodeAction() & RegisterZoneAction()
The Callback Sub for RegisterNodeAction() & RegisterZoneAction() is having a extra variable.
Example:
RegisterNodeAction( TESTID, getLapperVar( "ShortTrackName" ) , getCurrentPlayerVar("CurrNode") , test,"" );
Sub test($UserName,$ZoneID)
privmsg("ID=".$ZoneID); #output is TESTID
EndSub
Now it is possible to call this sub with differend Node/Zone actions
NOTE: Sub Callback with 1 variable will cause errors in the ERRORfiles.
NOTE: Older Scripts need to be updated
=================================================
Fixed: Lappercore fixes.
=================================================
1. Event OnAngleVelocity( $userName )
This event will now also execute with negative Angle values. (When you cars spins to the right or to the left)
Previously, only executes when car spins to the left.
2. RemoveNodeAction();
Lapper crashed when removing node with invalid NodeID.
3. RemoveZoneAction();
Lapper crashed when removing zone with invalid ZodeID.