User
Pass
2FA
 
 

[rezolvat][Remediere Plugin] Clear Chat

 
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 Message1831
Pedobear

[Jb.Freakz.Ro]



Status: Offline
(since 02-12-2019 19:37)
Joined: 20 Dec 2013
Posts: 743, Topics: 34
Location: Alexandria

Reputation: 98.5
Votes: 14

         
Post Posted: 05-12-2014, 17:41:03 | Translate post to: ... (Click for more languages)

»Nume*: ClearChat
»Descriere problema*: Atunci cand scrii /cc sau /clear sa stearga CHat-ul si Consola la toti playerii si este problema ca nu sterge chatul si consola ci da doar scrisul mai in fata unpic.
»Poze: Am in code. Va rog pica sau Edutz sa ma ajutati.

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

#define PLUGIN "Clear Chat"
#define VERSION "1.0"
#define AUTHOR "PedoBear"


public plugin_init() {

register_plugin(PLUGIN, VERSION, AUTHOR);

register_clcmd("say /cc", "ClearChat");
}


public ClearChat(id)
{

if(!is_user_admin(id))
return 1;

new AdminName[32];
get_user_name(id, AdminName, sizeof AdminName - 1);

client_print_green(0,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
client_print_green(0,"Motiv : Reclama sau Vulgarisme");
client_print_green(0, "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
client_print_green(0," --=[Jb.Freakz.Ro Clear Chat]=-- ");
client_print_green(0, "Adminul %s a sters chatul/consola", AdminName);
server_cmd("clear")
console_cmd (0, "clear")
client_cmd(0, "spk misc/clearchat.wav");
return 1;
}
public plugin_precache()
{
precache_sound("misc/clearchat.wav");
return 1;
}

stock client_print_green(index, const message[], {Float, Sql, Result,_}:...) { //color by (Alka)

new Buffer[512], Buffer2[512], id, msg_type;
formatex(Buffer2, sizeof Buffer2 - 1, "^x01%s", message);
vformat(Buffer, sizeof Buffer - 1, Buffer2, 3);

if(index) {
id = index;
msg_type = MSG_ONE;
}
else {
id = FindPlayer();
msg_type = MSG_ALL;
}
message_begin(msg_type, get_user_msgid("SayText"), _, id);
write_byte(id);
write_string(Buffer);
message_end();
}

public FindPlayer()
{
new players[32], num;
get_players(players, num);

new i = -1;

while(i < num)
{
if(is_user_connected(++i))
{
return i;
}
}
return -1;
}

0 1
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 05-12-2014, 18:20:25 | Translate post to: ... (Click for more languages)

in primul rand puteai veni si tu cu un screenshot sa vedem exact cum apare ...

in al doilea rand nu va merge clear consola pe cei cu steam.




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Pedobear

[Jb.Freakz.Ro]



Status: Offline
(since 02-12-2019 19:37)
Joined: 20 Dec 2013
Posts: 743, Topics: 34
Location: Alexandria

Reputation: 98.5
Votes: 14

         
Post Posted: 05-12-2014, 19:37:05 | Translate post to: ... (Click for more languages)

EDUTz wrote:
in primul rand puteai veni si tu cu un screenshot sa vedem exact cum apare ...

in al doilea rand nu va merge clear consola pe cei cu steam.




K, chiar daca nu merge pentru cei cu steam asta este, iti fac imd scc pe serverul: Jb.Freakz.Ro si postez aici.
Revin cu edit : POZA

0 1
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 05-12-2014, 20:11:16 | Translate post to: ... (Click for more languages)

asa si unde e poza? - -)) deci nu e adevarat -)



Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Pedobear

[Jb.Freakz.Ro]



Status: Offline
(since 02-12-2019 19:37)
Joined: 20 Dec 2013
Posts: 743, Topics: 34
Location: Alexandria

Reputation: 98.5
Votes: 14

         
Post Posted: 05-12-2014, 20:29:05 | Translate post to: ... (Click for more languages)

EDUTz wrote:
asa si unde e poza? - -)) deci nu e adevarat -)



Acuma l-am bagat pe sv....
Revin cu edit + o sa iti accesez casuta vocala, sa fii pe faza Edutz : -POZA-

0 1
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Pedobear

[Jb.Freakz.Ro]



Status: Offline
(since 02-12-2019 19:37)
Joined: 20 Dec 2013
Posts: 743, Topics: 34
Location: Alexandria

Reputation: 98.5
Votes: 14

         
Post Posted: 07-12-2014, 19:01:41 | Translate post to: ... (Click for more languages)

Imi faci cineva pluginu ? Edutz ? Pic@ ? happy
0 1
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 07-12-2014, 19:54:00 | Translate post to: ... (Click for more languages)

Ma ai probleme la bibilica? ai pus 2 posturi fara nici o poza. Ultima data cand am verificat vorbeam romaneste.



Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 1
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Fantasy123455
[Banned user]


Banned


Status: Offline
(since 11-12-2014 13:54)
Joined: 07 Dec 2014
Posts: 6, Topics: 1
Location: Romania

Reputation: 61.2
Votes: 2

Post Posted: 07-12-2014, 20:20:38 | Translate post to: ... (Click for more languages)

Nici nu esti tu autorul ! pot confirma asta cu pluginul de pe allienmodders

 
Staff message (Happy =]]):
 
Nu mai fa offtopic, putem sa ne dam si noi seama.


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

[Organ de stat]



Status: Offline
(since 27-03-2020 11:23)
Joined: 24 Jun 2012
Posts: 3232, Topics: 219
Location: Pantelimon, Ilfov

Reputation: 478.7
Votes: 125

         
Post Posted: 08-12-2014, 23:18:19 | Translate post to: ... (Click for more languages)

Nu stiti nici voi ce vreti, nu stiu ce treaba are autorul. Pedobear...nu stiu daca esti in apele tale. La Steam nu vei putea sa stergi chat-ul, dupa cum a spus si EDUTz. Plugin-ul nu functioneaza pentru ca nu este editat corect...dar daca pui si poza, dupa cum s-a mai cerut, o sa ne dam seama ce face mai exact si cum putem remediat. Te voi ajuta eu, insa astept un screen


0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Happy =]]

[I'm in your mind !]



Status: Offline
(since 02-05-2020 11:17)
Joined: 17 Mar 2012
Posts: 10538, Topics: 450
Location: In mintea ta !

Reputation: 553
Votes: 204

         
Post Posted: 09-12-2014, 08:16:52 | Translate post to: ... (Click for more languages)

Au trecut 2 zile deja, mai vrei ajutor ?

@Pedobear






Pentru orice problema PM.
Nu ofer asistenta in privat.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Pedobear

[Jb.Freakz.Ro]



Status: Offline
(since 02-12-2019 19:37)
Joined: 20 Dec 2013
Posts: 743, Topics: 34
Location: Alexandria

Reputation: 98.5
Votes: 14

         
Post Posted: 09-12-2014, 14:34:08 | Translate post to: ... (Click for more languages)

Dap.... ok imd.....

Happy ma scuzi am avut treaaba, am sa revin cu edit....


 
Staff message (Happy =]]):
 
Ori postezi ceva util / ce ai nevoie ori nu mai posta doar pentru +1.
Imediatul acela s-a facut ora 5.


0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by EDUTz, 15 December 2014 23:21



 
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  


The time now is 24-07-2025, 05:47:26
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password