This Streamer Fails :(
#8

The streamer does not fail. You fail for not being able to read the release topic for the streamer.

Quote:

General Notes

- Default tickrate: 50
- Default maximum items: none (unlimited)
- Default visible items: 399 (objects); 2048 (pickups); 1024 (3D text labels)
- If -1 is specified for any of the optional parameters (worldid, interiorid, and playerid), the items will be streamed for all virtual worlds, interiors, and/or players.
- The tickrate does not represent any specific measurement of time and varies depending on the server's processing power. If items stream too slowly, lower the tickrate; if CPU usage gets too high, raise the tickrate.
- If some items are not appearing, there may be too many in one area. Limit the streaming distance by editing the last parameter on each native.
- Not all types of items have to be streamed. If the plugin is only used to stream objects, for example, then every other native can be safely ignored.
- Be careful when using streamed items with non-streamed items. Conflicts can sometimes arise.
- Ensure that all scripts are compiled with the latest include file. If the server outputs "Runtime error 19: 'File or function is not found'," then the gamemode is most likely compiled with an include file version that does not match the plugin version.

Native Notes

- Use Streamer_UpdateEx to preload items before setting a player's position or to stream items under OnPlayerRequestClass.
- Use the data manipulation natives like this (note the use of the defines and the enum above):

pawn Code:

Streamer_SetIntData(STREAMER_TYPE_OBJECT, gObject, E_STREAMER_MODEL_ID, 1225);


- To adjust an object's draw distance (added in SA-MP 0.3b), use Streamer_SetFloatData with E_STREAMER_DRAW_DISTANCE. The maximum draw distance is 300.0. Each object's default draw distance is 0.0.
Reply


Messages In This Thread
This Streamer Fails :( - by <Weponz> - 06.11.2010, 07:57
Re: This Streamer Fails :( - by X35B - 06.11.2010, 08:10
Re: This Streamer Fails :( - by Mean - 06.11.2010, 08:17
Re: This Streamer Fails :( - by <Weponz> - 06.11.2010, 08:21
Re: This Streamer Fails :( - by Sinner - 06.11.2010, 08:39
Re: This Streamer Fails :( - by cessil - 06.11.2010, 08:51
Re: This Streamer Fails :( - by iggy1 - 06.11.2010, 08:54
Re: This Streamer Fails :( - by Calgon - 06.11.2010, 09:19
Re: This Streamer Fails :( - by Kwarde - 06.11.2010, 12:54

Forum Jump:


Users browsing this thread: 5 Guest(s)