Guest User

ChangeShoulder Script: Incomplete

a guest
May 11th, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. ScriptName scrSwapShoulderQuest
  2.  
  3. int bIsNPressed
  4. int bKeyState
  5. int bLastKeyState
  6. float camerapos
  7.  
  8. Begin GameMode
  9. if bIsNPressed != IsKeyPressed 49 ; N
  10. set bIsNPressed to IsKeyPressed 49 ; N
  11. if bIsNPressed==1 && bKeyState==0
  12. set bKeyState to 1
  13. SetNumericGameSetting fOverShoulderPosX -40
  14. endif
  15. if bIsNPressed==0 && bKeyState==1
  16. set bKeyState to 0
  17. endif
  18. endif
  19. End
Advertisement
Add Comment
Please, Sign In to add comment