L 12/28/2019 - 11:12:44: Info (map "de_dust2x2") (file "addons/amxmodx/logs/error_20191228.log")
L 12/28/2019 - 11:12:44: String formatted incorrectly - parameter 5 (total 4)
L 12/28/2019 - 11:12:44: [AMXX] Displaying debug trace (plugin "pluginas.amxx", version "0.3")
L 12/28/2019 - 11:12:44: [AMXX] Run time error 25: parameter error
L 12/28/2019 - 11:12:44: [AMXX] [0] fb_fowards.sma::show (line 42)
Code: Select all
#include <amxmodx>#include <amxmisc> forward fbans_player_banned_pre(id, userid)forward amxbans_player_banned(id, bid)forward fbans_player_banned_post(id, userid, bid) public fbans_player_banned_pre(id, userid){ server_cmd("amx_screen #%d 3", userid)} public amxbans_player_banned(id, bid){ static data[1] data[0] = bid set_task(3.0, "show", id, data, 1) // } public fbans_player_banned_post(id, userid, bid){ // } public show(data[], id){ if(is_user_connected(id)) { static url[128] formatex(url, 127, "http://amxmodx.lt/ban/motd.php?sid=%s&adm=%d&lang=%s", data[0]) /// (line 42) show_motd( id, url, "You are banned") }} public client_disconnected(id) remove_task(id)
formatex(url, 127, "http://amxmodx.lt/ban/motd.php?sid=%d&adm=0&lang=ru", data[0])
