cookie.Set

  cookie.Set( string key, string value )

Açıklama

Veritabanı'nda bir çerez oluşturur veya günceller.

Argümanlar

1 string key
Çerezin adı.
2 string value
Çerezde saklanan veri.




Örnek

Bir çerezin değerini ayarlar ve yazdırır.

cookie.Set('My-Cookie','Hello World') print('Set My-Cookie') print('My-Cookie:',cookie.GetString('My-Cookie'))
Çıktı:
Set My-Cookie My-Cookie: Hello World

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord