Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

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