ScriptEvent:kickPlayer

From Mod Wiki
Revision as of 11:29, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.