prittier code

This commit is contained in:
Jeena Paradies 2011-05-05 05:12:19 +02:00
parent 792e57bde9
commit d69b12b8d6

View file

@ -89,7 +89,10 @@ expose(Global, Table) ->
{"sendCommand", fun(#erlv8_fun_invocation{}, [Player, Command, Args])-> {"sendCommand", fun(#erlv8_fun_invocation{}, [Player, Command, Args])->
ggs_table:send_command(Table, Player, {Command, Args}) ggs_table:send_command(Table, Player, {Command, Args})
end}, end},
{"sendCommandToAll", fun(#erlv8_fun_invocation{}, [Command, Args])-> ggs_table:notify_all_players(Table, {Command, Args}) end} {"sendCommandToAll", fun(#erlv8_fun_invocation{}, [Command, Args])->
erlang:display(Args),
ggs_table:notify_all_players(Table, {Command, Args})
end}
%{"setTimeout", fund(#erlv8_fun_invocation{}, [Time, FunctionName])-> setTimeout(Time, FunctionName) end} %{"setTimeout", fund(#erlv8_fun_invocation{}, [Time, FunctionName])-> setTimeout(Time, FunctionName) end}
])). ])).