warning 209: function "XX" should return a value
Hi
As wroten at the title, i have this warning 209: function "XX" should return a value problem. Im a litle new scripting plugins to Half Life, and ive had this problems so meny times ive lost count on it. Would help a lot if some one could help me, coes this is making me psycho :evil: Hope you can help me :) Alexander (sorry if some one already have posted how you do this but i wasen't able to find a post complaning how to do this) |
Re: warning 209: function "XX" should return a value
Thank you to all, happy for all the help :)
Long time since ive been on a so helpfull forum :):) |
Re: warning 209: function "XX" should return a value
|
Re: warning 209: function "XX" should return a value
function "XX" should return a value warning occurs when you return a value during the function, but you then you do not return a value later:
Code:
XX()*Note that if you do not have a return at the end of a function, then it interprets it as a return nothing. |
| All times are GMT -4. The time now is 11:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.