Započeo kim3205
•6. Okt. 2015.• Zaključano[Pomoc] Obrisati chat svoj
416
pregleda
6
postova
Godfather
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
0 / 250 XP
Početnik(0)
1,984
Postovi:
223
Teme:
Pridružio se:Maj 2012
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:
Neke slike/video za lakse dobivanje pomoci(neobavezno):
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):
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
40 / 100 XP
Početnik(0)
147
Postovi:
3
Teme:
Pridružio se:Mar. 2012
6. Okt. 2015.
Pa umjesto SCM ToAll koristi samo SCM
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.
Kingpin
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,126
Postovi:
91
Teme:
Pridružio se:Jul 2010
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.
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.
Godfather
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosAktivan Član
0 / 250 XP
Početnik(0)
1,984
Postovi:
223
Teme:
Pridružio se:Maj 2012
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.
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.
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.
I de koristi for petlju hljeba ti, kad su je već ljudi izmislili.
Maki misliš da će da se uskladi ovaj kod sa škriptom?
Kingpin
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,126
Postovi:
91
Teme:
Pridružio se:Jul 2010
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.
Naravno da hoce, treba ti samo y_commands include iz YSI packa.
I jedan savet, ostavi se tih modova iz praistorije, nistq neces nauciti.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava