[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:x, Float:y, Float:z; PHP Code: CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 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. |