Documentation

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.

jcmp

Instance This is a global variable of the class JCMPNamespace. Constructible This class can not be instantiated from your script. Do not try to use the `new` keyword on this class. Auto Destroy To delete an instance of this class, use the `Destroy` function of this class. You can find the function definition below. Custom Properties You cannot add your own properties to instances of this class. They will not be saved and can cause undefined behavior.

Global instance of JCMPNamespace.

Properties

Name Type Description
packages Array<Package> all loaded packages
events undefined
networkVersion number the current network version of the server
version undefined
approvedWebsites undefined
ui undefined
viewportSize undefined
localPlayer undefined
players undefined
world undefined
settings undefined
vehicles undefined

Functions

jcmp.Destroy()

Destroys the jcmp

Stay informed

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.