Skip to content

Instantly share code, notes, and snippets.

@leegao
Created April 19, 2009 00:44
Show Gist options
  • Save leegao/97847 to your computer and use it in GitHub Desktop.
Save leegao/97847 to your computer and use it in GitHub Desktop.
init_mod("sample_move")
function hook_move_sample(p, x, y)
parse(string.format("hudtxt2 %s 1 %sPlayer '%s' is at (%s, %s) 100 100 1", p, Color(255, 100, 0), player(p, "name"), x, y))
end
toMod("sample_move")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment