Killer Zoom

Attention Gamer! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending rj. points.
  • Post: Give rj. your thoughts on this Script.
  • Vote: Help rj. win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Resistance is futile...

Sign up

Already a Bananite? Login

24 lines | 570 bytes | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <amxmodx>
#include <hamsandwich>

new CV4R_Z00M_L1ST, g_msgfov

public plugin_init()
{
        register_plugin("Killer Zoom", "1.1", "BannedUser!")
       
        RegisterHam(Ham_Killed, "player", "fw_PlayerKilled")
        CV4R_Z00M_L1ST = register_cvar("kz_dist", "20")
        g_msgfov = get_user_msgid("SetFOV")
}

public fw_PlayerKilled(victim, attacker)
        if (attacker != victim || is_user_connected(attacker))
                set_task(0.1, "effect", victim)

public effect(id)
{
        message_begin(MSG_ONE, g_msgfov, _, id)
        write_byte(get_pcvar_num(CV4R_Z00M_L1ST))
        message_end()
}
DESCRIPTION
Adds a nice effect, after the player ubyut his camera closer to who killed the player.

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Original Authors
z1mgeto
AMXX Script/Codes

Submitter

rj. avatar
rj. Dreamin'
Member Joined 1y
36 medals 4 legendary 9 rare
  • Submitted 15 Tools Medal icon
  • Submitted 50 Gamefiles Medal icon
  • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
  • Thanked 500 submitters Medal icon
  • 2nd Place - Game Poetry Contest Medal icon
  • Submitted 5 Tools Medal icon

rj.
Redistributor
Are you the owner? Request Ownership
Send a Private Message to the submitter

Category

Attributes

Language
Pawn (AMXX)

Stats

Posts
1
Views
968
Date Added
6mo
bcp.crwdcntrl.net tracking pixel