hlmod.hu
https://hlmod.hu/

Valaki ezt áttudja nekem az összeset villogó random színű hud üzenetre?
https://hlmod.hu/viewtopic.php?f=9&t=22993
Oldal: 1 / 1

Szerző:  ReC0iiL [ 2015.12.12. 18:13 ]
Hozzászólás témája:  Valaki ezt áttudja nekem az összeset villogó random színű hud üzenetre?

SMA Forráskód: [ Mindet kijelol ]
  1. Set hudmessage format.
  2. set_hudtype_killer(Float:fDuration)
  3. set_hudmessage(220, 80, 0, 0.05, 0.15, 0, 6.0, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0, -1)
  4.  
  5. set_hudtype_endround(Float:fDuration)
  6. {
  7. set_hudmessage(100, 200, 0, 0.05, 0.55, 0, 0.02, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0)
  8. }
  9.  
  10. set_hudtype_attacker(Float:fDuration)
  11. set_hudmessage(220, 80, 0, 0.55, 0.35, 0, 6.0, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0, -1)
  12.  
  13. set_hudtype_victim(Float:fDuration)
  14. set_hudmessage(0, 80, 220, 0.55, 0.60, 0, 6.0, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0, -1)
  15.  
  16. set_hudtype_specmode()
  17. {
  18. set_hudmessage(255, 255, 255, 0.02, 0.96, 2, 0.05, 0.1, 0.01, 3.0, -1)
  19. }
  20.  
  21. #if defined STATSX_DEBUG
  22. public cmdHudTest(id)
  23. {
  24. new i, iLen
  25. iLen = 0
  26.  
  27. for (i = 1; i < 20; i++)
  28. iLen += format(g_sBuffer[iLen], MAX_BUFFER_LENGTH - iLen, "....x....1....x....2....x....3....x....4....x....^n")
  29.  
  30. set_hudtype_killer(50.0)
  31. show_hudmessage(id, "%s", g_sBuffer)

Szerző:  pixxa112 [ 2015.12.13. 19:40 ]
Hozzászólás témája:  Re: Valaki ezt áttudja nekem az összeset villogó random színű hud üzenetre?

SMA Forráskód: [ Mindet kijelol ]
  1. Set hudmessage format.
  2. set_hudtype_killer(Float:fDuration)
  3. set_hudmessage(random(255), random(255), random(255), 0.05, 0.15, 0, 6.0, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0, -1)
  4.  
  5. set_hudtype_endround(Float:fDuration)
  6. {
  7. set_hudmessage(random(255), random(255), random(255), 0.05, 0.55, 0, 0.02, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0)
  8. }
  9.  
  10. set_hudtype_attacker(Float:fDuration)
  11. set_hudmessage(random(255), random(255), random(255), 0.55, 0.35, 0, 6.0, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0, -1)
  12.  
  13. set_hudtype_victim(Float:fDuration)
  14. set_hudmessage(random(255), random(255), random(255), 0.55, 0.60, 0, 6.0, fDuration, (fDuration >= g_fHUDDuration) ? 1.0 : 0.0, 1.0, -1)
  15.  
  16. set_hudtype_specmode()
  17. {
  18. set_hudmessage(random(255), random(255), random(255), 0.02, 0.96, 2, 0.05, 0.1, 0.01, 3.0, -1)
  19. }
  20.  
  21. #if defined STATSX_DEBUG
  22. public cmdHudTest(id)
  23. {
  24. new i, iLen
  25. iLen = 0
  26.  
  27. for (i = 1; i < 20; i++)
  28. iLen += format(g_sBuffer[iLen], MAX_BUFFER_LENGTH - iLen, "....x....1....x....2....x....3....x....4....x....^n")
  29.  
  30. set_hudtype_killer(50.0)
  31. show_hudmessage(id, "%s", g_sBuffer)

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