How can i increase map load?
#1

How can i increase map load because now people sometimes fall into water. I use CreateDynamicObjects not CreateObjects. I need more ideas how i can increase map load speed without changing CreateDynamicObjects to CreateObjects. I use latest streamer plugin/include.
Reply
#2

Freeze the players when they are spawning for about 5 seconds to let the items load.
Reply
#3

Quote:
Originally Posted by Troydere
Посмотреть сообщение
Freeze the players when they are spawning for about 5 seconds to let the items load.
I think i will do what you say, if no more ideas how to increase load speed.
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=330727
Reply
#5

Quote:
Originally Posted by Unte99
Посмотреть сообщение
Och it seems be nice. How does it work and how need use him?
Reply
#6

pawn Код:
Streamer_UpdateEx(playerid, 246.4389, 107.3014, 1003.2188);
SetPlayerPos(playerid, 246.4389, 107.3014, 1003.2188);
Reply
#7

Quote:
Originally Posted by Unte99
Посмотреть сообщение
pawn Код:
Streamer_UpdateEx(playerid, 246.4389, 107.3014, 1003.2188);
SetPlayerPos(playerid, 246.4389, 107.3014, 1003.2188);
That example wont work as it'll do the same, you'll be loading the items at the same time you're setting the player pos.

What you could do with that function is to preload the spawn locations so when the player clicks on the 'Spawn' button they'll have the map already loaded.
Reply
#8

Quote:
Originally Posted by Unte99
Посмотреть сообщение
pawn Код:
Streamer_UpdateEx(playerid, 246.4389, 107.3014, 1003.2188);
SetPlayerPos(playerid, 246.4389, 107.3014, 1003.2188);
Ok thanks i will test it
Reply
#9

Quote:
Originally Posted by Troydere
Посмотреть сообщение
That example wont work as it'll do the same, you'll be loading the items at the same time you're setting the player pos.

What you could do with that function is to preload the spawn locations so when the player clicks on the 'Spawn' button they'll have the map already loaded.
no the setplayerpos will get only executed after update function as its not threaded.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)