How can add XP with takedamage ?

/*
CBaseEntity *pInflictor = info.GetInflictor();
CBaseEntity *pKiller = info.GetAttacker();
CHL2MP_Player *pScorer = ToHL2MPPlayer(GetDeathScorer(pKiller, pInflictor));
if (pScorer && pKiller == pInflictor && pKiller != pVictim &&
PlayerRelationship(pKiller, pVictim) == GR_NOTTEAMMATE)
pScorer->AddXP(1);
*/
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders

Reply via email to