bz_givePlayerFlag()
Available since 2.4.0
Give the specified player a flag. If the player already has a flag, it will be taken and they will receive a new one.
Usage
bool bz_givePlayerFlag(int playerID, const char* flagType, bool force)
Parameters | ||
---|---|---|
int |
playerID
|
The player that is to get the flag |
const char* |
flagType
|
The flag abbreviation of the flag to give to the player |
bool |
force
|
When set to true, take the flag from another player and give it to this player instead |
Returns
bool - True if the flag was given successfully to the player
Other Flag Management Functions
This content is maintained on GitHub. We welcome any feedback and improvements!