Steam VIP add "flag bityr" + Tag [Steam VIP]

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
Infamous2017
Membru, skill 0
Membru, skill 0
Posts: 98
Joined: 11 Feb 2017, 12:13
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

10 Nov 2018, 17:35

Hello, can anyone add flags ADMIN_RESERVATION "b" / ADMIN_CHAT "i" / ADMIN_LEVEL_H "t" / ADMIN_LEVEL_F "r" / and ADMIN_ADMIN "y" to this Steam VIP Plugin?

Second: Can anyone add Tag too ? Then it should showing before the Nickname for Flag "y" [Steam VIP] ?

It would be really cool. Thanks.
| Afiseaza codul
#include <amxmodx>
#include <colorchat>
 
#define PLUGIN "FREE VIP"
#define VERSION "1.0"
#define AUTHOR "Devil"
 
#define flaga ADMIN_USER
 
new Forward_amxbans,iRet
 
public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        Forward_amxbans= CreateMultiForward("amxbans_admin_connect",ET_IGNORE,FP_CELL)
}
public client_connect(id)
{
        if(is_steam(id))
        {
                
                set_task(10.0,"Free_VIP",id)
        }
}
public Free_VIP(id)
{
        ColorChat(id,GREEN,"[~PB~] ^x03You received a free VIP for having a Steam account.")
//      remove_user_flags(id, ADMIN_USER)
        set_user_flags(id, ADMIN_LEVEL_H)
        ExecuteForward(Forward_amxbans, iRet, id);
}
stock bool:is_steam(id) 
{
        new auth[65]
        get_user_authid(id,auth,64)
        if(contain(auth, "STEAM_0:0:") != -1 || contain(auth, "STEAM_0:1:") != -1)
        return true;
        return false;
}
Olium
User avatar
L E V I N
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2039
Joined: 24 Aug 2011, 11:24
Detinator Steam: Da
CS Status:
Detinator server CS: ☯∴
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Location: ҳ̸Ҳ̸ҳ
Has thanked: 33 times
Been thanked: 330 times
Contact:

19 Nov 2018, 19:40

tag in chat?
without tag | Afiseaza codul
#include <amxmodx>
#include <colorchat>
 
#define PLUGIN "FREE VIP"
#define VERSION "1.0"
#define AUTHOR "Devil"
 
#define flaga ADMIN_USER
 
new Forward_amxbans,iRet
 
public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR)
        Forward_amxbans= CreateMultiForward("amxbans_admin_connect",ET_IGNORE,FP_CELL)
}
public client_connect(id)
{
        if(is_steam(id))
        {
                
                set_task(10.0,"Free_VIP",id)
        }
}
public Free_VIP(id)
{
        ColorChat(id,GREEN,"[~PB~] ^x03You received a free VIP for having a Steam account.")
//      remove_user_flags(id, ADMIN_USER)
        set_user_flags(id, ADMIN_LEVEL_H&ADMIN_RESERVATION&ADMIN_CHAT&ADMIN_LEVEL_H&ADMIN_LEVEL_F&ADMIN_ADMIN)
        ExecuteForward(Forward_amxbans, iRet, id);
}
stock bool:is_steam(id) 
{
        new auth[65]
        get_user_authid(id,auth,64)
        if(contain(auth, "STEAM_0:0:") != -1 || contain(auth, "STEAM_0:1:") != -1)
        return true;
        return false;
}
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests