SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/03/2010, 07:38 PM   #531
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,862
Reputation: 230
Default Re: [REL] Streamer Plugin v2.3.7

1.
Quote:
- 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.
2. It's plugin not include
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 05/03/2010, 10:05 PM   #532
shady91
High-roller
 
shady91's Avatar
 
Join Date: Nov 2008
Location: Uk
Posts: 1,593
Reputation: 7
Default Re: [REL] Streamer Plugin v2.3.7

Quote:
Originally Posted by DavidC
Do you think you could add something like Streamer_OnStreamIn and Streamer_OnStreamOut, and use the enum data to make a callback for when a player comes in streaming distance of a particular feature? Maybe a IsStreamedIn function too....Currently I still have to use a custom streamer for something I want this feature to use, but it would be nice if I didn't have to use my own :P

I hope this is viable.
just use CreateDynamicSphere(Float, Float:y, Float:z, Floatize, worldid = -1, interiorid = -1, playerid = -1); and

forward OnPlayerEnterDynamicArea(playerid, areaid);
forward OnPlayerLeaveDynamicArea(playerid, areaid);
shady91 is offline   Reply With Quote
Old 06/03/2010, 11:35 AM   #533
pyrodave
Big Clucker
 
Join Date: Jul 2008
Posts: 117
Reputation: 14
Default Re: [REL] Streamer Plugin v2.3.7

Yeah I was aware I could use this, but then I have to take account two things when I move them, as well as the CPU doing the same distance check twice, seems a bit pointless to me. I would also have to link the sphere to the item I want to detect streaming distance of, as its the ID of the item i would want.
pyrodave is offline   Reply With Quote
Old 06/03/2010, 08:30 PM   #534
d0
Beta Tester
 
d0's Avatar
 
Join Date: Oct 2007
Location: Germany
Posts: 434
Reputation: 135
Default Re: [REL] Streamer Plugin v2.3.7

can you add IsPlayerInAnyDynamicArea ?
__________________
<3
d0 is offline   Reply With Quote
Old 06/03/2010, 09:39 PM   #535
Fj0rtizFredde
Gangsta
 
Fj0rtizFredde's Avatar
 
Join Date: Jun 2008
Location: Sweden
Posts: 888
Reputation: 120
Default Re: [REL] Streamer Plugin v2.3.7

Nice I use this for almost everything that need's to be streamed
__________________
Latest crap I've made:
[Include]CleverBot - Never Be Alone Again!
Fj0rtizFredde is offline   Reply With Quote
Old 07/03/2010, 01:33 PM   #536
pziemczyk
Big Clucker
 
Join Date: Sep 2008
Posts: 63
Reputation: 0
Default Re: [REL] Streamer Plugin v2.3.7

Hello, anybody have idea how to create 3dtext after player disconnect (in the place where player disconnect), but only for 15 sec?
pziemczyk is offline   Reply With Quote
Old 08/03/2010, 11:31 AM   #537
minimicro
Little Clucker
 
Join Date: Feb 2009
Posts: 16
Reputation: 3
Default Re: [REL] Streamer Plugin v2.3.7

"attachedvehicle" work?

Not for me ...

My line :

CarLabel[vehicleid]=CreateDynamic3DTextLabel("Check",COLOR_VEHICULE,t mpX,tmpY,tmpZ+1.5,50.0,INVALID_PLAYER_ID,vehicleid,0,-1,-1,-1,LABEL_STREAM_DISTANCE);

- tmpX,Y and Z is the result of GetVehiclePos.
- whitout "vehicleid" (in red), the label work correctly


I made a mistake ?

Thanks
minimicro is offline   Reply With Quote
Old 08/03/2010, 01:04 PM   #538
Calgon
Banned
 
Join Date: Jan 2009
Posts: 6,130
Reputation: 1127
Default Re: [REL] Streamer Plugin v2.3.7

Excellent streamer, forgot to comment but I've been using it for quite some time. Good work on it.
Calgon is offline   Reply With Quote
Old 08/03/2010, 02:50 PM   #539
Sergei
High-roller
 
Sergei's Avatar
 
Join Date: Mar 2008
Location: Slovenia
Posts: 2,862
Reputation: 230
Default Re: [REL] Streamer Plugin v2.3.7

Quote:
Originally Posted by minimicro
"attachedvehicle" work?

Not for me ...

My line :

CarLabel[vehicleid]=CreateDynamic3DTextLabel("Check",COLOR_VEHICULE,t mpX,tmpY,tmpZ+1.5,50.0,INVALID_PLAYER_ID,vehicleid,0,-1,-1,-1,LABEL_STREAM_DISTANCE);

- tmpX,Y and Z is the result of GetVehiclePos.
- whitout "vehicleid" (in red), the label work correctly


I made a mistake ?

Thanks
x,y,z are off-sets, so if you want label to be a bit above car use 0.0,0.0,1.5.
__________________
Watch out, scouts everywhere!
Sergei is offline   Reply With Quote
Old 09/03/2010, 07:56 AM   #540
Brendan_Thomson
Big Clucker
 
Join Date: Oct 2007
Posts: 166
Reputation: 2
Default Re: [REL] Streamer Plugin v2.3.7

If you DestroyAllDynamicObjects in a filterscript it will destroy any that are in a gamemode as well, won't it?
Brendan_Thomson 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 9 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 01:07 AM.


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