Jump to content

Tugboat

Closed 2.6.1

MrDuck14
MrDuck14

Posted

how do you use the tugboat when a player buys 

tofurahie

Posted

31 minutes ago, MrDuck14 said:

how do you use the tugboat when a player buys 

can you show me how the Lot Item looks in the config

tofurahie

Posted

3 minutes ago, MrDuck14 said:

Screenshot 2024-10-14 044824.png

it should look like
          "Item for sale": {
            "DisplayName": "xmas.present.large",
            "Image": null,
            "Command": "entspawn %steamid% TUGBOAT_PREFAB",
            "Use the command immediately after purchase": false,
            "Refill settings": {
              "Max stock [-1 = disabled]": -1,
              "Refill inteval [seconds]": 0,
              "Refill amount": 0
            },

tofurahie

Posted

10 minutes ago, MrDuck14 said:

did not work

Screenshot 2024-10-14 125631.png

you need to put prefab of tugboat insted of "TUGBOAT_PREFAB"

MrDuck14

Posted

what is that im still new to this is that the item id don't know

tofurahie

Posted

12 hours ago, MrDuck14 said:

what is that im still new to this is that the item id don't know

assets/content/vehicles/boats/tugboat/tugboat.prefab

when you buy the lot you will get an item and when you try to open it the command will execute

MrDuck14

Posted

I get what its suppose to do but when I write the command do I have to put assets/content/vehicles/boats/tugboat/tugboat.prefab 

"Item for sale": {
            "DisplayName": "xmas.present.large",
            "Image": null,
            "Command": "entspawn %steamid% tugboat",
            "Use the command immediately after purchase": false,
            "Refill settings": {
              "Max stock [-1 = disabled]": -1,
              "Refill inteval [seconds]": 0,
              "Refill amount": 0
            },

 

entspawn is the entity that going to spawn 

%stemid% is the player that purchased the item id 

the last thing thats what Im getting confused on 

as the admin spawn tugboat is the command 

tofurahie

Posted

9 minutes ago, MrDuck14 said:

I get what its suppose to do but when I write the command do I have to put assets/content/vehicles/boats/tugboat/tugboat.prefab 

"Item for sale": {
            "DisplayName": "xmas.present.large",
            "Image": null,
            "Command": "entspawn %steamid% tugboat",
            "Use the command immediately after purchase": false,
            "Refill settings": {
              "Max stock [-1 = disabled]": -1,
              "Refill inteval [seconds]": 0,
              "Refill amount": 0
            },

 

entspawn is the entity that going to spawn 

%stemid% is the player that purchased the item id 

the last thing thats what Im getting confused on 

as the admin spawn tugboat is the command 

entspawn %steamid% assets/content/vehicles/boats/tugboat/tugboat.prefab 

like this

MrDuck14

Posted (edited)

it did not work its ok I found another way have tugboats sorry for the inconvenience it would make a present and after it would not execute the command have a good day

Edited by MrDuck14
tofurahie

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

103.4k

Files Sold

Total number of files sold.

2.1m

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.