AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   /steam show steamers online (https://forums.alliedmods.net/showthread.php?t=327933)

Mohamed null 10-17-2020 14:19

/steam show steamers online
 
Guys can someone
Make this plugin
say /steam to show steamers online
pls
register_clcmd("say /steam","Show Steamers Online")
register_clcmd("say_team /steam","Show Steamers Online")

fysiks 10-17-2020 14:20

Re: /steam show steamers online
 
If you make your server legal then you'll know that everybody is already using Steam. That is the only advice you will get regarding this.

Mohamed null 10-17-2020 14:24

Re: /steam show steamers online
 
try if u can u are join 2007 OMG u so pro

Fuck For Fun 10-17-2020 14:48

Re: /steam show steamers online
 
Quote:

Originally Posted by Mohamed null (Post 2721655)
try if u can u are join 2007 OMG u so pro

:shock::shock:
HTML Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
       
        register_clcmd("say /steam", "Sep2020");
}

public Sep2020(Null)
{
        client_print_color(Null, Null, "Hi %n, Welcome to AM and make your server legal", Null);
}


Napoleon_be 10-17-2020 16:00

Re: /steam show steamers online
 
Quote:

Originally Posted by Fuck For Fun (Post 2721658)
:shock::shock:
HTML Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
       
        register_clcmd("say /steam", "Sep2020");
}

public Sep2020(Null)
{
        client_print_color(Null, Null, "Hi %n, Welcome to AM and make your server legal", Null);
}


We're october already bro

Supremache 10-17-2020 16:27

Re: /steam show steamers online
 
Try this:

Code:
#include <amxmodx> #include <amxmisc> #define PLUGIN "Check Steam Client" #define VERSION "0.0.1" #define AUTHOR "Supermache" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd( "say /steam", "CheckSteamClient", ADMIN_KICK);     register_clcmd( "say_team /steam", "CheckSteamClient", ADMIN_KICK); } public CheckSteamClient(id, iLevel, iCid) {     if(!cmd_access(id, iLevel, iCid, 1))     {         return PLUGIN_HANDLED     }     new szTitle[128]     formatex(szTitle, charsmax(szTitle), "\yCheck Steamer'S:")     new iPlayers[32], iPnum, iMenu = menu_create(szTitle, "SteamClient")     get_players(iPlayers, iPnum, "ch");     for(new szUserName[32], szUserID[32], g_CheckSteam[51], iPlayer, i = 0; i < iPnum; i++)     {         iPlayer = iPlayers[i];                 get_user_authid(iPlayer, szUserID, charsmax(szUserID))         get_user_name(iPlayer, szUserName, charsmax(szUserName));         if( containi(szUserID, "STEAM_0") != -1 ) {             copy(g_CheckSteam, charsmax(g_CheckSteam), "\r(Steam)");                     }         else {             copy(g_CheckSteam, charsmax(g_CheckSteam), "\r(Non-Steam)");                     }                 formatex( szUserName, charsmax(szUserName), "%s %s", szUserName, g_CheckSteam);         menu_additem(iMenu, szUserName);     }     menu_setprop( iMenu, MPROP_EXITNAME, "Exit" );     menu_setprop( iMenu, MPROP_NEXTNAME, "Next" );     menu_setprop( iMenu, MPROP_BACKNAME, "Back" );             menu_display(id, iMenu)     return PLUGIN_HANDLED } public SteamClient(id, iMenu, iItem) {     menu_destroy(iMenu)     return PLUGIN_HANDLED }

Fuck For Fun 10-17-2020 16:29

Re: /steam show steamers online
 
Quote:

Originally Posted by Napoleon_be (Post 2721666)
We're october already bro

I know .. I took it from the details of him Account -.-

Mohamed null 10-17-2020 16:29

Re: /steam show steamers online
 
Ty guys <3

Mohamed null 10-17-2020 16:31

Re: /steam show steamers online
 
Abdo Ocman
Error: Cannot read from file: "C:\Program Files (x86)\AMX Mod X\amxxstudio\Untitled.sma" on line 0

Supremache 10-17-2020 16:33

Re: /steam show steamers online
 
U should save the file before complie O_O


All times are GMT -4. The time now is 02:29.

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