• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Streamer not working after a while
#1
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?
  Reply
#2
CreateObject is not a plugins function, it's a default sa-mp function for creating objects.



https://github.com/samp-incognito/samp-s...-(Objects)
  Reply
#3
Okay, Well done.
So how can I fix this?
  Reply
#4
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); 
  Reply
#5
You can create maximum of 1000 objects with CreateObject. Create them using streamer to get through this limit.
[Image: QIDa2vB.png]

  Reply


Forum Jump: