lib/hackers.rb
def cmdCreateProgram(type)
        params = {
          "create_program"  => 1,
          "id_player"       => @config["id"],
          "id_program"      => type,
          "app_version"     => @config["version"],
        }
        response = @client.request(params, @sid)
        return response.to_i
      end
##
# Creates program:
#   type = Program type
#
# Returns the ID of the created program
Creates program:
type = Program type

Returns the ID of the created program
Creates program : type = Program type Returns the ID of the created program
def cmdCreateProgram(type)
        params = {
          "create_program"  => 1,
          "id_player"       => @config["id"],
          "id_program"      => type,
          "app_version"     => @config["version"],
        }
        response = @client.request(params, @sid)
        return response.to_i
      end
def cmdCreateProgram ( type ) params = { "create_program" => 1 , "id_player" => @config [ "id" ] , "id_program" => type , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) return response . to_i end
Creates program:
type = Program type
Creates program : type = Program type
type