hlmod.hu
https://hlmod.hu/

Fegyver elvétel
https://hlmod.hu/viewtopic.php?f=29&t=6979
Oldal: 1 / 1

Szerző:  Maxi [2012.12.31. 09:46 ]
Hozzászólás témája:  Fegyver elvétel

Sziasztok én egy olyan plugint szeretnék kérni hogy minden kör végén elveszi az összes fegyvert mert van egy fegyver menüm de annyi fegyver lehet nállad amennyit csak akarsz na ha valaki megcsinálná megköszönném :)

Szerző:  Silent [2012.12.31. 09:51 ]
Hozzászólás témája:  Re: Fegyver elvétel

SMA Forráskód: [ Mindet kijelol ]
  1.  
  2. #include "amxmodx.inc"
  3. #include "fun.inc"
  4.  
  5. public plugin_init()
  6. {
  7. register_plugin("Drop weapon on round end", "1.0", "Silent");
  8. register_logevent("RoundEnd", 2, "1=Round_End");
  9. }
  10.  
  11. public RondEnd()
  12. {
  13. new players[32], pnum, i, id;
  14. get_players(players, pnum);
  15. for(i=0; i<pnum; i++)
  16. {
  17. id = players[i];
  18. strip_user_weapons(id);
  19. }
  20. return 0;
  21. }
  22.  

Szerző:  Maxi [2012.12.31. 10:25 ]
Hozzászólás témája:  Re: Fegyver elvétel

Silent írta:
SMA Forráskód: [ Mindet kijelol ]
  1.  
  2. #include "amxmodx.inc"
  3. #include "fun.inc"
  4.  
  5. public plugin_init()
  6. {
  7. register_plugin("Drop weapon on round end", "1.0", "Silent");
  8. register_logevent("RoundEnd", 2, "1=Round_End");
  9. }
  10.  
  11. public RondEnd()
  12. {
  13. new players[32], pnum, i, id;
  14. get_players(players, pnum);
  15. for(i=0; i<pnum; i++)
  16. {
  17. id = players[i];
  18. strip_user_weapons(id);
  19. }
  20. return 0;
  21. }
  22.  


nemjó :)

Szerző:  small [2012.12.31. 10:52 ]
Hozzászólás témája:  Re: Fegyver elvétel

SMA Forráskód: [ Mindet kijelol ]
  1. /* Script generated by Pawn Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5. #include <fun>
  6.  
  7. #define PLUGIN "FegyverEldobas"
  8. #define AUTHOR "Small"
  9. #define VERSION "1.0"
  10.  
  11. public plugin_init()
  12. {
  13. register_plugin(PLUGIN, VERSION, AUTHOR)
  14. register_logevent("RoundEnd",2,"1=Round_End")
  15. }
  16.  
  17. public RoundEnd()
  18. {
  19. new players[32], pnum
  20. get_players(players, pnum)
  21. for (new i=0; i<pnum; i++)
  22. if(is_user_alive(players[i]))
  23. {
  24. strip_user_weapons(players[i])
  25. }
  26. }
  27.  

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