bz_killPlayer()
Available since 2.4.0
The player with the specified ID playerID
is killed by the player with ID killerID
using the optional flag flagID
.
Usage
bool bz_killPlayer(int playerID, bool spawnOnBase, int killerID, const char* flagID)
Parameters | ||
---|---|---|
int |
playerID
|
The ID of player to be killed. |
bool |
spawnOnBase
|
If |
int |
killerID
|
The ID of the killer. If -1, |
const char* |
flagID
|
If not |
Returns
bool - true
if the player was killed, otherwise false
.
Other Misc Functions
This content is maintained on GitHub. We welcome any feedback and improvements!