warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
OnGameModeInit
คำอธิบาย
Callback นี้ถูกเรียกเมื่อเกมโหมดเริ่มต้นทำงาน
ชื่อ | คำอธิบาย |
---|
ตัวอย่าง
public OnGameModeInit()
{
print("เกมโหมดได้เริ่มต้นทำงานแล้ว!");
return 1;
}
บันทึก
tip
ฟังก์ชั่นนี้ยังสามารถถูกใช้ในฟิลเตอร์สคริปต์ได้เพื่อตรวจสอบว่าเกมโหมดมีการเปลี่ยนแปลงด้วยคำสั่ง RCON ไหม เช่น changemode, gmx หรือมีการเปลี่ยนเกมโหมดแล้วแต่ฟิลเตอร์สคริปต์ยังไม่ถูกรีโหลด