Raised This Month: $ Target: $400
 0% 

Reset skills problem!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spy123
BANNED
Join Date: Jul 2011
Location: Giurgiu / Romania
Old 04-17-2013 , 17:01   Reset skills problem!
Reply With Quote #1

When someone type /reset or .reset,I want to reset the skills.

In my code,skills resets but I don't get the older experience that I used..where is the problem? can someone tell me?

PHP Code:
if((equal(sz_cmd".reset") || equal(sz_cmd"/reset")) && <= sz_team <= 2) {    
        new 
xk
        
for(1<= UPGRADESx++){
            for(
0PlayerUpgrades[id][x]; k++)
            
UpgradePrice[x] += UpgradePrice[k]
            
PlayerUpgrades[id][x] = 0
            
}
        
g_Experience[id] +=
        
BuyUpgrade(id)    
    } 
This is handle_say() and is on soccerjam.sma

Last edited by Spy123; 04-17-2013 at 17:02.
Spy123 is offline
Reply


Thread Tools
Display Modes

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 10:56.


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