1# lol this plugin is a child version , sorry .. and we can use Xp Mod by Exolent , enywhey ...
man are you normal ??
3 ifs
PHP Code:
if(weapon== CSW_KNIFE) {
PlayerXP[attacker] += get_pcvar_num(XP_Knife)
client_print(attacker,print_chat,"You received %i XP for kill with knife on %s.",get_pcvar_num(XP_Knife),victim_name)
}
if(weapon== CSW_AWP) {
PlayerXP[attacker] += get_pcvar_num(XP_AWP) //adauga xp pentru 1 kill cu awp
client_print(attacker,print_chat,"You received %i XP for kill with awp on %s.",get_pcvar_num(XP_AWP),victim_name)
}
if( weapon == CSW_HEGRENADE )
{
PlayerXP[attacker] += get_pcvar_num(XP_he)
client_print(attacker,print_chat,"You received %i XP for kill with he on %s.",get_pcvar_num(XP_he),victim_name)
}
2# baby use
switch
3# also verify in a condition if attacker exist or is victim and stop plugin

4# use remove_task after give items !
5# insteand of client_putinserver use client_Authorized
Here is a bug
PHP Code:
format(vaultdata,255,"%i#%i#",PlayerXP[id],PlayerLevel[id])
in saving name method 6# use steamid (ofcourse if you dont are non-steamer !)