Raised This Month: $ Target: $400
 0% 

ClasicXp level mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BlueGaming
BANNED
Join Date: Nov 2013
Old 01-03-2014 , 06:01   Re: ClasicXp level mod
Reply With Quote #35

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 !)

Last edited by BlueGaming; 01-03-2014 at 07:55.
BlueGaming 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 20:08.


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