Raised This Month: $ Target: $400
 0% 

[HELP] Add feature to plugin and make code better if possible


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
BioI-Iazard
Senior Member
Join Date: Sep 2005
Location: Calgary, Alberta
Old 10-12-2009 , 10:20   [HELP] Add feature to plugin and make code better if possible
#1

I was wondering if if theres a way to make your own view look invisible. Meaning right now you dont see yourself as invisible when holding out your knife only others do. How can i make it so you see yourself invisible when holding knife out?
Here's what i have so far..
and if theres a more efficient way of writing this code pls help me out...
Code:
#include <amxmodx> #include <fun> #define PLUGIN "1K" #define VERSION "1.0" #define AUTHOR  "BioI-Iazard" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR);         register_event("CurWeapon", "event_curweapon", "be", "1=1") } public event_curweapon(id) {     switch(read_data(2)) {         case CSW_KNIFE: {             set_hudmessage(200, 100, 0, -2.0, 0.37, 0, 6.0, 6.0, 0.5, 0.15, 4)             show_hudmessage(id,"Visibility 22%")             set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,75)         }                 default: {             set_hudmessage(200, 100, 0, -2.0, 0.37, 0, 6.0, 99999.0, 0.5, 0.15, 4)             show_hudmessage(id,"Visibility 100%");             set_user_rendering(id);         }     }     return PLUGIN_HANDLED }
__________________
Loved by Many ....
Hated by Some ....
Respected by All !!!!
BioI-Iazard is offline
Old 10-12-2009, 10:42
BioI-Iazard
This message has been deleted by Exolent[jNr]. Reason: Double post.
Old 10-12-2009, 13:21
BioI-Iazard
This message has been deleted by Exolent[jNr]. Reason: Bump?
BioI-Iazard
Senior Member
Join Date: Sep 2005
Location: Calgary, Alberta
Old 10-13-2009 , 22:01   Re: [HELP] Add feature to plugin and make code better if possible
#2

anybody?
__________________
Loved by Many ....
Hated by Some ....
Respected by All !!!!
BioI-Iazard is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-13-2009 , 22:39   Re: [HELP] Add feature to plugin and make code better if possible
#3

Do not bump until 2 weeks have passed since last post.
It is in the rules. How about you read them?
http://forums.alliedmods.net/showthread.php?t=100352

Locked due to excessive bumping.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Closed Thread



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 22:40.


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