PHP Code:
new szName[32];
get_user_name(msg_entity, szName, charsmax(szName))
client_print(0, print_chat, "%s is dead", msg_entity)
I have used this to test, but it only print " is dead", the name is empty here.
also:
PHP Code:
if (is_user_bot(msg_entity))
client_print(0, print_chat, "A bot is killed")
not working, it seems
msg_entity is not the user id, or something related to.
__________________