lib/hackers.rb
def cmdPlayerSetName(id, name)
        params = {
          "player_set_name" => "",
          "id"              => id,
          "name"            => name,
          "app_version"     => @config["version"],
        }
        response = @client.request(params, @sid, true, false)
        return response
      end
##
# Sets new player name:
#   id    = Player ID
#   name  = Player name
#
# Returns the string "ok" if the request is successful
Sets new player name:
id    = Player ID
name  = Player name

Returns the string "ok" if the request is successful
Sets new player name : id = Player ID name = Player name Returns the string " ok " if the request is successful
def cmdPlayerSetName(id, name)
        params = {
          "player_set_name" => "",
          "id"              => id,
          "name"            => name,
          "app_version"     => @config["version"],
        }
        response = @client.request(params, @sid, true, false)
        return response
      end
def cmdPlayerSetName ( id , name ) params = { "player_set_name" => "" , "id" => id , "name" => name , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid , true , false ) return response end
Sets new player name:
id    = Player ID
name  = Player name
Sets new player name : id = Player ID name = Player name
id
name