Jump to content

scripting help.


Recommended Posts

First off I admit I hardly know a thing about scripting (better than yesterday though I knew nothing :) ) Anyway what I'm trying to do is create a terminal where the player can use create ammo by having scrap metal. I know how to give the player ammo using a terminal by simply typing player.additem 00004240 30 which would give the player 30 5.56mm ammo. I however want the player to have to have 1 piece of scrap metal to get the ammunition. Thats something I dont know how to do. I've tried doing the following.

 

player.additem 00004240 30

unitcost to 00031944

 

Unitcost however isn't a command line the geck recognize so my script won't work. Any help would be much appriciated :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...