-
Membru - Silver I
CERERE plugin WG
Plugin: numele pluginului dorit
Descriere: doresc plugin /wg si /report
Versiune: versiunea pluginului dorit
Autor: specifica autorul pluginului, daca este cazul
Flaguri: specifica flagurile dorite (literele de acces), daca este cazul
MACAR O ideie cum sa`l fac , multumesc frumos
Code:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
-
Moderator:
Programare
Spune mai concret si precis unde bati cu acest plugin.Adica ce vrei sa faca mai exact?
-
Membru - Silver I
dorect sa fie Ceva de genu , sper sa ma ajuti Wolf
x04%s^x01 Deja ai cerut WG unei persoane pe aceasta mapa.
1 Jucatorul^x04 %s^x01 ii cere War God lui^x04 %s^x01 - Data/Ora:^x04 [%s]", TAG, szName1, szName, timestamp);
//ColorChat(0, GREEN, "^x04%s^x01 SteamID-ul persoanei ce i s-a cerut War God:^x04 %s", TAG, authid);
ColorChat(0, GREEN, "^x04%s^x01 De asemenea are si el o poza cu mesajul ca ia cerut, in caz ca duce la ban are dovada.", TAG)
ColorChat(id, GREEN, "^x04%s^x01 Ca sa ceri War God cuiva trebuie sa fie mai intai un Mix activ.", TAG);
return PLUGIN_HANDLED;
}
}
else if( contain( szSaid, "/report" ) != -1 )
{
if( g_Report[id] )
{
CC_ColorChat(id, GREEN, "%s^1 In timpul unui MIX poti folosi ^3/report^1 o singura data.", TAG)
return 1;
}
new cmd[12], name[16], reason[32]
parse( szSaid, cmd, charsmax(cmd), name, charsmax(name), reason, charsmax(reason) )
if( !name[0] || !reason[0] )
{
CC_ColorChat(id, GREEN, "%s^1 Utilizare: /report Nume ^"Motivul reclamatiei^"", TAG)
Daca doresti poti sa`l sal faci direct aici
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
register_plugin("Player Report", "1.0", "Unhask")
register_clcmd("say /report", "report_player")
}
public report_player(id)
{
new arg[32], name[32], cheater[32]
read_argv(1, arg, 31)
new player = cmd_target(id, arg, 9);
get_user_name(id, name, 31)
get_user_name(player, cheater, 31)
chat_color(id, "!gAi raportat corect !tjucatorul!g. Acum asteapta ca adminii sa isi faca treaba.")
client_cmd(id, "say_team @ !gJucatorul !t%s !ga fost raportat de !t%s!g !!", name, cheater)
return 1;
}
stock chat_color(const id, const input[], any:...)
{
new count = 1, players[32]
static msg[320]
vformat(msg, 190, input, 3)
replace_all(msg, 190, "!g", "^4")
replace_all(msg, 190, "!n", "^1")
replace_all(msg, 190, "!t", "^3")
replace_all(msg, 190, "!t2", "^0")
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()
}
}
}
}
-
Moderator:
Programare
Voi incerca sa vad ce pot sa fac.NU promit ca il rezolv , va dura cateva zile(2-3zile) sau mai putin ,depinde si de timpul meu.De asemenea daca colegii mei au acest plugin ii rog sa il posteze.
-
Moderator:
Programare
AMXX Code:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Sper ca este ceea ce cereai.
Last edited by ~AngeL~
Motiv: stergere reclama din sma-ul pluginului
Last edited by ~TraNda~; 12-09-2017 at 10:47 PM.
-
Membru - Silver I
multumesc mult , verifica te rog PM
Last edited by trakat; 11-09-2017 at 07:24 PM.
-
Moderator:
Programare
Uite aici pluginul compilat:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Atentie ! Va trebui sa adaugi ColorChat.inc in addons/amxmodx/scripting/include
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Sursa modificata:
AMXX Code:
You have to register to be able to see this link. Register HERE!
If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Last edited by ~AngeL~
Motiv: stergere reclama din sma-ul pluginului
Last edited by ~TraNda~; 12-09-2017 at 10:45 PM.
-
Moderator:
Programare
Multumesc , Angel , nu am vazut acea reclama , scuza-ma.Inchid topic-ul deoarece nu a mai raspuns nimeni,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules