diff --git a/plugins/admin.sma b/plugins/admin.sma index 62f71233..757447b9 100755 --- a/plugins/admin.sma +++ b/plugins/admin.sma @@ -337,9 +337,7 @@ public client_infochanged(id) } public ackSignal(id) { - new no_entry[64] - format(no_entry,63,"%L",id,"NO_ENTRY") - server_cmd("kick #%d ^"%L^"", get_user_userid(id), no_entry ) + server_cmd("kick #%d ^"%L^"", get_user_userid(id), id, "NO_ENTRY" ) } public client_authorized(id) diff --git a/plugins/adminchat.sma b/plugins/adminchat.sma index 2a76cfb5..a2ec2f26 100755 --- a/plugins/adminchat.sma +++ b/plugins/adminchat.sma @@ -77,14 +77,13 @@ public cmdSayChat(id) { case 'c': a = 6 case 'o': a = 7 } - new name[32], authid[32], userid, color[16] + new name[32], authid[32], userid get_user_authid(id,authid,31) get_user_name(id,name,31) userid = get_user_userid(id) - format(color,15,"%L","en",g_Colors[a]) log_amx("Chat: ^"%s<%d><%s><>^" tsay ^"%s^"",name,userid,authid,message[i+1]) - log_message("^"%s<%d><%s><>^" triggered ^"amx_tsay^" (text ^"%s^") (color ^"%s^")", - name,userid,authid,message[ i+1 ],color) + log_message("^"%s<%d><%s><>^" triggered ^"amx_tsay^" (text ^"%s^") (color ^"%L^")", + name,userid,authid,message[ i+1 ],"en",g_Colors[a]) if (++g_msgChannel>6||g_msgChannel<3) g_msgChannel = 3 new Float:verpos = g_Pos[i][1] + float(g_msgChannel) / 35.0 diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index a2e798c2..82dfbf64 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -220,7 +220,6 @@ public cmdBan(id,level,cid) { get_players(players,pnum,"c") for (new i=0;i<%s><>^" %s server", name,get_user_userid(id),authid, g_Paused ? "unpause" : "pause" ) new pausing[16] - format(pausing,15,"%L",id,g_Paused ? "unpausing" : "pausing") + format(pausing,15,"%L",id,g_Paused ? "UNPAUSING" : "PAUSING") console_print(id,"[AMXX] %L", id, pausing) new activity = get_cvar_num("amx_show_activity") @@ -542,7 +541,6 @@ public cmdPause(id,level,cid) { get_players(players,pnum,"c") for (new i=0;i