Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Detecting if the player has his light on?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Detecting if the player has his light on? (Read 342 times)
Daenth
July 19, 2011, 03:23:30 AM
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. =/
Ad Bot
Advertisement
Headcrab Zombie
July 19, 2011, 03:54:20 AM
isObject(%client.player.light)
Daenth
July 19, 2011, 04:02:02 AM
Quote from: Headcrab Zombie on July 19, 2011, 03:54:20 AM
isObject(%client.player.light)
Ah, I was looking through Truce's Advanced Light script and found
%client.light
not
%client.player.light
. Makes sense, thanks.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Detecting if the player has his light on?