Hello, is it possible to check has player downloaded all custom files or he is still downloading?
Is Custom Files Ready?
« on August 4th, 2016, 10:58 PM »
function CPlayer::IsDownloading()
{
if ( this.Color.r == 255 && this.Color.g == 255 && this.Color.b == 255 ) return true;
else return false;
}
Or you can set a variable to 1 when player joins and 0 when onplayerrequestclass
then check the variable
So no onplayerrequestclass before all downloads will done?Quote from EK.CrystalBlue on August 4th, 2016, 11:53 PM Or you can set a variable to 1 when player joins and 0 when onplayerrequestclass
then check the variable
player.Download()
if( !sucess ) tryAgain();
Code: [Select] player.Download()