hey hey, I have a question for you, is it possible to do that would be mended glasses for death? ie for example: I have infected 300 points is killing me and I survived 100 is added, so if the infected die from bullets 10 times, then 1000 points! is it possible? it will be useful code please give it to me in a short time, I want to make a video tutorial for RUSSIAN....
|
Help give points for the deaths of bullets
|
|
03-11-2013, 11:34
....glasses for death..... o.o
03-11-2013, 11:49
03-11-2013, 17:05
(This post was last modified: 03-11-2013, 17:08 by DidUknowiPwn.)
Do a check onplayerkilled if MOD_X then give them Y points..
Note: You would need an else statement for deaths. Like this from our QCZM: Code: if (attacker != null)
{
if (attacker.IsPlayer && attacker.IsAlive)
{
if (attacker.GetField<string>("sessionteam") == "allies")
{
if (mod == "MOD_MELEE")
{
attacker.SetField("cash", attacker.GetField<int>("cash") + 200);
//attacker.Call("iprintlnbold", "Melee Kill! ^1+200");
doScorePopUp(attacker, "Melee Kill! ^1+{0}", 200);
attacker.SetField("round_playerkills", attacker.GetField<int>("round_playerkills") + 1);
}
else
{
attacker.SetField("cash", attacker.GetField<int>("cash") + 50);
//attacker.Call("iprintlnbold", "Killed Zombie. ^1+50");
doScorePopUp(attacker, "Killed Zombie. ^1+{0}", 50);
attacker.SetField("round_playerkills", attacker.GetField<int>("round_playerkills") + 1);
}
player.SetField("cash", player.GetField<int>("cash") + 50);
player.SetField("round_deaths", player.GetField<int>("round_deaths") + 1);
//player.Call("iprintlnbold", "Died! ^1+50");
doScorePopUp(player, "Died! ^1+{0}", 50);
}
else
{
attacker.SetField("cash", attacker.GetField<int>("cash") + 100);
//attacker.Call("iprintlnbold", "Killed Human! ^1+100");
doScorePopUp(attacker, "Killed Human! ^1+{0}", 100);
attacker.SetField("round_zomkills", attacker.GetField<int>("round_zomkills") + 1);
player.SetField("round_deaths", player.GetField<int>("round_deaths") + 1);
}
}
}
Do not take life too seriously. You will never get out of it alive.
03-11-2013, 17:09
(03-11-2013, 17:05)DidUknowiPwn Wrote: Do a check onplayerkilled if MOD_X then give them Y points.. QCZM-its?
03-11-2013, 17:11
(This post was last modified: 03-11-2013, 17:11 by DidUknowiPwn.)
(03-11-2013, 17:09)Jone Calerone Wrote:Mine and @apadayo 's version of QCZM for MW3 (non-steam)(03-11-2013, 17:05)DidUknowiPwn Wrote: Do a check onplayerkilled if MOD_X then give them Y points..
Do not take life too seriously. You will never get out of it alive.
03-11-2013, 18:02
go itsmods.ru
03-11-2013, 18:25
(03-11-2013, 17:11)DidUknowiPwn Wrote:its 4D1?-oh no sry(03-11-2013, 17:09)Jone Calerone Wrote:Mine and @apadayo 's version of QCZM for MW3 (non-steam)(03-11-2013, 17:05)DidUknowiPwn Wrote: Do a check onplayerkilled if MOD_X then give them Y points..
03-11-2013, 18:27
Well obv you have to rewrite, but I'm just saying you can make it like that. It's an example...
Do not take life too seriously. You will never get out of it alive.
03-11-2013, 18:51
@dukip 4d1 code and addon code are two different things.
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [Request] Health and Points on hud source | robinvm | 7 | 8,192 |
10-27-2013, 08:23 Last Post: robinvm |
|
| Help Make ac130 shoot custom bullets | Ra3shed | 0 | 3,650 |
07-23-2013, 13:02 Last Post: Ra3shed |
|
| Help DONATE points for weapons | [HARD] Tony. | 10 | 10,259 |
05-24-2013, 10:59 Last Post: Pozzuh |
|
| Help Explosive Bullets Wallbang | yoloman | 3 | 6,431 |
05-13-2013, 21:58 Last Post: Yamato |
|
| [Request] !shop hud to show player with highest points | hillbilly | 3 | 4,521 |
02-21-2013, 16:46 Last Post: hillbilly |
|
| [Request] Explosive bullets toggle mod | One90NL | 3 | 4,458 |
01-23-2013, 18:47 Last Post: surtek |
|
| Help Mw3 Shop with points + Database | 99IRock | 2 | 4,414 |
12-09-2012, 22:21 Last Post: 99IRock |
|
| Give Gun Error [SOLVED] | koro35 | 4 | 5,260 |
11-17-2012, 15:15 Last Post: koro35 |
|
| [Request] Give KillStreak | yuri8597 | 1 | 3,387 |
10-29-2012, 01:31 Last Post: DidUknowiPwn |
|
| never gonna give you up - rick astley at its best! | d0h! | 65 | 109,463 |
10-22-2012, 23:10 Last Post: Arteq |
|
| Users browsing this thread: |
| 2 Guest(s) |


