07.02.2010, 14:08
DavidC: Thanks for that. I can see why it would cause problems if you destroyed an object there. However, objects do not disappear after they've been moved. You might not see them if you haven't moved, though, because the streamer only sends updates to players if their position has changed.
Compton's Eazy E: That's not an SA-MP native, and it couldn't be done very well inside the plugin unless you set the tickrate to 1!
killdahobo99: Use IsPlayerInDynamicCP:
Here's the latest version:
Compton's Eazy E: That's not an SA-MP native, and it couldn't be done very well inside the plugin unless you set the tickrate to 1!
killdahobo99: Use IsPlayerInDynamicCP:
pawn Код:
if (!IsPlayerInDynamicCP(playerid, gCheckpoint[1]))
{
// ...
}
Quote:
v2.3.6 - Optimized some streaming code - Fixed crash that may have occurred when destroying objects under OnDynamicObjectMoved - Added plural tags to the data manipulation natives so that 3D text labels can be passed to them without a tag mismatch warning - Added an extra ID to every item that can be set and retrieved with Streamer_SetIntData and Streamer_GetIntData - Made any item that is altered with Streamer_SetFloatData or Streamer_SetIntData restream for every player automatically - Added natives for each item to check if they're valid - Consolidated all of the settings natives (with the exception of Streamer_TickRate) into Streamer_MaxItems and Streamer_VisibleItems |