Advertisement
Guest User

Untitled

a guest
Jun 13th, 2016
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. void OnStart()
  2. {
  3. AddUserItemCallBack("", "single_use_master_key", "level_wood_1", "FUNCTION", true);
  4. }
  5.  
  6. void OnEnter()
  7. {
  8.  
  9. }
  10.  
  11. void OnLeave()
  12. {
  13.  
  14. }
  15.  
  16. void FUNCTION(string &in item, string &in door)
  17. {
  18. SetLevelDoorLocked("level_wood_1", false);
  19. PlayGuiSound("unlock_door.snt", 100);
  20. RemoveItem("single_use_master_key");
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement