[HELP]:OnPlayerText [RENEW EDITION!] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]:OnPlayerText [RENEW EDITION!] (
/showthread.php?tid=276532)
[HELP]:OnPlayerText [RENEW EDITION!] -
lyrics - 14.08.2011
Hi i need another help about OnPlayerText
I want when my word is full there would be another new line like this!:
Код:
[SP]Mr.Kakashi[WP] : ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZ
i dont like this one, it doesnt have a new line space:
Screenshot
Please Help i hope you will
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
Ironboy - 14.08.2011
Show OnPlayerText code
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
lyrics - 14.08.2011
Heres The Code
pawn Код:
public OnPlayerText(playerid, text[])
{
if(IsIp(text))
{
SendClientMessage(playerid, COLOR_RED, "Server Advertisement is Not Allowed!");
SendClientMessage(playerid, COLOR_RED, "You Have Been Banned Reason: Server Advertisement");
BanEx(playerid, "Server Advertisement");
return 0;
}
if(GetPVarInt(playerid, "Muted") == 1)
{
SendClientMessage(playerid,COLOR_RED, "You cant Talk While on Class Selection");
return 0;
}
else if(GetPVarInt(playerid, "Muted") == 0)
{
new PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
GetPlayerColor(playerid);
format(text, 1024, "%s : {FFFFFF}[%d] {FFFFFF}%s", PlayerName, playerid, text);
SendClientMessageToAll(GetPlayerColor(playerid), text);
}
return 0;
}
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
lyrics - 14.08.2011
Please Help
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
Grim_ - 14.08.2011
There are plenty of released functions and includes that do what you're looking for. Search for "Smart Chat".
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
Darnell - 14.08.2011
Smart Chat
Have fun.
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
Grim_ - 14.08.2011
Quote:
Originally Posted by Darnell
Smart Chat
Have fun.
* A little star under my name, click it if this helped you .
|
Are you that pathetic that you have to beg for reputation? Earn it, don't ask for it.
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
lyrics - 14.08.2011
come on guys
Re: [HELP]:OnPlayerText [RENEW EDITION!] -
Darnell - 14.08.2011
Quote:
Originally Posted by Darnell
|
....