[Pomoc]Nece IC Chat

Započeo _Iv@nCHe_, Oktobar 12, 2012, 17:01:09 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:EG-RPG
Detaljan opis problema:Sta god da napisem nece obicni IC chat , znali netko do cega je problem ?
Dio skripte:Eto dole ispod
Neke slike/video za lakse dobivanje pomoci(neobavezno)://



public OnPlayerText(playerid, text[])
{
	new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new tmp[256];
	new string[256];
    //new gPlayerUsingLoopingAnim[MAX_PLAYERS];
	SetPlayerChatBubble(playerid, text, COLOR_GRAD1, 20.0, 10000); //poruka iznad glave
    //LoopingAnim(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
	if(PlayerInfo[playerid][pMuted] == 1)
	{
		SendClientMessage(playerid, TEAM_CYAN_COLOR, "{F81414}[CP-RPG] {0084e3}Ne mozes pricati, mutiran si!");
		return 0;
	}
    if(AdvertisementCheck(text) && !IsPlayerAdmin(playerid))
	{
    GetPlayerName(playerid, sendername, sizeof(sendername));
	format( string, sizeof( string ), "[ANTIADVERTISE] Ne reklamiraj dobices ban ( Admini/GameMasteri su upozoreni o pokusaju reklamiranja)");
	SendClientMessage( playerid, COLOR_LIGHTRED, string);
    format( string, sizeof( string ), "[ANTIADVERTISE] Igrac %s pokusava da reklamira server opomenite ga!", sendername);
	SendAdminGmMessage(COLOR_LIGHTRED, string);
	return 0;
	}
	if(anty(text))
	{
	GetPlayerName(playerid, sendername, sizeof(sendername));
	format( string, sizeof( string ), "[ANTIADVERTISE] Ne reklamiraj dobices ban ( Admini/GameMasteri su upozoreni o pokusaju reklamiranja)");
	SendClientMessage( playerid, COLOR_LIGHTRED, string);
    format( string, sizeof( string ), "[ANTIADVERTISE] Igrac %s pokusava da reklamira server opomenite ga!", sendername);
	SendAdminGmMessage(COLOR_LIGHTRED, string);
	return 0;
	}
Poslednja Izmena: Oktobar 12, 2012, 17:02:08 POSLE PODNE od _Iv@nCHe_

Sry za DP , ali moram.

Refresh ! Znali netko kako rijesiti ovo ?

Probaj zameni chat iz drugog GF mod

Yakavetta

pokusaj ovaj koji ja imam
new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new tmp[256];
	new string[256];
    //new gPlayerUsingLoopingAnim[MAX_PLAYERS];
	SetPlayerChatBubble(playerid, text, COLOR_GRAD1, 20.0, 10000); //poruka iznad glave
    //LoopingAnim(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
	if(PlayerInfo[playerid][pMuted] == 1)
	{
		SendClientMessage(playerid, TEAM_CYAN_COLOR, "{F81414}[BC:RP] {0084e3}Ne mozes pricati, mutiran si!");
		return 0;
	}

Hvala Yakavetta , radi :D


Moze ovde lock , rijesio sam .