When i use the button in the menu i have, this image do spawn for all players they joined in server, but!, the shake(when do i drink beer) only for player did used this button, here is a image with it happened:

as you see this s**t bugged, the script is:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cd = {}
here is just a part of menu:
if button==1 then
beer(id)
end
function beer(id)
if not cd[id] then
		parse("shake "..id.." 100")
cd[id]=true
timer(5000,'bc', tostring(id))
id=image("gfx/beer.png",320,240,2)
return 1
else msg2(id,"©255000000You have drink beer, you can't do it more[after 10 sec only]")
return 1
end
end
function bc(id)
cd[tonumber(id)]=nil
end
Image for all?-why happened?
1 
Offline
EngiN33R