About OnPlayerText -
M0HAMMAD - 04.09.2014
Hi Every Body !
Today I Want To Learn How To Change Players Text ( OnPlayerText )
This Is The Normal Player Text
And This Is My Player Text ( Change OnPlayerText )
So, Open Pawn And Go To The OnPlayerText
And Put This Code
pawn Код:
new string[128], PName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PName, sizeof(PName));
format(string,sizeof(string),"{40E0D0}[VIP] {%06x}%s(%d): {FFFFFF}%s",GetPlayerColor(playerid) >>> 8, PName, playerid, text);
SendClientMessageToAll(-1, string);
If You Want Add More , Like a Text For "ADMIN" Or "RCON" You Must Add a if Like This :
pawn Код:
if(Player[playerid][pAdminLevel] == 1)
{
new string[128], PName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PName, sizeof(PName));
format(string,sizeof(string),"{40E0D0}[VIP] {%06x}%s(%d): {FFFFFF}%s",GetPlayerColor(playerid) >>> 8, PName, playerid, text);
SendClientMessageToAll(-1, string);
}
if(Player[playerid][pAdminLevel] == 2)
{
new string[128], PName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PName, sizeof(PName));
format(string,sizeof(string),"{DFFF00}[ADMIN] {%06x}%s(%d): {FFFFFF}%s",GetPlayerColor(playerid) >>> 8, PName, playerid, text);
SendClientMessageToAll(-1, string);
}
Remember : pAdminLevel It's A Example.
If Some One Have a Problem Asked Here .

* Sorry For My Bad English
** Don't Forget
+Rep Me
Re: About OnPlayerText -
ChandraLouis - 05.09.2014
Umm, can you explain more ?
Re: About OnPlayerText -
Flake. - 05.09.2014
This isn't a tutorial, this is you copy and pasting a bunch of code from your gamemode that explains nothing at all.
Re: About OnPlayerText -
M0HAMMAD - 05.09.2014
amirab Please Don't Say one More Word ! Not Pro ? Ha ? Your Scripts Are Copy, Your Maps Are Copy Form unknown Servers.
And Others, Don't Need To Tell Me
WRONG SECTION , I Know . I Say To ****** To Delete This Post.
------------------

.Lot of My Friends Are Newbie In Pawn, That's Why I Created This Thread.
Re: About OnPlayerText -
Stinged - 05.09.2014
Why Do You Speak Like This? This Is Not The Right Way To Speak English.
I just wonder why it's so hard for people to speak good English, not perfect or great, but just good.
Re: About OnPlayerText -
Luis- - 05.09.2014
Using switch would be 100% better!
Re: About OnPlayerText -
hitman14 - 05.09.2014
Best Tutorial.
Thank You.+Rep
Re: About OnPlayerText -
amirab - 06.09.2014
I don't think that i posted here

so why your'e using my name?
P.S. persian: bache koochooloo age male man copie male to chie?
harmoghe toonesty access be wiki.sa-mp.com bia jelo man zire ------ ham bemoon.....
If you think your'e scripter be sure your'e not

like some NooBish scripts in your server