Quote:
Originally Posted by [SU
BP13 ]
Quote:
Originally Posted by Kylla
Quote:
Originally Posted by Incognito
Kylla: Nothing has changed about the streaming code in v2.3.3. Whatever problems you are experiencing now are probably present in the older versions as well. Make sure that you are compiling your scripts with the latest include file. Also, keep in mind that some objects may not appear if the internal limit (254 per-player) has been reached.
|
I found the problem, I'm creating too many per-player objects under OnPlayerRequestClass, can you PLEASE add support for objects in OnPlayerRequestClass, I don't see any objects there, or can you at the least tell me what to change.
|
you need to use Global Objects for that. for example:
pawn Код:
new object1; new object2;
public OnPlayerRequestClass(playerid, classid) { object1 = CreatePlayerObject(playerid,x,y,z,r1,r2,r3); object2 = CreatePlayerObject(playerid,x,y,z,r1,r2,r3); return 1; }
public OnPlayerSpawn(playerid) { DestroyPlayerObject(playerid, object1); DestroyPlayerObject(playerid, object2); return 1; }
|
I know how to do it, and I'm doing just that, though I have about 100 objects I need to show under OnPlayerRequestClass, I want it streamed.