AMXX-BG.INFO jctf.inc

jctf

Browse all symbols documented inside this include file.

Constants

Name Description
_jctf_included
_jctf_version = 1.26

Functions

Name Description
jctf_get_team This native returns the player's team NOTE: It doesn't check if player is actually a player, you could get plugin errors if you use it wrong.
jctf_get_flagcarrier This native returns if the player is carrying the flag NOTE: It doesn't check if player is actually a player, you could get plugin errors if you use it wrong.
jctf_get_adrenaline This native returns the player's adrenaline amount. NOTE: It doesn't check if player is actually a player, you could get plugin errors if you use it wrong.
jctf_add_adrenaline This native adds or substracts adrenaline from a player. NOTE: This can be used to set adrenaline too, you can empty it using -100 or fill it using 100 as iAdd. NOTE: It doesn't check if player is actually a player, you could get plugin errors if you use it wrong.

Forwards

Name Description
jctf_flag This forward triggers when a team's flag changes status. This forward also triggers, for example, when a flag is captured, for the capturing player and also for the assisting ones, each having bAssist true/false acordingly.