SA-MP Forums Archive
[Question] Streamer - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Question] Streamer (/showthread.php?tid=188925)



[Question] Streamer - Rainbow_Six - 09.11.2010

I want a streamer that includes the CreatePlayerObject, anybody knows one ?


Re: [Question] Streamer - Jeffry - 09.11.2010

pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 200.0);
Change the playerid to the playerid you want it to be created for.

Streamer Plugin v2.5


Re: [Question] Streamer - Brian_Furious - 09.11.2010

Search the includes,for exemples:Midostreamer, but i reccomanded Incognito's streamer


Re: [Question] Streamer - The_Moddler - 09.11.2010

Use this if you want..

pawn Код:
stock CreateDynamicPlayerObject(playerid, modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:distance = 200.0)
{
    CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid, Float:distance = 200.0);
}
I have it on my script.


Re: [Question] Streamer - Rainbow_Six - 09.11.2010

And it streams unlimited objects?


Respuesta: Re: [Question] Streamer - MrDeath537 - 09.11.2010

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
Use this if you want..

pawn Код:
stock CreateDynamicPlayerObject(playerid, modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:distance = 200.0)
{
    CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid, Float:distance = 200.0);
}
I have it on my script.
Better code:
pawn Код:
#define CreateDynamicPlayerObject(%0,%1,%2,%3,%4,%5,%6,%7,%8) \
        CreateDynamicObject((%1),(%2),(%3),(%4),(%5),(%6),(%7),-1,-1,(%0),(%8))



Re: [Question] Streamer - Kwarde - 09.11.2010

Quote:
Originally Posted by Rainbow_Six
Посмотреть сообщение
And it streams unlimited objects?
Not unlimited, there is a limit. Something of 4000 objects? Just read the streamer topic, they probaly posted it there (info)


Re: Respuesta: Re: [Question] Streamer - The_Moddler - 09.11.2010

Quote:
Originally Posted by MrDeath
Посмотреть сообщение
Better code:
pawn Код:
#define CreateDynamicPlayerObject(%0,%1,%2,%3,%4,%5,%6,%7,%8) \
        CreateDynamicObject((%1),(%2),(%3),(%4),(%5),(%6),(%7),-1,-1,(%0),(%8))
Yeah, you just saved 1 line on your GM..


...


Re: [Question] Streamer - Rainbow_Six - 10.11.2010

I tried it on Jay's filterscript but it didn't work, can anyone help me please?


Re: Respuesta: Re: [Question] Streamer - Finn - 10.11.2010

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
Yeah, you just saved 1 line on your GM..


...
Not only that, it's a define.