How to make this into a command?
#1

I want the command to be "/i"

Код:
	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;
	}
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)