pawn Код:
// With ZCMD: (( #include <zcmd> ))
CMD:i(playerid, params[])
{
if(TalkingLive[playerid] != INVALID_PLAYER_ID)
{
if(PlayerInfo[playerid][pFaction] == 9 || PlayerInfo[playerid][pLeader] == 9)
{
format(string, sizeof(string), "Live News Reporter %s: %s", GetPlayerNameEx(playerid), text);
ICNews(COLOR_LIGHTGREEN,string);
}
else
{
format(string, sizeof(string), "Live Interview Guest %s: %s", GetPlayerNameEx(playerid), text);
ICNews(COLOR_LIGHTGREEN,string);
}
return 0;
}
return 1;
}