Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Опубликовано:
Please could someone advise me how to enable

fprintln my script looks like this

/#
filenum = OpenFile ("info.txt", "write");
self FPrintLn (filenum, "text");
#/

but not works :(

GSCs are game scripts, not C code. They don't have any of these functions. Assuming that is what you're talking about.

Опубликовано:
these functions are contained in the GSC

check

http://openwarfaremod.com/cod4script/

Here are listed all the functions contained in the GSC

Not in the way you're using it. http://openwarfaremod.com/cod4script/file/fprintln.htm

 

Write text out to a script-controlled file
Опубликовано:
  • Автор

not works i modified my script with checking if it works

debug_create_file()
{


/#
filename = "myfile.txt";
file = OpenFile( filename, "w" );
if ( file == -1 )
{
	IPrintLnBold( "Couldn't write to " + filename + ", make sure it is open for edit." );
	return;
}

IPrintLnBold( "Saved to " + filename );
print_to_file( file );
saved = CloseFile( file );
#/
}

print_to_file( file )
{
FPrintLn( file, "test" );
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.