Raised This Month: $ Target: $400
 0% 

Solved if(!is_user_alive(id))


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 05-25-2018 , 10:30   Re: if(!is_user_alive(id))
Reply With Quote #8

Maybe...

PHP Code:
new VarMessage

public plugin_init()
{
    
VarMessage register_cvar ("amx_show_message""1")
}

public 
client_putinserver(id
{
    if(
get_pcvar_num(VarMessage)
        
set_task(1.0"showMessage"id__"b"
        
    return 
PLUGIN_HANDLED


public 
showMessage(id

    if(
is_user_connected(id) && !is_user_alive(id))  
    { 
        
set_dhudmessage(17821236, -1.00.2001.05.00.10.2
        
show_dhudmessage(id"NEW IPS HERE"
    }
    return;     


Last edited by iceeedr; 05-26-2018 at 00:57. Reason: Thanks for correct me.
iceeedr is offline
Send a message via Skype™ to iceeedr
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode