Jump to content

possable to add a lockbreaker?


NightmareRex

Recommended Posts

the simple part of the script would be player.removeitem f 1000 but then want it to knock down the level of the lock on the door. what kind of script would be needed or is it even possable to make a script like that?

 

basicaly a player has the item in there inv once they find it they click on it it subtracts 1k from the inventory and then knocks the lock level down of a door they looking at, if needs key then level 100 if level 100 level 75 and so forth. basicaly allowing new charractors to break into locks early via money if they choose to do so, i got this idea from hl2dm rp lol.

 

i assume would get much more complacated if wanted to make it refuse to function if not looking at a door or locked box but thats not as important if they decide to use it not looking at a lock then their fault.

 

and need to have it blocked if player dose not have enugh money i assume that would be an if else statement, new to scripting.

Edited by NightmareRex
Link to comment
Share on other sites

  • Recently Browsing   0 members

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