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 bool: LastPlayer[33];
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
public client_putinserver(id) {
LastPlayer[id] = false
}
public function(id) {
// other code..
new Players[32], onum;
get_players(Players, onum, "ae", "CT") // may be "TERRORIST"
if(onum == 1) {
LastPlayer[id] = true;
}
}