Don't like ads? PRO users don't see any ads ;-)
Guest

ChangeShoulder Script: Incomplete

By: a guest on May 11th, 2012  |  syntax: None  |  size: 0.40 KB  |  hits: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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