Raised This Month: $ Target: $400
 0% 

Light


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 11-01-2013 , 07:13   Light
Reply With Quote #1

I have a question.
Is it possible to
Code:
set_light
for only 1 person?
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 11-06-2013 , 07:08   Re: Light
Reply With Quote #2

A small Stock,
PHP Code:
stock SetLights(idiLightStyleszLightinfo[])
{
    
message_begin(MSG_ONE_UNRELIABLESVC_LIGHTSTYLE_id);    
    
write_byte(iLightStyle);
    
write_string(szLightinfo);
    
message_end();

For "set_light", use iLightStyle as 0 and szLightinfo as the brightness ("a", "b", ..., "z").
So if you want to set "z" (brightness) to a player,
PHP Code:
SetLights(id0"z"
More Info : Here.
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 11-06-2013 , 08:08   Re: Light
Reply With Quote #3

Thanks dude, will try this out in my freetime
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-08-2013 , 11:07   Re: Light
Reply With Quote #4

I'd suggest MSG_ONE, not MSG_ONE_UNRELIABLE. I found the _UNRELIABLE to be... unreliable?
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
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:23.


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