SA-MP Forums Archive
[Plugin] Streamer Plugin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Streamer Plugin (/showthread.php?tid=102865)



Re: [REL] Streamer Plugin v2.3.8 - dcmd_crash - 10.06.2010

Quote:
Originally Posted by $ЂЯĢ
Quote:
Originally Posted by Tɧ϶ Tσηί�
Speaking of CreateDynamicMapIcon(); -- When you create a new one, is an ID automatically assigned? Because I saw that in the original function, you have to fill out the params, but in this Streamer you don't have too.
What would be point of streamer if you still weren't able to have more than 100 icons?
What?


Re: [REL] Streamer Plugin v2.3.8 - Sergei - 10.06.2010

He is asking stupid questions.

You can't handle streamed icons by manual IDs, but by IDs assigned by the streamer.


Re: [REL] Streamer Plugin v2.3.8 - dcmd_crash - 10.06.2010

Quote:
Originally Posted by $ЂЯĢ
He is asking stupid questions.

You can't handle streamed icons by manual IDs, but by IDs assigned by the streamer.
Mmm, I have a question. How do you know what ID a map icon is, for example, to delete it? Without having it on some variable all the time.


Re: [REL] Streamer Plugin v2.3.8 - ziomal432 - 10.06.2010

Quote:
Originally Posted by Sma_X
Yes, CreateDynamic3DTextLabel handles the attaching.

You should store the returned textlabel id only if you plan to do something with it later like

Код:
DestroyDynamic3DTextLabel 
IsValidDynamic3DTextLabel
UpdateDynamic3DTextLabelText
If you're not using it anywhere else, it just gaves you that warning.

Otherwise, just use:

pawn Код:
if(PlayerInfo[playerid][Level] == 2)
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    CreateDynamic3DTextLabel("Moderator", MOD, X, Y, Z, 40.0, playerid);
    return 1;
}
There's no attaching in CreateDynamic3DTextLabel, the label is on its position, not attached.


Re: [REL] Streamer Plugin v2.3.8 - Luka P. - 10.06.2010

Quote:
Originally Posted by _❼_
Quote:
Originally Posted by $ЂЯĢ
He is asking stupid questions.

You can't handle streamed icons by manual IDs, but by IDs assigned by the streamer.
Mmm, I have a question. How do you know what ID a map icon is, for example, to delete it? Without having it on some variable all the time.
Heres an example
pawn Код:
new myIcon; // global variable

// For example - OnGameModeInit
myIcon = CreateDynamicMapIcon(Float:x, Float:y, Float:z, markertype, color, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Then you can use
pawn Код:
DestroyDynamicMapIcon(myIcon);



Re: [REL] Streamer Plugin v2.3.8 - Toni - 10.06.2010

Quote:
Originally Posted by Luka™
Quote:
Originally Posted by _❼_
Quote:
Originally Posted by $ЂЯĢ
He is asking stupid questions.

You can't handle streamed icons by manual IDs, but by IDs assigned by the streamer.
Mmm, I have a question. How do you know what ID a map icon is, for example, to delete it? Without having it on some variable all the time.
Heres an example
pawn Код:
new myIcon; // global variable

// For example - OnGameModeInit
myIcon = CreateDynamicMapIcon(Float:x, Float:y, Float:z, markertype, color, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Then you can use
pawn Код:
DestroyDynamicMapIcon(myIcon);
That what was I was asking. And $ЂЯĢ, You might wanna understand my question before you reply.


Re: [REL] Streamer Plugin v2.3.8 - Sergei - 10.06.2010

If you had used common sense you wouldn't have even asked that. And you got your answer already, it's automaticalyl assigned.


Re: [REL] Streamer Plugin v2.3.8 - Toni - 10.06.2010

Quote:
Originally Posted by $ЂЯĢ
If you had used common sense you wouldn't have even asked that. And you got your answer already, it's automaticalyl assigned.
yeah, So that was my main question, but apparently I didn't know that and It seems you are calling my questions stupid.


Re: [REL] Streamer Plugin v2.3.8 - Luka P. - 10.06.2010

There is no stupid questions, but stupid answers.
(Ok theres stupid questions too, like "can you fuck my cat please? cuz hes dog" omg )


Re: [REL] Streamer Plugin v2.3.8 - ColdXX - 10.06.2010

It seems that For me cant stream more than 7000 objects!
What is the problem?


Re: [REL] Streamer Plugin v2.3.8 - Toni - 10.06.2010

Quote:
Originally Posted by ColdXX
It seems that For me cant stream more than 7000 objects!
What is the problem?
lower the tickrate in the streamer.inc maybe ?

Or somethings wrong with your computer! Idunno, Do they not appear?


Re: [REL] Streamer Plugin v2.3.8 - Luka P. - 10.06.2010

Quote:
Originally Posted by Tɧ϶ Tσηί™
Quote:
Originally Posted by ColdXX
It seems that For me cant stream more than 7000 objects!
What is the problem?
lower the tickrate in the streamer.inc maybe ?

Or somethings wrong with your computer! Idunno, Do they not appear?
Yeah for sure.


Re: [REL] Streamer Plugin v2.3.8 - ColdXX - 10.06.2010

Quote:
Originally Posted by Luka™
Quote:
Originally Posted by Tɧ϶ Tσηί™
Quote:
Originally Posted by ColdXX
It seems that For me cant stream more than 7000 objects!
What is the problem?
lower the tickrate in the streamer.inc maybe ?

Or somethings wrong with your computer! Idunno, Do they not appear?
Yeah for sure.
do u have any ideea?


Re: [REL] Streamer Plugin v2.3.8 - Sergei - 10.06.2010

Have you maybe used function Streamer_MaxItems?


Re: [REL] Streamer Plugin v2.3.8 - ColdXX - 10.06.2010

NVM there was a small thingy lol
IDK how in the FS was #include <Dini> lol

Ty anyways


Re: [REL] Streamer Plugin v2.3.8 - Luka P. - 10.06.2010

Quote:
Originally Posted by ColdXX
NVM there was a small thingy lol
IDK how in the FS was #include <Dini> lol

Ty anyways
lol what the hell does dini have to do with it?


Re: [REL] Streamer Plugin v2.3.8 - Omecken - 10.06.2010

Very nice streamer and all. But I spended two hours on trying to figure out why it didn't work on Vista and didn't come up with any solution until I tested it on XP and it worked. So.. how to make it work on Vista?


Re: [REL] Streamer Plugin v2.3.8 - [03]Garsino - 10.06.2010

Quote:
Originally Posted by Omecken
Very nice streamer and all. But I spended two hours on trying to figure out why it didn't work on Vista and didn't come up with any solution until I tested it on XP and it worked. So.. how to make it work on Vista?
Works for me @ Vista..


Re: [REL] Streamer Plugin v2.3.8 - Omecken - 10.06.2010

Did you do anything special to make it work? Because for me it gives me the Run time error 19:.


Re: [REL] Streamer Plugin v2.3.8 - Luka P. - 12.06.2010

Quote:
Originally Posted by DarkPower
How much objects can hold this streamer ?
As much as you want - unlimited
Theres no limit definition in this streamer