Return value for PrintToChatAll ?
Hi Guys , Is code editing correct? And What can be the return value? PHP Code:
|
Re: Return value for PrintToChatAll ?
"void" methods doesn't return anything. So you should remove the "return..." snippet line
Also you shoud'nt print to bots, since they don't "read" |
Re: Return value for PrintToChatAll ?
...just use the version of PrintToChatAll that exists in the SourceMod API.
Edit: If you really want to know what the code for PrintToChatAll looks like: PHP Code:
|
Re: Return value for PrintToChatAll ?
Quote:
|
Re: Return value for PrintToChatAll ?
Quote:
Anyway, this is just lysis decompiled code - just remove it and use the SM stock. |
Re: Return value for PrintToChatAll ?
Quote:
|
All times are GMT -4. The time now is 01:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.