Raised This Month: $ Target: $400
 0% 

[HELP] error fix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
The Inhabitant Of Heavens
Member
Join Date: Aug 2011
Old 09-21-2011 , 15:14   [HELP] error fix
Reply With Quote #1

PHP Code:
L 09/21/2011 15:48:56Invalid weapon id 0
L 09
/21/2011 15:48:56: [AMXXDisplaying debug trace (plugin "zp_zclass_energy.amxx")
L 09/21/2011 15:48:56: [AMXXRun time error 10native error (native "get_weaponname")
L 09/21/2011 15:48:56: [AMXX]    [0zp_zclass_energy.sma::set_user_weapon_attack_time (line 648)
L 09/21/2011 15:48:56: [AMXX]    [1zp_zclass_energy.sma::fw_CmdStart (line 396

PHP Code:
    static weap_id
    weap_id 
get_user_weapon(id)
    
    if (
weap_id != CSW_KNIFE)
    {
        if (
make_energyball[id] || have_energyball[id])
        {
            
check_step[id] = 1
            step_started
[id] = false
            make_energyball
[id] = false
            have_energyball
[id] = false
            set_user_weapon_attack_time
(id0.0// Line 396
        
}
        
        return 
FMRES_IGNORED;
    } 
PHP Code:
set_user_weapon_attack_time(idFloat:next_attack_time)
{
    static 
weap_id
    weap_id 
get_user_weapon(id)
    
    static 
weap_name[32]
    
get_weaponname(weap_idweap_namecharsmax(weap_name)) // Line 648
    
    
static weap_ent
    weap_ent 
fm_find_ent_by_owner(-1weap_nameid)
    
    
set_weapon_next_pri_attack(weap_entnext_attack_time)
    
set_weapon_next_sec_attack(weap_entnext_attack_time)
    
    if (
weap_id == CSW_XM1014 || weap_id == CSW_M3)
        
set_weapon_idle_time(weap_entnext_attack_time)


Last edited by The Inhabitant Of Heavens; 09-21-2011 at 19:35.
The Inhabitant Of Heavens 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 19:34.


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