| Function | Description |
|---|---|
| tfc_isgrenade | *********** Shared Natives End ******************************* |
| tfc_userkill | This function has no description. |
| tfc_setpddata | Use this function to set private data offsets if needed Default offsets: timer: 932 sentrygun: 83 from AssKicR shells: 53 bullets: 55 cells: 57 rockets: 59 nade1: 14 nade2: 15 |
| tfc_setmodel | ****************************************************************** |
| tfc_clearmodel | This function has no description. |
| tfc_getbammo | Ammo Types in tfcconst.inc |
| tfc_setbammo | Set amount of ammo in backpack on a user for a specific weapon |
| tfc_getweaponbammo | Weapons list in tfcconst.inc |
| tfc_setweaponbammo | Sets amount of ammo in weapon's clip (backpack) |
| tfc_getweaponammo | Index must be weapon's entity index |
| tfc_setweaponammo | Index must be weapon's entity index |
| tfc_get_user_goalitem | Returns 1 if user is carrying a goal item such as a flag or a keycard, else 0. Team is by reference parameter that will be set to owning team(s) of the goal item. Use the TFC_GOALITEM_* constants to determine the owning team. |
| tfc_is_user_feigning | Returns 1 if the player is a spy and is currently feigning death |
| tfc_is_team_ally | Returns 1 if the two teams are allies, 0 otherwise
Note: Team must be 1->4
Team 0 will always return 0
Any other team will result in an error |
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.