This is my first Happy Town server and i need help!
First- I need a admin script;
2)I need help to create clan forum.
Better help = ADMIN!
Help me please!
Sorry for bad english.
function echo(id,...) s = "" for i,v in ipairs(arg) do s = s..tostring(v).." " end msg2(id,s) end addhook("usebutton","h_usebutton") function h_usebutton(id,x,y) --echo(id,x*32,y*32) dir = entity(x,y,"int1") tg = entity(x,y,"trigger") local px,py = x*32,y*32 local minx,maxx,miny,maxy = px,px+32,py,py+32 local playerx,playery = player(id,"x"),player(id,"y") if playerx < maxx and playerx > minx and playery < maxy and playery > miny then --echo(id,"valid trigger") else echo(id,"invalid trigger, hack detected!") parse("trigger "..tg) -- trigger again to undo end end