Promenispawn

Započeo saizer, Decembar 27, 2021, 14:54:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning):Eh ovako, napravio sam g chat i sve oke, ali najme kad pise neki Vip 1-6 izbaci ovako https://imgur.com/a/c3Mcnw7, moze li se to fixati i kako novi sam?
Deo skripte:
CMD:g(playerid, params[]) 
{
    if(PlayerInfo[playerid][ xZatvor ] != 0 ) return GRESKA( playerid, "Ne mozes da koristis ovu komandu dok si u zatvoru." );
    if(PlayerInfo[playerid][ xMaraton ] > 0 ) return GRESKA( playerid, "Ne mozete to kod ste na maratonu !");
	if(PlayerInfo[playerid][ xMute ] != 0) return GRESKA( playerid, "Ne mozete pricati, usutkani ste.");
	new text[ 128 ], string1[180];
    if( sscanf( params, "s[128]", text ) ) return KORISCENJE( playerid, "/g(chat) [Text]" );
    if( ToggedG == false ) return GRESKA( playerid, "G chat je trenutno iskljucen od strane Admina." );
	if( PlayerInfo[playerid][ xHelper ] >= 1 || PlayerInfo[playerid][xAdmin] >= 1 || PlayerInfo[playerid][ xVip ] >= 1 ||PlayerInfo[playerid][ xRPE ] >= 1 || PlayerInfo[playerid][ xYouTuber ] >= 1 
    || PlayerInfo[playerid][xTestAAG]) {
        if( PlayerInfo[playerid][ xSkriptaRank ] == 1 ) {
			format( string1, sizeof( string1 ), ""ZELENA""ZELENA"G | Developer %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][ xSkriptaRank ] == 2 ) {
			format( string1, sizeof( string1 ), ""ZELENA"G | Developer %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][ xSkriptaRank ] == 3 ) {
			format( string1, sizeof( string1 ), ""ZELENA"G | Mapper %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
	    else if( PlayerInfo[playerid][xAdmin] == 7 ) {
			format( string1, sizeof(string1), ""ZELENA"G | Vlasnik %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][ xSkriptaRank ] == 6 ) {
			format( string1, sizeof( string1 ), ""ZELENA"G | Co-Owner %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][ xSkriptaRank ] == 7 ) {
			format( string1, sizeof( string1 ), ""ZELENA"G | Head Mapper %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][ xSkriptaRank ] == 8 ) {
			format( string1, sizeof( string1 ), ""ZELENA"G | Predsednik %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][xAdmin] == 6 ) {
			format( string1, sizeof(string1), ""ZELENA"G | Direktor %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][xAdmin] == 5 ) {
			format( string1, sizeof(string1), ""ZELENA"G | Head Admin %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][xAdmin] == 4 ) {
			format( string1, sizeof( string1 ), ""ZELENA"G | Admin Level 4 %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][xAdmin] == 3 ) {
	 		format( string1, sizeof( string1 ), ""ZELENA"G | Admin Level 3 %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][xAdmin] == 2 ) {
	 		format( string1, sizeof( string1 ), ""ZELENA"G | Admin Level 2 %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][xAdmin] == 1 ) {
	 		format( string1, sizeof( string1 ), ""ZELENA"G | Admin Level 1 %s: "BELA"%s", ImeIgraca( playerid ), text );
		}
		else if( PlayerInfo[playerid][ xHelper ] == 3 ) {
  			format( string1, sizeof(string1), ""ZELENA"G | V. Helpera %s [ID:%d]: "BELA"%s", ImeIgraca( playerid ), playerid, text );
        }
		else if( PlayerInfo[playerid][ xHelper ] >= 1 && PlayerInfo[playerid][ xHelper ] <= 2 ) {
            format( string1, sizeof(string1), ""ZELENA"G | Helper %d %s: "BELA"%s", PlayerInfo[playerid][ xHelper ], ImeIgraca( playerid ), text );
        }
        else if( PlayerInfo[playerid][ xVip ] >= 1 ) {
            format( string1, sizeof(string1), ""ZELENA"G | Vip Level %s [ID:%d]: "BELA"%s", PlayerInfo[playerid][ xVip ], ImeIgraca( playerid ), playerid, text );
        }
        else if( PlayerInfo[playerid][ xRPE ] >= 1 ) {
            format( string1, sizeof(string1), ""ZELENA"G | RPE (%d) %s: "BELA"%s", PlayerInfo[playerid][ xRPE ], ImeIgraca( playerid ), text );
        }
        else if( PlayerInfo[playerid][ xYouTuber ] >= 1 ) {
            format( string1, sizeof(string1), ""ZELENA"G | YouTuber %s [ID:%d]: "BELA"%s", ImeIgraca( playerid ), playerid, text );
        }
        else if( PlayerInfo[playerid][ xTestAAG ]) {
            format( string1, sizeof(string1), ""ZELENA"G | Test AAG %s [ID:%d]: "BELA"%s", ImeIgraca( playerid ), playerid, text );
        }
		PROMChat( GREENCOLOR_1, string1 );
	}
	else return GRESKA( playerid, "Niste u mogucnosti koristiti ovu komandu." );
	return true;
}

Poslednja Izmena: Decembar 28, 2021, 18:46:44 POSLE PODNE od 'xza

        else if( PlayerInfo[ playerid ][ xVIP ] >= 1 ) {
            format( string1, sizeof(string1), "G | Vip (%d) %s: "col_white"%s", PlayerInfo[ playerid ][ xVIP ], ImeIgraca( playerid ), text );
        }


Probaj nesto ovako
Poslednja Izmena: Decembar 27, 2021, 15:12:55 POSLE PODNE od audi100
Sunce greje lagano šetam se po Voždovcu
Moja kučka i ja, furam je na povodcu
Zove se Lola i nije nešto lepa
Ali meni daće lapo kada dokopa se repa
Rođena na ulici, dolazi iz geta
I zato je gangsta kučka, a ne starleta
Zahvaljujući njoj meni dignuta je đoka
Krov je spušten, vožnjica od bloka do bloka
I ako glumiš mangupa jebaće ti mamicu
U tašni nema lak za nokte, ali ima palicu
Odrasla na Medaku, iz huda je sestra
Nijedna Snoopova kučka nije tol'ko gangsta
Za nju sam 'Pac, ona moja je Madonna
Ako znaš još neku takvu javi mi preko fona
I kada njesra izbije ona ne vata pištolja
Već nabada na prvu jer je gangsta drolja

else if( PlayerInfo[playerid][ xVip ] >= 1 ) {
            format( string1, sizeof(string1), ""ZELENA"G | Vip Level %d %s [ID:%d]: "BELA"%s", PlayerInfo[playerid][ xVip ], ImeIgraca( playerid ), playerid, text );
        }