14.02.2014, 13:21
https://github.com/samp-incognito/sa...37bc2f6a42138d
+#define MAX_PLAYERS (1000)
So yes, there is only 1000 players version which also work with 1000p and 500p version too.
Incognito, the Streamer_GetCellSize()/GetCellDistance() doesn't work, please fix it.
+cell AMX_NATIVE_CALL Natives::Streamer_GetCellSize(AMX *amx, cell *params)
+{
+ CHECK_PARAMS(2, "Streamer_GetCellSize");
+ float cellSize = core->getGrid()->getCellSize();
+ Utility:toreFloatInNative(amx, params[2], cellSize);
+ return 1;
+}
I'll update YSF, so if someone will add AttachPlayerObjectToPlayer & AttachPlayerObjectToPlayerObject support for the streamer engine, then these functions will work.
+#define MAX_PLAYERS (1000)
So yes, there is only 1000 players version which also work with 1000p and 500p version too.
Incognito, the Streamer_GetCellSize()/GetCellDistance() doesn't work, please fix it.
+cell AMX_NATIVE_CALL Natives::Streamer_GetCellSize(AMX *amx, cell *params)
+{
+ CHECK_PARAMS(2, "Streamer_GetCellSize");
+ float cellSize = core->getGrid()->getCellSize();
+ Utility:toreFloatInNative(amx, params[2], cellSize);
+ return 1;
+}
I'll update YSF, so if someone will add AttachPlayerObjectToPlayer & AttachPlayerObjectToPlayerObject support for the streamer engine, then these functions will work.