hlmod.hu
https://hlmod.hu/

CSo ölés effekt hang nélkül
https://hlmod.hu/viewtopic.php?f=9&t=15581
Oldal: 1 / 2

Szerző:  parodyshelf [2014.04.28. 01:01 ]
Hozzászólás témája:  CSo ölés effekt hang nélkül

Hali!
Ez a plugin tök jó,csak az a baj h hang is van benne.
Ugy kene h ne zombi módon fusson,hanem sima modon.
Valaki megcsinalna,h ne jatszon le hangot-hogy headshot,csak a sprite ot mutassa
A plugin:http://www.hlmod.hu/viewtopic.php?f=101&t=12472

Szerző:  Mike Spy [2014.04.28. 13:05 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

Teszt nem volt

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <hamsandwich>
  3. #include <fakemeta>
  4. #include <zombieplague>
  5. #include <dhudmessage>
  6.  
  7. new const red_color[14] = { 250, 50, 250, 250, 250, 250, 250, 50, 250, 250, 250, 250, 250, 250 }
  8. new const green_color[14] = { 250, 150, 250, 150, 0, 250, 50, 150, 150, 0, 150, 250, 150, 0 }
  9. new const blue_color[14] = { 250, 250, 50, 50, 0, 50, 250, 250, 50, 0, 250, 50, 50, 0 }
  10.  
  11. new Float:g_iTask[33];
  12. new g_iKills[33];
  13.  
  14. public plugin_init()
  15. {
  16. register_plugin("Kill's Like CS Online", "0.1", "fl0wer")
  17.  
  18. RegisterHam(Ham_Killed, "player", "Player_Killed_Post", 1)
  19. RegisterHam(Ham_Player_PostThink, "player", "Player_PostThink_Post", 1)
  20.  
  21.  
  22. }
  23. public zp_user_infected_post(id, infector)
  24. {
  25. if(!infector)
  26. return;
  27.  
  28. show_kills(id, infector)
  29. }
  30.  
  31. public Player_Killed_Post(victim, attacker, shouldgib)
  32. {
  33. if(!is_user_connected(attacker))
  34. return;
  35.  
  36. if(victim == attacker)
  37. return;
  38.  
  39. show_kills(victim, attacker)
  40. }
  41.  
  42. public Player_PostThink_Post(id)
  43. {
  44. if(!is_user_alive(id))
  45. return;
  46.  
  47. if(g_iTask[id] + 4.0 <= get_gametime())
  48. {
  49. g_iKills[id] = max(g_iKills[id] -= 1, 0);
  50. g_iTask[id] = get_gametime();
  51. }
  52. }
  53. public show_kills(victim, attacker){
  54. g_iKills[attacker]++;
  55. g_iTask[attacker] = get_gametime();
  56. g_iKills[victim] = 0;
  57. g_iTask[victim] = 0.0;
  58.  
  59. set_dhudmessage(red_color[g_iKills[attacker]], green_color[g_iKills[attacker]], blue_color[g_iKills[attacker]], -1.0, 0.25, 0, 0.1, 3.0, 0.1, 0.1, -1)
  60. show_dhudmessage(attacker, "%d KILL!", g_iKills[attacker])
  61. }

Szerző:  parodyshelf [2014.04.28. 15:06 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

Nem jo!ezt irja ha compile erelni akarom:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

kills_like_csosma.sma(4) : fatal error 100: cannot read from file: "zombieplague"

Compilation aborted.
1 Error.
Could not locate output file kills_like_csosma.amx (compile failed).

Szerző:  xXlederXxHUN [2014.04.28. 15:08 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

Nincs zombieplague inc-ed

Szerző:  alfaanero [2014.04.28. 15:08 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

hianyzikaz inc

IItvan:

Csatolmányok:
zombieplague.inc [12.71KiB]
Letöltve 54 alkalommal.

Szerző:  parodyshelf [2014.04.28. 16:47 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

ha ezt felteszem zombis lesz a szerom???
Amugy a .inc ket hova kell pakolni?

Szerző:  alfaanero [2014.04.28. 16:52 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

scripting/include mappaba

Szerző:  parodyshelf [2014.04.28. 17:37 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

De akkor zombis lesz a szerom?

Szerző:  Mike Spy [2014.04.28. 17:38 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

De ha nem zombira kell,akkor miért nem írod? Ez csak zombison megy.Amúgy nem egy inc miatt fog zombis lenni a szeród.

Szerző:  parodyshelf [2014.04.28. 18:15 ]
Hozzászólás témája:  Re: CSo ölés effekt hang nélkül

Akkor most írom:NEM ZOMBIE MODHOZ KELL A PLUGIIN!!!

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