Your best bet would be to pass a string, and its size, as other arguments to GetHowdownValue, e.g.
PHP Code:
new String:Result[32];
if (GetHowdownValue(blah, blah, Result, sizeof(Result) ))
{
//Function was successful.
CPrintToChatAll("%s", Result);
}
bool:GetHowdownValue( const String:RoundName[], String:ReqValue[], String:ReturnValue[], ReturnValueSize )
{
//..Stuff
//Fill ReturnValue string with things since Strings are passed by reference, not value.
strcopy(ReturnValue, ReturnValueSize, "Hi");
}
So you could do things like use
KvGetString and output the result straight into the
ReturnValue string, which you can then access from back in
OnPluginStart.
Alternatively, depending on what you're doing, you might be able to avoid "return strings" by just handling the string from within
GetHowdownValue.
Not quite sure what a 'howdown' is, mind you... 'hoedown' maybe?
__________________