hlmod.hu
https://hlmod.hu/

HUD.
https://hlmod.hu/viewtopic.php?f=9&t=19858
Oldal: 1 / 1

Szerző:  levo00 [ 2015.03.13. 16:01 ]
Hozzászólás témája:  HUD.

Sziasztok! valaki leírja hogy ez most így mit jelent
SMA Forráskód: [ Mindet kijelol ]
  1. message_begin(MSG_ONE_UNRELIABLE, g_MsgScreenFade, _, index);
  2. write_short((1 << 12) * 1);
  3. write_short(floatround((1 << 12) * 0.01));
  4. write_short(0x0000);
  5. write_byte(0);
  6. write_byte(170);
  7. write_byte(255);
  8. write_byte(150);
  9. message_end();
? vagy hova írja a hudot? ugy kéne hogy fent írja hosszan.
SMA Forráskód: [ Mindet kijelol ]
  1. set_hudmessage(120, 60, random_num(0,255), 0.01, 0.22)
  2. ShowSyncHudMsg(id, g_MsgSync, "[Energia: %d]^n[Pancel: %d]^n[Szint: %d]^n[tapasztalat: %d/%d]^n[Cin: %s]", health, armor, Szint[id], Pont[id], get_pcvar_num(cvar_xp_for_lvl), cinovi[Cin[id]])
  3. }
  4. stock set_user_fade(index)
  5. {
  6. message_begin(MSG_ONE_UNRELIABLE, g_MsgScreenFade, _, index);
  7. write_short((1 << 12) * 1);
  8. write_short(floatround((1 << 12) * 0.01));
  9. write_short(0x0000);
  10. write_byte(0);
  11. write_byte(170);
  12. write_byte(255);
  13. write_byte(150);
  14. message_end();
  15. }

Szerző:  bbshop [ 2015.03.13. 17:54 ]
Hozzászólás témája:  Re: HUD.

SMA Forráskód: [ Mindet kijelol ]
  1. set_hudmessage(random(256), random(255), random(255), -1.0, 0.22, 0, 6.0, 7.0)
  2. ShowSyncHudMsg(id, g_MsgSync, "[Energia: %d]^n[Pancel: %d]^n[Szint: %d]^n[tapasztalat: %d/%d]^n[Cin: %s]", health, armor, Szint[id], Pont[id], get_pcvar_num(cvar_xp_for_lvl), cinovi[Cin[id]])
  3. }
  4. stock set_user_fade(index)
  5. {
  6. message_begin(MSG_ONE_UNRELIABLE, g_MsgScreenFade, _, index);
  7. write_short((1 << 12) * 1);
  8. write_short(floatround((1 << 12) * 0.01));
  9. write_short(0x0000);
  10. write_byte(0);
  11. write_byte(170);
  12. write_byte(255);
  13. write_byte(150);
  14. message_end();
  15. }

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