I do that :
Code:
#include < amxmodx >
public plugin_init( )
{
register_plugin( "Last In Team" , "1.0" , "Aooka" );
register_event( "DeathMsg" , "Ev_DeathMsg" , "a" );
}
public Ev_DeathMsg( )
{
new iPlrCt[ 32 ] , iPlrTe[ 32 ];
new iNumCt , iNumTe;
get_players( iPlrCt , iNumCt , "aeh" , "CT" );
if( iNumCt == 1 )
{
client_print( 0 , print_center , "Il ne reste plus qu'un Ct" );
}
get_players( iPlrTe , iNumTe , "aeh" , "TERRORIST" );
if( iNumTe == 1 )
{
client_print( 0 , print_center , "Il ne reste plus qu'un Terro" );
}
}
My question is very simple : Is theire an other way to do that ?
__________________