Raised This Month: $51 Target: $400
 12% 

Health, Armor, money


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Yusochan
Member
Join Date: Sep 2021
Location: Algeria
Old 10-22-2021 , 15:30   Health, Armor, money
Reply With Quote #1

Can u add also a msg when he/she leaves the server ?

PHP Code:
 #include <amxmodx> 
#include <amxmisc> 
#include <cromchat>

new PLUGIN[] = "Welcome Msg"
new VERSION[] = "2.0"
new AUTHOR[] = "YusoChan-"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
CC_SetPrefix("&x01[&x04ADMIN&x01]");
}

public 
client_putinserver(id)

{
    
set_task(3.0,"administrator",id)
}

public 
administrator(id
{
    if(
get_user_flags(id) & ADMIN_SLAY)
    {
        new 
Szname[32]
        
get_user_name(idSzname31)
        
CC_SendMessage(0"%s &x01%s &x03Connected in the &x04Server!"Szname)
    }

__________________
<b>IP : <font color=Red>93.115.53.168:27017</font></b>
<b>Founder : <font color=Cyan>YusoChan-</font></b>

Last edited by Yusochan; 10-22-2021 at 15:36.
Yusochan 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 13:43.


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