[Cerere] Plugin event

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
paraParaschiv
Membru, skill 0
Membru, skill 0
Posts: 93
Joined: 12 Jun 2019, 17:06
Detinator Steam: Da
CS Status: ~MDFK~ [Wicked.]
Detinator server CS: RED.CSPOWER.RO
SteamID: STEAM_0:0:523732417
Fond eXtream: 0
Been thanked: 1 time
Contact:

10 Mar 2020, 23:35

Plugin Cerut:event cs 1.6
Descriere (adica ce face el mai exact):vreau plugin event prin comanda /event si sa apara un motd si sa contina text: Bun Venit pe Nume.Nume.Ro Event: Beneficii: Perioada: Castigator: eventul a pornit pe data de:(setez eu) eventul se incheie pe data de:( o setez eu) si un motd pentru ce am cerut va rog am multa nevoie.
Serverul impune conditii strict HLDS/REHLDS?:ReHLDS
Ai cautat pluginul?(daca da, precizeaza cum):Nu ca nu este.
Necesita mod special?:nu
  • Respecta si vei fi respectat. :goblin: :clapping_hands:
Luckarena.com
User avatar
mariusexeqt
Membru, skill +1
Membru, skill +1
Posts: 101
Joined: 01 Jan 2020, 22:55
Detinator Steam: Da
Fond eXtream: 0
Has thanked: 2 times
Been thanked: 2 times

11 Mar 2020, 17:38

Ai putea da mai multe detalii?
User avatar
paraParaschiv
Membru, skill 0
Membru, skill 0
Posts: 93
Joined: 12 Jun 2019, 17:06
Detinator Steam: Da
CS Status: ~MDFK~ [Wicked.]
Detinator server CS: RED.CSPOWER.RO
SteamID: STEAM_0:0:523732417
Fond eXtream: 0
Been thanked: 1 time
Contact:

11 Mar 2020, 20:01

deci,cand scrii pe chat /event sa apara un motd si sa scrie exact asa:
Event Nume.Nume.Ro
Event nume:
Event pornit pe data de:
Event oprit pe data de:
Castigator:
Maxim participanti:
si cam atat.
#Multumesc
  • Respecta si vei fi respectat. :goblin: :clapping_hands:
User avatar
paraParaschiv
Membru, skill 0
Membru, skill 0
Posts: 93
Joined: 12 Jun 2019, 17:06
Detinator Steam: Da
CS Status: ~MDFK~ [Wicked.]
Detinator server CS: RED.CSPOWER.RO
SteamID: STEAM_0:0:523732417
Fond eXtream: 0
Been thanked: 1 time
Contact:

11 Mar 2020, 20:18

SUSSSSSS am nevoie va rog
Last edited by L E V I N on 11 Mar 2020, 21:35, edited 1 time in total.
Reason: nu mai spama
  • Respecta si vei fi respectat. :goblin: :clapping_hands:
User avatar
mariusexeqt
Membru, skill +1
Membru, skill +1
Posts: 101
Joined: 01 Jan 2020, 22:55
Detinator Steam: Da
Fond eXtream: 0
Has thanked: 2 times
Been thanked: 2 times

11 Mar 2020, 21:34

aici e pluginul
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#pragma tabsize 0

#define ADVERTISING_TIME 100.0

stock const messages[][] = {
"Tastati /event pentru a vedea eventul serverului "
}

public plugin_init() {
   register_plugin("event (motd)","1.0","-")
   register_clcmd ("say /event" , "event" , -1);
   register_clcmd ("say_team /event" , "event" , -1);
    set_task(ADVERTISING_TIME, "show_messages", _, _, _,"b");
}

public event(id) show_motd(id,"/addons/amxmodx/configs/event.html")

public show_messages()
{
new Buffer[256];
formatex(Buffer, sizeof Buffer - 1, "^x02%s", messages[random(sizeof messages)]);

new players[32], num, id;
get_players(players, num);

for(new i = 0 ; i < num ; i++)
{
id = players

message_begin(MSG_ONE, get_user_msgid("SayText"), _, id);
write_byte(id);
write_string(Buffer);
message_end();
}
}



| Afiseaza codul
<html>
	<head>
		<title>SERVER.NUME.RO</title>
	</head>
	<body>
	<body bgcolor="black">
		<center><font face="Times New Roman" size="+0" color="#FFFFFF">EVENT </font><strong><font color="darkred">SERVER.NUME.RO</font></strong> <font face="Times New Roman" size="+0" color="#FFFFFF"><font><br />
		<br>
		<font face="Times New Roman" size="+0" color="#FFFFFF">EVENT NUME : <font><strong><font color="darkred">aici pui nume event</font></strong><br />
		<font face="Times New Roman" size="+2" color="red">EVENT PORNIT PE DATA DE <font> : aici pui data
		<br>
<font face="Times New Roman" size="+2" color="yellow">EVENT OPRIT PE DATA DE<font> : aici pui data
<br>
<font face="Times New Roman" size="+2" color="green">CASTIGATOR <font> : aici pui castigatorul
<br>
<font face="Times New Roman" size="+2" color="green">MAXIM PARTICIPANTI <font> : aici pui maxim participanti
<br>


	</center> 
	</body>
</html>

si aici html , deschizi un text document si salvezi dupa ce editezi cu numele event.html si il pui in addons/amxmodx/configs
User avatar
paraParaschiv
Membru, skill 0
Membru, skill 0
Posts: 93
Joined: 12 Jun 2019, 17:06
Detinator Steam: Da
CS Status: ~MDFK~ [Wicked.]
Detinator server CS: RED.CSPOWER.RO
SteamID: STEAM_0:0:523732417
Fond eXtream: 0
Been thanked: 1 time
Contact:

11 Mar 2020, 22:08

Multumesc marius <3 thx se poate da T/C
  • Respecta si vei fi respectat. :goblin: :clapping_hands:
Post Reply

Return to “Cereri”

  • Information