#**Request**
1 messages · Page 1 of 1 (latest)
can't you just throw an error in whatever you're using to reflect? you can't really do it by accident
How would I do that?
The code you made for STFR way back yonder for the custom sirens broke in a recent B42 update. B42.15 or something.
And it's only broken when not in debug mode.
So it's code I'm not too familiar with, lol.
i don't remember exactly how it worked but i don't think that will be possible anymore
it allows lua to get things it's not intended to be able to get so it's a security risk
ah. Yikers.
Also, the funny thing about that lua file you made:
The sirens work fine. So do the horns.
What broke was the use of reflection to check if the horn's active.
Haven't tested lightbar colors yet.
ok, just checked. It Seems all of that code you wrote works fine. And the only part breaking is the use of reflection to see if the horn's active.
Funny how that happens.
For now, you could get the shout key and check if its down
(and player driving car)
Hmmm...
HATE to bother you, especially in this thread, but....
How in the blazes do I check if the shout key's pressed?
Nvm, got it.