how to send messages?
#1

Код:
dcmd_poke(playerid, params[])
{
	new id;
	if(sscanf(params, "u", id)) SendClientMessage(playerid, COLOR_YELLOW, "[USAGE]:[/]poke <id>");
	else if(id == INVALID_PLAYER_ID) SendClientMessage(playerid, COLOR_RED, "[ERROR] player is not connected!");
	else SendClientMessage(playerid, COLOR_RED, "[ERROR] You can't poke yourself?");
	return 1;
}
example

You Poked player1
player1 has poked you
Reply


Messages In This Thread
how to send messages? - by Mobtiesgangsa - 21.09.2017, 03:03
Re: how to send messages? - by Toroi - 21.09.2017, 05:35
Re: how to send messages? - by Logic_ - 21.09.2017, 08:38
Re: how to send messages? - by Bolex_ - 21.09.2017, 08:43
Re: how to send messages? - by Mobtiesgangsa - 21.09.2017, 18:26
Re: how to send messages? - by Toroi - 21.09.2017, 18:48
Re: how to send messages? - by Mobtiesgangsa - 21.09.2017, 21:03
Re: how to send messages? - by Toroi - 21.09.2017, 21:11

Forum Jump:


Users browsing this thread: 1 Guest(s)