Raised This Month: $ Target: $400
 0% 

glowingplayers?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
st0rmstan
Member
Join Date: May 2007
Old 05-23-2007 , 15:58   glowingplayers?
Reply With Quote #1

I used search function and found some ways to make players glow, but ways are different. What is a good and easy way to make a player glow?
I want a player to say: /glow red , and then they start to glow red.
I'm pretty sure it's: register_clcmd("say /glow red", "glowred" , right? and then make:
public glowred(id)
{
CODE
}


If that's right, I'll be happy, I'm learning to code :d
st0rmstan is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-23-2007 , 16:05   Re: glowingplayers?
Reply With Quote #2

yes that is it!
Code:
register_clcmd("say /glow red","glowred");
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
st0rmstan
Member
Join Date: May 2007
Old 05-23-2007 , 16:07   Re: glowingplayers?
Reply With Quote #3

but then on:

public glowred(id)
{
CODE
}

whats should the CODE be? (how do I actually make them glow on that command)



Yay i actually remember that register_clcmd
st0rmstan is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 05-23-2007 , 16:09   Re: glowingplayers?
Reply With Quote #4

set_user_rendering
Deviance is offline
st0rmstan
Member
Join Date: May 2007
Old 05-23-2007 , 16:13   Re: glowingplayers?
Reply With Quote #5

set_user_rendering(index,kRenderFxGlowShell,255,0,0,kRenderNorm al,25)
^^ glow red ^^

set_user_rendering(index,kRenderFxGlowShell,0,255,0,kRenderNorm al,25)
^^ glow green ^^

set_user_rendering(index,kRenderFxGlowShell,0,0,255,kRenderNorm al,25)
^^ glow blue ^^ correct?

PS:how can I make it so that when a player types /glow <color> and they start glowing, it displays and message to everyone that <PLAYER> IS GLOWING <COLOR> ?

Last edited by st0rmstan; 05-23-2007 at 16:25.
st0rmstan is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 05-23-2007 , 17:19   Re: glowingplayers?
Reply With Quote #6

Quote:
Originally Posted by st0rmstan View Post
PS:how can I make it so that when a player types /glow <color> and they start glowing, it displays and message to everyone that <PLAYER> IS GLOWING <COLOR> ?
Code:
new name[32] get_user_name(id, name, 31) client_print(0, print_chat, "%s is glowing %s", name, color)
Deviance is offline
st0rmstan
Member
Join Date: May 2007
Old 05-23-2007 , 17:44   Re: glowingplayers?
Reply With Quote #7

Thank you very much! After my GunGiver plugin, im making a glow with tooooooons of colors and stuff , so thx a TON
st0rmstan is offline
st0rmstan
Member
Join Date: May 2007
Old 05-23-2007 , 18:10   Re: glowingplayers?
Reply With Quote #8

oopz nvm there is already many glow plugins made but I'll keep that in mind just incase i ever need glow effect, +karma guys and thanks a ton
st0rmstan 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 10:44.


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