Difference between revisions of "Player onkill"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==player_onkill( player )== This function is called whenever a player uses the ''kill'' command. Return true or false to allow/disallow. ===Inputs=== player(CFFPl...) |
(No difference)
|
Latest revision as of 19:05, 11 May 2009
|
player_onkill( player )This function is called whenever a player uses the kill command. Return true or false to allow/disallow. Inputsplayer(CFFPlayer) The player who's trying to off himself Examplesfunction player_onkill( player ) -- Don't let blue hunted suicide. if player:GetTeamId() == Team.kBlue then return false end return true end |