Raised This Month: $ Target: $400
 0% 

Change String value on a native callback?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode