How a script talks to a framework
You already know how to register a command and print a line. The missing piece is the player. A framework like ESX, QBCore, or Qbox is the thing that knows who the player is, how much cash they hold, and what job they work. Your script does not store any of that. It asks the framework. In this lesson you build one server script that asks all three the same two questions, give $100 and what is your job, and you watch each one answer in its own dialect.