How to make this into a command?
#3

Quote:
Originally Posted by JimmyCh
Посмотреть сообщение
Just making this a command?
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;
}
Thanks!
Reply


Messages In This Thread
How to make this into a command? - by Grooty - 23.07.2013, 12:44
Re: How to make this into a command? - by JimmyCh - 23.07.2013, 12:47
Re: How to make this into a command? - by Grooty - 23.07.2013, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)