09.06.2008, 12:51
Current Versions:
Lite 0.8 [0.2.2 | Timer]
Pro 0.8.1 [0.2.2 | Timer]
0.9 [0.2X | Timerless]
_________________________________________________
0.2.2 Version 0.8.1
Functions LITE:
Code:
CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ); DestroyObjectToStream(streamobjectid); GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z); SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ); StreamObject_OnGameModeInit(); StreamObject_OnGameModeExit(); StreamObject_OnPlayerDisconnect(playerid);
Code:
CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ); CreatePlayerObjectToStream(playerid ,modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ); DestroyObjectToStream(streamobjectid); DestroyPlayerObjectToStream(playerid, streamobjectid); MoveObjectToStream(streamobjectid, Float:Movex, Float:Movey, Float:Movez, Float:Speed); //works with PlayerObject, too GetBasePosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); //works with PlayerObject, too GetMovePosObjectToStream(stramobjectid, &Float:x, &Float:y, &Float:z); //works with PlayerObject, too GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); //works with PlayerObject, too GetCurrentRotObjectToStream(streamobjectid, &Float:Rx, &Float:Ry, &Float:Rz); //works with PlayerObject, too SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z); //works with PlayerObject, too SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ); //works with PlayerObject, too SetObjectViewDistanceToStream(streamobjectid, Viewdistance); //works with PlayerObject, too HavePlayerObjectToStream(playerid,streamobjectid); //works with PlayerObject, too HavePlayerAnyObjectToStream(playerid); //works with PlayerObject, too HaveObjectAnyPlayerToStream(streamobjectid); //works with PlayerObject, too StreamObject_OnGameModeInit(); StreamObject_OnGameModeExit(); StreamObject_OnPlayerDisconnect(playerid);
Put on OnGameModeInit(): StreamObject_OnGameModeInit();
Put on OnGameModeExit(): StreamObject_OnGameModeExit();
Put on OnPlayerDisconnect(playerid): StreamObject_OnPlayerDisconnect(playerid);
The Streamer release under following License (0.8 Lite and 0.8.1 Pro are the last Versions under this License):
Download
LITE
Search at the uploadservice of delъx-host because the name is banned here and i don't support samp anymore...
PRO
Search at the uploadservice of delъx-host because the name is banned here and i don't support samp anymore...
Converter
http://gtamap...com/
Docu
The docu is in the Package
Changelog:
Pro Streamer: 0.8.0 > 0.8.1
- Added a define to change Max Streamed Objects at the same time
- Fixed a bug, that moved Objects weren't sync
0.2X Version 0.9
The Version 0.9 of delux Streamer / Einstein's Streamer is timerless. It works with the new OnPlayerUpdate function.
Functions:
Code:
CreateObjectToStream(modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ); CreatePlayerObjectToStream(playerid ,modelid, Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ); DestroyObjectToStream(streamobjectid); DestroyPlayerObjectToStream(playerid, streamobjectid); MoveObjectToStream(streamobjectid, Float:Movex, Float:Movey, Float:Movez, Float:Speed); GetBasePosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); GetMovePosObjectToStream(stramobjectid, &Float:x, &Float:y, &Float:z); GetCurrentPosObjectToStream(streamobjectid, &Float:x, &Float:y, &Float:z); GetCurrentRotObjectToStream(streamobjectid, &Float:Rx, &Float:Ry, &Float:Rz); SetObjectPosToStream(streamobjectid, Float:x, Float:y, Float:z); SetObjectRotToStream(streamobjectid, Float:rX, Float:rY, Float:rZ); SetGloabalViewDistanceToStream(Viewdistance); SetObjectViewDistanceToStream(streamobjectid, Viewdistance); SetObjectViewDistanceToStreamEx(streamobjectidstart, streamobjectidend, Viewdistance); HavePlayerObjectToStream(playerid,streamobjectid); HavePlayerAnyObjectToStream(playerid); HaveObjectAnyPlayerToStream(streamobjectid); StreamObject_OnPlayerConnect(playerid); StreamObject_OnPlayerUpdate(playerid);
Put under OnPlayerConnect: StreamObject_OnPlayerConnect(playerid);
Put under OnPlayerupdate: StreamObject_OnPlayerUpdate(playerid)
Roadmap:
1.0.0
- Complete rewrite the Streamer for more Performance
- Objectfile Functions
Search at the uploadservice of delъx-host because the name is banned here and i don't support samp anymore...
Please report any bug in this thread. Thank you
Einstein =)