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

Request plugin walk invisibile with c4


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Black Beard
Junior Member
Join Date: Jan 2019
Old 01-26-2019 , 20:42   Request plugin walk invisibile with c4
Reply With Quote #1

hello guys i am searching for a plugin to use it in furien mod
if player have c4 and only if he use knife with ctrl (duck) he move invisible other players who dont have c4 walk normal
Black Beard is offline
Black Beard
Junior Member
Join Date: Jan 2019
Old 01-28-2019 , 13:07   Re: Request plugin walk invisibile with c4
Reply With Quote #2

Any one ?
Black Beard is offline
Black Beard
Junior Member
Join Date: Jan 2019
Old 01-30-2019 , 14:04   Re: Request plugin walk invisibile with c4
Reply With Quote #3

any one please
Black Beard is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 01-30-2019 , 14:10   Re: Request plugin walk invisibile with c4
Reply With Quote #4

bumping your topic 2 by 2 days wouldn't help you,trust me
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Black Beard
Junior Member
Join Date: Jan 2019
Old 01-30-2019 , 15:40   Re: Request plugin walk invisibile with c4
Reply With Quote #5

but i am still waiting for help :'(

Last edited by Black Beard; 01-30-2019 at 15:41.
Black Beard is offline
Oops9499
Junior Member
Join Date: Dec 2017
Old 01-30-2019 , 20:05   Re: Request plugin walk invisibile with c4
Reply With Quote #6

Try this


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

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("CurWeapon""Event_CurWeapon""be","1=1")
}
public 
Event_CurWeapon(id)
{
    if (!
is_user_alive(id) || cs_get_user_team(id) != CS_TEAM_T)
        return
        
    static 
weaponweapon read_data(2)
    
    if (
weapon == CSW_KNIFE && user_has_weapon(idCSW_C4) && pev(idpev_button) & IN_DUCK)
    {
        
set_user_rendering(idkRenderFxNone000kRenderTransAlpha0)
    }
    else 
set_user_rendering(id)


Last edited by Oops9499; 01-30-2019 at 20:20.
Oops9499 is offline
Black Beard
Junior Member
Join Date: Jan 2019
Old 01-31-2019 , 07:02   Re: Request plugin walk invisibile with c4
Reply With Quote #7

its work in normal mod but in furien mod visibility when he move its return to visible so i think need event of movment not of curweapons to work in furien mod if there is event of movment
Black Beard is offline
Oops9499
Junior Member
Join Date: Dec 2017
Old 02-03-2019 , 15:00   Re: Request plugin walk invisibile with c4
Reply With Quote #8

Quote:
Originally Posted by Black Beard View Post
its work in normal mod but in furien mod visibility when he move its return to visible so i think need event of movment not of curweapons to work in furien mod if there is event of movment
i think you should modify the plugin itself. I don't know "Furien Mod" and what it is about neither, but I downloaded it and found this:

PHP Code:

public Set_Furiens_VisibilityiEnt )
{
    
entity_set_float(iEntEV_FL_nextthinkget_gametime() + 0.1)

    new 
iPlayers[MAX_PLAYERS], iNumidFloat:fVecVelocity[3], iSpeed

    get_players
(iPlayersiNum"ae"g_iFuriensTeam == CS_TEAM_T "TERRORIST" "CT")

    for(new 
ii<iNumi++)
    {
        
id iPlayers[i]
        if( 
get_user_weapon(id) == CSW_KNIFE )
        {
            
entity_get_vector(idEV_VEC_velocityfVecVelocity)
            
iSpeed floatroundvector_length(fVecVelocity) )
            if( 
iSpeed g_iInvisFactor*255 )
            {
                
set_user_rendering(idkRenderFxNone000kRenderTransAlphaiSpeed/g_iInvisFactor)
            }
            else
            {
                
set_user_rendering(idkRenderFxNone000kRenderNormal0)
            }
        }
        else
        {
            
set_user_rendering(idkRenderFxNone000kRenderNormal0)
        }
    }

From that I could deduce that when you have the knife selected you are invisible (unless iSpeed < g_iInvisFactor*255). Is it correct? If so, do you want to make them invisible ONLY if they are terrorists AND IF they are carrying the bomb while ducking? Need more info...
Oops9499 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 11:44.


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