Events
List of all events that can be used to listen for events. For usage details and more events, see Events.
ClientJoin: ()
Called when the local client joins the server.
Render: ()
Called every frame. Use the Render
event to draw elements to the screen underneath the JC4MP UI, such as the chat window. Learn more here.
PostRender: ()
Called every frame. Use the PostRender
event to draw elements to the screen on top of the JC4MP UI, such as the chat window. This is good for full-screen overlays, such as fading to black for transitions. Learn more here.
VehicleCollision: (vehicle: Vehicle)
This event fires when a vehicle collides with something.
OnVehicleExplode: (vehicle: NetVehicle)
This event fires when a vehicle explodes. Only available on the client side.