ScriptEvent:kickPlayer

From Mod Wiki

Parameters

integer index -- Index of the position of the player to kick.
integer flags -- Additional options.

Result

None.

Supported By

sdTransport

Comments

  • If the index is below 0, all players will be kicked, otherwise the player in the specified index if there is one.
  • The only supported flag is EF_KILL_PLAYERS, which will kill the player(s) as well.

Functionality

Kicks the specified player(s) from the vehicle.