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

[Furien] SHOP Auto Bhop


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SexwQw
Junior Member
Join Date: Sep 2018
Old 09-19-2018 , 16:40   [Furien] SHOP Auto Bhop
Reply With Quote #1

Hi All This Is My first post here and i need Furien and Anti-Furien shop
This To CT

1 Super Knife [%d]
2 He grenade [%d]
3 50 Hp [%d]
4 Difus Kit [%d]
5 No flash [%d]
5 Auto Bhop [%d] (Server not have auto bhop So u need buy it )
6 Wallhang [%d]

This To Terr

1 Super Knife [%d]
2 He grenade [%d]
3 50 Hp [%d]
4 Difus Kit
5 No flash [%d]
5 Auto Bhop [%d] (Server not have auto bhop So u need buy it )
6 Wallhang [%d]
7 Get Anti Furien Model

Who Can Make That plugin for me
Sry for my rip english

Last edited by SexwQw; 09-19-2018 at 16:53. Reason: i foget somewords
SexwQw is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 09-20-2018 , 13:59   Re: [Furien] SHOP Auto Bhop
Reply With Quote #2

can you stop spamming with the same plugin?
Code:
[ro] te poti oprii din spamul cu acelasi plugin?
someone is gonna to help you if they can, also this plugin is a hard work,
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
SexwQw
Junior Member
Join Date: Sep 2018
Old 09-20-2018 , 14:56   Re: [Furien] SHOP Auto Bhop
Reply With Quote #3

Do u Can Make This For Me ?
SexwQw is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 09-20-2018 , 16:05   Re: [Furien] SHOP Auto Bhop
Reply With Quote #4

no, "i do can not" make it, wait for others
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
SexwQw
Junior Member
Join Date: Sep 2018
Old 09-20-2018 , 16:14   Re: [Furien] SHOP Auto Bhop
Reply With Quote #5

Okay
SexwQw is offline
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 09-23-2018 , 16:51   Re: [Furien] SHOP Auto Bhop
Reply With Quote #6

are you using this mod ? :-
https://forums.alliedmods.net/showthread.php?t=295084
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
SexwQw
Junior Member
Join Date: Sep 2018
Old 09-24-2018 , 15:39   Re: [Furien] SHOP Auto Bhop
Reply With Quote #7

No i make new mod Furien -.-
SexwQw is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 09-24-2018 , 16:23   Re: [Furien] SHOP Auto Bhop
Reply With Quote #8

Quote:
Originally Posted by SexwQw View Post
No i make new mod Furien -.-
If you can't understand what people are asking you, go post somewhere else in your own language because this is going nowhere.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
hamzashadow
Junior Member
Join Date: Jul 2018
Old 01-19-2019 , 11:24   Re: [Furien] SHOP Auto Bhop
Reply With Quote #9

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>

#include "furien.inc"
#include "furien_shop.inc"

#define VERSION "0.2.1"
#define AUTHOR "SHA[D]OW"

new g_bHasAutoBhop
#define SetUserAutoBhop(%1)        g_bHasAutoBhop |=    1<<(%1&31)
#define RemoveUserAutoBhop(%1)    g_bHasAutoBhop &=    ~(1<<(%1&61))
#define HasUserAutoBhop(%1)        g_bHasAutoBhop &    1<<(%1&31)

new g_iCost[2]

public 
plugin_init()
{
    
register_plugin("Furien AutoBhop"VERSION"SHA[D]OW")

    new 
szConfigFile[128]
    
get_localinfo("amxx_configsdir"szConfigFilecharsmax(szConfigFile))
    
format(szConfigFilecharsmax(szConfigFile), "%s/furien/items/autobhop.ini"szConfigFile);

    new 
fp fopen(szConfigFile"rt")
    if( !
fp )
    {
        return
    }

    new 
szFurienName[32], szAntiName[32]

    new 
szDatas[64], szKey[16], szValue[32]
    while( !
feof(fp) )
    {
        
fgets(fpszDatascharsmax(szDatas))
        
trim(szDatas)
        if(!
szDatas[0] || szDatas[0] == ';' || szDatas[0] == '#' || (szDatas[0] == '/' && szDatas[1] == '/'))
        {
            continue
        }

        
parse(szDatasszKeycharsmax(szKey), szValuecharsmax(szValue))

        switch( 
szKey[0] )
        {
            case 
'A':
            {
                switch( 
szKey[7] )
                {
                    case 
'M':
                    {
                        if( 
equal(szKey"ANTI_NAME" ) )
                        {
                            
copy(szAntiNamecharsmax(szAntiName), szValue)
                        }
                    }
                    case 
'S':
                    {
                        if( 
equal(szKey"ANTI_COST" ) )
                        {
                            
g_iCost[AntiFurien] = str_to_num(szValue)
                        }
                    }
                }
            }
            case 
'F':
            {
                switch( 
szKey[9] )
                {
                    case 
'M':
                    {
                        if( 
equal(szKey"FURIEN_NAME" ) )
                        {
                            
copy(szFurienNamecharsmax(szAntiName), szValue)
                        }
                    }
                    case 
'S':
                    {
                        if( 
equal(szKey"FURIEN_COST" ) )
                        {
                            
g_iCost[Furien] = str_to_num(szValue)
                        }
                    }
                }
            }
        }
    }
    
fclosefp )

    if( 
g_iCost[Furien] || g_iCost[AntiFurien] )
    {
        
furien_register_item(szFurienNameg_iCost[Furien], szAntiNameg_iCost[AntiFurien], "furien_buy_autobhop")

        
RegisterHam(Ham_Player_Jump"player""CBasePlayer_Jump"false)
        
RegisterHam(Ham_Killed"player""CBasePlayer_Killed"true)
    }
}

public 
furien_buy_autobhopid )
{
    new 
iTeam furien_get_user_team(id)
    if( 
iTeam == -)
    {
        return 
ShopCloseMenu
    
}

    new 
iItemCost g_iCost[iTeam]
    if( 
iItemCost <= )
    {
        return 
ShopTeamNotAvail
    
}

    if( ~
HasUserAutoBhop(id) )
    {
        if( 
furien_try_buy(idiItemCost) )
        {
            
SetUserAutoBhopid )
            return 
ShopBought
        
}
        else
        {
            return 
ShopNotEnoughMoney
        
}
    }
    return 
ShopAlreadyHaveOne
}

public 
CBasePlayer_Jumpid )
{
    if( 
HasUserAutoBhop(id) && is_user_alive(id) )
    {
        
set_pev(idpev_oldbuttonspev(idpev_oldbuttons) & ~IN_JUMP)
        
set_pev(idpev_fuser20.5)
    }
}

public 
client_putinserver(id)
{
    
RemoveUserAutoBhop(id)
}

public 
CBasePlayer_Killed(id)
{
    
RemoveUserAutoBhop(id)
}

public 
furien_team_change/*iFurien */ )
{
    if( !
g_iCost[Furien] || !g_iCost[AntiFurien] )
    {
        
g_bHasAutoBhop 0
    
}
}

public 
furien_round_restart()
{
    
g_bHasAutoBhop 0

hamzashadow 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 11:24.


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