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

Entity Kill Association (Deathrun Real Killer)


Post New Thread Reply   
 
Thread Tools Display Modes
LaFA
Junior Member
Join Date: Mar 2010
Location: Georgia
Old 07-29-2015 , 06:40   Re: Entity Kill Association (Deathrun Real Killer)
Reply With Quote #21

xPaw, one more problem, allmost all deathruns have freerun or something like that, buttons blocked, but when T use button - press E (trap not activeted) but every one who touch trap and died = +N kill for t.
__________________
LaFA is offline
Send a message via ICQ to LaFA Send a message via Skype™ to LaFA
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-29-2015 , 06:41   Re: Entity Kill Association (Deathrun Real Killer)
Reply With Quote #22

Is your freerun plugin listed before this plugin in plugins.ini?
__________________
xPaw is offline
LaFA
Junior Member
Join Date: Mar 2010
Location: Georgia
Old 07-29-2015 , 06:44   Re: Entity Kill Association (Deathrun Real Killer)
Reply With Quote #23

Quote:
deathrun_mods.amxx plugin freerun and other mods
motddisable.amxx bla bla bla
adminsreload.amxx bla bla bla
EntityKillAssociation.amxx
__________________
LaFA is offline
Send a message via ICQ to LaFA Send a message via Skype™ to LaFA
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 07-29-2015 , 06:45   Re: Entity Kill Association (Deathrun Real Killer)
Reply With Quote #24

It really depends on how the buttons are being disabled in that plugin, I don't think I have control over that.
__________________
xPaw is offline
LaFA
Junior Member
Join Date: Mar 2010
Location: Georgia
Old 07-29-2015 , 06:47   Re: Entity Kill Association (Deathrun Real Killer)
Reply With Quote #25

Code:
/*================================================================================
    Use buttons
=================================================================================*/
public Ham_ButtonUse(ent, caller, id)
{
        if(!is_user_connected(id))
                return HAM_IGNORED

        if(!is_user_alive(id))
                return HAM_IGNORED

        new Team = get_user_team(id)

        if(Team == 1)
        {
        if(DeathRun_Mode == 0)
            TerMenu(id, 0)

        if(DeathRun_Mode == 1)
        {
            new gametime = floatround(get_gametime(), floatround_round)

            if(ButtonAlreadyUsed[id][ent] == 0)
            {
                ButtonAlreadyUsed[id][ent] = gametime
            }
            else if(gametime - ButtonAlreadyUsed[id][ent] <= 45)
            {
                client_print(id, print_center, "%L", LANG_PLAYER, "B_TIME", 45 - (gametime - ButtonAlreadyUsed[id][ent]))
                return HAM_SUPERCEDE
            }
            else
            {
                ButtonAlreadyUsed[id][ent] = 0
            }
        }
        else
        {
            client_print(id, print_center, "%L", LANG_PLAYER, "B_NOT_NOW")
            return HAM_SUPERCEDE
        }
        }
        return HAM_IGNORED
}
__________________
LaFA is offline
Send a message via ICQ to LaFA Send a message via Skype™ to LaFA
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 02:19.


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