I have the following code to find the attacker and person taking damage.
Is there a way to find out if the weapon doing the damage was the AWP?
This is for CSGO.
PHP Code:
public Action:Event_PlayerHurt(Handle:event, const String:name[], bool:dontBroadcast)
{
new client_attacker = GetClientOfUserId(GetEventInt(event, "attacker"));
new client = GetClientOfUserId(GetEventInt(event, "userid"));
return Plugin_Continue;
}