User
Pass
2FA
 
 

Modificare plugin
Go to page 1, 2  Next    
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support
Author Message2842
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 21-04-2017, 20:02:55 | Translate post to: ... (Click for more languages)

Buna seara! Doresc si eu o mica modificare la acest plugin:
Ce vreau sa contina modificarea: Sa contina un mesaj, ceva gen (EXEMPLU: [RANK CS:GO] DRYincing a evoluat la Silver III.) , un fel de avertisment si sa fie compatibil pentru GUN-GAME.
Multumesc anticipat!


Spoiler:

0 0
  
Back to top
View user's profile Send private message
ZPLegendary

[Mentally Stable]



Status: Offline
(since 03-10-2019 20:59)
Joined: 13 Jan 2017
Posts: 142, Topics: 7
Location: Polovragi, GJ

Reputation: 15.4
Votes: 17

     
Post Posted: 21-04-2017, 21:07:58 | Translate post to: ... (Click for more languages)

Testeaza, vezi ca pluginul asta trebuie sa-l ai primul in lista!
Spoiler:


Be the one, not anyone.
Currently working on Zombie Legendary 8.1


0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 21-04-2017, 21:28:52 | Translate post to: ... (Click for more languages)

Este eroare.
Numai asta imi apare in chat, si face spam.
ank CS:GO] Jucatorul DRYincing a evoluat la Rank-ul Gold nova II.
[Rank CS:GO] Jucatorul DRYincing a scazut la Rank-ul Gold nova III.
[Rank CS:GO] Jucatorul DRYincing a evoluat la Rank-ul Gold nova II.
[Rank CS:GO] Jucatorul DRYincing a scazut la Rank-ul Gold nova III.
[Rank CS:GO] Jucatorul DRYincing a evoluat la Rank-ul Gold nova II.
[Rank CS:GO] Jucatorul DRYincing a scazut la Rank-ul Gold nova III.
[Rank CS:GO] Jucatorul DRYincing a evoluat la Rank-ul Gold nova II.
[Rank CS:GO] Jucatorul DRYincing a scazut la Rank-ul Gold nova III.
[Rank CS:GO] Jucatorul DRYincing a evoluat la Rank-ul Gold nova II.
[Rank CS:GO] Jucatorul DRYincing a scazut la Rank-ul Gold nova III.
[Rank CS:GO] Jucatorul DRYincing a evoluat la Rank-ul Gold nova III.

Scoate asta. ([Rank CS:GO] Jucatorul DRYincing a scazut la Rank-ul Gold nova III.) Nu am nevoie de asa ceva.

Update @ 21-04-2017, 22:28:52

Plus de asta, mai are si un radar in dreapta. Scoate si radarul. EU il vreau foarte simplu pluginul. Doar sa arata aia in chat ( ceea ce am zis sus ) si sa aiba TAG si sa fie pe killuri

0 0
  
Back to top
View user's profile Send private message
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 22-04-2017, 17:58:14 | Translate post to: ... (Click for more languages)

Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <csx>

#define MAX_GROUPS 18
#define TASK 666

#define PLUGIN "RangiCSGO"
#define VERSION "1.3"
#define AUTHOR "klqs & Legendary"

#pragma tabsize 0

enum Color {
NORMAL = 1, GREEN, TEAM_COLOR, GREY, RED, BLUE,
};

enum CsTeams {

CS_TEAM_UNASSIGNED = 0,
CS_TEAM_T = 1,
CS_TEAM_CT = 2,
CS_TEAM_SPECTATOR = 3
};

new TeamName[][] = {
"", "TERRORIST", "CT", "SPECTATOR"
};

native CsTeams:cs_get_user_team(index);

new ranga[33];
new cvar
new sync;

new const limit = 18;
new const limit_min = 1
new const rangi[][] = {

{5, "Silver I"},
{15, "Silver II"},
{30, "Silver III"},
{50, "Silver IV"},
{75, "Silver elite"},
{100, "Silver elite master"},
{150, "Gold nova I"},
{200, "Gold nova II"},
{300, "Gold nova III"},
{500, "Gold nova master"},
{750, "Master guardian I"},
{1000, "Master guardian II"},
{1500, "Master guardian elite"},
{2000, "Distinguished master guardian"},
{2500, "Legendary eagle"},
{3000, "Legendary eagle master"},
{5000, "Supreme master first class"},
{999999, "THE GLOBAL ELITE"}
}

new Float:liczby[] = {0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1.0, 1.05, 1.1, 1.15, 1.2, 1.25, 1.3, 1.35, 2000.0}

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("say","hook_say");
register_clcmd("say_team","hook_say2");

register_clcmd("say /rangi", "motd")
sync = CreateHudSyncObj()
register_cvar("rangi_kolor", "0")
}

public client_connect(id)
{
new param[1]
param[0] = id
set_task(1.0,"rank",TASK+id,param,1,"b")
}

public client_disconnect(id)
{
if(task_exists(TASK+id))
remove_task(TASK+id)
}

public rank(param[])
{
new id = param[0]
new stats[8]
new body[8]
get_user_stats(id, stats, body)
if(!is_user_alive(id))
{
id = pev(id, pev_iuser2);
if(!id)
id = param[0]
}
new Float:kdratio[33]
kdratio[id] = float(stats[0]) / float(stats[1])

new name[33]
get_user_name(id,name,32)

if(kdratio[id] >= liczby[ranga[id]] && stats[0] >= rangi[ranga[id]][0] && ranga[id] < limit)
{
ColorChat(0, RED, "^4[Rank CS:GO]^3 Jucatorul^4 %s^3 a evoluat la Rank-ul^4 %s^3.", name, rangi[ranga[id]][1])
ranga[id]++
}


cvar = get_cvar_num("rangi_kolor")
switch(cvar)
{
case 0:
{
set_hudmessage(255, 255, 255, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
case 1:
{
set_hudmessage(255, 0, 0, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
case 2:
{
set_hudmessage(0, 255, 0, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
case 3:
{
set_hudmessage(0, 0, 255, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
}
}

public motd(id)
if(is_user_connected(id))
show_motd(id, "rangi.txt", "Rangi na serwerze");

public hook_say(id) {

if(is_user_bot(id))
return PLUGIN_CONTINUE;

new stats[8]
new body[8]
get_user_stats(id, stats, body)

new Float:kdratio[33]
kdratio[id] = float(stats[0]) / float(stats[1])

if(kdratio[id] >= liczby[ranga[id]] && stats[0] >= rangi[ranga[id]][0] && ranga[id] < limit)
ranga[id]++

if(kdratio[id] < liczby[ranga[id]] && ranga[id] > limit_min)
ranga[id]--

static chat[192];
read_args(chat, sizeof(chat) - 1);
remove_quotes(chat);

if(equali(chat,""))
return PLUGIN_CONTINUE;

new name[33]
get_user_name(id,name,32)

new bool:hasRang = false;
for(new i = 0; i < MAX_GROUPS; i++) {

switch(cs_get_user_team(id)) {

case CS_TEAM_T : ColorChat(0, RED, "^x04[%s]^x03 %s^x01 : %s", rangi[ranga[id]][1], name, chat);
case CS_TEAM_CT : ColorChat(0, BLUE, "^x04[%s]^x03 %s^x01 : %s", rangi[ranga[id]][1], name, chat);
case CS_TEAM_SPECTATOR : ColorChat(0, GREY, "^x04[%s]^x03 %s^x01 : %s", rangi[ranga[id]][1], name, chat);
}
hasRang = true;
}

if(!hasRang)
get_team(id, chat);

return PLUGIN_HANDLED;
}

public hook_say2(id) {

if(is_user_bot(id))
return PLUGIN_CONTINUE;

new stats[8]
new body[8]
get_user_stats(id, stats, body)

new Float:kdratio[33]
kdratio[id] = float(stats[0]) / float(stats[1])


if(kdratio[id] >= liczby[ranga[id]] && stats[0] >= rangi[ranga[id]][0] && ranga[id] < limit)
ranga[id]++

if(kdratio[id] < liczby[ranga[id]] && ranga[id] > limit_min)
ranga[id]--

static chat[192];
read_args(chat, sizeof(chat) - 1);
remove_quotes(chat);

if(equali(chat,""))
return PLUGIN_CONTINUE;

new players[32], num;
get_players(players, num, "c");

new name[33]
get_user_name(id,name,32)

new bool:hasRang = false;
for(new i = 0; i < MAX_GROUPS; i++) {

for(new x = 0; x < num; x++) {

if(get_user_team(players[x]) == get_user_team(id)) {

switch(cs_get_user_team(id)) {

case CS_TEAM_T : ColorChat(players[x], RED, "^x04[%s]^x01(%s)^x03 %s^x01 : %s", rangi[ranga[id]][1], "Terrorist", name, chat);
case CS_TEAM_CT : ColorChat(players[x], BLUE, "^x04[%s]^x01(%s)^x03 %s^x01 : %s", rangi[ranga[id]][1], "Counter-Terrorist", name, chat);
case CS_TEAM_SPECTATOR : ColorChat(players[x], GREY, "^x04[%s]^x01(%s)^x03 %s^x01 : %s", rangi[ranga[id]][1], "Spectator", name, chat);
}
}
}
hasRang = true;
}
if(!hasRang)
get_team2(id, num, players, chat);

return PLUGIN_HANDLED;
}

stock get_team(id, chat[]) {

new name[33]
get_user_name(id,name,32)

switch(cs_get_user_team(id)) {

case CS_TEAM_T : ColorChat(0, RED, "%s%s^x01 : %s", is_user_alive(id) ? "" : "*DEAD*", name, chat);
case CS_TEAM_CT : ColorChat(0, BLUE, "%s%s^x01 : %s", is_user_alive(id) ? "" : "*DEAD*", name, chat);
case CS_TEAM_SPECTATOR : ColorChat(0, GREY, "*SPEC*%s^x01 : %s", name, chat);
}
}

stock get_team2(id, num, players[], chat[]) {

new name[33]
get_user_name(id,name,32)

for(new x = 0; x < num; x++) {
if(get_user_team(players[x]) == get_user_team(id)) {
switch(cs_get_user_team(id)) {
case CS_TEAM_T : ColorChat(players[x], RED, "^x01(Terrorist)^x03 %s^x01 : %s", name, chat);
case CS_TEAM_CT : ColorChat(players[x], BLUE, "^x01(Counter-Terrorist)^x03 %s^x01 : %s", name, chat);
case CS_TEAM_SPECTATOR : ColorChat(players[x], GREY, "^x01(Spectator)^x03 %s^x01 : %s", name, chat);
}
}
}
}

ColorChat(id, Color:type, const msg[], {Float,Sql,Result,_}:...) {
new message[256];

switch(type) {
case NORMAL: // clients scr_concolor cvar color
{
message[0] = 0x01;
}
case GREEN: // Green
{
message[0] = 0x04;
}
default: // White, Red, Blue
{
message[0] = 0x03;
}
}

vformat(message[1], 251, msg, 4);

// Make sure message is not longer than 192 character. Will crash the server.
message[192] = '^0';

new team, ColorChange, index, MSG_Type;

if(id) {
MSG_Type = MSG_ONE;
index = id;
} else {
index = FindPlayer();
MSG_Type = MSG_ALL;
}

team = get_user_team(index);
ColorChange = ColorSelection(index, MSG_Type, type);

ShowColorMessage(index, MSG_Type, message);

if(ColorChange) {
Team_Info(index, MSG_Type, TeamName[team]);
}
}

ShowColorMessage(id, type, message[]) {
static bool:saytext_used;
static get_user_msgid_saytext;
if(!saytext_used)
{
get_user_msgid_saytext = get_user_msgid("SayText");
saytext_used = true;
}
message_begin(type, get_user_msgid_saytext, _, id);
write_byte(id);
write_string(message);
message_end();
}

Team_Info(id, type, team[]) {
static bool:teaminfo_used;
static get_user_msgid_teaminfo;

if(!teaminfo_used) {
get_user_msgid_teaminfo = get_user_msgid("TeamInfo");
teaminfo_used = true;
}
message_begin(type, get_user_msgid_teaminfo, _, id);
write_byte(id);
write_string(team);
message_end();

return 1;
}

ColorSelection(index, type, Color:Type) {
switch(Type) {
case RED:
{
return Team_Info(index, type, TeamName[1]);
}
case BLUE:
{
return Team_Info(index, type, TeamName[2]);
}
case GREY:
{
return Team_Info(index, type, TeamName[0]);
}
}

return 0;
}

FindPlayer() {
new i = -1;

while(i <= get_maxplayers()) {
if(is_user_connected(++i))
return i;
}

return -1;
}
nu stiu despre ce radar vorbesti.


Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 22-04-2017, 19:55:31 | Translate post to: ... (Click for more languages)

Tot asa imi da. Imi face spam in chat.

[Gold nova I] DRYincing : mda
[Gold nova I] DRYincing : mda
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol
[Gold nova II] DRYincing : lol

Daca scriu ceva in chat apare de de vreo 6 ori in chat. Si plus de asta, cand se schimba mapa imi spameaza in chat exact cea ce este mai sus!

0 0
  
Back to top
View user's profile Send private message
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 22-04-2017, 20:11:20 | Translate post to: ... (Click for more languages)

Arata-mi putin plugins.ini

Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 22-04-2017, 20:29:16 | Translate post to: ... (Click for more languages)

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <csx>

#define MAX_GROUPS 18
#define TASK 666

#define PLUGIN "RangiCSGO"
#define VERSION "1.3"
#define AUTHOR "klqs & Legendary"

#pragma tabsize 0

enum Color {
NORMAL = 1, GREEN, TEAM_COLOR, GREY, RED, BLUE,
};

enum CsTeams {

CS_TEAM_UNASSIGNED = 0,
CS_TEAM_T = 1,
CS_TEAM_CT = 2,
CS_TEAM_SPECTATOR = 3
};

new TeamName[][] = {
"", "TERRORIST", "CT", "SPECTATOR"
};

native CsTeams:cs_get_user_team(index);

new ranga[33];
new cvar
new sync;

new const limit = 18;
new const limit_min = 1
new const rangi[][] = {

{5, "Silver I"},
{15, "Silver II"},
{30, "Silver III"},
{50, "Silver IV"},
{75, "Silver elite"},
{100, "Silver elite master"},
{150, "Gold nova I"},
{200, "Gold nova II"},
{300, "Gold nova III"},
{500, "Gold nova master"},
{750, "Master guardian I"},
{1000, "Master guardian II"},
{1500, "Master guardian elite"},
{2000, "Distinguished master guardian"},
{2500, "Legendary eagle"},
{3000, "Legendary eagle master"},
{5000, "Supreme master first class"},
{999999, "THE GLOBAL ELITE"}
}

new Float:liczby[] = {0.55, 0.6, 0.65, 0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1.0, 1.05, 1.1, 1.15, 1.2, 1.25, 1.3, 1.35, 2000.0}

public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("say","hook_say");
register_clcmd("say_team","hook_say2");

register_clcmd("say /rangi", "motd")
sync = CreateHudSyncObj()
register_cvar("rangi_kolor", "0")
}

public client_connect(id)
{
new param[1]
param[0] = id
set_task(1.0,"rank",TASK+id,param,1,"b")
}

public client_disconnect(id)
{
if(task_exists(TASK+id))
remove_task(TASK+id)
}

public rank(param[])
{
new id = param[0]
new stats[8]
new body[8]
get_user_stats(id, stats, body)
if(!is_user_alive(id))
{
id = pev(id, pev_iuser2);
if(!id)
id = param[0]
}
new Float:kdratio[33]
kdratio[id] = float(stats[0]) / float(stats[1])

new name[33]
get_user_name(id,name,32)

if(kdratio[id] >= liczby[ranga[id]] && stats[0] >= rangi[ranga[id]][0] && ranga[id] < limit)
{
ColorChat(0, RED, "^4[Rank CS:GO]^3 Jucatorul^4 %s^3 a evoluat la Rank-ul^4 %s^3.", name, rangi[ranga[id]][1])
ranga[id]++
}


cvar = get_cvar_num("rangi_kolor")
switch(cvar)
{
case 0:
{
set_hudmessage(255, 255, 255, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
case 1:
{
set_hudmessage(255, 0, 0, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
case 2:
{
set_hudmessage(0, 255, 0, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
case 3:
{
set_hudmessage(0, 0, 255, 0.01, 0.22)
ShowSyncHudMsg(id, sync, "[Nick: %s]^n[Ranga: %s]^n[Zabojstwa: %d]^n[K/d ratio %0.2f%]", name , rangi[ranga[id]][1], stats[0], kdratio[id])
}
}
}

public motd(id)
if(is_user_connected(id))
show_motd(id, "rangi.txt", "Rangi na serwerze");

public hook_say(id) {

if(is_user_bot(id))
return PLUGIN_CONTINUE;

new stats[8]
new body[8]
get_user_stats(id, stats, body)

new Float:kdratio[33]
kdratio[id] = float(stats[0]) / float(stats[1])

if(kdratio[id] >= liczby[ranga[id]] && stats[0] >= rangi[ranga[id]][0] && ranga[id] < limit)
ranga[id]++

if(kdratio[id] < liczby[ranga[id]] && ranga[id] > limit_min)
ranga[id]--

static chat[192];
read_args(chat, sizeof(chat) - 1);
remove_quotes(chat);

if(equali(chat,""))
return PLUGIN_CONTINUE;

new name[33]
get_user_name(id,name,32)

new bool:hasRang = false;
for(new i = 0; i < MAX_GROUPS; i++) {

switch(cs_get_user_team(id)) {

case CS_TEAM_T : ColorChat(0, RED, "^x04[%s]^x03 %s^x01 : %s", rangi[ranga[id]][1], name, chat);
case CS_TEAM_CT : ColorChat(0, BLUE, "^x04[%s]^x03 %s^x01 : %s", rangi[ranga[id]][1], name, chat);
case CS_TEAM_SPECTATOR : ColorChat(0, GREY, "^x04[%s]^x03 %s^x01 : %s", rangi[ranga[id]][1], name, chat);
}
hasRang = true;
}

if(!hasRang)
get_team(id, chat);

return PLUGIN_HANDLED;
}

public hook_say2(id) {

if(is_user_bot(id))
return PLUGIN_CONTINUE;

new stats[8]
new body[8]
get_user_stats(id, stats, body)

new Float:kdratio[33]
kdratio[id] = float(stats[0]) / float(stats[1])


if(kdratio[id] >= liczby[ranga[id]] && stats[0] >= rangi[ranga[id]][0] && ranga[id] < limit)
ranga[id]++

if(kdratio[id] < liczby[ranga[id]] && ranga[id] > limit_min)
ranga[id]--

static chat[192];
read_args(chat, sizeof(chat) - 1);
remove_quotes(chat);

if(equali(chat,""))
return PLUGIN_CONTINUE;

new players[32], num;
get_players(players, num, "c");

new name[33]
get_user_name(id,name,32)

new bool:hasRang = false;
for(new i = 0; i < MAX_GROUPS; i++) {

for(new x = 0; x < num; x++) {

if(get_user_team(players[x]) == get_user_team(id)) {

switch(cs_get_user_team(id)) {

case CS_TEAM_T : ColorChat(players[x], RED, "^x04[%s]^x01(%s)^x03 %s^x01 : %s", rangi[ranga[id]][1], "Terrorist", name, chat);
case CS_TEAM_CT : ColorChat(players[x], BLUE, "^x04[%s]^x01(%s)^x03 %s^x01 : %s", rangi[ranga[id]][1], "Counter-Terrorist", name, chat);
case CS_TEAM_SPECTATOR : ColorChat(players[x], GREY, "^x04[%s]^x01(%s)^x03 %s^x01 : %s", rangi[ranga[id]][1], "Spectator", name, chat);
}
}
}
hasRang = true;
}
if(!hasRang)
get_team2(id, num, players, chat);

return PLUGIN_HANDLED;
}

stock get_team(id, chat[]) {

new name[33]
get_user_name(id,name,32)

switch(cs_get_user_team(id)) {

case CS_TEAM_T : ColorChat(0, RED, "%s%s^x01 : %s", is_user_alive(id) ? "" : "*DEAD*", name, chat);
case CS_TEAM_CT : ColorChat(0, BLUE, "%s%s^x01 : %s", is_user_alive(id) ? "" : "*DEAD*", name, chat);
case CS_TEAM_SPECTATOR : ColorChat(0, GREY, "*SPEC*%s^x01 : %s", name, chat);
}
}

stock get_team2(id, num, players[], chat[]) {

new name[33]
get_user_name(id,name,32)

for(new x = 0; x < num; x++) {
if(get_user_team(players[x]) == get_user_team(id)) {
switch(cs_get_user_team(id)) {
case CS_TEAM_T : ColorChat(players[x], RED, "^x01(Terrorist)^x03 %s^x01 : %s", name, chat);
case CS_TEAM_CT : ColorChat(players[x], BLUE, "^x01(Counter-Terrorist)^x03 %s^x01 : %s", name, chat);
case CS_TEAM_SPECTATOR : ColorChat(players[x], GREY, "^x01(Spectator)^x03 %s^x01 : %s", name, chat);
}
}
}
}

ColorChat(id, Color:type, const msg[], {Float,Sql,Result,_}:...) {
new message[256];

switch(type) {
case NORMAL: // clients scr_concolor cvar color
{
message[0] = 0x01;
}
case GREEN: // Green
{
message[0] = 0x04;
}
default: // White, Red, Blue
{
message[0] = 0x03;
}
}

vformat(message[1], 251, msg, 4);

// Make sure message is not longer than 192 character. Will crash the server.
message[192] = '^0';

new team, ColorChange, index, MSG_Type;

if(id) {
MSG_Type = MSG_ONE;
index = id;
} else {
index = FindPlayer();
MSG_Type = MSG_ALL;
}

team = get_user_team(index);
ColorChange = ColorSelection(index, MSG_Type, type);

ShowColorMessage(index, MSG_Type, message);

if(ColorChange) {
Team_Info(index, MSG_Type, TeamName[team]);
}
}

ShowColorMessage(id, type, message[]) {
static bool:saytext_used;
static get_user_msgid_saytext;
if(!saytext_used)
{
get_user_msgid_saytext = get_user_msgid("SayText");
saytext_used = true;
}
message_begin(type, get_user_msgid_saytext, _, id);
write_byte(id);
write_string(message);
message_end();
}

Team_Info(id, type, team[]) {
static bool:teaminfo_used;
static get_user_msgid_teaminfo;

if(!teaminfo_used) {
get_user_msgid_teaminfo = get_user_msgid("TeamInfo");
teaminfo_used = true;
}
message_begin(type, get_user_msgid_teaminfo, _, id);
write_byte(id);
write_string(team);
message_end();

return 1;
}

ColorSelection(index, type, Color:Type) {
switch(Type) {
case RED:
{
return Team_Info(index, type, TeamName[1]);
}
case BLUE:
{
return Team_Info(index, type, TeamName[2]);
}
case GREY:
{
return Team_Info(index, type, TeamName[0]);
}
}

return 0;
}

FindPlayer() {
new i = -1;

while(i <= get_maxplayers()) {
if(is_user_connected(++i))
return i;
}

return -1;
}

0 0
  
Back to top
View user's profile Send private message
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 22-04-2017, 20:33:36 | Translate post to: ... (Click for more languages)

Nu asta -
Configs>Plugins.ini


Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 29-04-2017, 10:38:48 | Translate post to: ... (Click for more languages)

Greseala mea! -
Scuze pentru intarziere, dar am fost plecat!

rank_cs_go.amxx
rom_protect.amxx ; Plugin anti-flood & bug-fix

; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
resetscore.amxx

; Plugin de baza
gungame.amxx

; Prefix admin
AdminPrefixes.amxx

; Advertismente chat
ad_manager.amxx

; Distruge cs jucatorului
amx_fface.amxx

; Ataseaza armele in spate
backweapons.amxx

; Bonus HP
bonushp.amxx

; Skin arme
GHW_Weapon_Replacement.amxx

; Semi-Ace
Semi-ace.amxx

; Sunete
ultimate_sounds.amxx

; WHO
ultimate_who.amxx

; Parasuta
amx_parachute.amxx

; Join IP
join_ip.amxx

; MultiJUMP
multijump.amxx

; BulletDM
amx_bulletdamage.amxx

; SHOP
CS_Shop.amxx

; Block zone de cumparere
block_buy_zone.amxx

; Kick lag
high_ping_kicker.amxx

0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 03-05-2017, 15:50:23 | Translate post to: ... (Click for more languages)

Imi mai poate raspunde si mie careva?
0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 11-05-2017, 20:09:09 | Translate post to: ... (Click for more languages)

Ma mai ajuta careva?
0 0
  
Back to top
View user's profile Send private message
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 12-05-2017, 08:59:38 | Translate post to: ... (Click for more languages)

Incearca sa dezactivezi advanced_who si vezi daca merge si ad_manager.

Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
DRYincing07

[Mentally Stable]



Status: Offline
(since 11-02-2019 15:09)
Joined: 02 Feb 2017
Posts: 40, Topics: 13
Location: Romania

Reputation: 18.3
Votes: 1

Post Posted: 12-05-2017, 21:16:39 | Translate post to: ... (Click for more languages)

Tot nu merge, tot asa face! Cred ca nu e compatibil pentru GUN-GAME
0 0
  
Back to top
View user's profile Send private message
GoreSpintecatoru.

[Inactiv o perioada]



Status: Offline
(since 09-11-2017 19:29)
Joined: 18 Feb 2017
Posts: 638, Topics: 28
Location: Romania

Reputation: 762.7
Votes: 40

       
Post Posted: 12-05-2017, 21:56:32 | Translate post to: ... (Click for more languages)

Se suprapune cu un colorchat si nu am de unde sa stiu. Incearca cu ; la fiecare plugin

Regulament|My Official Website[V:1.1]|Panel JB[V:1.0]

0 0
  
Back to top
View user's profile Send private message
Freakz*DuLceTeL

[S3X*p3rMaN3nTy; x ]



Status: Offline
(since 09-04-2022 10:29)
Joined: 27 Jun 2015
Posts: 15862, Topics: 2099
Location: TG-Mures

Reputation: 964.9
Votes: 668

     
Post Posted: 13-05-2017, 20:53:22 | Translate post to: ... (Click for more languages)

Nu are treaba cu ad_manager,dezactiveaza ficare plugin in parte,ai un plugin care se suprapune,pune in fata ; la fiecare plugin pe rand da-i restart si vezi de la care provine.


0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Plugins - Help / Support  
Go to page 1, 2  Next    


The time now is 24-01-2025, 10:22:30
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x