Thread
:
Change String value on a native callback?
View Single Post
Starbish
AlliedModders Donor
Join Date: Oct 2011
Location: South Korea
01-01-2013 , 01:38 Re: Change String value on a native callback?
#
3
Quote:
Originally Posted by
berni
Hello Starbish,
you basically have to call SetNativeString() after you set the string to write the string buffer back for the caller.
There is an example in the wiki:
http://wiki.alliedmods.net/Creating_...pting)#Strings
The function FormatNativeString is a formatter function with printf syntax, that parses %s, %d formatters from variable arguments, but to change the string buffer you basically don't need it, except you want to have variable argument formatting support.
It's
described in the API Doc
.
Thank you Berni!
You answered exactly what i wanted !
I really appreciated with your answer and understanding my Bad English = )
REALLY THANK YOU!!!!
__________________
[Any] Automated Downloader & Precacher
Starbish
View Public Profile
Send a private message to Starbish
Find More Posts by Starbish