Raised This Month: $ Target: $400
 0% 

Invisiblity Problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bjbrokaw
Junior Member
Join Date: Sep 2005
Location: California
Old 09-13-2005 , 22:41   Invisiblity Problem
Reply With Quote #1

Ok I made a mod that makes u invis when u have a knife and its worknig great exept for the admin can see all the invis players. How can I fix this?
__________________
bjbrokaw is offline
Send a message via AIM to bjbrokaw
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-13-2005 , 22:44  
Reply With Quote #2

Post the source code.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
bjbrokaw
Junior Member
Join Date: Sep 2005
Location: California
Old 09-13-2005 , 22:48  
Reply With Quote #3

heres the zip with source, plugin and everything so u can help me a bit
Attached Files
File Type: zip weapon_mod.zip (58.9 KB, 75 views)
__________________
bjbrokaw is offline
Send a message via AIM to bjbrokaw
bjbrokaw
Junior Member
Join Date: Sep 2005
Location: California
Old 09-13-2005 , 22:51  
Reply With Quote #4

im hoping once i fix thsi problem and add more stuff ill be able to get this mod on the list, right now its on the forums but i just placed it so i hope they accept it ones its fully fixed
__________________
bjbrokaw is offline
Send a message via AIM to bjbrokaw
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-13-2005 , 22:59  
Reply With Quote #5

Ok I gotta go, if no one has helped you by tomorrow I'll see if I can fix it.

Edit: Are you sure admins can see everyone? There's not a single thing in this plugin that points to admins, all it does is set rendering...
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
bjbrokaw
Junior Member
Join Date: Sep 2005
Location: California
Old 09-13-2005 , 23:20  
Reply With Quote #6

yes admins can see everyone but everyone else cant see eachother, maybe its my server settings or something.
__________________
bjbrokaw is offline
Send a message via AIM to bjbrokaw
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 09-14-2005 , 00:10  
Reply With Quote #7

Shortened version of your plugin
Does the same thing
Code:
#include <amxmodx> #include <amxmisc> #include <fun> public SetVisibility(id){     new wepi = read_data(2)     switch( wepi )     {         case 3: set_user_rendering(id,kRenderFxGlowShell,225,0,225,kRenderTransAlpha,255);         case 6 , 29: set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,15);         case 13: set_user_rendering(id,kRenderFxGlowShell,225,225,0,kRenderTransAlpha,255);         case 18: set_user_rendering(id,kRenderFxGlowShell,225,0,0,kRenderTransAlpha,255);         case 24: set_user_rendering(id,kRenderFxGlowShell,0,225,0,kRenderTransAlpha,255);         default: set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,255);     }     return PLUGIN_HANDLED } public plugin_init() { register_plugin("Weapon Mod","2.00","Brandon Brokaw") register_event("CurWeapon","SetVisibility","b","1=1")  //Return not needed in plugin_init }
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 09-14-2005 , 00:21  
Reply With Quote #8

dont think its possible to set invis only for some people to see and for others not to see
Freecode is offline
bjbrokaw
Junior Member
Join Date: Sep 2005
Location: California
Old 09-14-2005 , 00:27  
Reply With Quote #9

ok i made a enw version, made invis better and fixed admin
__________________
bjbrokaw is offline
Send a message via AIM to bjbrokaw
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 23:11.


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