You can also use `$this->api->console->run("spawn", $data["targetentity"]->player);`.