SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 15/02/2017, 07:30 PM   #5581
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,870
Reputation: 560
Default Re: Streamer Plugin

Quote:
Originally Posted by wallee View Post
Uhmm... where did you find that function? I downloaded the latest streamer and it isn't there
Eh, it most definitely is.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 15/02/2017, 07:36 PM   #5582
wallee
Big Clucker
 
Join Date: Jan 2017
Posts: 77
Reputation: 22
Default Re: Streamer Plugin

Quote:
Originally Posted by Crayder View Post
Eh, it most definitely is.
No?

wallee is offline   Reply With Quote
Old 15/02/2017, 07:53 PM   #5583
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,870
Reputation: 560
Default Re: Streamer Plugin

Quote:
Originally Posted by wallee View Post
No?

Perhaps you should try downloading the latest version then? You'll have to compile it of course, but it most definitely is there.

@incognito... Perhaps it's time for a release? There's been a lot of stuff added in the past 8 months!
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 15/02/2017, 07:56 PM   #5584
wallee
Big Clucker
 
Join Date: Jan 2017
Posts: 77
Reputation: 22
Default Re: Streamer Plugin

Quote:
Originally Posted by Crayder View Post
Perhaps you should try downloading the latest version then? You'll have to compile it of course, but it most definitely is there.

@incognito... Perhaps it's time for a release? There's been a lot of stuff added in the past 8 months!
i don't know how to do that so no fancy function for me

@Crayder vbulletin doesnt support mentions heh
wallee is offline   Reply With Quote
Old 15/02/2017, 08:22 PM   #5585
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 757
Reputation: 51
Default Re: Streamer Plugin

Quote:
Originally Posted by wallee View Post
i don't know how to do that so no fancy function for me

@Crayder vbulletin doesnt support mentions heh
On what type of OS do you run your SAMP server? Perhaps someone will be able to compile it for you.
__________________
Jeroen52 is offline   Reply With Quote
Old 16/02/2017, 12:19 AM   #5586
IstuntmanI
High-roller
 
IstuntmanI's Avatar
 
Join Date: Mar 2009
Location: Romania
Posts: 1,850
Reputation: 305
Default Re: Streamer Plugin

Quote:
Originally Posted by wallee View Post
i don't know how to do that so no fancy function for me

@Crayder vbulletin doesnt support mentions heh
I don't think it was tested well, but here you go, Windows and Linux: https://www.solidfiles.com/v/ZapVLn3pBW7nz . If you find any bug please report on GitHub.

I bet he knows that already.
__________________


IstuntmanI is offline   Reply With Quote
Old 19/02/2017, 05:45 PM   #5587
Shetch
Gangsta
 
Shetch's Avatar
 
Join Date: Feb 2011
Posts: 529
Reputation: 40
Default Re: Streamer Plugin

Just ran into a problem with the plugin not loading with x64 Redistributable Package on x64 system. Download and install x86 version of the Redistributable Package and all is well.
__________________
Shetch is offline   Reply With Quote
Old 25/02/2017, 09:41 PM   #5588
wallee
Big Clucker
 
Join Date: Jan 2017
Posts: 77
Reputation: 22
Default Re: Streamer Plugin

Quote:
Originally Posted by IstuntmanI View Post
I don't think it was tested well, but here you go, Windows and Linux: https://www.solidfiles.com/v/ZapVLn3pBW7nz . If you find any bug please report on GitHub.

I bet he knows that already.
Thank you.
wallee is offline   Reply With Quote
Old 26/02/2017, 10:03 AM   #5589
MrStead
Little Clucker
 
Join Date: Jul 2014
Location: samp-industrial.ru
Posts: 5
Reputation: 0
Default Re: Streamer Plugin

I found a bug:
When go far away from where attached streamer objects on a object and then go back here, the attached objects change their position(desync).
The video can show you the bug of the streamer plugin.
https://www.youtube.com/watch?v=a48wswSNrwI

Tell me please how to solve the problem. I want to create a ship system using the plugin. Do not offer to use CreateObject, as it is limited.
MrStead is offline   Reply With Quote
Old 03/03/2017, 08:38 PM   #5590
mroq98
Little Clucker
 
Join Date: Dec 2013
Posts: 4
Reputation: 0
Default Re: Streamer Plugin

Can I add new variables to Enumerator?

Becouse I try like this:

Code:
CMD:setperm(playerid, params[])
{
	if(isnull(params)) return SendClientMessage(playerid, -1, "Tip: /setperm [value]");
	
	new string[128], Float:m_x,Float:m_y,Float:m_z,Float:m_rx,Float:m_ry,Float:m_rz, permission, sampid = PlayerData[playerid][pObjectEdit];

	//Result
	permission = Streamer_GetIntData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_PERM);

    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_X, m_x);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_Y, m_y);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_Z, m_z);

    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_RX, m_rx);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_RY, m_ry);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_RZ, m_rz);
    
    format(string,sizeof(string),"Result [ sampid: %d, perm: %d, pos: %0.1f %0.1f %0.1f %0.1f %0.1f %0.1f ]", sampid,permission,m_x,m_y,m_z,m_rx,m_ry,m_rz);
	SendClientMessage(playerid, -1, string);
	
	
	//Update
	Streamer_SetIntData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_PERM, strval(params));
	
	permission = Streamer_GetIntData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_PERM);

    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_X, m_x);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_Y, m_y);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_Z, m_z);

    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_RX, m_rx);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_RY, m_ry);
    Streamer_GetFloatData(STREAMER_TYPE_OBJECT, sampid, E_STREAMER_GATE_RZ, m_rz);

    format(string,sizeof(string),"Update [ sampid: %d, perm: %d, pos: %0.1f %0.1f %0.1f %0.1f %0.1f %0.1f ]", sampid,permission,m_x,m_y,m_z,m_rx,m_ry,m_rz);
	SendClientMessage(playerid, -1, string);
	return 1;
}
Code:
enum
{
	E_STREAMER_ATTACHED_OBJECT,
	E_STREAMER_ATTACHED_PLAYER,
	E_STREAMER_ATTACHED_VEHICLE,
	E_STREAMER_ATTACH_OFFSET_X,
	E_STREAMER_ATTACH_OFFSET_Y,
	E_STREAMER_ATTACH_OFFSET_Z,
	E_STREAMER_ATTACH_R_X,
	E_STREAMER_ATTACH_R_Y,
	E_STREAMER_ATTACH_R_Z,
	E_STREAMER_ATTACH_X,
	E_STREAMER_ATTACH_Y,
	E_STREAMER_ATTACH_Z,
	E_STREAMER_COLOR,
	E_STREAMER_DRAW_DISTANCE,
	E_STREAMER_EXTRA_ID,
	E_STREAMER_INTERIOR_ID,
	E_STREAMER_MAX_X,
	E_STREAMER_MAX_Y,
	E_STREAMER_MAX_Z,
	E_STREAMER_MIN_X,
	E_STREAMER_MIN_Y,
	E_STREAMER_MIN_Z,
	E_STREAMER_MODEL_ID,
	E_STREAMER_MOVE_R_X,
	E_STREAMER_MOVE_R_Y,
	E_STREAMER_MOVE_R_Z,
	E_STREAMER_MOVE_SPEED,
	E_STREAMER_MOVE_X,
	E_STREAMER_MOVE_Y,
	E_STREAMER_MOVE_Z,
	E_STREAMER_NEXT_X,
	E_STREAMER_NEXT_Y,
	E_STREAMER_NEXT_Z,
	E_STREAMER_PLAYER_ID,
	E_STREAMER_R_X,
	E_STREAMER_R_Y,
	E_STREAMER_R_Z,
	E_STREAMER_SIZE,
	E_STREAMER_STREAM_DISTANCE,
	E_STREAMER_STYLE,
	E_STREAMER_SYNC_ROTATION,
	E_STREAMER_TEST_LOS,
	E_STREAMER_TYPE,
	E_STREAMER_WORLD_ID,
	E_STREAMER_X,
	E_STREAMER_Y,
	E_STREAMER_Z,
E_STREAMER_GATE_X,
E_STREAMER_GATE_Y,
E_STREAMER_GATE_Z,
E_STREAMER_GATE_RX,
E_STREAMER_GATE_RY,
E_STREAMER_GATE_RZ,
E_STREAMER_GATE_PERM,
E_STREAMER_GATE_USE
}
But this don't change value. :O
mroq98 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Checkpoint / Area sub-streamer for incognito's streamer plugin Pottus Includes 11 21/03/2014 06:31 PM
Need 3dtextlabel Streamer And Gangzone Streamer !! Please Help . Not streamer plugin . jame42 Scripting Help 4 30/05/2012 07:33 AM
Streamer plugin 0.3d rt-2 Plugin Development 7 05/12/2011 06:17 PM
Streamer Plugin Help! ColdXX Everything and Nothing 2 21/08/2010 10:28 PM
Streamer Plugin! ColdXX Help Archive 10 18/07/2010 12:47 PM


All times are GMT. The time now is 05:37 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.