User
Pass
2FA
 
 

Am nevoie de un plugin (amxx)

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources
Author Message1612
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 31-10-2008, 08:27:24 | Translate post to: ... (Click for more languages)

Am nevoie de un plugin care sa arate pe server cat damege am facut celuilat jucator care ma omorat si lui cat demage mi-a faqt mie
am incercat cu advanced_damage_report si av_list dar astea 2 imi arata doar damegeul pe care il fac doar cand omor alt jucator nu si cand ma omoara altul pe me

0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 02-11-2008, 11:04:27 | Translate post to: ... (Click for more languages)

incearca:
Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "NewPlugin"
#define VERSION "1.0"
#define AUTHOR "P.Of.Pw" // aka PoSiTiOn Of PoWeR

new g_MsgSync2;

public plugin_init() {
   register_plugin(PLUGIN, VERSION, AUTHOR)
   g_MsgSync2 = CreateHudSyncObj();
}

public client_damage(attacker,victim,damage){
   
   if(attacker)
   {
     
      set_hudmessage(0, 255, 0, 0.01, 0.87, 0, 6.0, 12.0)   
      ShowSyncHudMsg(attacker,g_MsgSync2,"%d",damage)
   }
   if(victim)
   {
     
       
      set_hudmessage(0, 255, 255, 0.01, 0.87, 0, 6.0, 12.0)
      ShowSyncHudMsg(victim,g_MsgSync2,"%d",damage)
   
   }

}

0 0
  
Back to top
View user's profile Send private message
arron07

[Mentally Stable]



Status: Offline
(since 19-12-2008 22:17)
Joined: 23 Oct 2008
Posts: 16, Topics: 6
Location: Romania

Reputation: 86.5
Votes: 4

Post Posted: 02-11-2008, 22:59:49 | Translate post to: ... (Click for more languages)

Nu merge , mai cauta pls
0 0
  
Back to top
View user's profile Send private message
PoSiTiOn Of PoWeR

[ZP.FREAKZ.RO OWNER]



Status: Offline
(since 07-10-2015 14:51)
Joined: 25 Oct 2008
Posts: 712, Topics: 77
Location: Germany

Reputation: 185.3
Votes: 18

Post Posted: 03-11-2008, 10:02:14 | Translate post to: ... (Click for more languages)

Code:
#include <amxmodx>
#include <amxmisc>
#include <csx>


new const PLUGIN_NAME[] = "Amount Damage Attacked";
new const PLUGIN_AUTHOR[] = "SAMURAI";
new const PLUGIN_VERSION[] = "0.1"

new cvar_plugin;

new g_MsgSync;

public plugin_init()
{
   register_plugin(PLUGIN_NAME,PLUGIN_VERSION,PLUGIN_AUTHOR);
   
   cvar_plugin = register_cvar("ada_enable","1");
   
   g_MsgSync = CreateHudSyncObj();
}

public client_damage(attacker,victim,damage)
{
   if(!attacker || !victim)   
      return;
   
   if(get_pcvar_num(cvar_plugin) < 1 || get_pcvar_num(cvar_plugin) > 2)
      return;
      
   set_hudmessage(random(256), random(256), random(256), 0.45, 0.50, 2, 0.1, 4.0, 0.1, 0.1, -1);
   ShowSyncHudMsg(victim, g_MsgSync, "%i^n", damage)
}


sau

Code:

#include <amxmodx>

public damage_msg(vIndex)
{
   if ( get_cvar_float("bullet_damage") ) {
      new aIndex = get_user_attacker(vIndex)
      new damage = read_data(2)
      set_hudmessage(0, 100, 200, -1.0, 0.55, 2, 0.1, 4.0, 0.02, 0.02, 7)
      show_hudmessage(aIndex,"%i", damage)   
   }
   return PLUGIN_CONTINUE
}

public plugin_init() { 
   register_plugin("Bullet Damage","1.0","f117bomb") 
   register_event("Damage", "damage_msg", "b", "2!0", "3=0", "4!0")
   register_cvar("bullet_damage","0")
   return PLUGIN_CONTINUE 
}


ori http://forum.wow-freakz.com/viewtopic.php?p=288326

0 0
  
Back to top
View user's profile Send private message

  Topic locked


Topic is closed, you cannot post any messages in it anymore




 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Resources  


The time now is 18-01-2025, 02:50:53
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x