Scripting/Squirrel/Client Events
This wiki is using an old backup from 2020
Some information may be old/missing
Script Events
Player Events
- Player::PlayerDeath(player)
- Player::PlayerShoot(player, weapon, hitEntity, hitPosition)
Server Events
- Server::ServerData(stream)
GUI Events
- GUI::ElementFocus(element)
- GUI::ElementBlur(element)
- GUI::ElementHoverOver(element)
- GUI::ElementHoverOut(element)
- GUI::ElementClick(element, mouseX, mouseY)
- GUI::ElementRelease(element, mouseX, mouseY)
- GUI::ElementDrag(element, mouseX, mouseY)
- GUI::CheckboxToggle(checkbox, checked)
- GUI::WindowClose(window)
- GUI::InputReturn(editbox)
- GUI::ListboxSelect(listbox, text)
- GUI::ScrollbarScroll(scrollbar, position, change)
- GUI::WindowResize(window, width, height)
- GUI::GameResize(width, height)
- GUI::KeyPressed(key)
KeyBind Events
- KeyBind::OnDown(keybind)
- KeyBind::OnUp(keybind)