Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [T] List of Modified + Requested Plugins


Post New Thread Reply   
 
Thread Tools Display Modes
And1.S
Member
Join Date: Oct 2013
Old 04-20-2015 , 15:34   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #741

Can SomeOne Make me a plugin
Speed for VIP(ADMIN) Member Acces ADMIN_LEVEL_H
with 270 speed

Gravity for VIP(ADMIN) Member Acces ADMIN_LEVEL_H
with gravity 0.65
And1.S is offline
LEO33
Member
Join Date: Jan 2014
Old 04-20-2015 , 22:19   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #742

Again, I have to report problems with this plugin. After kamikazing, the white glow of the body disappears only after 3 - 4 rounds, and the frags do not register correctly, if I kill two or more players, I get only 1 kill. I hope it gets fixed soon.
LEO33 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 04-21-2015 , 02:49   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #743

And1.S, first of all, please download the new version. Then, just edit below part:
Code:
#define ADMIN_FLAG ADMIN_LEVEL_H
Leo33, I just fix the glow problem. Sorry, I'm not sure how to fix the frag bug:

https://forums.alliedmods.net/showpo...&postcount=232

And1.S, just use below code for your next request:
Code:
#include <amxmodx>
#include <hamsandwich>
#include <cs_core>

// Configure flag
#define ADMIN_FLAG ADMIN_LEVEL_H

// Variables
new g_iVIPSpeed, g_iVIPGravity

public plugin_init() 
{
    register_plugin("VIP Features", "0.1", "zmd94")
    
    RegisterHam(Ham_Spawn, "player", "fw_PlayerRespawn")
    
    g_iVIPSpeed = register_cvar("cl_VIP_speed", "100") // Increase player speed by X amount
    g_iVIPGravity = register_cvar("cl_VIP_gravity", "0.65") // Set player gravity
}

public fw_PlayerRespawn(id)
{
    if(is_user_alive(id) && get_user_flags(id) & ADMIN_FLAG)
    {
        // As cs_reward is being reset at every respawn. ;)
        set_task(2.0, "VIPFeatures", id)
    }
}  

public VIPFeatures(id)
{
    cs_speed_reward(id, 1, get_pcvar_num(g_iVIPSpeed), 0, 0.0)
    cs_gravity_reward(id, 1, get_pcvar_float(g_iVIPGravity), 0, 0.0)
}
Yet, you need to install below plugin also:
1. cs_core.inc file.
2. cs_reward.sma file.
All of the requirement files can be downloaded from here: https://forums.alliedmods.net/showth...hp?t=245805#19

Last edited by zmd94; 04-21-2015 at 03:52.
zmd94 is offline
And1.S
Member
Join Date: Oct 2013
Old 04-21-2015 , 04:49   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #744

Quote:
Originally Posted by zmd94 View Post
And1.S, first of all, please download the new version. Then, just edit below part:
Code:
#define ADMIN_FLAG ADMIN_LEVEL_H
And1.S, just use below code for your next request:
Code:
#include <amxmodx>
#include <hamsandwich>
#include <cs_core>

// Configure flag
#define ADMIN_FLAG ADMIN_LEVEL_H

// Variables
new g_iVIPSpeed, g_iVIPGravity

public plugin_init() 
{
    register_plugin("VIP Features", "0.1", "zmd94")
    
    RegisterHam(Ham_Spawn, "player", "fw_PlayerRespawn")
    
    g_iVIPSpeed = register_cvar("cl_VIP_speed", "100") // Increase player speed by X amount
    g_iVIPGravity = register_cvar("cl_VIP_gravity", "0.65") // Set player gravity
}

public fw_PlayerRespawn(id)
{
    if(is_user_alive(id) && get_user_flags(id) & ADMIN_FLAG)
    {
        // As cs_reward is being reset at every respawn. ;)
        set_task(2.0, "VIPFeatures", id)
    }
}  

public VIPFeatures(id)
{
    cs_speed_reward(id, 1, get_pcvar_num(g_iVIPSpeed), 0, 0.0)
    cs_gravity_reward(id, 1, get_pcvar_float(g_iVIPGravity), 0, 0.0)
}
Yet, you need to install below plugin also:
1. cs_core.inc file.
2. cs_reward.sma file.
All of the requirement files can be downloaded from here: https://forums.alliedmods.net/showth...hp?t=245805#19
Thanks man.
And1.S is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 04-21-2015 , 05:33   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #745

Feel free to test it.
zmd94 is offline
LEO33
Member
Join Date: Jan 2014
Old 04-21-2015 , 15:57   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #746

Quote:
Originally Posted by zmd94 View Post
Leo33, I just fix the glow problem. Sorry, I'm not sure how to fix the frag bug:

https://forums.alliedmods.net/showpo...&postcount=232
Thanks for fixing the glow problem, but what is the point of keeping that plugin in a server if a kamikaze player doesn't earn the frags he killed when committing suicide. [ZP50] Extra: Airstrike (1.1) then becomes an alternative plugin as it has the same function as the kamikaze plugin, but in a different way.

I hope someone shall take the job to fix the frag bug. It is such a good plugin to be left behind.
LEO33 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 04-21-2015 , 20:01   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #747

Alright, maybe I can see the code from that plugin. Then, fix the Kamikaze frag problem. ;)
zmd94 is offline
LEO33
Member
Join Date: Jan 2014
Old 04-22-2015 , 10:21   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #748

Quote:
Originally Posted by zmd94 View Post
Alright, maybe I can see the code from that plugin. Then, fix the Kamikaze frag problem. ;)
Looking forward for the fully fixed plugin.
LEO33 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 04-22-2015 , 13:21   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #749

Sorry, after I reviewed the code of that plugin, it don't show how to fix the frag problem. I will try to find other methods.

Last edited by zmd94; 04-22-2015 at 13:34.
zmd94 is offline
And1.S
Member
Join Date: Oct 2013
Old 04-24-2015 , 04:03   Re: [ZP] List of Modified + Requested Plugin (3/1/2015)
Reply With Quote #750

Here look
Code:
#include <amxmodx>
#include <hamsandwich>
#include <amxmisc>

#define PLUGIN "Free Admin"
#define VERSION "1.0"
#define AUTHOR "zmd94"

// Bool
new bool:g_bFreeAdmin[33]

// Variables
new g_iTimeFrom, g_iTimeTo

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    
    RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawnPost", 1)
    
    g_iTimeFrom = register_cvar("free_admin_time_from", "22")
    g_iTimeTo = register_cvar("free_admin_time_to", "10")
}

public client_disconnect(id)
{
    g_bFreeAdmin[id] = false
}

public fw_PlayerSpawnPost(id)
{
    new szTime[3]
    get_time("%H",szTime,2)
    
    new TimeFrom = get_pcvar_num(g_iTimeFrom)
    new TimeTo = get_pcvar_num(g_iTimeTo)
    
    new iTime = str_to_num(szTime)
    if( TimeFrom <= iTime <= 24 )
    {
        if(!is_user_admin(id))
        {
            remove_user_flags(id, ADMIN_USER);
            set_user_flags(id, ADMIN_LEVEL_H);
            
            set_hudmessage(255, 255, 255, -1.0, 0.87, 0, 0.0, 12.0, 0.1, 0.2, -1)
            show_hudmessage(id, "Free VIP from %d to %d", TimeFrom, TimeTo)
            
            g_bFreeAdmin[id] = true
        }
    }
    else if( 00 <= iTime <= TimeTo )
    {
        if(!is_user_admin(id))
        {
            remove_user_flags(id, ADMIN_USER)
            set_user_flags(id, ADMIN_LEVEL_H)
            
            set_hudmessage(255, 255, 255, -1.0, 0.87, 0, 0.0, 12.0, 0.1, 0.2, -1)
            show_hudmessage(id, "Free VIP from %d to %d", TimeFrom, TimeTo)
            
            g_bFreeAdmin[id] = true
        }
    }
    else if(g_bFreeAdmin[id])
    {
        remove_user_flags(id, ADMIN_LEVEL_H)
        set_user_flags(id, ADMIN_USER)
        
        g_bFreeAdmin[id] = false
    }
}
i want when Player is VIP. when he spawned to set message on chat: Free From 22 - 12 allways when a Player spawn to set message

and one more thing
why some admins without acces T couln't be VIP when it's ti for free VIP?
And1.S is offline
Reply


Thread Tools
Display Modes

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 12:41.


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