Call of Duty 4: Scripting Reference - Player::AllowProne

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


AllowProne( <player prone> )

Module: Player
SP Only

Summary:

Sets whether the player can go prone


Call this on: The player

Example:

level.player AllowProne( false );

Required arguments:

  1. <player prone>: A boolean. true if the player can go prone, and false otherwise


Optional arguments:

none


Notes:

none