//if ( GetIsDM( oPC ))
//{
//string sPlayer = SQLEncodeSpecialChars( sAccount );
//string sSQL = "SELECT enabled FROM dmlist WHERE player='" + sPlayer + "'";
//SQLExecDirect( sSQL );
//if ( SQLFetch( ) == SQL_SUCCESS )
//{
//iEnabled = StringToInt( SQLGetData( 1 ));
//if ( iEnabled != 1 )
//{
//AssignCommand( GetModule( ), DelayCommand( 0.5, BootPC( oPC )));
//SendMessageToAllDMs( GetName( oPC ) + " (" + sAccount + ") (" + sPlayerCD + ") got booted because they are not a DM in good standing.");
//}
//}
//else
//{
//AssignCommand( GetModule( ), DelayCommand( 0.5, BootPC( oPC )));
//SendMessageToAllDMs( GetName( oPC ) + " (" + sAccount + ") (" + sPlayerCD + ") got booted because they are not a DM." );
//}
//AssignCommand( GetModule( ), DelayCommand( 0.1, ExecuteScript( "hide_dm", oPC )));
//SendMessageToPC( oPC, "Server: (" + sPlayerCD + ") is indeed an Aventian Gamemaster." );
//}
//else
And it compiles successfully. Any suggestions would be appreciated.
Modifié par Lazarus Magni, 24 juin 2011 - 09:44 .





Retour en haut






