Documentation

WebsitesApproved

Called when the client approved the requested websites (referenced in package.json)

Parameter

Name Type Description
websites Array<string> Contains the approved websites

Example

jcmp.events.Add('WebsitesApproved', websites => {
  // Updates the camera's field of view when websites are approved
  jcmp.localPlayer.camera.fieldOfView = 90;
});

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.