onClientEnteredTrain
From Liberty Unleashed Wiki
This is called when the local player has successfully entered a train.
Syntax
function onClientEnteredTrain( int train )
Arguments
- train - The ID of the train the player entered
Returns
This event does not handle return values.
Example
This example will message the player when they enter a train.
function onClientEnteredTrain( train ) { Message( "You entered a train." ); return 1; }
Notes
The function Message was used in this example. More info about it can be found in the corresponding page.