And my question is this, I used this before:
PHP Code:
new targetname[32]
get_user_name(tempid, targetname, 31)
client_print(id, print_chat, "%s", targetname)
Now I found this somewhere and it works perfectly and I also like the way, I don't need to add make everytime a holder.
PHP Code:
client_print(id, print_chat, "%s", username(tempid))
stock username(id)
{
new player_name[32]
get_user_name(id, player_name, sizeof(player_name))
return player_name
}
Is it ok to use it like that and would there be any big difference?