Show Steam Users Plugin

Šiame forume vartotojai gali prašyti jiems reikiamo plugino.
Forum rules
Šiame forume galite siūlyti idėjas ar prašyti jums reikalingų pluginų. Jei kas nors pradės jį kurti, tai pasirašys Jūsų sukurtoje temoje. Niekada nepykite, jei niekas neatsako į Jūsų prašymą. Gal tai tiesiog per sudėtinga, arba reikalauja per daug darbo.
Post Reply
Softero
Jau po truputį tampa savu
Posts: 174
Joined: 2016 Jan 17 20:11
Skype: Einartas10

Re: Show Steam Users Plugin

Post by Softero »

Do a little research before asking, this was litteraly 1st Page on Google http://counteristrike.com/forums/index. ... rs-online/
cs1.6 pluginų , bei web sistemų kūrimas
discord: Softero#0457
Email: [email protected]

Softero
Jau po truputį tampa savu
Posts: 174
Joined: 2016 Jan 17 20:11
Skype: Einartas10

Re: Show Steam Users Plugin

Post by Softero »

Register there and it will let u download
cs1.6 pluginų , bei web sistemų kūrimas
discord: Softero#0457
Email: [email protected]

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Show Steam Users Plugin

Post 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
Image
Image
Image

DeXTeR
Ar jis surinks 50 žinučių?
Posts: 32
Joined: 2016 Aug 19 18:28
Skype: DeXTeR-Dz-

Re: Show Steam Users Plugin

Post 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-

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Show Steam Users Plugin

Post 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
Attachments
steam_tag.sma
(11.54 KiB) Downloaded 714 times
Image
Image
Image

User avatar
laimiukas3
Moderatorius
Posts: 4569
Joined: 2012 Aug 03 01:12
Skype: laimiukas3
Location: Vilnius
Contact:

Re: Show Steam Users Plugin

Post 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
Image
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests