OnPlayerFinishedDownloading
Description:
Callback OnPlayerFinishedDownloading is called when a player finishes downloading custom models. For more information on how to add custom models to your server, see the release thread and this tutorial.
Callback OnPlayerFinishedDownloading was added in 0.3.DL and will not work in earlier versions! |
Callback OnPlayerFinishedDownloading is called every time a player changes virtual worlds, even if there are no custom models present in that world. |
Parameters:
(playerid, virtualworld)
int | playerid | The ID of the player that finished downloading custom models. |
int | virtualworld | The ID of the virtual world the player finished downloading custom models for. |
Return Values:
This callback does not handle returns.
Examples:
public OnPlayerFinishedDownloading(playerid, virtualworld) { SendClientMessage(playerid, 0xffffffff, "Downloads finished."); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- OnPlayerConnect: Called when a player connects to the server.
- OnPlayerDisconnect: Called when a player leaves the server.
- OnIncomingConnection: Called when a player is attempting to connect to the server.