Well ,in you example, it should be enough :
Code:
new name[32] = "SchmoSalt";
server_print( "Your name is %s.", name );
Anyway, you have to use vformat() to get parameters. Something like:
Code:
my_function( id )
{
new name[32] = "SchmoSalt";
printMsg( id, "Your name is %s.", name );
}
printMsg( id, const sMsg[], any:... )
{
static sNew_msg[191];
vformat( sNew_msg, charsmax( sNew_msg ), sMsg, 3 );
client_print( id, print_chat, sNew_msg );
}
__________________