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

[req] Vip for public


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
FLOY
Senior Member
Join Date: Dec 2013
Location: I love to www.steam.lv
Old 01-09-2019 , 04:49   [req] Vip for public
Reply With Quote #1

When you can create a plugin
pub server!
1. to turn on invisibility for 10 seconds and change the time itself
2. To be able to play a bit
3. to see the vips list
4. to see damage
5. to jump ara txt chat advertisement color [vip] if you want vip buy him in www.blablabal.cas
6. to make 15 hp
7. Make $ 20 for kil
__________________
homepage:steam.lv
topsites:top.steam.lv
FLOY is offline
Send a message via Skype™ to FLOY
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 01-09-2019 , 09:17   Re: [req] Vip for public
Reply With Quote #2

PHP Code:
new mpdmkbmhb
new g_MsgSync 
PHP Code:
    register_event("Damage","Damage","b")
    
register_event("DeathMsg","death_msg","a")
    
register_event("DeathMsg""hook_death""a""1>0")
    
register_event("Damage""on_damage""b""2!0""3=0""4!0")
mpd register_cvar("money_per_damage","3")
    
mkb register_cvar("money_kill_bonus","200")
    
mhb register_cvar("money_hs_bonus","500"
PHP Code:
public on_damage(id)
{
    new 
attacker get_user_attacker(id)
    
    
#if defined DAMAGE_RECIEVED
    // id should be connected if this message is sent, but lets check anyway
    
if ( is_user_connected(id) && is_user_connected(attacker) )
        if (
get_user_flags(attacker) & ADMIN_LEVEL_H)
    {
        new 
damage read_data(2)
        
        
set_hudmessage(255000.450.5020.14.00.10.1, -1)
        
ShowSyncHudMsg(idg_MsgSync2"%i^n"damage)
        
#else
        
if ( is_user_connected(attacker) && if (get_user_flags(attacker) & ADMIN_LEVEL_H) )
        {
            new 
damage read_data(2)
            
#endif
            
set_hudmessage(0100200, -1.00.5520.14.00.020.02, -1)
            
ShowSyncHudMsg(attackerg_MsgSync"%i^n"damage)
        }
    }
    
    public 
Damage(id)
    {
        new 
weaponhitpointattacker get_user_attacker(id,weapon,hitpoint)
        if(
attacker<=maxplayers && is_user_alive(attacker) && attacker!=id)
            if (
get_user_flags(attacker) & ADMIN_LEVEL_H
        {
            new 
money read_data(2) * get_pcvar_num(mpd)
            if(
hitpoint==1money += get_pcvar_num(mhb)
            
cs_set_user_money(attacker,cs_get_user_money(attacker) + money)
        }
    }
    
    public 
death_msg()
    {
        if(
read_data(1)<=maxplayers && read_data(1) && read_data(1)!=read_data(2)) cs_set_user_money(read_data(1),cs_get_user_money(read_data(1)) + get_pcvar_num(mkb) - 300)
    } 
PHP Code:
public hook_death()
    {
        
// Killer id
        
nKiller read_data(1)
        
        if ( (
read_data(3) == 1) && (read_data(5) == 0) )
        {
            
nHp_add get_pcvar_num (health_hs_add)
        }
        else
            
nHp_add get_pcvar_num (health_add)
        
nHp_max get_pcvar_num (health_max)
        
// Updating Killer HP
        
if(!(get_user_flags(nKiller) & ADMIN_LEVEL_H))
            return;
        
        
nKiller_hp get_user_health(nKiller)
        
nKiller_hp += nHp_add
        
// Maximum HP check
        
if (nKiller_hp nHp_maxnKiller_hp nHp_max
        set_user_health
(nKillernKiller_hp)
        
// Hud message "Healed +15/+30 hp"
        
set_hudmessage(02550, -1.00.1501.01.00.10.1, -1)
        
show_hudmessage(nKiller"+%d HP."nHp_add)
        
// Screen fading
        
message_begin(MSG_ONEget_user_msgid("ScreenFade"), {0,0,0}, nKiller)
        
write_short(1<<10)
        
write_short(1<<10)
        
write_short(0x0000)
        
write_byte(0)
        
write_byte(0)
        
write_byte(200)
        
write_byte(75)
        
message_end()
        
    } 
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
FLOY
Senior Member
Join Date: Dec 2013
Location: I love to www.steam.lv
Old 01-11-2019 , 16:25   Re: [req] Vip for public
Reply With Quote #3

Can you send in one file all no this ....this ....this all in on
__________________
homepage:steam.lv
topsites:top.steam.lv
FLOY is offline
Send a message via Skype™ to FLOY
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 01-11-2019 , 17:23   Re: [req] Vip for public
Reply With Quote #4

just take one of 1 milion that are on internet, you must search, there are many plugins that do exactly what you are asking for
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Reply



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 01:55.


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