hlmod.hu
https://hlmod.hu/

tag mismatch warning
https://hlmod.hu/viewtopic.php?f=10&t=5476
Oldal: 1 / 1

Szerző:  Silent [2012.07.30. 16:45 ]
Hozzászólás témája:  tag mismatch warning

Most úgy őszintén. Miért dob a "return OrpheuSupercede" és a "return OrpheuIgnored" sorra tag mismatch-et? -.-

Sma:

Kód:
  1.  

  2. /* Plugin generated by AMXX-Studio */

  3.  

  4. #include <amxmodx>

  5. #include <orpheu>

  6. #include <silent>

  7.  

  8. #define PLUGIN "Blocking jump"

  9. #define VERSION "1.0"

  10. #define AUTHOR "Silent"

  11.  

  12.  

  13. public plugin_init() {

  14.         register_plugin(PLUGIN, VERSION, AUTHOR)

  15.         OrpheuRegisterHook(OrpheuGetFunctionFromClass ("player", "Jump", "CBasePlayer"), "orpheu_player_jump")

  16. }

  17.  

  18. public orpheu_player_jump(id)

  19. {

  20.         if(!pred_can_jump(id))

  21.                 return OrpheuSupercede;

  22.         return OrpheuIgnored;

  23. }

  24.  

Szerző:  Silent [2012.07.30. 16:52 ]
Hozzászólás témája:  Re: tag mismatch warning

A pontos hibák:

Kód:
 Warning: Tag mismatch on line 21
Warning: Tag mismatch on line 22

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/