Alexandru Armanu's Content - GAMELIFE România Jump to content

Alexandru Armanu

Members
  • Posts

    355
  • Joined

  • Last visited

  • Days Won

    4

Files posted by Alexandru Armanu

  1. More information about "Advertisements 2.0"

    Free

    Advertisements 2.0

    This is a simple advertisements plugin. It supports center, chat, hint, menu and top messages.

    sm_advertisements_enabled (0/1, def 1)
    Enable/disable displaying advertisements.

    sm_advertisements_file (def "advertisements.txt")
    File to read the advertisements from. Useful if you're running multiple servers from one installation, and want to use different advertisements per server.

    sm_advertisements_interval (def 30)
    Amount of seconds between advertisements.

    sm_advertisements_reload
    Server command to reload the advertisements from advertisements.txt.

    By default the plugin reads the advertisements from configs/advertisements.txt, which has this format:
     
    Code:
    "Advertisements" { "1" { "chat" "{green}contact@domain.com" } "2" { "top" "www.domain.com" "flags" "a" } } Make sure to save this file in UTF-8 (without BOM), otherwise special characters will not work!

    Types

    The following types are supported:

    center: A center message, like sm_csay.
    hint: A hint message, like sm_hsay.
    menu: A menu message, like sm_msay, but without the title or the Exit-option. Pressing 0 will still hide the message, but it will block 1-9 from switching weapons as long as it's showing.
    chat: A chat message, like sm_say. A list of supported colors can be found on https://github.com/KissLick/ColorVariables.
    top: A top-left message, like sm_tsay. It supports any of the colors listed on https://www.doctormckay.com/morecolors.php, or custom colors with {#abcdef}.

    Multiple types per advertisement are allowed, so you can show a different text in multiple places at the same time.

    Text

    This field supports the following variables: {currentmap}, {date}, {time}, {time24} and {timeleft}. Next to that you can print the value of a cvar by enclosing the name with {}, for example {sm_nextmap} would show the name of the next map. Also supports \n for newlines (works for center, chat and menu messages). A couple of examples are given in the supplied advertisements.txt.

    Flags

    This field is optional. It accepts a list of flags of admins that will not see the advertisement if they have any of those flags. If left empty, only admins will see the advertisement. If omitted everyone will see the advertisement.
     
    Sursa: https://forums.alliedmods.net/showthread.php?t=155705

    4 downloads

       (0 reviews)

    0 comments

    Submitted

  2. More information about "Admins Online in meniu (cu grade)"

    Free

    Admins Online in meniu (cu grade)

    Nume: Admins Online
    Versiune: 1.1
    Autor: tre3fla
    Plugins: 
    #include <sourcemod> Handle: Style public Plugin:myinfo = { name = "Admins Online", author = "tre3fla", description = "Arata adminii online", version = "1.1", url = "gamelife.ro" } public OnPluginStart( ) { Style = CreateConVar( "sm_adminmenu_style", "0", "0=adminii pot fi selectati si meniul dispare, 1=adminii nu pot fi selectati" ) RegConsoleCmd( "admins", Command_ShowAdminsOnline ) } public Action: Command_ShowAdminsOnline( client, args ) { new Handle:AdminsOnline = CreateMenu( AdminsOnline_Handler ) SetMenuTitle( AdminsOnline, "Admin Name | Admin Group" ) int Admins = 0 for( new index = 1; index < MaxClients; index++ ) { if( IsClientInGame( index ) ) { new AdminId: ClientAccess = GetUserAdmin( index ) if( ClientAccess ) { new AdminGroupsCount = GetAdminGroupCount( ClientAccess ) for( new x = 0; x < AdminGroupsCount; x++ ) { decl String:GroupBuffer[ 32 ] if( ( GetAdminGroup( ClientAccess, x, GroupBuffer, sizeof( GroupBuffer ) ) != INVALID_GROUP_ID ) ) { Admins++ decl String: AdminNameAndGroup[ 64 ] Format( AdminNameAndGroup, sizeof( AdminNameAndGroup ), "%N | %s", index, GroupBuffer ) switch( GetConVarInt( Style ) ) { case 0: { AddMenuItem( AdminsOnline, "selected", AdminNameAndGroup ) } case 1: { AddMenuItem( AdminsOnline, "selected", AdminNameAndGroup, ITEMDRAW_DISABLED ) } } } } } } } if( Admins <= 0 ) { PrintToChat( client, "*\x02 Nu este nici un admin connectat!" ) } else { PrintToChat( client, "*\x05 In acest moment sunt\x04 %d\x05 admini online!", Admins ) } SetMenuExitButton( AdminsOnline, true ) DisplayMenu( AdminsOnline, client, 30 ) } public AdminsOnline_Handler( Handle:AdminsOnline, MenuAction:action, pos, neg ) { switch( action ) { case MenuAction_Select: { decl String: Info[ 32 ] GetMenuItem( AdminsOnline, neg, Info, sizeof( Info ) ) if( StrEqual( Info, "selected" ) ) { if( AdminsOnline != INVALID_HANDLE ) { CancelMenu( AdminsOnline ) } } } case MenuAction_End: { if( AdminsOnline != INVALID_HANDLE ) { CancelMenu( AdminsOnline ) } } } }

    Descriere:
    Cu ajutorul acestui plugin jucatorii pot vedea ce admini sunt online si ce grade au acestia daca scriu o comanda in chat.

    ConVar-uri (se adauga in autoexec.cfg)
    Comenzi:
    Cerinte:
    - Va trebui sa dati adminele pe baza de grupuri, aveti aici un tutorial cum puteti face asta: tutoriale-csgo/cum-dai-admin-baza-grupuri-t344208.html

    Instalare:
    1. Fisierul AdminsOnline.sp il puneti in addons/sourcemod/scripting
    2. Fisierul AdminsOnline.smx il puneti in addons/sourcemod/plugins
     
     

    13 downloads

       (0 reviews)

    0 comments

    Submitted

  3. More information about "BOT Improver | PLUGIN BOTI CSGO"

    Free

    BOT Improver | PLUGIN BOTI CSGO

    Features
    BOTs have perfect recoil control BOTs will aim for the head BOTs will eco BOTs can either have a M4A1-S or M4A4 BOTs mostly have the USP but sometimes also the P2000 BOTs will inspect their weapons sometimes
    Cvars

    bot_aimlock - "1 = Enable Bot Aimlock , 0 = Disable Bot Aimlock"

    Sursa: https://forums.alliedmods.net/showthread.php?t=320719

    3 downloads

       (0 reviews)

    0 comments

    Updated

×
×
  • Create New...

Important Information