English Flashlight

3 replies
Goto Page
To the start Previous 1 Next To the start
17.09.11 02:54:41 pm
Up
Flame
BANNED
Offline Off
How to make a lua when you press f3 you turn on flashlight when u press again u turn it off
Rainbow for ever
17.09.11 03:16:42 pm
Up
Tajifun
User
Offline Off
File Archive:
*click*
Tajifun yay.
17.09.11 03:42:07 pm
Up
Flame
BANNED
Offline Off
but i need when u press f3
Rainbow for ever
17.09.11 03:52:47 pm
Up
Cure Pikachu
User
Offline Off
Edit the script that user Tajifun gave you then.
I am just showing lines 18 to 20 (assuming that the script's unedited before), the lines you need to edit. (Please don't tell me how to count the lines)
Code:
1
2
3
4
5
-- From Line 1-17
addhook("serveraction","lightz") -- Line 18 (Changed)
function lightz(p,t) -- Line 19 (Unchanged)
     if (t == 2) then -- Line 20 (Changed)
-- From Line 21 onwards
IMG:https://i.imgur.com/uUrye71.png
IMG:https://i.imgur.com/xpsyQRX.png
To the start Previous 1 Next To the start