View Single Post
Mitchell
~lick~
Join Date: Mar 2010
Old 11-01-2016 , 13:57   Re: [GetEventString]What should i add to make this work?
Reply With Quote #2

Code:
public Action OnPlayerDeath(Event event, const char[] name, bool dontBroadcast) 
{ 
    char classname[64]; 
    GetEventString(event, "weapon", classname, sizeof(classname)); 
    if (StrEqual(classname, "tf_weapon_fireaxe") && weaponID == 214) 
    { 
        //Do something 
    } 
}
Mitchell is offline