Shared Functionality

From GTA Connected
Jump to navigation Jump to search

Shared functionality is available to use both server-side and client-side, and consists of:

  • variables
  • functions
  • methods
  • properties
  • events
  • defines

Most of the shared functionality has the same syntax for server-side and client-side, but there is some functionality that has an extra argument or two on either the server-side or client side signature.
The syntax section on functionality pages shows the syntax for server-side, client-side, or both server-side and client-side.
Functionality that has matching signatures for both server-side and client-side, can be used in the same way for both server-side and client-side.