Hey guys,
I have a problem with my little xp mod. If someone suicide, he'll lost 5 xp but my log say everytime
String formatted incorrectly - parameter 5 <total 4>.
Code:
PHP Code:
// Suicide ?
if (killer == victim)
{
client_print(victim, print_center, "-%d", get_pcvar_num(cvar_suicide_xp));
// Save his lost xp
Save(victim);
// Remove xp
g_iExp[victim] -= get_pcvar_num(cvar_suicide_xp);
}
I can't find the problem

please help!