Documentation

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.

The global instance of the JCMPNamespace.

Properties

Name Type Description
packages Array<Package> all loaded packages
events undefined
server Server the server instance
networkVersion number the current network version of the server
players Array<Player> all connected players
vehicles Array<Vehicle> all spawned vehicles
objects Array<GameObject> all spawned objects
poi Array<POI> all spawned poi (point of interests)
checkpoints Array<Checkpoint> all spawned checkpoints

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.