Called when a player attempts to use a teleporter to decide if the player should be allowed to teleport. Return Plugin_Continue to let the original calculation or return a higher action to override the decision with the value of 'result'
Action TF2_OnPlayerTeleport(int client, int teleporter, bool& result)
Client index.
Teleporter entity index.
Buffer param for the result of the decision. This is prepopulated with the game's original decision to let a player teleport.
Plugin_Continue for original calculation, higher value to use 'result'.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.