Raised This Month: $32 Target: $400
 8% 

Show Steam id plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SAJAL
Junior Member
Join Date: May 2020
Old 05-21-2020 , 06:29   Show Steam id plugin
Reply With Quote #1

Can I request a plugin which will show the player his/her steam id in console and chat when they type /steam or /steamid in game chat.
SAJAL is offline
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 05-21-2020 , 06:40   Re: Show Steam id plugin
Reply With Quote #2

Plugin By: Fuck For Fun

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Fuck For Fun"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /mysteamid""ClientSteamID" );
}

public 
ClientSteamIDIndex )
{
    new 
szAuth[35];
    
get_user_authid(IndexszAuthcharsmax(szAuth));
    
    
//client_print_color(Index, print_team_red, "Hello %n, your steamid is: %s", szAuth); // Request AMXX 1.8.3+
    
client_print(Indexprint_chat"your steamid is: %s"szAuth);

alferd is offline
Godofwar
AlliedModders Donor
Join Date: Dec 2015
Location: Germany
Old 05-21-2020 , 07:20   Re: Show Steam id plugin
Reply With Quote #3

But why u dont add only in console: status

Then u will see all steamids too.

Last edited by Godofwar; 05-21-2020 at 07:20.
Godofwar is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-21-2020 , 07:55   Re: Show Steam id plugin
Reply With Quote #4

Quote:
Originally Posted by alferd View Post
Plugin By: Fuck For Fun

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Fuck For Fun"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /mysteamid""ClientSteamID" );
}

public 
ClientSteamIDIndex )
{
    new 
szAuth[35];
    
get_user_authid(IndexszAuthcharsmax(szAuth));
    
    
//client_print_color(Index, print_team_red, "Hello %n, your steamid is: %s", szAuth); // Request AMXX 1.8.3+
    
client_print(Indexprint_chat"your steamid is: %s"szAuth);

Approver

Just
HTML Code:
client_print(Index, print_chat, "your steamid is: %s", szAuth);
->
PHP Code:
console_print(Index"your steamid is: %s"szAuth); 
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode