warning 209 when i definately returned a value
Im getting this error warning 209: function "@ClassSkipLevel" should return a value even though i scripted it to do so this is what i mean:
Code:
public @ClassSkipLevel ( Client, Level, PowerLevel )So far the only way it won't give me the warning is when i do this: Code:
public @ClassSkipLevel ( Client, Level, PowerLevel )Code:
public @ClassSkipLevel ( Client, Level, PowerLevel )So basically i should be able to do this not?: Code:
public @ClassSkipLevel ( Client, Level, PowerLevel )It uses amxx 1.76d and metamod 1.19p31 Quote:
|
Re: warning 209 when i definately returned a value
Add a return statement at the end of the function
|
Re: warning 209 when i definately returned a value
PHP Code:
PHP Code:
|
Re: warning 209 when i definately returned a value
Or shorter yet:
PHP Code:
|
Re: warning 209 when i definately returned a value
OMG it works! You are gods! Thanks ever so much ill get back to here with more trouble later for sure xD
Cheers! |
| All times are GMT -4. The time now is 10:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.