18.08.2018, 23:52
Something like this is fine?
PHP код:
public OnPlayerRequestDownload(playerid, type, crc)
{
Player[playerid][Ok] = 0;
SendClientMessageToAll(-1, "started");
return 1;
}
public OnPlayerFinishedDownloading(playerid, virtualworld)
{
Player[playerid][Ok] = 1;
if(Player[playerid][Ok] == 1) return 1;
SendClientMessageToAll(-1, "finished");
return 1;
}