Raised This Month: $ Target: $400
 0% 

error 10 (cs_get_user_armor)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Ardonicek
Senior Member
Join Date: Feb 2013
Location: My home
Old 08-26-2013 , 06:49   error 10 (cs_get_user_armor)
Reply With Quote #1

This crashes server after spamming console with error 10 on cs_get_user_armor

Fix please?


PHP Code:
    if(Level[id] == 69
    { 
        new 
CsArmorType:armortype;
        if (
cs_get_user_armor(idarmortype) <= 100)
    {
        new 
CsArmorType:armortype;
        
cs_set_user_armor(idcs_get_user_armor(idarmortype) + 30armortype);
    }
    
set_user_rendering(idkRenderFxNone000kRenderTransAlpha185)
    
set_user_gravity(id0.7)
    
cs_set_user_money(id, (cs_get_user_money(id) + 1000))
    
cs_set_user_nvg(id1)
    
give_item(id"weapon_hegrenade")
    
give_item(id"weapon_flashbang")

__________________
Latest plugin: dHUD Round | Timeleft
Ardonicek is offline
Send a message via ICQ to Ardonicek Send a message via Skype™ to Ardonicek
 



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 18:52.


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