PARTNERI:
-UPOZORENJE-

Samo registrovani članovi mogu da vide/koriste forum u celini.
Prijavite se ili registrujte nalog na Balkan SA-MP forumu.


Autor Tema: [Pitanje/Savet] Pitanje oko Incognito Streamer  (Pročitano 188 puta)

0 članova i 1 gost pregledaju ovu temu.

Van mreže rizla

Pitanje oko Incognito Streamer
« poslato: Jun 29, 2020, 14:18:22 posle podne »
Problem(error/warning): Davno sam procitao da streamer ima mogucnost da kreira objekte poput statickih objekata, ono sto hocu da uradim jeste da imam brze ucitavanje enterijera (da mi streamer kreira objekte nezavisno od stream i draw distance, ne mogu da se setim koja je bila funkcija za to
Deo skripte: [ pawn ]Vaš odgovor[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]Vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike

Van mreže PazzOnee

Odg: Pitanje oko Incognito Streamer
« Odgovor #1 poslato: Jun 29, 2020, 14:22:49 posle podne »
Nemas u streameru kreiranje statickih objekata, mozes samo priority (parametar u CDO) da iskoristis kao prednost odredjenom objektu da se ucita pre ostalih
 

Van mreže rizla

Odg: Pitanje oko Incognito Streamer
« Odgovor #2 poslato: Jun 29, 2020, 14:33:24 posle podne »
Nemas u streameru kreiranje statickih objekata, mozes samo priority (parametar u CDO) da iskoristis kao prednost odredjenom objektu da se ucita pre ostalih

Moguce da se nismo razumeli, ali na ovo sam mislio

Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, type = -1, compensatedtime = -1, freezeplayer = 1)
Parameters:
playerid: The player ID.
x: The game world X coordinate.
y: The game world Y coordinate.
z: The game world Z coordinate.
worldid: The virtual world ID.
interiorid: The interior ID.
type: The item type.
compensatedtime: The compensated time in milliseconds (see below).
freezeplayer: 0 to turn off, 1 to turn on (see below).
Returns:
0 on failure, 1 on success.
Issues an update for the player at a specific position.

This can be used to preload items before setting the player's position or to stream items under OnPlayerRequestClass.
Optionally, a virtual world, interior, and item type may be specified.
If compensatedtime is set to a positive number, it can be used to specify how long, in milliseconds, future automatic updates will be paused for the player. During this time, the player's controls will be disabled (assuming freezeplayer is set to 1), and the player's position will also be set to the new coordinates.

https://github.com/samp-incognito/samp-streamer-plugin.wiki.git
© 2020 GitHub, Inc.