Raised This Month: $51 Target: $400
 12% 

Solved ..


Post New Thread Reply   
 
Thread Tools Display Modes
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 02-26-2017 , 09:17   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #11

Is users.ini a solution?
__________________
Relaxing is offline
khalil15832
Member
Join Date: Dec 2013
Location: Tunisia
Old 02-26-2017 , 09:28   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #12

Quote:
Originally Posted by Relaxing View Post
Is users.ini a solution?
No.
what i should add in script to be plugin work only for steamer
khalil15832 is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 02-26-2017 , 09:32   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #13

Non-steamers has their steamids(fake) too, how're you going to separate them?
__________________
Relaxing is offline
khalil15832
Member
Join Date: Dec 2013
Location: Tunisia
Old 02-26-2017 , 09:38   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #14

Quote:
Originally Posted by Relaxing View Post
Non-steamers has their steamids(fake) too, how're you going to separate them?
But I join Many Servers that have this plugins.
khalil15832 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 02-26-2017 , 10:40   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #15

You're just making it worse for yourself.
__________________
edon1337 is offline
Pawangond
Member
Join Date: Jul 2016
Location: In Your Heart
Old 02-26-2017 , 12:34   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #16

I would say if you want steamers only then remove dproto and if you want both then enjoy nothing to do !


Anyway i hate Non-Steamers
Pawangond is offline
D3XT3R
AlliedModders Donor
Join Date: Nov 2016
Location: Lithuania, Bomb A (Kauna
Old 02-27-2017 , 03:13   Re: Plugin cs 1.6 - Steamers players have vip
Reply With Quote #17

use this simple code ;)
PHP Code:
#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_pluginPLUGINVERSIONAUTHOR )
}
 
public 
client_putinserverid )
{
    
set_task10.0"check_access"id )
}
 
public 
check_accessid )
{
    
steamid ] = ( is_user_steamid ) )
   
    if( 
is_user_connectedid ) && get_user_flagsid ) & ADMIN_USER )
    {
        if( 
steamid ] )
        {
            
ChatColorid"%s^3 Hello^1, You are legal player you got free ^4[VIP]^1 privilage!"PREFIX )
            
remove_user_flagsidread_flags"z" ) )
            
set_user_flagsidread_flags"bit" ) ) // VIP FLAGUS KEISTI CIA
        
}
    }
}
 
stock bool:is_user_steamid )
{
    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 1players[32]
    static 
msg[192]
    
vformat(msg191input3)
   
    
replace_all(msg191"!g""^4"// Green Color
    
replace_all(msg191"!y""^1"// Default Color
    
replace_all(msg191"!t""^3"// Team Color
   
    
if (idplayers[0] = id; else get_players(playerscount"ch")
    {
        for (new 
0counti++)
        {
            if (
is_user_connected(players[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
            }
        }
    }

__________________
D3XT3R is offline
Send a message via Skype™ to D3XT3R
Reply



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 07:25.


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