OnPlayerFinishedDownloading
#14

Quote:
Originally Posted by Kyle
View Post
This should be altered so it's only actually called when downloads have taken place.
This isn't ideal for servers that set up cinematic cameras while prompting a user to register or login. It should absolutely be called during the initial server connection because that makes it easier to set up proper login/register scripts. During initial testing, I had concerns about the download box appearing over login dialogs during a player's first connection. This callback was added to make transitioning from these stages more fluid. I do agree that a virtual world change shouldn't call it unless a download actually happens, but I'm sure everyone is capable of throwing together code to prevent unwanted execution. For my server I did this:

Code:
public OnPlayerFinishedDownloading(playerid, virtualworld)
{
	if(!Logged{playerid})
	{
             //etc
	}
}
Reply


Messages In This Thread
OnPlayerFinishedDownloading - by Sanady - 12.11.2017, 09:43
Re: OnPlayerFinishedDownloading - by Romz - 12.11.2017, 09:51
Re: OnPlayerFinishedDownloading - by Zeth - 12.11.2017, 09:53
Re: OnPlayerFinishedDownloading - by Sanady - 12.11.2017, 10:00
Re: OnPlayerFinishedDownloading - by BigETI - 12.11.2017, 11:30
Re: OnPlayerFinishedDownloading - by Kyle - 12.11.2017, 11:32
Re: OnPlayerFinishedDownloading - by IllidanS4 - 12.11.2017, 17:58
Re: OnPlayerFinishedDownloading - by Romz - 12.11.2017, 18:03
Re: OnPlayerFinishedDownloading - by Freaksken - 12.11.2017, 18:52
Re: OnPlayerFinishedDownloading - by ISmokezU - 12.11.2017, 19:03
Re: OnPlayerFinishedDownloading - by Freaksken - 12.11.2017, 19:23
Re: OnPlayerFinishedDownloading - by renatog - 12.11.2017, 20:06
Re: OnPlayerFinishedDownloading - by Lucases - 12.11.2017, 20:42
Re: OnPlayerFinishedDownloading - by TommyB - 13.11.2017, 06:15
Re: OnPlayerFinishedDownloading - by IllidanS4 - 14.11.2017, 14:18
Re: OnPlayerFinishedDownloading - by Romz - 14.11.2017, 14:41
Re: OnPlayerFinishedDownloading - by Kalcor - 16.11.2017, 01:15
Re: OnPlayerFinishedDownloading - by Sn0wk - 16.11.2017, 01:27
Re: OnPlayerFinishedDownloading - by Kalcor - 16.11.2017, 01:29
Re: OnPlayerFinishedDownloading - by Sn0wk - 16.11.2017, 01:37
Re: OnPlayerFinishedDownloading - by ZaikerH - 16.11.2017, 05:20
Re: OnPlayerFinishedDownloading - by Dragony92 - 16.11.2017, 05:21
Re: OnPlayerFinishedDownloading - by Sn0wk - 16.11.2017, 12:35

Forum Jump:


Users browsing this thread: 2 Guest(s)