HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. #include <amxmodx>
  2.  
  3. #define PLUGIN_NAME "Free Look Crosshair Fix"
  4. #define PLUGIN_VERSION "1.0"
  5. #define PLUGIN_AUTHOR "Numb"
  6.  
  7. new g_iMsgId_Crosshair;
  8.  
  9. public plugin_init()
  10. {
  11. register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR);
  12.  
  13. register_event("TextMsg", "Event_TextMsg", "b", "1=4", "2=#Spec_Mode3");
  14.  
  15. g_iMsgId_Crosshair = get_user_msgid("Crosshair");
  16. }
  17.  
  18. public Event_TextMsg_fp(iPlrId)
  19. {
  20. message_begin(MSG_ONE_UNRELIABLE, g_iMsgId_Crosshair, _, iPlrId);
  21. write_byte(1);
  22. message_end();
  23. }
  24.