Equivalent of SubString() in AMXX
For some reason show_motd() cuts the message at 48 characters in Sven Co-op 5.0+.
So I have been googling around for an alternative and found this AS (AngelScript) script functioning for this game. I gave it a try to convert it and got stuck at the SubString() part. Don't know how to proceed from there though. This is the original AS code: Code:
How far I have come with the conversion to AMXX: Code:
|
Re: Equivalent of SubString() in AMXX
Code:
|
Re: Equivalent of SubString() in AMXX
Quote:
|
Re: Equivalent of SubString() in AMXX
Found the solution:
Code:
|
Re: Equivalent of SubString() in AMXX
Minor efficiency tweaks
PHP Code:
|
Re: Equivalent of SubString() in AMXX
Quote:
|
| All times are GMT -4. The time now is 15:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.