Jump to content

Need help with a script!


jigodie

Recommended Posts

Attached the script to an armor but when i press the key the game ctd's, and i don't know why!
This is just the part of the script thet causes the ctd.

 

if Player.GetEquipped MyArmor == 1
If (Player.GetItemCount Stimpak > 1) && IsKeyPressed 22
cios Stimpak
Player.RemoveItem Stimpak 1
playsound NPCHumanUsingStimpak
endif
endif
Please help!!!
Edited by jigodie
Link to comment
Share on other sites

  • Recently Browsing   0 members

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