Raised This Month: $ Target: $400
 0% 

[BIO] Respawn plugin crashes server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-05-2020 , 11:10   Re: [BIO] Respawn plugin crashes server
Reply With Quote #6

Quote:
Originally Posted by HowToRuski View Post
Well thanks for the help but looks like it didnt help me, still crashing :/
I didn't gave you the solve i told there's some wrongs in this plugin and i saw that problem

Edit: I saw another problem in this faction
PHP Code:
public respawn(o_id[]) 

    new 
id o_id[0
    if(
get_user_team(id) == || is_user_alive(id)) 
        return 
PLUGIN_CONTINUE 
    
    ExecuteHamB
(Ham_CS_RoundRespawnid)
    
    return 
PLUGIN_CONTINUE    

When plugin disable user alive in respawn faction so it mean this faction will never work.

so change those codes from:

PHP Code:
if(get_user_team(id) == || is_user_alive(id)) 
        return 
PLUGIN_CONTINUE 
To:

PHP Code:
if(get_user_team(id) == || !is_user_alive(id)) 
        return 
PLUGIN_CONTINUE 

Last edited by Supremache; 09-05-2020 at 11:16.
Supremache 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:51.


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