Please help in TAG - 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)
+--- Thread: Please help in TAG (
/showthread.php?tid=280247)
Please help in TAG -
MA_proking - 31.08.2011
i want that when player chat his team tag display and player id like
GR == Grove
0 player id
So How can I do this.
Re: Please help in TAG -
Venice - 31.08.2011
use like this on On playertext
pawn Код:
if(PlayerInfo[playerid][admin] == 1)// change this to Groove team
{
new name[MAX_PLAYER_NAME], Msg[256];
GetPlayerName(playerid, name, sizeof(name));
format(Msg, sizeof(Msg), "[GR][ID:%d] %s: %s", playerid, name, text);
SendClientMessageToAll(0xFFFFFF,Msg);
}
Re: Please help in TAG -
MA_proking - 31.08.2011
pawn Код:
[12:58:26] [GR][ID:0] [kR]hustledude: sada
[12:58:26] <[kR]hustledude> sada
Showing this what to do
Re: Please help in TAG -
Venice - 31.08.2011
pawn Код:
if(PlayerInfo[playerid][admin] == 1)// change this to Groove team
{
new name[MAX_PLAYER_NAME], Msg[256];
GetPlayerName(playerid, name, sizeof(name));
format(Msg, sizeof(Msg), "[GR][ID:%d] %s: %s", playerid, name, text);
SendClientMessageToAll(0xFFFFFF,Msg);
return 0;
}