file.Open
Örnek
Bir dosyayı sadece okuma modunda açar, bir satırı okur. Mevcut dosya göstergesinin nerede olduğunu söyler ve sonra dosya işlemi kapatır.
local f = file.Open( "cfg/mapcycle.txt", "r", "MOD" )
print( f:ReadLine() )
print( f:ReadLine() )
print( f:Tell() )
f:Close()
Çıkış:
//
// Garry'nin Mod için varsayılan harita döngüsü dosyası.
45
Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord