y_amx.inc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /**
  2. * <library name="y_amx">
  3. * <section>
  4. * Description
  5. * </section>
  6. * Allows a script access to information about itself, such as function names.
  7. * This can be used for a range of things, including automatic callback hooking
  8. * and testing.
  9. * <section>
  10. * Version
  11. * </section>
  12. * 1.0
  13. * </library>
  14. *//** *//*
  15. Legal:
  16. Version: MPL 1.1
  17. The contents of this file are subject to the Mozilla Public License Version
  18. 1.1 the "License"; you may not use this file except in compliance with
  19. the License. You may obtain a copy of the License at
  20. http://www.mozilla.org/MPL/
  21. Software distributed under the License is distributed on an "AS IS" basis,
  22. WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  23. for the specific language governing rights and limitations under the
  24. License.
  25. The Original Code is the YSI framework.
  26. The Initial Developer of the Original Code is Alex "Y_Less" Cole.
  27. Portions created by the Initial Developer are Copyright C 2011
  28. the Initial Developer. All Rights Reserved.
  29. Contributors:
  30. Y_Less
  31. koolk
  32. JoeBullet/Google63
  33. g_aSlice/Slice
  34. Misiur
  35. samphunter
  36. tianmeta
  37. maddinat0r
  38. spacemud
  39. Crayder
  40. Dayvison
  41. Ahmad45123
  42. Zeex
  43. irinel1996
  44. Yiin-
  45. Chaprnks
  46. Konstantinos
  47. Masterchen09
  48. Southclaws
  49. PatchwerkQWER
  50. m0k1
  51. paulommu
  52. udan111
  53. Thanks:
  54. JoeBullet/Google63 - Handy arbitrary ASM jump code using SCTRL.
  55. ZeeX - Very productive conversations.
  56. koolk - IsPlayerinAreaEx code.
  57. TheAlpha - Danish translation.
  58. breadfish - German translation.
  59. Fireburn - Dutch translation.
  60. yom - French translation.
  61. 50p - Polish translation.
  62. Zamaroht - Spanish translation.
  63. Los - Portuguese translation.
  64. Dracoblue, sintax, mabako, Xtreme, other coders - Producing other modes for
  65. me to strive to better.
  66. Pixels^ - Running XScripters where the idea was born.
  67. Matite - Pestering me to release it and using it.
  68. Very special thanks to:
  69. Thiadmer - PAWN, whose limits continue to amaze me!
  70. Kye/Kalcor - SA:MP.
  71. SA:MP Team past, present and future - SA:MP.
  72. Optional plugins:
  73. Gamer_Z - GPS.
  74. Incognito - Streamer.
  75. Me - sscanf2, fixes2, Whirlpool.
  76. */
  77. #if !defined _INC_y_core
  78. #tryinclude "..\YSI_Core\y_core\y_core_entry"
  79. #endif
  80. #if !defined _INC_y_core
  81. #tryinclude "YSI_Core\y_core\y_core_entry"
  82. #endif
  83. #if !defined _INC_y_core
  84. #tryinclude "YSI\YSI_Core\y_core\y_core_entry"
  85. #endif
  86. #if !defined _INC_y_core
  87. #tryinclude <YSI_Core\y_core\y_core_entry>
  88. #endif
  89. #if !defined _INC_y_core
  90. #tryinclude <YSI\YSI_Core\y_core\y_core_entry>
  91. #endif
  92. #if !defined _INC_y_core
  93. #error Could not find y_amx
  94. #endif