hlmod.hu
https://hlmod.hu/

Fegyver forwardspeed
https://hlmod.hu/viewtopic.php?f=29&t=10028
Oldal: 1 / 1

Szerző:  Joke [2013.08.10. 12:37 ]
Hozzászólás témája:  Fegyver forwardspeed

Sziasztok...

Nekem az a plugin kellene ,hogy elsődleges (paintball fegyver) fegyverrel ha nyomjuk PL: (W,D) akkor gyorsan megy. Mintha forwardspeedezne.
Köszönöm...

Szerző:  JAck [2013.08.10. 13:25 ]
Hozzászólás témája:  Re: Fegyver forwardspeed

Hali ezt áttudod olyanra írni
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <fun>
  3. #include <cstrike>
  4.  
  5. #define PLUGIN "Gyors kes"
  6. #define VERSION "1.0"
  7. #define AUTHOR "CocaIne"
  8.  
  9. new CVAR_SPEED
  10. public plugin_init() {
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12. register_event("CurWeapon","change","be","1=1")
  13. CVAR_SPEED = register_cvar("kes_speed","340")
  14.  
  15. }
  16.  
  17. public change(id) {
  18. new clip, ammo
  19. new weapon = get_user_weapon(id, clip, ammo)
  20. if(weapon == CSW_KNIFE) {
  21.  
  22. {
  23. new Speed = get_pcvar_float(CVAR_SPEED)
  24.  
  25. set_user_maxspeed(id, Speed)
  26.  
  27. }
  28.  
  29. }
  30. }

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