Forum

> > CS2D > Scripts > Photo camera script need help
Forums overviewCS2D overview Scripts overviewLog in to reply

English Photo camera script need help

3 replies
To the start Previous 1 Next To the start

old Photo camera script need help

Wild-Fire17
User Off Offline

Quote
Hi, I toaght of a new lua script, but I need help creating it.Pls help me and you will enjoy the script.

> Here is where a gone so far.

1
2
3
4
5
6
7
8
9
addhook("menu","cmramenu")
function cmrmenu(id, title, button)
if title=="Camera" then
if button==1 then
menu(id,"Camera settings,Timer options,Flash options,Sound options,Mode options,Quality options,Back")
elseif button==2 then
for id =1,32 do    
parse("screenshot")
parse("flash" ...... I need to flash to all players. WHAT TO DO ?

• I need to flash all players, but in the console I saw this:

1
flash -ID- -POWER-

This is hard to me, bcuz I'm a newbie at LUA scripting.Please help me.

old Thank you ! :P

Wild-Fire17
User Off Offline

Quote
Thank you very much for this! Since I figure it out that no one will answer I started to do like this :

1
2
3
4
5
6
7
8
9
10
11
12
13
parse("flashplayer " '1' '20'")
parse("flashplayer " '2' '20'")
parse("flashplayer " '3' '20'")
parse("flashplayer " '4' '20'")
parse("flashplayer " '5' '20'")
parse("flashplayer " '6' '20'")
parse("flashplayer " '7' '20'")
parse("flashplayer " '8' '20'")
parse("flashplayer " '9' '20'")
parse("flashplayer " '10' '20'")
parse("flashplayer " '11' '20'")
parse("flashplayer " '12' '20'")
parse("flashplayer " '12' '20'")

Thank you
edited 2×, last 21.06.11 06:31:00 pm

old Re: Photo camera script need help

Banaan
User Off Offline

Quote
1
parse("screenshot")
will (unfortunately) not work. Lua scripts run server-side and have no control over fully client-side actions, such as taking screenshots.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview