Ciscenje chata!

5. Apr. 2020.
514
pregleda
5
postova
Nemanja Petrovic
4
Made Man
5. Apr. 2020.
Problem(error/warning): Kada ocistim chat, zaledi mi se ekran na sekundu?
Dio skripte:
CMD:cc( playerid, params[], help) {
if( PlayerInfo[ playerid ][ xAdmin ] >= 1 ) {
for( new j; j < 110; j++ ) {
SendClientMessageToAll( -1, "" );
}
new string;
if( PlayerInfo[ playerid ][ xAdmin ] == 7 ) { format( string, sizeof( string ), ""col_sanm"Owner "col_white"%s "col_blue"je ocistio chat.", ImeIgraca( playerid ) ); }
else if( PlayerInfo[ playerid ][ xAdmin ] == 6 ) { format( string, sizeof( string ), ""col_sanm"Director "col_white"%s "col_blue"je ocistio chat.", ImeIgraca( playerid ) ); }
else if( PlayerInfo[ playerid ][ xAdmin ] == 5 ) { format( string, sizeof( string ), ""col_sanm"Head Admin "col_white"%s "col_blue"je ocistio chat.", ImeIgraca( playerid ) ); }
else if( PlayerInfo[ playerid ][ xAdmin ] >= 1 && PlayerInfo[ playerid ][ xAdmin ] <= 4 ) { format( string, sizeof( string ), ""col_blue"Admin "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
else if( PlayerInfo[ playerid ][ xSupporter ] >= 1 ) { format( string, sizeof( string ), ""col_sanm"Supporter "col_white"%s "col_sanm"je ocistio chat.", ImeIgraca( playerid ) ); }
SendClientMessageToAll(-1, string);
SendClientMessageToAll( PHARMELO, "=== www.pharmelo-roleplay.com ===");

}
else return SendErrorMessage( playerid, "Niste ovlasteni za KORISTI ove komande!");
return 1;
}

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema (obavezno ako je ingame problem): //
KUKI
5
Underboss
5. Apr. 2020.
posalje ti se 100 i nesto praznih poruka u istoj sekundi to treba da se ucita zato ti koci
Momenzi Scripter
5
Made Man
5. Apr. 2020.
Sta ce ti 110 poruka...

Pikaboot je besplatna, open-source platforma za strimovanje muzike. Bez reklama, bez zaključanih funkcija i bez kompromisa sa kvalitetom zvuka ( 24-bit FLAC ).

Lazar Milojevic
5
Kingpin
5. Apr. 2020.
CMD:cc(playerid, params[])
{
    if(PlayerInfo < 1) return SendClientMessage(playerid, -1, "Niste Admin!");
    for(new i; i < 50; i++)// ovaj broj 50 to ti je 50 praznih poruka, ti podesi koliko tebi treba
    {
        SendClientMessageToAll(0x33FF33FF," ");
    }
    SendClientMessageToAll(0xFF0000FF,"Chat Ociscen od strane Admin tima. ");
    return 1;
}
Nemanja Petrovic
4
Made Man
5. Apr. 2020.
Hvala, fixano!  😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha