[Stock\function] making a param opitional
lets say i made a stock with 3 param for example
Code:
set_gaben_hunger(index, value, 3 param is opitional is 1 give him some apples) |
Re: [Stock\function] making a param opitional
function(blah, blah2, blah3=1) //note that it can be set to a bool or float also
//also note that it cannot be a public function. |
Re: [Stock\function] making a param opitional
it could be a stock though right?
|
Re: [Stock\function] making a param opitional
Right.
|
Re: [Stock\function] making a param opitional
Ty
|
| All times are GMT -4. The time now is 06:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.