Adding heli spawning to shop?
I would like to make it so players can buy a ch47 that spawns where the player is standing or in a certain spot (airfield) i have tried a lot of different things but i can not figure it out

Merged post

I would really appretiacte some help here
did u use plugin HeliControl? if so just edit the below how u need
example:
    "Call a Chinook": {
      "buy": "YourPrice",
      "img": "YourImage",
      "cmd": ["callch47 $player.id"],
      "cooldown": "YourCooldown",
      "sell": "0"
    },​
In response to dIMjIM ():
did u use plugin HeliControl? if so just edit the below how u need
example:
"Call a...
It doesn't require the HeliControl plugin.
I have to go through and update a ton of stuff.
I want it to spawn a heli that they can fly
aah ok but you dont write it for player to fly :p

try this, for player position spawn

    "Rent a CH47-Chinook": {
      "buy": "YourPrice",
      "img": "YourImage",
      "cmd": ["spawn ch47.entity \"$player.x $player.y $player.z\""],
      "cooldown": "YourCooldown",
      "sell": "0"
    },​​


for static spawn (for our example it will spawn it on position 100 10 100)

    "Rent a CH47-Chinook": {
      "buy": "YourPrice",
      "img": "YourImage",
      "cmd": ["spawn ch47.entity \"100 10 100\""],
      "cooldown": "YourCooldown",
      "sell": "0"
    },​​
In response to dIMjIM ():
aah ok but you dont write it for player to fly :p

try this, for player position spawn
Hello, please help me, I have the problem to place a command on Airdrop and Airstrike. I've tried all the possibilities. thanks for the help