View Single Post
Cuttlas
Senior Member
Join Date: Jan 2015
Old 11-27-2023 , 04:29   Re: Death Message Block
Reply With Quote #8

PHP Code:
    new szName[32]; 
    
get_user_name(msg_entityszNamecharsmax(szName))
    
client_print(0print_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(0print_chat"A bot is killed"
not working, it seems msg_entity is not the user id, or something related to.
__________________
To Infinity n Beyond
Cuttlas is offline