

Steps to update to from LFSLapper 6.0.1.2 to 6.0.1.4


Add the following to the various files:
-------------------------------------------------------------------------------
LFSLapper.lpr:
-------------------------------------------------------------------------------
Event OnREO ( $NumP, $ReqI, $GridOrder ) # Lapper event to recieve Race Order - can request it using RequestREO( );
	# NumP: Number of Players in this Race
	# ReqI: 0 = packet was server initiated, > 0 packet was user requested
	# GridOrder : Comma separated list of PLIDs in grid order
#	globalMsg ( "Reoorder list = " . $GridOrder);
EndEvent

Event OnRaceEnd( ) # Lapper event generated when server returns to main menu, ending the race (CTRL-X vote)

EndEvent

-------------------------------------------------------------------------------
Update the definition if the OnDisConnect function to this to handle extra parameters:
Event OnDisConnect( $userName, $reason ) # Player event

-------------------------------------------------------------------------------
includes/consts.lpr:
-------------------------------------------------------------------------------
# Race state
const RACESTATE_NONE			0; # Race is yet to start
const RACESTATE_INPROGRESS		1; # Race is in progress
const RACESTATE_FINISHING		2; # First racer has crossed the finish line
const RACESTATE_COMPLETE		3; # All racers have a confirmed result

# Action types for OnButtonFunction
const BFN_DEL_BTN				0; #delete one button (must set ClickID)
const BFN_CLEAR					1; #clear all buttons made by this insim instance
const BFN_USER_CLEAR			2; #user cleared this insim instance's buttons
const BFN_REQUEST				3; #SHIFT+B or SHIFT+I - request for buttons

-------------------------------------------------------------------------------
includes/utils.lpr:
-------------------------------------------------------------------------------
 * Download the latest community utils.lpr at http://www.lfsforum.net/showthread.php?t=71245
