Raised This Month: $ Target: $400
 0% 

[Solved] String formatted incorrectly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Torge
Veteran Member
Join Date: Oct 2011
Old 07-07-2012 , 10:03   [Solved] String formatted incorrectly
Reply With Quote #1

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(victimprint_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!

Last edited by Torge; 07-07-2012 at 13:29.
Torge is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode