IMPORTANT NOTE!!
If you are returning strings, the receiving string MUST be the SAME SIZE as the string being returned:
Code:
stock get_user_name2(client)
{
static name[32];
get_user_name(client, name, sizeof(name) - 1);
return name;
}
function(client)
{
// valid
new name[32] = get_user_name2(client);
// invalid
new name[64] = get_user_name2(client);
}
__________________