hlmod.hu
https://hlmod.hu/

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

Szerző:  Puma [2013.01.31. 14:07 ]
Hozzászólás témája:  Gyors kés

Sziasztok.

Nekem egy olyan plugin kellene ,hogy a kés sebességét megtudjam változtatni...
Igazából nemtudom milyen gyors jelenleg ,csak az a lényeg gyorsabb legyen mondjuk 2x :D előre is köszönöm

Szerző:  ultraibolya [2013.01.31. 14:23 ]
Hozzászólás témája:  Re: Gyors kés

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <fun>
  3. #include <cstrike>
  4.  
  5. public plugin_init()
  6. {
  7. register_event("CurWeapon", "curwep", "be", "1=1", "2=29");
  8. }
  9. public curwep(id)
  10. {
  11. new clip, ammo, wep;
  12. wep = get_user_weapon(id, clip, ammo);
  13. new maxs = get_user_maxspeed(id);
  14.  
  15. if(wep == CSW_KNIFE)
  16. {
  17. set_user_maxspeed(id, maxs + 50);
  18. }
  19. }

Szerző:  HunGamer [2013.01.31. 14:27 ]
Hozzászólás témája:  Re: Gyors kés

Tessék:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fun>
  4.  
  5. #define PLUGIN "New Plug-In"
  6. #define VERSION "1.0"
  7. #define AUTHOR "HunGamer"
  8.  
  9. #define DEFAULT_SPEED 250.0
  10.  
  11. public plugin_init()
  12. {
  13. register_plugin(PLUGIN, VERSION, AUTHOR)
  14. register_event("CurWeapon", "Event_Change_Weapon", "be", "1=1")
  15. }
  16. public Event_Change_Weapon(id)
  17. {
  18. if(get_user_weapon(id) == CSW_KNIFE)
  19. {
  20. set_user_maxspeed(id, DEFAULT_SPEED*2)
  21. }
  22. return PLUGIN_CONTINUE;
  23. }

Szerző:  Puma [2013.01.31. 15:28 ]
Hozzászólás témája:  Re: Gyors kés

HunGamer írta:
Tessék:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fun>
  4.  
  5. #define PLUGIN "New Plug-In"
  6. #define VERSION "1.0"
  7. #define AUTHOR "HunGamer"
  8.  
  9. #define DEFAULT_SPEED 250.0
  10.  
  11. public plugin_init()
  12. {
  13. register_plugin(PLUGIN, VERSION, AUTHOR)
  14. register_event("CurWeapon", "Event_Change_Weapon", "be", "1=1")
  15. }
  16. public Event_Change_Weapon(id)
  17. {
  18. if(get_user_weapon(id) == CSW_KNIFE)
  19. {
  20. set_user_maxspeed(id, DEFAULT_SPEED*2)
  21. }
  22. return PLUGIN_CONTINUE;
  23. }


Értem ,kérlek csináld már meg ,hogy 3x gyorsasággal menjen... köszi

Szerző:  small [2013.01.31. 15:32 ]
Hozzászólás témája:  Re: Gyors kés

Puma írta:
HunGamer írta:
Tessék:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fun>
  4.  
  5. #define PLUGIN "New Plug-In"
  6. #define VERSION "1.0"
  7. #define AUTHOR "HunGamer"
  8.  
  9. #define DEFAULT_SPEED 250.0
  10.  
  11. public plugin_init()
  12. {
  13. register_plugin(PLUGIN, VERSION, AUTHOR)
  14. register_event("CurWeapon", "Event_Change_Weapon", "be", "1=1")
  15. }
  16. public Event_Change_Weapon(id)
  17. {
  18. if(get_user_weapon(id) == CSW_KNIFE)
  19. {
  20. set_user_maxspeed(id, DEFAULT_SPEED*2)
  21. }
  22. return PLUGIN_CONTINUE;
  23. }


Értem ,kérlek csináld már meg ,hogy 3x gyorsasággal menjen... köszi

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <fun>
  4.  
  5. #define PLUGIN "New Plug-In"
  6. #define VERSION "1.0"
  7. #define AUTHOR "HunGamer"
  8.  
  9. #define DEFAULT_SPEED 250.0
  10.  
  11. public plugin_init()
  12. {
  13. register_plugin(PLUGIN, VERSION, AUTHOR)
  14. register_event("CurWeapon", "Event_Change_Weapon", "be", "1=1")
  15. }
  16. public Event_Change_Weapon(id)
  17. {
  18. if(get_user_weapon(id) == CSW_KNIFE)
  19. {
  20. set_user_maxspeed(id, DEFAULT_SPEED*3)
  21. }
  22. return PLUGIN_CONTINUE;
  23. }

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