Re: Show Steam Users Plugin
Posted: 2016 Nov 06 15:37
Do a little research before asking, this was litteraly 1st Page on Google http://counteristrike.com/forums/index. ... rs-online/
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 slowhackSoftero wrote:Register there and it will let u download
noup only way to check or user is steamed player use dproto stock and upload her connect annoncer by dexter remakeDeXTeR 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 annoncei can give you that plugin go skype: dexter-dz-
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}
easily upload your tags sma i will add steam tagInfamous2017 wrote:thx laimiukas3 i will test it and will reply - but i found one and this is working too:
laimiukas3Code: Select all
#include <amxmodx>#include <cstrike> #define ADMIN_LEVEL ADMIN_BAN public plugin_init() { register_plugin("Steam Check [MOTD]", "1.0", "Seroff"); register_clcmd("say /steam", "steamcheck");} public steamcheck(id){ static motd[2000], len; len = 0; len += formatex(motd[len], charsmax(motd) - len,"<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'>"); len += formatex(motd[len], charsmax(motd) - 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>"); len += formatex(motd[len], charsmax(motd) - len,"<body><p></p><center><table cellspacing=0 class=q>"); if(!steam_num()){ len += formatex(motd[len], charsmax(motd) - 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>"); } else { len += formatex(motd[len], charsmax(motd) - 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(motd[len], charsmax(motd) - 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>"); for(new i = 1, Name[32], colorteam[8],steamid[35], teamname[32]; i < get_maxplayers()+1; i++) { if(is_user_connected(i) && !(get_user_flags(i) & ADMIN_LEVEL) && is_user_steam(i)){ get_user_name(i, Name, charsmax(Name)); get_user_authid(i, steamid,charsmax(steamid)); switch(cs_get_user_team(i)) { case 0:{ formatex(colorteam,charsmax(colorteam),"#FFFFFF"); formatex(teamname,charsmax(teamname),"Noch nicht definiert"); } case 1: { formatex(colorteam,charsmax(colorteam),"#E54234"); formatex(teamname,charsmax(teamname),"Terrorist"); } case 2:{ formatex(colorteam,charsmax(colorteam),"#90D6F4"); formatex(teamname,charsmax(teamname),"?????-Terrorist"); } case 3:{ formatex(colorteam,charsmax(colorteam),"#FFFFFF"); formatex(teamname,charsmax(teamname),"Spectrator"); } } len += formatex(motd[len], charsmax(motd) - 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); } } } len += formatex(motd[len], charsmax(motd) - len,"</table>"); len += formatex(motd[len], charsmax(motd) - len,"</center>"); len += formatex(motd[len], charsmax(motd) - len," </body></html>"); show_motd(id, motd, "Steam Online");} stock steam_num(){ static Num; Num=0; for(new i = 1; i < get_maxplayers(); i++) { if(is_user_connected(i) && !(get_user_flags(i) & ADMIN_LEVEL) && is_user_steam(i)){ Num++; } } return Num} 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}]
-- 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?