Adding spawncar command to the reward commands?
I want people to be able to purchase the spawncar command from https://umod.org/plugins/car-commander-lite

But how does it work exactly? I have tried everything but it doesn't work. People can purchase the command but no car is ever spawned.
I know I'm not suppose to necro a thread. But I'm curious about this too. How exactly does selling a command work? I can set it up so the picture, name, description and price are there. And the transaction goes through. But as stated above. Nothing happens.

Merged post

I'm guessing there is some sort of permission setting I'm missing or unclear on. Still scratching my head trying to figure this out. You can't just give the player permission to start with or it kind of defeats the point of selling them the command.
This works fine, use the CarCommanderLite.
And then follow the instruction on the Plugin Page

data/ServerRewards/reward_data.json
  "commands": {
    "Seat Sedan": {
      "description": "Buy a Car (Use outside)",
      "iconName": "car0_0",
      "commands": [
        "spawncar $player.id save"
      ],
      "displayName": "Seat Sedan",
      "cost": 2600,
      "cooldown": 120
    }
  }​


If you follow the instruction everything works great :)

Thank you @BattleSheep. I was slowly piecing things together. I didn't see $player.id save anywhere though. And honestly I wouldn't have known what it was for if I did see it.