How can you create a /apm
#4

Код:
COMMAND:apm(playerid, params[])
{
// Variable goes here.. EG: If(PlayerInfo[playerid][admin] < 1)
               return SendClientMessage(playerid, COLOR_RED,"CAN'T USE COMMAND");
	new iPlayer, iText[ 128 ];
	if( sscanf ( params, "us", iPlayer, iText))  return SCP(playerid, "[PlayerID/PartOfName] [message]");
	format(iStr, sizeof(iStr), "{b5cdda}(( {7b94a1}[Admin PM]%s(%d):{b5cdda} %s {7b94a1}))", RPName(playerid), playerid, iText);
	SendClientMessage(iPlayer, -1, iStr);
	format(iStr, sizeof(iStr), "{b5cdda}(( {7b94a1}[Admin PM] %s(%d):{b5cdda} %s {7b94a1}))", RPName(iPlayer), iPlayer, iText);
	SendClientMessage(playerid, -1, iStr);
	return 1;
}
Reply


Messages In This Thread
How can you create a /apm - by lulo356 - 28.10.2013, 12:33
Re: How can you create a /apm - by Dolby - 28.10.2013, 12:35
Re: How can you create a /apm - by Konstantinos - 28.10.2013, 13:07
Re: How can you create a /apm - by Brandon_More - 28.10.2013, 16:14
Re: How can you create a /apm - by Elie1996 - 11.11.2013, 20:15
Re: How can you create a /apm - by BodyBoardVEVO - 11.11.2013, 20:25

Forum Jump:


Users browsing this thread: 3 Guest(s)