AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   On Death - Get Killer and Killed (https://forums.alliedmods.net/showthread.php?t=22704)

mysticssjgoku4 01-02-2006 08:05

On Death - Get Killer and Killed
 
How exactly, once I register the DeathMsg, can I retrieve the killer's ID, and the Victim's ID?

Thanks.

Dizzy 01-02-2006 10:36

bind o amxmodmenu

Then ingame press

o95

This should open the menu

Go to nextpage

and open Stat Settings

Turn all of the things in stat settings on and save the configuration. =D

Tell me if that doesn't help.

Des12 01-02-2006 12:26

Drizzy: He is talking bout scripting

do something like this

Code:
//plugin init register_event(DeathMsg,"onDeath","a") //other code public onDeath(id) {     new killer = read_data(1)     new victim = read_data(2) }


All times are GMT -4. The time now is 16:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.