|
Post by wilson on Dec 28, 2009 3:16:50 GMT 2
This scsript will show your Position With A Hudtxt
addhook("spawn","spawns") addhook("move","moves") addhook("movetile","tile") addhook("die","dies") function txt2(id,tid,txt,x,y,align) parse('hudtxt2 '..id..' '..tid..' "'..txt..'" '..x..' '..y..' '..align) end function ctxt2(id) for i = 0, 1 do parse("hudtxt2 "..id.." "..i.." \"\" 0 0 0") end end function spawns(id) txt2(id,0,"©255255255X: "..player(id,"x").."",3,415,0) txt2(id,1,"©255255255Y: "..player(id,"y").."",3,430,0) end function moves(id) txt2(id,0,"©255255255X: "..player(id,"x").."",3,415,0) txt2(id,1,"©255255255Y: "..player(id,"y").."",3,430,0) end function tile(id) txt2(id,0,"©255255255X: "..player(id,"x").."",3,415,0) txt2(id,1,"©255255255Y: "..player(id,"y").."",3,430,0) end function dies(id) ctxt2(id) end
|
|
|
Post by BetaM (mat5b) on Dec 28, 2009 9:51:58 GMT 2
Pretty handy.
|
|
Doyle1129
Junior Member
MAH JEEZUS WIL BEE WIF MI!!!
Posts: 57
|
Post by Doyle1129 on Dec 29, 2009 6:43:23 GMT 2
Sounds lua is hard
|
|
|
Post by wilson on Dec 29, 2009 19:47:36 GMT 2
lua isn't hard,just a bit of parctice and you're done
|
|