Quote:
Originally Posted by Xilver266
I don't get that error. Do yo installed SDK Hooks?
|
Quick tip!
(since your using the same stock IsValidClient stock i have (weird!))
Code:
new String:g_Weapon[32];
GetClientWeapon(attacker, g_Weapon, sizeof(g_Weapon));
new String:g_WeaponName[32];
GetConVarString(PSWeaponName, g_WeaponName, sizeof(g_WeaponName));
if ( IsValidClient(attacker))
{
You are executing a function on a client, that maynot even exsist, i suggest checking if the client is 'valid' before getting his weapon name.