Passa al contenuto principale

OnPlayerFinishedDownloading

Avviso

La callback è stata aggiunta nella versione SA-MP 0.3.DL R1 e non funziona nelle versioni precedenti!

Description​

This callback 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.

NameDescription
playeridThe ID of the player that finished downloading custom models.
virtualworldThe ID of the virtual world the player finished downloading custom models for.

Returns​

This callback does not handle returns.

Examples​

public OnPlayerFinishedDownloading(playerid, virtualworld)
{
SendClientMessage(playerid, 0xFFFFFFFF, "Downloads finished.");
return 1;
}

Good to know​

Nota

This callback is called every time a player changes virtual worlds, even if there are no custom models present in that world.

The following callbacks might be useful, as they're related to this callback in one way or another.