Raised This Month: $ Target: $400
 0% 

Solved if(!is_user_alive(id))


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
shadow728988
Member
Join Date: Sep 2017
Old 05-25-2018 , 09:55   Re: if(!is_user_alive(id))
Reply With Quote #7

the plugin is working perfectly now but can you help me so the player using a cmd like /off can switch it off..

Code:
public client_putinserver(id) 
{ 
    set_task(1.0, "showMessage", id, _, _, "b") 
} 

public showMessage(id) 
{ 
    if(!is_user_connected(id))
        return; 
         
     
    if(is_user_connected(id) && !is_user_alive(id)) 
    { 
        set_dhudmessage(178, 21, 236, -1.0, 0.20, 0, 1.0, 5.0, 0.1, 0.2) 
        show_dhudmessage(id, "NEW IPS HERE") 
    } 
         
}
thankyou crazyman and fysiks and hamlet eagle

Last edited by shadow728988; 05-25-2018 at 10:52. Reason: reasons
shadow728988 is offline
 



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