Hello. I would like to create function with default value.
PHP Code:
(stock/public) myFunction(Float:myVar={0.0, 0.0, 0.0})
{
// Function body
}
It will work BUT only if I'll declare it as 'stock' instead of 'public'. I want it to be a public to use it as native function ( usable in other plugins ) Is there any solution to do this without copying this 'stock' function into every plugin I'm gonna use it in?