Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.
Called every frame (please ask Alex for more details please, we'll appreciate it a lot)
Name | Type | Description |
---|---|---|
scriptingRenderer | Renderer | The active renderer object |
jcmp.events.Add('GameRender', scriptingRenderer => {
// Draw an opaque 3d rectangle
scriptingRenderer.DrawRect(new Vector3f(0, 0, 100), new Vector2f(300, 300), new RGBA(255, 255, 0, 255));
});
By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.