bz_eGetPlayerMotto
This event is called when the player joins. It gives us the motto of the player
Data Object Type
2.4.4 bz_GetPlayerMottoData_V2
Deprecated Types
These data object types have been deprecated in favor of more recent versions, which contain more or corrected information.
- 2.4.0 bz_GetPlayerMottoData_V1
Parameters
These are the values accessible in the bz_EventData
variable that's made available in the Event
method.
Data Type | Name | Description |
---|---|---|
bz_ApiString |
motto
|
The motto of the joining player. This value may ve overwritten to change the motto of a player. |
bz_BasePlayerRecord |
record
|
The player record for the player using the motto. (available since V2 of the event) |
double |
eventTime
|
The server time the event occurred (in seconds). |
Plug-in Usage
There are no plug-ins in the official distribution that make use of this event. Browse the Plug-in Releases forum for plug-ins which may make use of this event.
Plug-in Example
This block of code can be used to get started when implementing the Event()
function of your plug-in.
bz_GetPlayerMottoData_V2* dataObject = (bz_GetPlayerMottoData_V2*)eventData;
// Data
// ---
// (bz_ApiString) motto - The motto of the joining player. This value may ve overwritten to change the motto of a player.
// (bz_BasePlayerRecord) record - The player record for the player using the motto.
// (double) eventTime - The server time the event occurred (in seconds).
Other Player Events
This content is maintained on GitHub. We welcome any feedback and improvements!