Raised This Month: $ Target: $400
 0% 

Round End


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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