Why this code it not working ?
PHP Code:
public Cmd_r( iIndex, iLevel, iCid )
{
if( !cmd_access( iIndex, iLevel, iCid, 0 ) )
return PLUGIN_HANDLED;
new iPlayers[MAX_PLAYERS], iNum; get_players( iPlayers, iNum, "bh", "T" );
for( new i = 0; i < iNum; i++ ) ExecuteHamB( Ham_CS_RoundRespawn, iPlayers[i] );
{
if(!is_user_alive(iNum))
{
return PLUGIN_HANDLED;
}
new sName[32]; get_user_name( iIndex, sName, charsmax(sName) );
client_print( 0, print_chat, "admin revived T'S", sName );
return PLUGIN_HANDLED;
}
}