Jump to content
  • 0

Problema chat


MrBl00d

Question

Am o mica problema cu cei care se inregistreaza noi si termina inregistrare ,nu pot vorbi pe "t" adica chat normal ,si am incercat si nu au mute ,ca sa poata vorbi trebuie dupa inregistrare ,sa dea un relog si dupa pot vorbi fara prob ,stiti cum pot rezolva asta ?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Am o mica problema cu cei care se inregistreaza noi si termina inregistrare ,nu pot vorbi pe "t" adica chat normal ,si am incercat si nu au mute ,ca sa poata vorbi trebuie dupa inregistrare ,sa dea un relog si dupa pot vorbi fara prob ,stiti cum pot rezolva asta ?

Folosesti GodFather? daca da posteaza la Probleme Godfather

PS. - Incearca sa vezi la OnPlayerText poate acolo ii ceva neinregula...

Fara reclama in semnatura!

Link to comment
Share on other sites

if (realchat)
	{
	    if(gPlayerLogged[playerid] == 0)
	    {
	        return 0;
      	}
		GetPlayerName(playerid, sendername, sizeof(sendername));
		format(string, sizeof(string), "%s Says: %s", sendername, text);
		ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
		return 0;
	}
	return 1;
}

Adauga asta jos la Public OnPlayerText  in locul celeilalte existente

<a href="http://www.userbars.be"><img src="http://img534.imageshack.us/img534/9098/36589.gif" alt="Free userbars" border="0"></a>

Link to comment
Share on other sites

Incearca:

[pawn]

if (realchat)

{

GetPlayerName(playerid, sendername, sizeof(sendername));

format(string, sizeof(string), "%s Says: %s", sendername, text);

ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);

return 0;

}

return 1;

}

[/pawn]

communitylogosml.png

94.23.120.101:7778

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.