hlmod.hu
https://hlmod.hu/

Fakemeta PreThink és Engine PreThink
https://hlmod.hu/viewtopic.php?f=10&t=10011
Oldal: 1 / 1

Szerző:  Vinnice [2013.08.09. 22:55 ]
Hozzászólás témája:  Fakemeta PreThink és Engine PreThink

Mi a különbség ezek között?

Fakemeta:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <fakemeta>
  3.  
  4. #define PLUGIN "New Plug-In"
  5. #define VERSION "1.0"
  6. #define AUTHOR "author"
  7.  
  8.  
  9. public plugin_init()
  10. {
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12. register_forward(FM_PlayerPreThink,"PreThink");
  13. }
  14. public PreThink(id)
  15. {
  16. //kód
  17. }

és Engine:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <engine>
  3.  
  4. #define PLUGIN "New Plug-In"
  5. #define VERSION "1.0"
  6. #define AUTHOR "author"
  7.  
  8.  
  9. public plugin_init() {
  10. register_plugin(PLUGIN, VERSION, AUTHOR)
  11. }
  12. public client_PreThink(id)
  13. {
  14. //kód
  15. }

Szerző:  Silent [2013.08.10. 07:02 ]
Hozzászólás témája:  Re: Fakemeta PreThink és Engine PreThink

Nothin'

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