SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 18/11/2017, 10:11 AM   #1
Graber
Big Clucker
 
Graber's Avatar
 
Join Date: Mar 2013
Location: Germany
Posts: 113
Reputation: 125
Default Ability to start background downloads from other virtual world

I think it would be a great thing to Lernerís the server start background downloads for other virtual worlds, because some maps would be very big and it would be a pain to start the download just when you want to join that world.

I think we should be able to start background downloads for worlds we know the player will go to, so they can do other things while they donít use the downloading objects, this to prevent the long wait of downloading and being unable to anything and having to wait when you join the other virtual world.

I think scripters will be able to deal wether a player should join or not the virtual world if they havenít downloaded the world yet. With the existing callback I think is enough.

Thanks for reading
Graber is offline   Reply With Quote
Old 18/11/2017, 11:39 AM   #2
FufLa
Big Clucker
 
Join Date: Sep 2009
Posts: 185
Reputation: 25
Default Re: Ability to start background downloads from other virtual world

Can't you just add these models for the virtual world 0? AFAIK they should still be available in other virtual worlds.
FufLa is offline   Reply With Quote
Old 18/11/2017, 12:29 PM   #3
m4karow
Huge Clucker
 
Join Date: Oct 2015
Posts: 221
Reputation: 13
Default Re: Ability to start background downloads from other virtual world

Code:
public OnPlayerFinishedDownloading(playerid, virtualworld)
{
	new worldid = GetPlayerVirtualWorld(playerid) + 1;
	if(worldid == MAX_VIRTUAL_WORLD)
		return 1;
	else
	{
		SetPlayerVirtualWorld(playerid, worldid);
	}
	return 1;
}
lol
m4karow is offline   Reply With Quote
Old 18/11/2017, 01:12 PM   #4
Graber
Big Clucker
 
Graber's Avatar
 
Join Date: Mar 2013
Location: Germany
Posts: 113
Reputation: 125
Default Re: Ability to start background downloads from other virtual world

Quote:
Originally Posted by m4karow View Post
Code:
public OnPlayerFinishedDownloading(playerid, virtualworld)
{
	new worldid = GetPlayerVirtualWorld(playerid) + 1;
	if(worldid == MAX_VIRTUAL_WORLD)
		return 1;
	else
	{
		SetPlayerVirtualWorld(playerid, worldid);
	}
	return 1;
}
lol
yeah, and the player will get tired of waiting ON SERVER JOIN (which is worse) while connecting and disconnect!
Graber is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual world ApolloXD Scripting Help 5 13/10/2016 11:16 AM
[Ajuda] Virtual World MoonRey PortuguÍs/Portuguese 3 30/07/2013 11:00 PM
max virtual world. audriuxxx Scripting Help 6 16/06/2013 12:38 PM
[Ajuda] Virtual World Hydra_RuleZ PortuguÍs/Portuguese 13 09/09/2012 03:57 PM
cmd only for virtual world 2? Pro_Scriptor Scripting Help 7 18/07/2012 07:50 AM


All times are GMT. The time now is 03:29 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.