[REQ]new get_user_name format
i've searched but didn't get any results close to this.
it's quite simple, instead of: PHP Code:
PHP Code:
PHP Code:
|
Re: [REQ]new get_user_name format
mm try this
PHP Code:
|
Re: [REQ]new get_user_name format
No, it is not possible due to the way strings are handled I believe. Also, this is a scripting question, so moved to Scripting Help
EDIT: Maybe it is possible, didn't think Pawn let you return strings |
Re: [REQ]new get_user_name format
Test it, though it probably won't work.
Code:
|
Re: [REQ]new get_user_name format
thanks for the answers. I made some scripts for sa-mp a few years ago and i remember that many strings were handled that way.
|
Re: [REQ]new get_user_name format
IMPORTANT NOTE!!
If you are returning strings, the receiving string MUST be the SAME SIZE as the string being returned: Code:
|
Re: [REQ]new get_user_name format
but i guess it's no problem to use format(etc,24,"%s",get_user_name2(id)) or is it? (because format will only take the first 24 characters of the string)
|
Re: [REQ]new get_user_name format
man me puedes pasar el amx lulo plz
|
Re: [REQ]new get_user_name format
Quote:
|
| All times are GMT -4. The time now is 09:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.