PlayerFrags

From ZDoom Wiki

Jump to: navigation, search

int PlayerFrags (void)

Usage

Returns the current number of frags for the player who activated the script. This is only really useful in multiplayer games. Remember that the number returned may be negative if the player has commited suicide.

For scripts not activated by a player, PlayerFrags() will return 0.

Examples

Image:Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools