open.mp forum
[Pawn] Streamer not working after a while - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Streamer not working after a while (/showthread.php?tid=1716)



Streamer not working after a while - morem - 2021-02-27

Hello,
I have a problem with the Streamer plugin.
After 1 hour of starting server my CreateObject not creating anything.

new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateObject(1225, x,y,z-0.6,? 0.00000, 0.00000, 0.00000);

Does anyone have any idea?


RE: Streamer not working after a while - Virsenas - 2021-02-27

CreateObject is not a plugins function, it's a default sa-mp function for creating objects.



https://github.com/samp-incognito/samp-streamer-plugin/wiki/Natives-(Objects)


RE: Streamer not working after a while - morem - 2021-02-27

Okay, Well done.
So how can I fix this?


RE: Streamer not working after a while - Radical - 2021-02-27

PHP Code:
new Float:xFloat:yFloat:z;

GetPlayerPos(playeridxyz);

CreateDynamicObject(1225x,y,z-0.6,  0.000000.000000.00000); 



PHP Code:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DDareaid = -1priority 0); 



RE: Streamer not working after a while - Snow - 2021-02-28

You can create maximum of 1000 objects with CreateObject. Create them using streamer to get through this limit.