so, hier mal eine vernünftige Version:

in die "functions.lua":
Code:
function CheatAlarm(cheat)
 MsgBox("Du hast " .. cheat .. " gedrückt! Das ist nicht erlaubt!", "Anti-Cheat-Skript", MB_OK or MB_ICONWARNING)
 ExitGame()
end
in die "mainloop.lua", direkt über dem "Ready()":
Code:
if KeyPressed(VK_F9) then
 CheatAlarm("F9")
elseif KeyPressed(VK_F10) then
 CheatAlarm("F10")
elseif KeyPressed(VK_CTRL) then
 CheatAlarm("STRG")
elseif KeyPressed(VK_SHIFT) then
 CheatAlarm("UMSCHALT")
end
mfG Cherry