hlmod.hu
https://hlmod.hu/

Gyors kés modellal
https://hlmod.hu/viewtopic.php?f=29&t=10472
Oldal: 1 / 1

Szerző:  theglorious [ 2013.08.25. 13:39 ]
Hozzászólás témája:  Gyors kés modellal

hy
Olyan gyors kés plugint kérek amihez kés modelt is rakhatok!

Szerző:  CrB [ 2013.08.25. 14:15 ]
Hozzászólás témája:  Re: Gyors kés modellal

tessék
kés elérési útját itt tudod változtatni
SMA Forráskód: [ Mindet kijelol ]
  1. new const vModel[] = "models/kes/v_kesed.mdl"

SMA Forráskód: [ Mindet kijelol ]
  1. /* qKKKJ plugin
  2. *
  3. * (c) Készült: 2013 Készítette: qKKKJ
  4. * Minden jog fenntartva!
  5. *
  6. */
  7.  
  8. #include <amxmodx>
  9. #include <amxmisc>
  10. #include <fun>
  11. #include <engine>
  12. new const vModel[] = "models/kes/v_kesed.mdl"
  13. #define PLUGIN "kes speed"
  14. #define VERZIO "0.1"
  15. #define KESZITO "qKKKJ"
  16. public plugin_precache()
  17. {
  18. precache_generic(vModel)
  19. }
  20. public plugin_init() {
  21. register_plugin(PLUGIN, VERZIO, KESZITO)
  22. register_event("CurWeapon", "Event_CurWeapon", "be", "1=1")
  23. }
  24. public Event_CurWeapon(id)
  25. {
  26. new weapon = get_user_weapon(id)
  27. if(weapon == CSW_KNIFE)
  28. {
  29. set_user_maxspeed(id, 500.0)
  30. entity_set_string(id, EV_SZ_viewmodel, vModel)
  31. }
  32. }

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