feat: Support for G2O v0.3.3
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user