Raised This Month: $ Target: $400
 0% 

[FIX REQ] Bazooka plugin error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dare.Devil
Member
Join Date: May 2014
Old 08-17-2014 , 14:46   Re: [FIX REQ] Bazooka plugin error
Reply With Quote #8

Quote:
Originally Posted by NikKOo31 View Post
Maybe because the player is already disconnected (?)

Change
PHP Code:
    if ((cs_get_user_plant(id) == 1) || cantswitch) { 
        
cs_set_user_plant(id,0,0
        
cantswitch  false 
    

To
PHP Code:
    if (cantswitch) { 
        
cantswitch  false 
    

I did like you said..it fixed it.. now I get another error in the logs..
seems like every time I fix 1 line I get another line giving error

can anyone help below
now I get this:
L 08/17/2014 - 20:27:52: [AMXX] Displaying debug trace (plugin "bazooka_fixed.amxx")
L 08/17/2014 - 20:27:52: [AMXX] Run time error 10: native error (native "attach_view")
L 08/17/2014 - 20:27:52: [AMXX] [0] bazooka_fixed.sma::pfn_touch (line 994)

PHP Code:
attach_view(entity_get_edict(ptrEV_ENT_owner), entity_get_edict(ptrEV_ENT_owner))
        
user_controll[entity_get_edict(ptrEV_ENT_owner)] = 0
        remove_entity
(ptr
Dare.Devil 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 13:16.


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