Advertisement
Guest User

MCA guard script

a guest
Feb 10th, 2014
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. begin mca_friendlies
  2.  
  3. short helping
  4. short stayoutside
  5.  
  6. if ( MenuMode == 1 )
  7. Return
  8. endif
  9.  
  10. if ( MCA_FightingBandits > 0 )
  11. if ( helping == 0 )
  12. AiEscort, "player" 0 0 0 0
  13. set helping to 1
  14. set stayoutside to 1
  15. endif
  16. endif
  17.  
  18. if ( helping == 1 )
  19. if ( MCA_FightingBandits == 0 )
  20. AiWander, 256, 5, 0, 60, 20, 20, 20, 0, 0, 0, 20
  21. set helping to 0
  22. endif
  23. endif
  24.  
  25. if ( GetCurrentAiPackage == -1 )
  26. AiWander, 256, 5, 0, 60, 20, 20, 20, 0, 0, 0, 20
  27. set helping to 0
  28. endif
  29.  
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement