Page 1 of 1

Re: Show Steam Users Plugin

Posted: 2016 Nov 06 15:37
by Softero
Do a little research before asking, this was litteraly 1st Page on Google http://counteristrike.com/forums/index. ... rs-online/

Re: Show Steam Users Plugin

Posted: 2016 Nov 06 19:49
by Softero
Register there and it will let u download

Re: Show Steam Users Plugin

Posted: 2016 Nov 06 19:56
by laimiukas3
Softero wrote:Register there and it will let u download
ther is no sma file is rabish maby in this amxx file is slowhack ? newer and newer dont add amxx file compile your self from sma to amxx and open sma file check or is no slowhack

Re: Show Steam Users Plugin

Posted: 2016 Nov 11 13:56
by DeXTeR
yes its possible only use connect annoncer from alliedmoders and change access of ADMIN_LEVEL_H to other one (STEAM ACCESS) and creat steam checker mean when some one connect have steam will be annonce :) i can give you that plugin go skype: dexter-dz-

Re: Show Steam Users Plugin

Posted: 2016 Nov 11 16:40
by laimiukas3
DeXTeR wrote:yes its possible only use connect annoncer from alliedmoders and change access of ADMIN_LEVEL_H to other one (STEAM ACCESS) and creat steam checker mean when some one connect have steam will be annonce :) i can give you that plugin go skype: dexter-dz-
noup only way to check or user is steamed player use dproto stock and upload her connect annoncer by dexter remake :asian:

exemple

Code: Select all

#include <amxmodx>#include <amxmisc>#include <cstrike> public client_connect(id){          server_print("Client steam? [%s]",is_user_steam(id) ? "Yes":"No")          }stock bool:is_user_steam(id){// Author Sh0oter        static dp_pointer        if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))        {            server_cmd("dp_clientinfo %d", id)            server_exec()            return (get_pcvar_num(dp_pointer) == 2) ? true : false        }        return false}


Image

Re: Show Steam Users Plugin

Posted: 2016 Nov 12 14:49
by laimiukas3
Infamous2017 wrote:thx laimiukas3 i will test it and will reply - but i found one and this is working too:

Code: Select all

#include <amxmodx>#include <cstrike> #define ADMIN_LEVEL ADMIN_BAN public plugin_init&#40;&#41; &#123;    register_plugin&#40;"Steam Check [MOTD]", "1.0", "Seroff"&#41;;    register_clcmd&#40;"say /steam", "steamcheck"&#41;;&#125; public steamcheck&#40;id&#41;&#123;        static motd&#91;2000&#93;, len;        len = 0;        len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"&#41;;        len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"<STYLE>body{background:#4c5844;color:#d8ded3;font-family:sans-serif}table{width:100%%;line-height:160%%;font-size:12px}th{border:1px solid;border-color:#889180 #282e22 #282e22 #889180;background:#4c5844;color:#c4b550;padding-left:5px;font:normal;text-align:left}.q{border:1px solid;border-color:#282e22 #889180 #889180 #282e22}tr{background:#3e4637} div{text-align: center; }</STYLE>"&#41;;        len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"<body><p></p><center><table cellspacing=0 class=q>"&#41;;    if&#40;!steam_num&#40;&#41;&#41;&#123;      len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"<br><br><br><br><br><br><br><br> <caption><div style=^"margin: 15px;^"> <font size=^"5^" color=^"#c4b550^" > <b >Now there is no steam players</b></font></div><br></caption>");    &#125;    else    &#123;      len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"  <caption><div style=^"margin: 15px;^"> <font size=^"5^" color=^"#c4b550^" > <b >Number of steam players: %d</b></font></div><br></caption>",steam_num());      len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"<tr><th style=^"width: 50%^"><div>#</div></th><th style=^"width: 50%^"><div>Name</div></th> <th style=^"width:10%^"><div>SteamID</div></th>   <th style=^"width:10%^"><div>Command</div></th> </tr>"&#41;;      for&#40;new i = 1, Name&#91;32&#93;, colorteam&#91;8&#93;,steamid&#91;35&#93;, teamname&#91;32&#93;; i < get_maxplayers&#40;&#41;+1; i++&#41; &#123;       if&#40;is_user_connected&#40;i&#41; && !&#40;get_user_flags&#40;i&#41; & ADMIN_LEVEL&#41; && is_user_steam&#40;i&#41;&#41;&#123;        get_user_name&#40;i, Name, charsmax&#40;Name&#41;&#41;;        get_user_authid&#40;i, steamid,charsmax&#40;steamid&#41;&#41;;        switch&#40;cs_get_user_team&#40;i&#41;&#41;         &#123;           case 0:&#123;        formatex&#40;colorteam,charsmax&#40;colorteam&#41;,"#FFFFFF"&#41;;        formatex&#40;teamname,charsmax&#40;teamname&#41;,"Noch nicht definiert"&#41;;          &#125;          case 1: &#123;        formatex&#40;colorteam,charsmax&#40;colorteam&#41;,"#E54234"&#41;;        formatex&#40;teamname,charsmax&#40;teamname&#41;,"Terrorist"&#41;;          &#125;          case 2:&#123;        formatex&#40;colorteam,charsmax&#40;colorteam&#41;,"#90D6F4"&#41;;        formatex&#40;teamname,charsmax&#40;teamname&#41;,"?????-Terrorist"&#41;;          &#125;          case 3:&#123;        formatex&#40;colorteam,charsmax&#40;colorteam&#41;,"#FFFFFF"&#41;;        formatex&#40;teamname,charsmax&#40;teamname&#41;,"Spectrator"&#41;;          &#125;                  &#125;        len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len," <tr><br><td><div style=^"margin: 10px;^"><b>%d</b></div></td> <td><div style=^"margin: 10px;^"><b>%s</b></div></td> <td><div style=^"margin: 10px;^"><b>%s</b></div></td> <td><div style=^"margin: 10px;^"><font color=^"%s^"><b>%s</b></font> </div></td></tr>",i,Name,steamid,colorteam,teamname&#41;;      &#125;     &#125;    &#125;        len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"</table>"&#41;;    len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"</center>"&#41;;        len += formatex&#40;motd&#91;len&#93;, charsmax&#40;motd&#41; - len,"  </body></html>"&#41;;        show_motd&#40;id, motd, "Steam Online"&#41;;&#125; stock steam_num&#40;&#41;&#123;  static Num;  Num=0;  for&#40;new i = 1; i < get_maxplayers&#40;&#41;; i++&#41; &#123;    if&#40;is_user_connected&#40;i&#41; && !&#40;get_user_flags&#40;i&#41; & ADMIN_LEVEL&#41; && is_user_steam&#40;i&#41;&#41;&#123;      Num++;    &#125;  &#125;  return Num&#125; stock bool:is_user_steam&#40;id&#41;&#123;// Author Sh0oter        static dp_pointer        if&#40;dp_pointer || &#40;dp_pointer = get_cvar_pointer&#40;"dp_r_id_provider"&#41;&#41;&#41;        &#123;            server_cmd&#40;"dp_clientinfo %d", id&#41;            server_exec&#40;&#41;            return &#40;get_pcvar_num&#40;dp_pointer&#41; == 2&#41; ? true : false        &#125;        return false&#125;&#93;
steamcheck.sma
laimiukas3

-- 2016 Nov 12 12:45 --

What u posted is working but it crash my rank tags like owner/admin/vip before the nickname and remove it... and [Steam] coming after nickname, i thought it works like :

[Steam] [Admin] Nickname: Message -- is that possible anywhere?
easily upload your tags sma i will add steam tag