Raised This Month: $ Target: $400
 0% 

Round End


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 11-09-2013 , 07:00   Round End
Reply With Quote #1

I want to do round end the last player dies(CT or T it doesn't matter).

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "wTf."

new boolLastPlayer[33];

public 
plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}
public 
client_putinserver(id) {
    
LastPlayer[id] = false
}
public function(
id) {
    
// other code..
    
    
new Players[32], onum;
    
get_players(Playersonum"ae""CT"// may be "TERRORIST"
    
    
if(onum == 1) {
        
LastPlayer[id] = true;
    }


Last edited by wTf.; 11-09-2013 at 07:03.
wTf. is offline
Old 11-09-2013, 08:02
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: you continue
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 11-09-2013 , 08:18   Re: Round End
Reply With Quote #3

yes, i know that but, not work orphue module
wTf. is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 11-09-2013 , 09:09   Re: Round End
Reply With Quote #4

Round ends automatically when the last player dies on team, so why do you need that?
__________________
and once again
usaexelent is offline
Send a message via Skype™ to usaexelent
wTf.
Senior Member
Join Date: Aug 2011
Location: This important?
Old 11-09-2013 , 09:14   Re: Round End
Reply With Quote #5

I use my zombie mod, it's not round end the last player dies :/
wTf. 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 23:16.


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