Jump to content
Sign in to follow this  
marvel_team

Cerere plugin Kill Reward

Recommended Posts

Nume Kill Reward

Versiune : nu conteaza

Descriere : Doresc un plugin care sa ofere , 30 HP , 30 AP si 300 $ pentru fiecare kill pentru fiecare player :) Multumesc.

Share this post


Link to post
Share on other sites

nu-mi merge link`ul // 

Tango Down!

Edited by RF Sp1dey
Nu incerca nimic.

Share this post


Link to post
Share on other sites

Mi-a mers ,dar nu-i ceea ce cautam eu .... eu vroiam ceva de genu la fiecare kill

*Kill Rewards : 10HP , 15AP , 300$.

eu asta vroiam , asta cautam. :|

Share this post


Link to post
Share on other sites

Ok,am sa-l incerc sa vedem ce spune :D eu l-am vazut pe un server clasic ... d-asta l-am cerut , am mai avut un plugin bonus hp dar cu toate ca am setat maxim hp 100 aveam playeri cu 160 HP :))

Share this post


Link to post
Share on other sites

imi ofera doar hp nimic mai mult.pluginu respectiva era asa

imi aparea jos in stanga un mesaj

Kill Rewards : 10hp 15ap 300$ , la fiecare kill :)

Share this post


Link to post
Share on other sites
#include <amxmodx>

#include <fun>

#include <cstrike>

 

static const

PLUGIN[] = "classic",

VERSION[] = "1.1",

AUTHOR[] = "marvel_team";

 

public plugin_init(){

register_plugin(PLUGIN,VERSION,AUTHOR);

register_event("DeathMsg","ev_death_msg","a")

}

public ev_death_msg( ) {

new id = read_data(1)

new victim = read_data(2)

 

if(!is_user_alive(id) || id == victim) return

 

if(get_user_flags(id) & read_flags("b")) {

set_user_health(id,get_user_health(id) + 10)

set_user_armor(id,get_user_armor(id) + 15)

cs_set_user_money(id,cs_get_user_money(id) + 300)

}

else if(get_user_flags(id) & read_flags("z")) {

set_user_health(id,get_user_health(id) + 10)

set_user_armor(id,get_user_armor(id) + 15)

cs_set_user_money(id,cs_get_user_money(id) + 300)

}

else if(get_user_flags(id) & read_flags("c")) {

set_user_health(id,get_user_health(id) + 10)

set_user_armor(id,get_user_armor(id) + 15)

cs_set_user_money(id,cs_get_user_money(id) + 300)

}

}

 

 

 

 

ce-ar trebui sa fac sa imi apara un mesaj la fiecare kill in stanga gen

!gKiller Rewards : Ai primit 10HP,10AP,300$ pentru acest kill sau ceva de genu

Share this post


Link to post
Share on other sites

TE folosesti de hud msg.

 

 

ShowSyncHudMsg ( index, CreateHudSyncObj ( ), const szMessage [] );

 

Daca folosesti amxx 1.8.3

 

 

client_print_color ( index, const Type, const szMessage [], any:... );

Share this post


Link to post
Share on other sites

Eu nu vreau sa-mi apara in hud ,  vreau sa imi apara jos in stanga gen

Killer Rewards : 10Hp , 15Ap , 300 $ .

ai idee ce tre sa fac ?daca poti sa-mi editezi tu postu trece-mi direct linia unde trebuie...

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...