pomoc oko chata

Započeo armoo14
12. Mar. 2020. Zaključano
584
pregleda
7
postova
Armoo_Corelli
3
Hustler
12. Mar. 2020.
roblem(error/warning): moze mala pomoc zasto kad ukucam /cc pojavi se msg da je obrisan chat a ne obrise se a jel to mozda do tog jer sam ja admin evo cmd ko pomogne hvala 🙂
Dio skripte:
YCMD:cc(playerid, params[], help)
{

if(GetTimeEx() < cctime) return SCM(playerid,-1,"[BS:RPG]"PPLAVA"Chat je vec ociscen, moras sacekati 5 sekundi!");
if(PlayerInfo >= 1 || PlayerInfo >= 1)
{
    new string; foreach(Player,i) { OcistiChat(i, 120); }
format(string,sizeof(string),""PPLAVA"#CLEAR"BELA"CHAT: "SIVA"Chat ociscen od strane "PPLAVA"Staff Teama "SIVA"!");
SCMTA(-1,string);
cctime = GetTimeEx() + 5;
}
else
{
SCM(playerid, -1, "[BS:RPG] "BELA"Samo Admini & GameMasteri !");
}
return 1;
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Nije to u pitanju
Slika/video ingame problema(obavezno ako je ingame problem): ///
Garadooo
5
Forum Don
12. Mar. 2020.
daj nam OcistiChat funkciju
Armoo_Corelli
3
Hustler
13. Mar. 2020.
Galardo wrote on March 12, 2020, 11:43 pm:
daj nam OcistiChat funkciju
forward OcistiChat(playerid, lines);
public OcistiChat(playerid, lines)
{
    if(PlayerInfo == 0 && PlayerInfo == 0)
    {
for(new i = 0; i < lines; i++)
{
SCM(playerid, -1, " ");
}
}
return 1;
}
Arkoo
5
Underboss
13. Mar. 2020.
  if(PlayerInfo == 0 && PlayerInfo == 0)
    {

znaci ako je igrac admin i gamemaster na njemu se nece izvrsiti funkcija OcistiChat
Garadooo
5
Forum Don
13. Mar. 2020.
forward OcistiChat(playerid,lines);
public OcistiChat(playerid,lines)
{
for(new i = 0; i < lines; i++)
{
SendClientMessage(playerid,-1, " ");
}
return 1;
}
Armoo_Corelli
3
Hustler
13. Mar. 2020.
Arkoo wrote on March 13, 2020, 11:28 am:
  if(PlayerInfo == 0 && PlayerInfo == 0)
    {

znaci ako je igrac admin i gamemaster na njemu se nece izvrsiti funkcija OcistiChat

aha hvala
Armoo_Corelli
3
Hustler
13. Mar. 2020.
RJESENO!!

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha