Advertisement
Tectoon

[TFM] Executar Mapa XML com comando + Admin

Sep 25th, 2015
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.84 KB | None | 0 0
  1. function eventChatCommand(p,command)
  2. if command == "mapxml" and p==[[Sagazgamer]] then
  3. tfm.exec.newGame('<C><P F="3" /><Z><S><S P="0,0,0.3,0.2,0,0,0,0" L="800" H="227" X="397" Y="483" T="0" /><S P="0,0,0.3,0,0,0,0,0" L="10" H="10" X="797" Y="376" T="10" /><S P="0,0,0.3,0,0,0,0,0" H="107" L="52" X="740" c="2" Y="315" T="10" /><S P="0,0,0.3,0,0,0,0,0" H="81" L="55" X="47" c="2" Y="337" T="10" /><S P="0,0,0.3,0,0,0,0,0" H="90" L="90" X="334" c="2" Y="325" T="10" /><S P="0,0,0.3,0,0,0,0,0" X="189" L="55" H="81" c="2" Y="332" T="10" /><S P="0,0,0.3,0,0,0,0,0" X="471" L="90" H="90" c="2" Y="326" T="10" /><S P="0,0,0.3,0,0,0,0,0" X="603" L="52" H="107" c="2" Y="315" T="10" /></S><D><F Y="312" X="188" /><T Y="342" X="468" /></D><O /></Z></C>')
  4. end
  5. end
  6. for i,command in ipairs({"mapxml"}) do
  7.         system.disableChatCommandDisplay(command)
  8.         end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement