Hi, i was doing some code and i wanted to add descriptions to functions’ parameters so, it would be easy for me to know what parameter will be used for.
Anything helps!
-darkmenacing
Hi, i was doing some code and i wanted to add descriptions to functions’ parameters so, it would be easy for me to know what parameter will be used for.
Anything helps!
-darkmenacing
i don’t really think that is possible to do with custom functions
I don’t believe you can add descriptions, but you can add the datatype information which should help you a little bit, example:
function pie(player: Player, amount: number, piename: string)
--blah
end
You’d put your argument variable first followed by : and then if using studio roblox will open a dropdown list of useable datatypes.
However the description thing seems like a feature request that could be very helpful.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.