hlmod.hu
https://hlmod.hu/

furien láthatoság plugin
https://hlmod.hu/viewtopic.php?f=29&t=16848
Oldal: 1 / 1

Szerző:  LostLegend [2014.08.06. 22:18 ]
Hozzászólás témája:  furien láthatoság plugin

Sziasztok!
Nekem kellene egy olyan plugin ami méri minden terrorista láthatoságát , furien modhoz , igen probáltam már bele ir i a modba de volt bene valami ami mindig baszakodot vele , ezért én egy külön pluginra gondoltam , előre köszi , aki meg csi álja megy a + ;)

Szerző:  DeR0iD [2014.08.07. 12:02 ]
Hozzászólás témája:  Re: furien láthatoság plugin

Ez csak a eltünés de ezt könnyeben áttudod alakítani.
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <fakemeta>
  3. #include <fun>
  4.  
  5. #define PLUGIN "Egyszeru sebessegmero"
  6. #define VERSION "1.0"
  7. #define AUTHOR "DeRoiD"
  8.  
  9. public plugin_init() {
  10. register_plugin(PLUGIN, VERSION, AUTHOR)
  11. set_task(0.1, "kijelzo", 0, _, _, "b")
  12. }
  13. public kijelzo(){
  14. static celpont
  15. static Float:velocity[3]
  16. static Float:sebesseg
  17.  
  18. new players[32], szam
  19. get_players(players, szam)
  20. for(new i; i<szam; i++){
  21. i = players[i]
  22. celpont = pev(i, pev_iuser1) == 4 ? pev(i, pev_iuser2) : i
  23. pev(celpont, pev_velocity, velocity)
  24. sebesseg = vector_length(velocity)
  25. if(sebesseg < 6){
  26. set_user_rendering(i, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 0)
  27. }
  28. else
  29. {
  30. set_user_rendering(i, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255)
  31. }
  32. }
  33. }


Egyszerű sebességmérő pluginomból csináltam!

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