Code warning, why? :(
well guys I made an code but I get errors
here is the code: Code:
GiveMoney(id)warning 209: function "GiveMoney" should return a value how can I fix? Thx P.S: The only way of making givemoney = false is on change map. P.S2: I just started getting errors after adding the red letters code |
Re: Code warning, why? :(
you got a bad indention here
Code:
if ( iMoney >= 16000 )and you need to return on the end of the fucntion |
Re: Code warning, why? :(
Add return PLUGIN_HANDLED at the bottom of the function before the closing bracket.
|
| All times are GMT -4. The time now is 05:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.