[Question] Streamer
#1

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

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
Reply
#3

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

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.
Reply
#5

And it streams unlimited objects?
Reply
#6

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))
Reply
#7

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)
Reply
#8

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..


...
Reply
#9

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

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


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


Forum Jump:


Users browsing this thread: 1 Guest(s)