Witam posiadam sklep ghosta 1.3.0 i wgralem api 1shot1kill od byczus, lecz chciałbym zmienić jedną rzecz, gdy gracz wyśle smsa za 30,75zł doładowywuje mu 16,25 a chciałbym, żeby doładowywało mu 30,75zł Jak to ustawić???
<?php defined('SYSPATH') or die('No direct script access.');
class Payments_shotKill {public function check( $sms, $numer = NULL, $code = NULL ) {$api = Core::setting( ) -> get( 'keyapi_1shot1kill' );$content = @file_get_contents( "http://www.1shot1kil...sms&comment=APIby byCZUS");$return = json_decode( $content, true );if( !is_array( $return ) )return array( 0.0, 'Błąd w API' );if( $return[ 'status' ] == 'ok' )return array( $return[ 'amount' ], 'Portfel został doładowany' );return array( 0.0, $return[ 'desc' ] );}public function rates( ) {$rates = array(array( 'numer' => 7169, 'text_sms' => 'SHOT', 'cost' => 1.23, 'amount' => 0.65 ),array( 'numer' => 72550, 'text_sms' => 'SHOT', 'cost' => 2.46, 'amount' => 1.3 ),array( 'numer' => 73550, 'text_sms' => 'SHOT', 'cost' => 3.69, 'amount' => 1.95 ),array( 'numer' => 74550, 'text_sms' => 'SHOT', 'cost' => 4.92, 'amount' => 2.6 ),array( 'numer' => 75550, 'text_sms' => 'SHOT', 'cost' => 6.15, 'amount' => 3.25 ),array( 'numer' => 76550, 'text_sms' => 'SHOT', 'cost' => 7.38, 'amount' => 3.9 ),array( 'numer' => 79550, 'text_sms' => 'SHOT', 'cost' => 11.07, 'amount' => 5.85 ),array( 'numer' => 91986, 'text_sms' => 'SHOT', 'cost' => 23.37, 'amount' => 12.35 ),array( 'numer' => 92596, 'text_sms' => 'SHOT', 'cost' => 30.75, 'amount' => 16,25 ));return $rates;}}?>