Posts: 914
Threads: 118
Joined: Nov 2010
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);
}
Posts: 914
Threads: 118
Joined: Nov 2010
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;
}