Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. -------------проверка на группировку, спасибо FonSwong----------
  2. function check_no_dolg()
  3. if character_community(db.actor) ~= 'actor_dolg' then
  4. return true
  5. else
  6. return false
  7. end
  8. end
  9.  
  10. function check_no_neutral()
  11. if character_community(db.actor) ~= 'actor_stalker' then
  12. return true
  13. else
  14. return false
  15. end
  16. end
  17.  
  18. function check_no_freedom()
  19. if character_community(db.actor) ~= 'actor_freedom' then
  20. return true
  21. else
  22. return false
  23. end
  24. end
  25.  
  26. function check_no_csky()
  27. if character_community(db.actor) ~= 'actor_csky' then
  28. return true
  29. else
  30. return false
  31. end
  32. end
  33.  
  34. function check_no_ecolog()
  35. if character_community(db.actor) ~= 'actor_ecolog' then
  36. return true
  37. else
  38. return false
  39. end
  40. end
  41.  
  42. function check_no_army()
  43. if character_community(db.actor) ~= 'actor_army' then
  44. return true
  45. else
  46. return false
  47. end
  48. end
  49.  
  50. function check_no_bandit()
  51. if character_community(db.actor) ~= 'actor_bandit' then
  52. return true
  53. else
  54. return false
  55. end
  56. end
  57.  
  58. function check_no_zombied()
  59. if character_community(db.actor) ~= 'actor_zombied' then
  60. return true
  61. else
  62. return false
  63. end
  64. end
  65.  
  66. function check_no_killer()
  67. if character_community(db.actor) ~= 'actor_killer' then
  68. return true
  69. else
  70. return false
  71. end
  72. end
  73.  
  74. function check_no_monolith()
  75. if character_community(db.actor) ~= 'actor_monolith' then
  76. return true
  77. else
  78. return false
  79. end
  80. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement