> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getsignalargumentsinfo

> ส่งคืน array table ของข้อมูลอาร์กิวเมนต์จาก signature ของ RBXScriptSignal ฟังก์ชันนี้ไม่ส่งคืนค่าอาร์กิวเมนต์ runtime ที่ถูกจับไว้

<div className="real-function-page">
  ```lua theme={null}
  getsignalargumentsinfo(signal: RBXScriptSignal): {{Name: string, Type: string}}
  ```

  ## Arguments

  <ParamField path={"signal"} type={"RBXScriptSignal"} required>
    RBXScriptSignal ที่ต้องตรวจสอบ event descriptor signature
  </ParamField>

  ## Returns

  <ResponseField name={"argumentInfo"} type={"{{Name: string, Type: string}}"}>
    array table ที่แต่ละรายการมี strings Name และ Type หากอ่าน signature ไม่ได้หรือไม่มีรายการ ฟังก์ชันจะส่งคืน fallback entry หนึ่งรายการ โดยตั้ง Name เป็น arg1 และ Type เป็น Variant
  </ResponseField>

  ## ตัวอย่าง

  Inspect an RBXScriptSignal signature and print each argument name with its type name.

  ```lua theme={null}
  local ReplicatedStorage = game:GetService("ReplicatedStorage")
  local remote = ReplicatedStorage:FindFirstChild("RemoteEvent")

  if remote then
      for _, argument in ipairs(getsignalargumentsinfo(remote.OnClientEvent)) do
          print(argument.Name, argument.Type)
      end
  end
  ```
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.