Raised This Month: $ Target: $400
 0% 

adding glow to a weapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-03-2005 , 18:32   adding glow to a weapon
Reply With Quote #1

is it possible to set glow on a weapon like around a knife i want a red glow in all views
i have to know that it is possible
__________________
- Bye bye!
nightscreem is offline
sh0rtbus
Member
Join Date: Mar 2005
Location: Longwood Florida
Old 06-04-2005 , 03:27  
Reply With Quote #2

OK... lol its possible satisfied
sh0rtbus is offline
Send a message via AIM to sh0rtbus Send a message via MSN to sh0rtbus
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-04-2005 , 18:17  
Reply With Quote #3

and with what code can it just be done with
set_rendering or set_user_rendering
__________________
- Bye bye!
nightscreem is offline
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-04-2005 , 23:06  
Reply With Quote #4

Quote:
Originally Posted by sh0rtbus
OK... lol its possible satisfied
yeah we sure do if it is or not. you don't have to spam around.
__________________
Plugins:
none

n0obie4life is offline
sh0rtbus
Member
Join Date: Mar 2005
Location: Longwood Florida
Old 06-04-2005 , 23:15  
Reply With Quote #5

Arnt you mr. high and mighty i dont see any sort of high tag on you maybe you should stfu and pull that head out of your ass.
sh0rtbus is offline
Send a message via AIM to sh0rtbus Send a message via MSN to sh0rtbus
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-05-2005 , 05:26  
Reply With Quote #6

pls stop with those stupid posts
I need help
__________________
- Bye bye!
nightscreem is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-07-2005 , 16:34  
Reply With Quote #7

someone this is not a spam

need help pls need to know if it is possible and
how i can do it
__________________
- Bye bye!
nightscreem is offline
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 06-11-2005 , 18:06  
Reply With Quote #8

set_rendering instead of set_user_rendering,
and your weapon, probably light saber, as index instead of id?
XunTric is offline
Ares0016
Junior Member
Join Date: Jan 2005
Old 11-29-2005 , 22:17  
Reply With Quote #9

Can anyone help me plz
ps im a noob at amxx coding but i have used amxx for like 1.5 years
also my cs name is mlm0l0mlmT16


Code:
/*  *  Name: Knife Glow  *  Date: Feb. 21, 2005  *  *  Description: This will make the person's knife glow diffrent colors  *             *         *           *  *  Usage:      *  *  *  Other notes: Credit goes to v3x for the original code  *           Genisis helped alot by shortining/fixing the code  *           Then mlm0l0mlmT16 converted it in to knife glow  *  *  To do:  *   - Nothing  */ #include <amxmodx> #include <cstrike> #include <fun> #define PLUGIN    "Knife Glow" #define AUTHOR    "mlm0l0mlmT16, v3x, genisis" #define VERSION    "1" //                      R    G    B    A new iColorblue[4]   = { 000, 000, 255, 255 } new iColorgreen[4]  = { 000, 255, 000, 255 } new iColorred[4]    = { 255, 000, 000, 255 } new iColorpurple[4] = { 255, 000, 255, 255 } new iColororange[4] = { 255, 125, 000, 255 } new iColoryellow[4] = { 255, 255, 000, 255 } public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_event("CurWeapon", "check_weapons", "be")     register_cvar("knife_blue", "1")     register_cvar("knife_green", "1")     register_cvar("knife_red", "1")     register_cvar("knife_purple", "1")     register_cvar("knife_orange", "1")     register_cvar("knife_yellow", "1") } public blue_knifeglow(id) {             {               set_rendering( id, kRenderFxGlowShell, iColorblue[0], iColorblue[1], iColorblue[2],  kRenderNormal, iColorblue[3] )         }     return PLUGIN_CONTINUE } public green_knifeglow(id) {             {               set_rendering( id, kRenderFxGlowShell, iColorgreen[0], iColorgreen[1], iColorgreen[2],  kRenderNormal, iColorgreen[3] )         }     return PLUGIN_CONTINUE } public red_knifeglow(id) {             {               set_rendering( id, kRenderFxGlowShell, iColorred[0], iColorred[1], iColorred[2],  kRenderNormal, iColorred[3] )         }     return PLUGIN_CONTINUE } public purple_knifeglow(id) {             {               set_rendering( id, kRenderFxGlowShell, iColorpurple[0], iColorpurple[1], iColorpurple[2],  kRenderNormal, iColorpurple[3] )         }     return PLUGIN_CONTINUE } public orange_knifeglow(id) {             {               set_rendering( id, kRenderFxGlowShell, iColororange[0], iColororange[1], iColororange[2],  kRenderNormal, iColororange[3] )         }     return PLUGIN_CONTINUE } public yellow_knifeglow(id) {             {               set_rendering( id, kRenderFxGlowShell, iColoryellow[0], iColoryellow[1], iColoryellow[2],  kRenderNormal, iColoryellow[3] )         }     return PLUGIN_CONTINUE } public check_weapons( id ) {     new clip, ammo     new weapon = get_user_weapon( id, clip, ammo )         if((get_cvar_num("knife_blue") == 1))         if(weapon == CSW_KNIFE)             blue_knifeglow(id)     if((get_cvar_num("knife_green") == 1))         if(weapon == CSW_KNIFE)             green_knifeglow(id)         if((get_cvar_num("knife_red") == 1))         if(weapon == CSW_KNIFE)             red_knifeglow(id)     if((get_cvar_num("knife_purple") == 1))         if(weapon == CSW_KNIFE)             purple_knifeglow(id)       if((get_cvar_num("knife_orange") == 1))         if(weapon == CSW_KNIFE)             orange_knifeglow(id)     if((get_cvar_num("knife_yellow") == 1))         if(weapon == CSW_KNIFE)             yellow_knifeglow(id)     return PLUGIN_CONTINUE }
Ares0016 is offline
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 11-29-2005 , 23:28  
Reply With Quote #10

Hmm curious to why you're using :
Code:
get_cvar_float()
Can't you just use :
Code:
get_cvar_num()
Since you registered it as a number it isn't a float and can't be unless you change it. Well if you're new, get_cvar_num() gets numbers, while get_cvar_float() gets floats, hope that helps.
Peli is offline
Send a message via MSN to Peli
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 16:36.


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