Cerere Plugin VIP TAG in Display Score

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

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
User avatar
Omul Plugin
Membru, skill 0
Membru, skill 0
Posts: 74
Joined: 29 Jan 2013, 09:25
Detinator Steam: Da
CS Status: ROOT @ BRASOV.CS1.RO
Detinator server CS: BRASOV.CS1.RO
SteamID: PucK
Location: Brasov
Has thanked: 6 times
Contact:

03 Feb 2013, 15:13

As vrea si eu pluginul acela, sa apara VIP , in tabelul de score la urmatoarul flag: h

Am cautat dar nu l-am gasit
Image
.::BRASOV.CS1.RO::. #SIMPLY FOR YOU
Daca crezi ca poti face fata atunci conecteaza-te.
Rapidserver
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5341
Joined: 27 May 2012, 10:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

03 Feb 2013, 17:12

| Afiseaza codul
[code]#include <amxmodx>
#include <hamsandwich>

#define PLUGIN "VIP"
#define VERSION "1.0"
#define AUTHOR "Nu stiu:|"

#define VIP_LEVEL      ADMIN_CFG


public plugin_init() {
        register_plugin(PLUGIN, VERSION, AUTHOR); 		 
        RegisterHam(Ham_Spawn, "player", "Spawn", 1);  
} 

public Spawn(id) {
        new GetFlags = get_user_flags(id);

        if(is_user_alive(id)) {
                if(GetFlags & VIP_LEVEL) {
                        set_task(0.5, "iScoreBoard", id + 6969)
                }
        }
}

public iScoreBoard(tID) {
        new id = tID - 6969;
        
        message_begin(MSG_ALL, get_user_msgid("ScoreAttrib"));
        write_byte(id);
        write_byte(4);
        message_end();
}[/code]


H = ADMIN_CFG, daca te refereai la ADMIN_LEVEL_H inseamna ca voiai pentru flagul T
User avatar
Omul Plugin
Membru, skill 0
Membru, skill 0
Posts: 74
Joined: 29 Jan 2013, 09:25
Detinator Steam: Da
CS Status: ROOT @ BRASOV.CS1.RO
Detinator server CS: BRASOV.CS1.RO
SteamID: PucK
Location: Brasov
Has thanked: 6 times
Contact:

03 Feb 2013, 17:26

Multumesc tr3fla!
Image
.::BRASOV.CS1.RO::. #SIMPLY FOR YOU
Daca crezi ca poti face fata atunci conecteaza-te.
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: Facebook [Bot] and 16 guests