wip lua event stuff

This commit is contained in:
Luuk van Oijen committed 2023-11-12 21:26:23 +01:00
1 parent 01fb538129
commit 4f52e30545
4 files changed
+110 -8

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
print("test from lua")
print("Player count: " .. MP.GetPlayerCount())
function onPluginLoaded()
print("HI!")
end
MP:RegisterEventHandler("onPluginLoaded", "onPluginLoaded")
MP.RegisterEventHandler("onPluginLoaded", "onPluginLoaded")