View Single Post
Author Message
Starbish
AlliedModders Donor
Join Date: Oct 2011
Location: South Korea
Old 01-01-2013 , 00:15   Change String value on a native callback?
Reply With Quote #1

I'd like to change String value which is got from Native Parameters.

Example)

native Example(client, String:strExample[], iMaxLength);

new String:strExample[32];
Example(client, strExample, sizeof(strExample));



Like this, I want to make it if i call Example(), second params of Example() will store something not NULL_STRING.

like, GetClientName().


and i found this; FormatNativeString() but i couldn't know how to use this.

I tried to find the ways in many websites(such as Searching google, SourceMod-Wiki) but there were the ways just for VFormat in Native.
__________________
Starbish is offline