Jump to content
  • 0

RealChat help


ionel03

Question

Problema intalnita (descriere):In gm meu(saints) scrisul de deaspura capului apare doar la admini/helperi  cum as putea sa fac sa apara la toti playeri
Ero(area / rile) / warning-(ul / urile):Nu am
Liniile de cod / sursa / script-ul(obligatoriu):

Spoiler

	if (realchat)
	{
	    if(gPlayerLogged[playerid] == 0)
	    {
	        return 0;
      	}
      	if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pHelper] < 1)
      	{
	       	for(new i; i < sizeof(TLD); i++)
			{
				if(strfind(text, TLD[i], true) != -1)
				{
	   				if(strfind(text, "www.", true) != -1 || strfind(text, "o", true) != -1 || strfind(text, "ro") != -1) break;
					SCM(playerid, 0xE6E6E6E6, "Reclama");
					return 0;
				}
			}
		}
		GetPlayerName(playerid,sendername,sizeof(sendername));
		format(string, sizeof(string), "%s: %s", sendername, text);
		if(PlayerInfo[playerid][pAdmin] >= 1) SetPlayerChatBubble(playerid, string, 0xFFFF66FF, 20.0, 10000);
		if(PlayerInfo[playerid][pHelper] >= 1) SetPlayerChatBubble(playerid, string, 0xa9c4e4FF, 20.0, 10000);
 		ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
		return 0;
	}
	return 1;
}

 


Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Am incercat de mai multe ori dar nu mi-a iesit deoarece nu sunt experimentat (eu incerc sa invat pawn de placere) 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Din asta 

Stergi si lasi doar setplayerchatbubble una singura lasi

if(PlayerInfo[playerid][pAdmin] >= 1) SetPlayerChatBubble(playerid, string, 0xFFFF66FF, 20.0, 10000);
		if(PlayerInfo[playerid][pHelper] >= 1) SetPlayerChatBubble(playerid, string, 0xa9c4e4FF, 20.0, 10000);
Edited by Mister
  • Upvote 1

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0
Acum 21 minute, Mister a spus:

Din asta 

Stergi si lasi doar setplayerchatbubble una singura lasi


if(PlayerInfo[playerid][pAdmin] >= 1) SetPlayerChatBubble(playerid, string, 0xFFFF66FF, 20.0, 10000);
		if(PlayerInfo[playerid][pHelper] >= 1) SetPlayerChatBubble(playerid, string, 0xa9c4e4FF, 20.0, 10000);

Wtf la asta nu m-am gandit  

 

Multumesc +1 +1 +1

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.