AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Get a circle of light to shine on a certian player?? (https://forums.alliedmods.net/showthread.php?t=17285)

[KTA] KeItO 08-28-2005 18:03

Get a circle of light to shine on a certian player??
 
Hey, im making a jesus plugin and I was wondering how would I make a circle of light shine down on the player who is jesus??

FeuerSturm 08-28-2005 18:09

you could try:

Code:
entity_set_int(playerid,EV_INT_effects,EF_BRIGHTLIGHT)

for example!

there's more effects for EV_INT_effects in the engine_const.inc.

just try some and maybe one fits to your needs.
otherwise you can play around a bit with set_user_rendering
and try different effects.

[KTA] KeItO 08-28-2005 19:18

ty

[KTA] KeItO 08-28-2005 19:21

also how do i turn a person back to their normal state??

XxAvalanchexX 08-28-2005 20:36

Code:
entity_set_int(playerid,EV_INT_effects,entity_get_int(playerid,EV_INT_effects) & ~EF_BRIGHTLIGHT)


All times are GMT -4. The time now is 14:28.

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