feat: Support for G2O v0.3.3

This commit is contained in:
AURUMVORXX
2025-08-14 21:04:40 +05:00
parent 35350efcd1
commit 2ee00d1842
7 changed files with 40 additions and 6 deletions

View File

@@ -594,4 +594,16 @@ addEventHandler("onPlayerUnspawnForPlayer", function(playerid, spawnid)
if (_globalInstance != -1)
_globalInstance._send("event", data);
});
});
addEventHandler("onPlayerChangeChunk", function(playerid, chunk_index)
{
local data = {
event = "onPlayerChangeChunk",
playerid = playerid,
chunk_index = chunk_index
}
if (_globalInstance != -1)
_globalInstance._send("event", data);
});