hlmod.hu
https://hlmod.hu/

Awp
https://hlmod.hu/viewtopic.php?f=29&t=26773
Oldal: 1 / 1

Szerző:  Khemo [2016.12.01. 14:52 ]
Hozzászólás témája:  Awp

Sziasztok,nekem olyan plugin kéne,vagy "dolog",hogy mikor elkezdődik a kör,akkor awp legyen a kezembe,de minden kör elején adjon automatikusan 1 awpt,ezt meglehetne oldani?


Válaszokat előre köszi c:

Szerző:  Krisznitro [2016.12.01. 15:31 ]
Hozzászólás témája:  Re: Awp

Khemo írta:
Sziasztok,nekem olyan plugin kéne,vagy "dolog",hogy mikor elkezdődik a kör,akkor awp legyen a kezembe,de minden kör elején adjon automatikusan 1 awpt,ezt meglehetne oldani?


Válaszokat előre köszi c:


  1. #include <amxmodx>
  2. #include <hamsandwich>
  3. #include <fun>
  4. #include <cstrike>
  5.  
  6. new const PLUGIN[] = "New Plug-In";
  7. new const VERSION[] = "1.0";
  8. new const AUTHOR[] = "CryTeX";
  9.  
  10.  
  11. public plugin_init() {
  12.     register_plugin(PLUGIN, VERSION, AUTHOR)
  13.     RegisterHam(Ham_Spawn, "player", "roundstart", 1);
  14. }
  15. public roundstart(id)
  16. {
  17.     give_item(id, "weapon_awp");
  18.     cs_set_user_bpammo(id, CSW_AWP, 200);
  19. }

Szerző:  JohanCorn [2016.12.01. 16:00 ]
Hozzászólás témája:  Re: Awp

Krisznitro írta:
Khemo írta:
Sziasztok,nekem olyan plugin kéne,vagy "dolog",hogy mikor elkezdődik a kör,akkor awp legyen a kezembe,de minden kör elején adjon automatikusan 1 awpt,ezt meglehetne oldani?


Válaszokat előre köszi c:


  1. #include <amxmodx>
  2. #include <hamsandwich>
  3. #include <fun>
  4. #include <cstrike>
  5.  
  6. new const PLUGIN[] = "New Plug-In";
  7. new const VERSION[] = "1.0";
  8. new const AUTHOR[] = "CryTeX";
  9.  
  10.  
  11. public plugin_init() {
  12.     register_plugin(PLUGIN, VERSION, AUTHOR)
  13.     RegisterHam(Ham_Spawn, "player", "roundstart", 1);
  14. }
  15. public roundstart(id)
  16. {
  17.     give_item(id, "weapon_awp");
  18.     cs_set_user_bpammo(id, CSW_AWP, 200);
  19. }


Nem kötözködés miatt, de ez éledés után ad és nem körkezdést követően.

Szerző:  Krisznitro [2016.12.01. 16:10 ]
Hozzászólás témája:  Re: Awp

Akkor:

  1. #include <amxmodx>
  2. #include <fun>
  3. #include <cstrike>
  4.  
  5. new const PLUGIN[] = "New Plug-In";
  6. new const VERSION[] = "1.0";
  7. new const AUTHOR[] = "CryTeX";
  8.  
  9.  
  10. public plugin_init() {
  11.     register_plugin(PLUGIN, VERSION, AUTHOR)
  12.     register_event("RoundTime", "roundstart", "bc")
  13. }
  14. public roundstart(id)
  15. {
  16.     give_item(id, "weapon_awp");
  17.     cs_set_user_bpammo(id, CSW_AWP, 200);
  18. }

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