Raised This Month: $ Target: $400
 0% 

making users invisible.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ng1200
Member
Join Date: May 2005
Old 12-14-2005 , 03:45   making users invisible.
Reply With Quote #1

hi,
i need help with making a script that makes users invisible.
i only need the command that does that.
thanks,
CBM
ng1200 is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 12-14-2005 , 03:55  
Reply With Quote #2

Heres one way

Code:
#include <amxmodx> #include <engine> new PLUGIN_NAME[] = "Invisible" new PLUGIN_VERSION[] =  "1.0" new PLUGIN_AUTHOR[] =   "Cheap_Suit" new bool:InvisibleGuy[33] public plugin_init() {     register_plugin(PLUGIN_NAME, PLUGIN_VERSION, PLUGIN_AUTHOR)     register_clcmd("say /invisible", "Invisible_Function") } public Invisible_Function(id) {     switch(InvisibleGuy[id])     {         case true:         {             InvisibleGuy[id] = false             set_entity_visibility(id, 1)             client_print(id, print_chat, "You are not invisible")         }         case false:         {             InvisibleGuy[id] = true             set_entity_visibility(id, 0)             client_print(id, print_chat, "You are invisible")         }     }     return PLUGIN_HANDLED }
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
ng1200
Member
Join Date: May 2005
Old 12-14-2005 , 04:08  
Reply With Quote #3

thanks!!!
fast reply too
ng1200 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 15:50.


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