Clients and Players

From GTA Connected
Jump to navigation Jump to search

What's the difference?

The easiest way to remember it, is the client doesn't exist in the game world. It can't have a position or anything "physical"
The player ped does exist in the game world, which is why it has position and stuff.

Notes

  • A client also known as a "net machine". It's just an entity that's connected to the server. In scripting, client.player is the ped attached to the client.
  • You can have a client without a player (if you don't spawn a player ped for them), and you can have a player ped without a client (it will just act like a normal ped).