Spoiler
addhook("serveraction","HideandSeek1")
function HideandSeek1(id,b)
if player(id,"team")==1 then
if b==1 then
menu(id,"Choose your Prop,Boat,Crate,Crate2,Crate3,Crate4,Crate5,Crate6,Computer,Nothing")
end
if b==2 then
menu(id,"Choose your Prop 2,Bed 1,Bed 2,Bed 3,Car,Chair,Computer,Cooker,Couch,Nothing")
end
if b==3 then
menu(id,"Choose your Prop 3,SWAT Truck,Table,Tank,Toilet,Train,Trash Can,Tree,Carpet,Nothing")
end
end
end
-- Menu Menu
addhook("menu","HideandSeek3")
function HideandSeek3(id,t,b)
if t=="Choose your Prop" then
if b==1 then
freeimage(id)
id=image("gfx/hide and seek/boat.png",1,1,200+id)
elseif b==2 then
freeimage(id)
id=image("gfx/hide and seek/crate.png",1,1,200+id)
elseif b==3 then
freeimage(id)
id=image("gfx/hide and seek/crate2.png",1,1,200+id)
elseif b==4 then
freeimage(id)
id=image("gfx/hide and seek/crate3.png",1,1,200+id)
elseif b==5 then
freeimage(id)
id=image("gfx/hide and seek/crate4.png",1,1,200+id)
elseif b==6 then
freeimage(id)
id=image("gfx/hide and seek/crate5.png",1,1,200+id)
elseif b==7 then
freeimage(id)
id=image("gfx/hide and seek/crate6.png",1,1,200+id)
elseif b==8 then
freeimage(id)
id=image("gfx/hide and seek/computer.png",1,1,200+id)
elseif b==9 then
freeimage(id)
end
elseif t=="Choose your Prop 2" then
if b==1 then
freeimage(id)
id=image("gfx/hide and seek/Bed.png",1,1,200+id)
elseif b==2 then
freeimage(id)
id=image("gfx/hide and seek/bed2.png",1,1,200+id)
elseif b==3 then
freeimage(id)
id=image("gfx/hide and seek/bed3.png",1,1,200+id)
elseif b==4 then
freeimage(id)
id=image("gfx/hide and seek/car.png",1,1,200+id)
elseif b==5 then
freeimage(id)
id=image("gfx/hide and seek/chair.png",1,1,200+id)
elseif b==6 then
freeimage(id)
id=image("gfx/hide and seek/Computer.png",1,1,200+id)
elseif b==7 then
freeimage(id)
id=image("gfx/hide and seek/cooker.png",1,1,200+id)
elseif b==8 then
freeimage(id)
id=image("gfx/hide and seek/Couch.png",1,1,200+id)
elseif b==9 then
freeimage(id)
end
elseif t=="Choose your Prop 3" then
if b==1 then
freeimage(id)
id=image("gfx/hide and seek/SWAT Truck.png",1,1,200+id)
elseif b==2 then
freeimage(id)
id=image("gfx/hide and seek/Table.png",1,1,200+id)
elseif b==3 then
freeimage(id)
id=image("gfx/hide and seek/Tank.png",1,1,200+id)
elseif b==4 then
freeimage(id)
id=image("gfx/hide and seek/Toilet.png",1,1,200+id)
elseif b==5 then
freeimage(id)
id=image("gfx/hide and seek/Train.png",1,1,200+id)
elseif b==6 then
freeimage(id)
id=image("gfx/hide and seek/Trash Can.png",1,1,200+id)
elseif b==7 then
freeimage(id)
id=image("gfx/hide and seek/Tree.png",1,1,200+id)
elseif b==8 then
freeimage(id)
id=image("gfx/hide and seek/carpet1.bmp",1,1,200+id)
elseif b==9 then
freeimage(id)
end
end
end
function HideandSeek1(id,b)
if player(id,"team")==1 then
if b==1 then
menu(id,"Choose your Prop,Boat,Crate,Crate2,Crate3,Crate4,Crate5,Crate6,Computer,Nothing")
end
if b==2 then
menu(id,"Choose your Prop 2,Bed 1,Bed 2,Bed 3,Car,Chair,Computer,Cooker,Couch,Nothing")
end
if b==3 then
menu(id,"Choose your Prop 3,SWAT Truck,Table,Tank,Toilet,Train,Trash Can,Tree,Carpet,Nothing")
end
end
end
-- Menu Menu
addhook("menu","HideandSeek3")
function HideandSeek3(id,t,b)
if t=="Choose your Prop" then
if b==1 then
freeimage(id)
id=image("gfx/hide and seek/boat.png",1,1,200+id)
elseif b==2 then
freeimage(id)
id=image("gfx/hide and seek/crate.png",1,1,200+id)
elseif b==3 then
freeimage(id)
id=image("gfx/hide and seek/crate2.png",1,1,200+id)
elseif b==4 then
freeimage(id)
id=image("gfx/hide and seek/crate3.png",1,1,200+id)
elseif b==5 then
freeimage(id)
id=image("gfx/hide and seek/crate4.png",1,1,200+id)
elseif b==6 then
freeimage(id)
id=image("gfx/hide and seek/crate5.png",1,1,200+id)
elseif b==7 then
freeimage(id)
id=image("gfx/hide and seek/crate6.png",1,1,200+id)
elseif b==8 then
freeimage(id)
id=image("gfx/hide and seek/computer.png",1,1,200+id)
elseif b==9 then
freeimage(id)
end
elseif t=="Choose your Prop 2" then
if b==1 then
freeimage(id)
id=image("gfx/hide and seek/Bed.png",1,1,200+id)
elseif b==2 then
freeimage(id)
id=image("gfx/hide and seek/bed2.png",1,1,200+id)
elseif b==3 then
freeimage(id)
id=image("gfx/hide and seek/bed3.png",1,1,200+id)
elseif b==4 then
freeimage(id)
id=image("gfx/hide and seek/car.png",1,1,200+id)
elseif b==5 then
freeimage(id)
id=image("gfx/hide and seek/chair.png",1,1,200+id)
elseif b==6 then
freeimage(id)
id=image("gfx/hide and seek/Computer.png",1,1,200+id)
elseif b==7 then
freeimage(id)
id=image("gfx/hide and seek/cooker.png",1,1,200+id)
elseif b==8 then
freeimage(id)
id=image("gfx/hide and seek/Couch.png",1,1,200+id)
elseif b==9 then
freeimage(id)
end
elseif t=="Choose your Prop 3" then
if b==1 then
freeimage(id)
id=image("gfx/hide and seek/SWAT Truck.png",1,1,200+id)
elseif b==2 then
freeimage(id)
id=image("gfx/hide and seek/Table.png",1,1,200+id)
elseif b==3 then
freeimage(id)
id=image("gfx/hide and seek/Tank.png",1,1,200+id)
elseif b==4 then
freeimage(id)
id=image("gfx/hide and seek/Toilet.png",1,1,200+id)
elseif b==5 then
freeimage(id)
id=image("gfx/hide and seek/Train.png",1,1,200+id)
elseif b==6 then
freeimage(id)
id=image("gfx/hide and seek/Trash Can.png",1,1,200+id)
elseif b==7 then
freeimage(id)
id=image("gfx/hide and seek/Tree.png",1,1,200+id)
elseif b==8 then
freeimage(id)
id=image("gfx/hide and seek/carpet1.bmp",1,1,200+id)
elseif b==9 then
freeimage(id)
end
end
end
Good afternoon