Events
Available client-to-server, client and server events exposed by the API.
Event reference
4 eventsClient to server
Events sent from the client to the server.
onActionShapeEntershapeRemoteIdnumberonActionShapeLeaveshapeRemoteIdnumberonPedInteractionPresspedRemoteIdnumberonObjectInteractionPressobjectRemoteIdnumberEvent reference
9 eventsClient events
Events available on the client.
onActionShapeEntershapeRemoteIdnumberonActionShapeLeaveshapeRemoteIdnumberonObjectStreamInobjectRemoteIdnumberonObjectStreamOutobjectRemoteIdnumberonObjectRaycastobjectRemoteIdnumberonPedRaycastpedRemoteIdnumberonNullRaycastNone
onGlobalPlayerStreamInsourcenumberonGlobalPlayerStreamOutsourcenumberEvent reference
5 eventsServer events
Events available on the server.
onObjectCreatedobjectRemoteIdnumberonObjectDestroyedobjectData—onObjectVariableChangeobjectRemoteIdnumberkeystringvalueanyonPedCreatedpedRemoteIdnumberonPedDestroyedpedData—