Raised This Month: $ Target: $400
 0% 

How to make invis people vis to only certain people?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 07-24-2009 , 20:32   How to make invis people vis to only certain people?
Reply With Quote #1

Code:
#include <amxmodx> #include <fun> public plugin_init() {    register_clcmd("say /invis", "cmdInvis")    register_clcmd("say /seeinvis", "cmdSeeInvis") } public cmdInvis(id) {    set_user_rendering(id,kRenderFxGlowShell,0,0, 0,kRenderTransAlpha, 20); } public cmdSeeInvis(id) {    //what do I need to put here to make it so only the person who does the command can see someone who's invis? }

I think that it should be obvious what I want but if not then I'll clarify.
I want it so that the person who types /seeinvis will be able to see invis people as if they had the alpha of something that I can set.
I know that this is possible because I've seen it somewhere else, I've no idea how it's done, though.

And please, forgive me for my horrible scripting skills. I'm not much of a scriptor, I'm more of a Server Manager.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
 



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 18:30.


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