Jump to content

In which case use "player" in which "source", "client"


Recommended Posts

Use "source" when you want to know what's the main element involved in the event (for instance, source = the vehicle a player entered in onVehicleEnter)

Use "client" if you've triggered a server-side event from the client, and want to know what client triggered the event.

Use "player" if you've actually defined it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...