This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Working invisible


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
oMg
Junior Member
Join Date: Aug 2006
Old 08-11-2006 , 17:22   Working invisible
Reply With Quote #1

Working invisible plugin for admins.
__________________
24 h Sauna server : 62.183.249.19:27015
Located In finland!

oMg is offline
Old 08-11-2006, 19:09
F34RInc
This message has been deleted by F34RInc. Reason: Doesnt work
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-11-2006 , 19:56   Re: Working invisible
Reply With Quote #2

Tested:

amx_invisible "Part of username"
amx_visible "part of userName"


PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>

public plugin_init()
{
    
register_plugin("Invisibility","0.1","SweatyBanana")
    
register_clcmd("amx_invisible","invisible",ADMIN_BAN,"Invisibility On")
    
register_clcmd("amx_visible","visible",ADMIN_BAN,"Invisibility Off")
}

public 
invisible(id,level,cid)
{
    if (!(
get_user_flags(id)&ADMIN_BAN))
    {
        return 
PLUGIN_HANDLED
    
}

    new 
TARGET[32]
    
read_argv(1,TARGET,31)

    new 
PLAYER cmd_target(id,TARGET,7)

    
set_user_rendering(PLAYER,kRenderFxNone,0,0,0,kRenderTransAlpha,0)
    
client_print(PLAYER,print_chat,"An admin has given you invisibility.")

    return 
PLUGIN_HANDLED
}

public 
visible(id,level,cid)
{
    if (!(
get_user_flags(id)&ADMIN_BAN))
    {
        return 
PLUGIN_HANDLED
    
}

    new 
TARGET[32]
    
read_argv(1,TARGET,31)

    new 
PLAYER cmd_target(id,TARGET,7)

    
set_user_rendering(PLAYER,kRenderFxNone,0,0,0,kRenderTransAlpha,255)
    
client_print(PLAYER,print_chat,"An admin has taken away your invisibility.")

    return 
PLUGIN_HANDLED
}

public 
client_disconnect(id)
    
set_user_rendering(id,kRenderFxNone,0,0,0,kRenderTransAlpha,255

Last edited by SweatyBanana; 08-11-2006 at 20:06.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
oMg
Junior Member
Join Date: Aug 2006
Old 08-12-2006 , 12:05   Re: Working invisible
Reply With Quote #3

Sweaty always on atction + karma If i get it work.
__________________
24 h Sauna server : 62.183.249.19:27015
Located In finland!

oMg is offline
Old 08-12-2006, 12:50
oMg
This message has been deleted by oMg.
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-12-2006 , 14:27   Re: Working invisible
Reply With Quote #4

Dont say it doesnt work..I tested it.
Attached Files
File Type: sma Get Plugin or Get Source (invisible.sma - 1653 views - 1.2 KB)
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
oMg
Junior Member
Join Date: Aug 2006
Old 08-12-2006 , 14:47   Re: Working invisible
Reply With Quote #5

hehe.. didnt work for me im not as good as u..
__________________
24 h Sauna server : 62.183.249.19:27015
Located In finland!

oMg is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-12-2006 , 14:48   Re: Working invisible
Reply With Quote #6

type meta list in console
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
oMg
Junior Member
Join Date: Aug 2006
Old 08-12-2006 , 14:55   Re: Working invisible
Reply With Quote #7

Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.75a ini ANY ANY
[ 2] Ent Mod RUN - entmod_mm.dll v3 ini Start Start
[ 3] CStrike RUN - cstrike_amxx.dll v1.75 pl1 ANY ANY
[ 4] CSX RUN - csx_amxx.dll v1.75 pl1 ANY ANY
[ 5] Fun RUN - fun_amxx.dll v1.75 pl1 ANY ANY
[ 6] Engine RUN - engine_amxx.dll v1.75 pl1 ANY ANY
6 plugins, (Sorry if i waste ur time)
__________________
24 h Sauna server : 62.183.249.19:27015
Located In finland!

oMg is offline
nitricacid
Member
Join Date: Jul 2005
Location: there
Old 08-14-2006 , 13:32   Re: Working invisible
Reply With Quote #8

try to web-compile it, it compiles fine for me, list your plugins. It may be conflicting.
__________________
nitricacid is offline
Send a message via AIM to nitricacid
NoobInAmxx
Senior Member
Join Date: Mar 2006
Location: Turku Finland
Old 08-19-2006 , 10:53   Re: Working invisible
Reply With Quote #9

Compiled it and still doesen't work. I've tested it on 3 server doesen't work so fix it or ? thanx
__________________
..Im not smart and im not stupid..
NoobInAmxx is offline
Send a message via MSN to NoobInAmxx
oMg
Junior Member
Join Date: Aug 2006
Old 08-19-2006 , 11:00   Re: Working invisible
Reply With Quote #10

hehe same problem..
__________________
24 h Sauna server : 62.183.249.19:27015
Located In finland!

oMg 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 10:34.


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