Page 1 of 1

Steam free vip

Posted: 2015 Jul 14 08:54
by neris111
Sveiki reikia plugino, kad STEAM kaip prisijungia gautu nemokama vip automatiskai kaip Ƹ̵̡Ӝ̵̨̄Ʒ_MEGAKILL_EU___Public_Serveris[SteamFreeVips] serveri Gal zinote iskur toki gauti ?

Re: Steam free vip

Posted: 2015 Jul 14 11:18
by v1rus
Visai neblogai ir man toks butu plugin.

Re: Steam free vip

Posted: 2015 Jul 14 11:18
by laimiukas3
http://cs-amba.ru/news/plagin_bonusy_za ... 06-16-1534
pilna tokiu ir panasiu pluginu
https://www.google.lt/search?q=%D0%91%D ... 3&dpr=1.25
arba gali savo vip plugine su

Code: Select all

stock is_user_steam( id ){    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 ) ? 1 : 0;    }    return 0;} 
pasidaryt lengvai

Re: Steam free vip

Posted: 2015 Jul 15 22:41
by ArtHa123
Lengviausias variantas -->

Code: Select all

#include <amxmodx> #define PLUGIN  "Auto VIP [STEAM]"#define VERSION "1.0"#define AUTHOR  "ArtHa" new bool:steam[33];new const PREFIX[] = "^1[^4.::VIP::.^1]"; public plugin_init() {    register_plugin( PLUGIN, VERSION, AUTHOR )} public client_putinserver( id ){    set_task( 10.0, "check_access", id )} public check_access( id ){    steam[ id ] = ( is_user_steam( id ) )        if( is_user_connected( id ) && get_user_flags( id ) & ADMIN_USER )    {        if( steam[ id ] )        {            ChatColor( id, "%s^3 Sveiki, jums buvo suteiktos^4 VIP^3 privilegijos, nes esate legalus zaidejas!", PREFIX )            remove_user_flags( id, read_flags( "z" ) )            set_user_flags( id, read_flags( "bit" ) ) // VIP FLAGUS KEISTI CIA        }    }} stock bool:is_user_steam( id ){    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;} stock ChatColor(const id, const input[], any:...){    new count = 1, players[32]    static msg[192]    vformat(msg, 191, input, 3)       replace_all(msg, 191, "!g", "^4") // Green Color    replace_all(msg, 191, "!y", "^1") // Default Color    replace_all(msg, 191, "!t", "^3") // Team Color       if (id) players[0] = id; else get_players(players, count, "ch")    {        for (new i = 0; i < count; i++)        {            if (is_user_connected(players[i]))            {                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])                write_byte(players[i]);                write_string(msg);                message_end();            }        }    }}

Re: Steam free vip

Posted: 2015 Jul 15 22:57
by v1rus
ArtHa123 wrote:Lengviausias variantas -->

Code: Select all

#include <amxmodx> #define PLUGIN  "Auto VIP [STEAM]"#define VERSION "1.0"#define AUTHOR  "ArtHa" new bool:steam[33];new const PREFIX[] = "^1[^4.::VIP::.^1]"; public plugin_init() {    register_plugin( PLUGIN, VERSION, AUTHOR )} public client_putinserver( id ){    set_task( 10.0, "check_access", id )} public check_access( id ){    steam[ id ] = ( is_user_steam( id ) )        if( is_user_connected( id ) && get_user_flags( id ) & ADMIN_USER )    {        if( steam[ id ] )        {            ChatColor( id, "%s^3 Sveiki, jums buvo suteiktos^4 VIP^3 privilegijos, nes esate legalus zaidejas!", PREFIX )            remove_user_flags( id, read_flags( "z" ) )            set_user_flags( id, read_flags( "bit" ) ) // VIP FLAGUS KEISTI CIA        }    }} stock bool:is_user_steam( id ){    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;} stock ChatColor(const id, const input[], any:...){    new count = 1, players[32]    static msg[192]    vformat(msg, 191, input, 3)       replace_all(msg, 191, "!g", "^4") // Green Color    replace_all(msg, 191, "!y", "^1") // Default Color    replace_all(msg, 191, "!t", "^3") // Team Color       if (id) players[0] = id; else get_players(players, count, "ch")    {        for (new i = 0; i < count; i++)        {            if (is_user_connected(players[i]))            {                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])                write_byte(players[i]);                write_string(msg);                message_end();            }        }    }}
Dekuj. Va to ir reikejo.

Re: Steam free vip

Posted: 2015 Jul 16 14:41
by laimiukas3
ArtHa123 > Naujai pateikti pluginai
nes neblogas pluginas :)

Re: Steam free vip

Posted: 2015 Jul 16 15:41
by V1LKAS
laimiukas3 wrote:http://cs-amba.ru/news/plagin_bonusy_za ... 06-16-1534
pilna tokiu ir panasiu pluginu
https://www.google.lt/search?q=%D0%91%D ... 3&dpr=1.25
arba gali savo vip plugine su

Code: Select all

stock is_user_steam( id ){    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 ) ? 1 : 0;    }    return 0;} 
pasidaryt lengvai
Tai kodėl nepadarei lengvai, negi buvo chatcolor stocką įdėti ir kelias eilutes, būtum savo new plug turėjas :2D:

Re: Steam free vip

Posted: 2015 Jul 16 18:20
by laimiukas3
as turejau omenyje ne atskira plugina o vip plugino perdaryma lengvai
o pluginu as nekuriu nes nemoku

Re: Steam free vip

Posted: 2015 Jul 21 12:53
by ArtHa123
laimiukas3 wrote:ArtHa123 > Naujai pateikti pluginai
nes neblogas pluginas :)
http://amxmodx.lt/viewtopic.php?f=12&t=6612
Pateikiau daug patogesne ir geresne versiją.