Raised This Month: $ Target: $400
 0% 

Solved Add item and fix this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ho83
Senior Member
Join Date: Aug 2020
Location: iran
Old 12-23-2020 , 09:47   Re: Add item and fix this
Reply With Quote #1

bump.
In fact, the first part of the plugin works well,:
PHP Code:
    if((get_playersnum_ex(GetPlayers_ExcludeDead GetPlayers_MatchTeam"TERRORIST") == 1)) {
        
server_cmd("amx_pausecfg pause puginname.amxx")    
    } 
but the second part has a problem:
PHP Code:
    else if(((get_playersnum_ex(GetPlayers_ExcludeDead GetPlayers_MatchTeam"TERRORIST") != 1)) || (get_playersnum_ex(GetPlayers_ExcludeDead GetPlayers_MatchTeam"CT") == 0)) {
        
server_cmd("amx_pausecfg enable puginname.amxx")
    } 
The problem with the second part is that you have to wait until someone from the CT team Die to make the plugin work.
Can Someone Fix it? Thanks
ho83 is offline
Reply



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 12:35.


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