note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
numargs
warning
This function starts with lowercase letter.
คำอธิบาย
Get the number of arguments passed to a function.
Name | Description |
---|
ตัวอย่าง
SomeFunction(...)
{
printf("numargs(): %i", numargs());
}
public OnFilterScriptInit()
{
SomeFunction(1, 2, 3);
}
// Output: "numargs(): 3"
// Because 3 parameters (1, 2, 3) were passed.