Sign in to follow this  
Ride1234

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

Recommended Posts

Hello, i'm scripter-beginner. I can't understand in which case i must use "source" in which "player" , "client"..

And how to learn when what must be used? :roll:

Share this post


Link to post

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.

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.