Verified
Callbacks & Events
Callback transport and Core lifecycle events used by Vcore Framework.
Register server callback
lua
VCORE.Functions.CreateCallback('myresource:getData', function(source, cb, ...) cb({ ok = true })
end)Call from client
lua
VCORE.Functions.TriggerServerCallback('myresource:getData', function(result) print(result and result.ok)
end)Core callback transport
The implementation uses VCORE:Server:TriggerServerCallback and VCORE:Client:TriggerServerCallback internally. Resource authors should normally use the Functions helpers rather than manually implementing that transport.
Core callbacks discovered
| Scope | Name |
|---|---|
| Server | VCORE:GetLastLocation |
| Server | VCORE:GetPlayerData |
| Server | VCORE:GetSpawnPoints |
Core registered network events
These events are registered by Vcore. Registration alone does not mean every event is intended as a stable third-party integration point.
| Scope | Event |
|---|---|
| Client | VCORE:ChatNotify |
| Client | VCORE:Client:AddPlayer |
| Client | VCORE:Client:Clipboard |
| Client | VCORE:Client:DeleteEntityReceived |
| Client | VCORE:Client:DeleteVehicleReceived |
| Client | VCORE:Client:JobsUpdated |
| Client | VCORE:Client:LocalOutOfCharacter |
| Client | VCORE:Client:OnPlayerLoaded |
| Client | VCORE:Client:OnPlayerSpawned |
| Client | VCORE:Client:OnPlayerUnload |
| Client | VCORE:Client:OpenAdminMenu |
| Client | VCORE:Client:PermissionUpdated |
| Client | VCORE:Client:RemovePlayer |
| Client | VCORE:Client:SetCitizenId |
| Client | VCORE:Client:SetHudHidden |
| Client | VCORE:Client:SetHudStyle |
| Client | VCORE:Client:SetMenuTheme |
| Client | VCORE:Client:SyncPlayers |
| Client | VCORE:Client:ToggleHud |
| Client | VCORE:Client:TriggerClientCallback |
| Client | VCORE:Client:TriggerServerCallback |
| Client | VCORE:Client:UseItem |
| Client | VCORE:Command:GoToMarker |
| Client | VCORE:Command:Revive |
| Client | VCORE:Command:SpawnVehicle |
| Client | VCORE:Command:TeleportToCoords |
| Client | VCORE:GetObject |
| Client | VCORE:Notify |
| Client | VCORE:Player:SetPlayerData |
| Client | VCORE:Player:UpdateClientInventoryCache |
| Client | VCORE:SimpleNotify |
| Client | VCORE:StopNotify |
| Client | VCORE:UpdateNotify |
| Client | core:client:adminArmour |
| Client | core:client:adminFreeze |
| Client | core:client:adminGodmode |
| Client | core:client:adminInvisible |
| Client | core:client:adminKill |
| Client | core:client:adminRevive |
| Client | core:client:adminSpeed |
| Client | core:client:adminTeleport |
| Client | hud:setCruise |
| Client | hud:setSeatbelt |
| Server | VCORE:DebugSomething |
| Server | VCORE:GTA5:CreateCharacter |
| Server | VCORE:GTA5:DeleteCharacter |
| Server | VCORE:GTA5:LookupPhone |
| Server | VCORE:GTA5:PlayerDied |
| Server | VCORE:GTA5:PlayerLastStand |
| Server | VCORE:GTA5:PlayerRespawned |
| Server | VCORE:GTA5:RequestCharacters |
| Server | VCORE:GTA5:SaveAppearance |
| Server | VCORE:GTA5:SetOnDuty |
| Server | VCORE:GTA5:UpdateNeeds |
| Server | VCORE:GTA5:UpdateStress |
| Server | VCORE:GetObject |
| Server | VCORE:Player:PutInHelicopter |
| Server | VCORE:RequestEntityDelete |
| Server | VCORE:Server:AddItem |
| Server | VCORE:Server:LoadPlayer |
| Server | VCORE:Server:RemoveItem |
| Server | VCORE:Server:SetMetaData |
| Server | VCORE:Server:SyncPlayers |
| Server | VCORE:Server:TriggerClientCallback |
| Server | VCORE:Server:TriggerServerCallback |
| Server | VCORE:Server:UpdateLastPosition |
| Server | VCORE:ToggleDuty |
| Server | VCORE:ToggleDutyLegacy |
| Server | VCORE:Vehicle:RegisterIdentity |
| Server | VCORE:Vehicle:SetRuntimeState |
| Server | VCORE:server:useItem: |
