[SOLVED] How to properly use set_string()?
This is probably a very simple question for some of you, but I just can't figure out how to properly use set_string(). I have this function:
PHP Code:
PHP Code:
|
Re: How to properly use set_string()?
set_string is for natives to start with. I'm sure you know that.
As stated above: PHP Code:
|
Re: How to properly use set_string()?
Hmm, guess I don't. Which function do I need to use if we're not talking about natives? I need this only inside one plugin. I'm currently using return szMessage, and I see that people are always saying it's not recommended.
|
Re: How to properly use set_string()?
Pass it byref.
Format the message directly in szOutput or use copy() in the end. |
Re: How to properly use set_string()?
I think I got it, but without using charsmax. Thank you.
|
| All times are GMT -4. The time now is 18:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.