Testing Code

Should this code still work?

<!doctype html>


player = getPlayerShip(-1)
if player == nil then return {error = "No ship"} end
return {hull = player:getHull() / player:getHullMax()}



function send()
$.post('exec.lua', $("#script").val(), function(data) {
}, "json")
.fail(function(x, y, reason) {

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!