Jump to content

Mesajele doar in apropiere


Recommended Posts

Te folosesti de functia ProxDetector sau iti creezi tu una personala.

https://pastebin.com/PkqzpPYq

20.0 - reprezinta raza mesajului

Fade1-5 - sunt culorile mesajului

Restu banuiesc ca sti.

Un exemplu:

La OnPlayerText:

format(string, sizeof string, "* %s spune: %s", GetName(playerid), text);
ProxDetector(20.0, playerid, string, Fade1, Fade2, Fade3, Fade4, Fade5);

// ----------------------------------
stock GetName(playerid)
{
	new GetPName[24];
	GetPlayerName(playerid, GetPName, sizeof(GetPName));
	return GetPName;
}

// culorile

#define Fade1 						( 0xE6E6E6E6 )
#define Fade2 						( 0xC8C8C8C8 )
#define Fade3 						( 0xAAAAAAAA )
#define Fade4 						( 0x8C8C8C8C )
#define Fade5 						( 0x6E6E6E6E )

 

Link to post
Share on other sites
  • Mister locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.