[Pomoc] Obrisati chat svoj

Započeo kim3205
6. Okt. 2015. Zaključano
400
pregleda
6
postova
PedjaZakon
5
Godfather
6. Okt. 2015.
Skripta koju koristim:BE by Jakisic
Detaljan opis problema:Kako da izvedem da obican igrac moze da brise chat /cc ali sebi da obrise ne svima(svako za sebe da moze da brise chat)
Dio skripte:
 	if(strcmp(cmd, "/dr", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
if (PI >= 1)
{
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
SendClientMessageToAll(COLOR_GREY," ");
new str;
GetPlayerName(playerid,sendername,sizeof(sendername));
format(str,128,"{0B83E6}[{FFFFFF}AG:RP{0B83E6}]{FFFFFF}Chat je ociscen od strane admina.",GetName(playerid));
                SendClientMessageToAll(ZUTA,str);
format(str,128,"",GetName(playerid));
                SendClientMessageToAll(CRVENA,str);
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "{F81414}[{FFFFFF}AG:AC{F81414}]{FFFFFF} | {FFFFFF} Nisi ovlascen za koriscenje ove komande");
return 1;
}
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
adza_adzovic
4
Shot Caller
6. Okt. 2015.
Pa umjesto SCM ToAll koristi samo SCM
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.
Marjan_King
5
Kingpin
6. Okt. 2015.
Nije li jednostavnije 'vako?

YCMD:cc(playerid, params[], help)
{
        #pragma unused params
        #pragma unused help
clearChat(playerid);
SendClientMessage(playerid, -1, "Chat je ociscen.");
return 1;
}

stock clearChat(playerid, linija = 50)
{
new i = (0);
for( ; i != linija; ++ i) SendClientMessage(playerid, -1, "\0");
}




ElectricityBoy wrote on October 6, 2015, 11:22 pm:
Pa umjesto SCM ToAll koristi samo SCM
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.
PedjaZakon
5
Godfather
7. Okt. 2015.
Quote from October 6, 2015, 11:22 pm:
Pa umjesto SCM ToAll koristi samo SCM
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.

Quote from October 6, 2015, 11:22 pm:
Pa umjesto SCM ToAll koristi samo SCM
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.

Quote from October 6, 2015, 11:22 pm:
Pa umjesto SCM ToAll koristi samo SCM
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.


Maki misliš da će da se uskladi ovaj kod sa škriptom?
Marjan_King
5
Kingpin
7. Okt. 2015.
Ja sam ti dao samo jednostavniji primer, i to moje je takodje za sve igrace.
Naravno da hoce, treba ti samo y_commands include iz YSI packa.


I jedan savet, ostavi se tih modova iz praistorije, nistq neces nauciti.
PedjaZakon
5
Godfather
7. Okt. 2015.
Problem resen....LOCK 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha