void windtext ( ) { HWND hwnd = FindWindow ( NULL , "GTA:SA:MP" ) ; if ( hwnd == NULL ) { MessageBox ( NULL , "Window not found!" , "Error" , MB_OK ) ; } std :: string newText = "GTA:BLAST.HK" ; SetWindowText ( hwnd , newText . c_str ( ) ) ; }