Pitanje oko Incognito Streamer


Započeo rizla, Jun 29, 2020, 14:18:22 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

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

Nemas u streameru kreiranje statickih objekata, mozes samo priority (parametar u CDO) da iskoristis kao prednost odredjenom objektu da se ucita pre ostalih

Citat: PazzOnee 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

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.