Jump to content

command not working

Pending 1.0.0

thegdog

Posted

trying to have item give xp when comsumed.  doesnt seem to work.  item is given, doesnt give the xp when consumed
attached my config for it.

{
  "Deploy effect when deploying the custom item": "assets/prefabs/misc/halloween/lootbag/effects/loot_bag_upgrade.prefab",
  "Unwrap effect when unwrapping the custom item": "assets/prefabs/misc/halloween/lootbag/effects/gold_open.prefab",
  "Custom Items (Skin Id and their settings)": {
    "1": {
      "Custom Item Reward Type (Default/Spawn)": "Default",
      "Command to run after using the custom item (Leave empty if not needed)": "givesp {playerId} 10000",
      "Item to spawn (Prefab) (Only works if the Item Reward Type is set to Spawn)": ""
    },
    "2": {
      "Custom Item Reward Type (Default/Spawn)": "Spawn",
      "Command to run after using the custom item (Leave empty if not needed)": "",
      "Item to spawn (Prefab) (Only works if the Item Reward Type is set to Spawn)": "assets/prefabs/deployable/bbq/bbq.deployed.prefab"
    }
  }
}

 

thegdog

Posted

just realized how its giving items of a loot bag of some sort instead

supreme

Posted

Is the xp received once the user opens the received loot bag?

supreme

Posted (edited)

Try a different command, if it works it means "givesp" is not a console command/is not supported to work this way, I'll be able to take a more in depth look this week

L.E: Make sure 1 is the correct skin id of the custom item

Edited by supreme
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.