Blockland Forums > Modification Help
Detecting if the player has his light on?
(1/1)
Daenth:
Is it possible to detect if the player has his light on?
I've tried isObject(%client.light) and if(%client.light $= "") with no luck. =/
Headcrab Zombie:
isObject(%client.player.light)
Daenth:

--- Quote from: Headcrab Zombie on July 19, 2011, 03:54:20 AM ---isObject(%client.player.light)

--- End quote ---
Ah, I was looking through Truce's Advanced Light script and found %client.light not %client.player.light. Makes sense, thanks.
Navigation
Message Index

Go to full version