/ad command
#3

Quote:
Originally Posted by saffierr
Посмотреть сообщение
Just an example:
PHP код:
CMD:ad(playeridparams[])
{
   new 
string[128], message[128], playername[MAX_PLAYER_NAME];
   if(
sscanf(params"s[128]"message)) return SendClientMessage(playerid, -1"Syntax: /ad [message]");
   
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
   
format(stringsizeof string"Advertisement by %s: %s"playernamemessage);
   
SendClientMessageToAll(-1string); 
which cmd processer i have to use for it ?
Reply


Messages In This Thread
/ad command - by bugmenotlol - 08.03.2016, 13:32
Re: /ad command - by saffierr - 08.03.2016, 13:46
Re: /ad command - by bugmenotlol - 08.03.2016, 13:58
Re: /ad command - by YouServ - 08.03.2016, 14:51
Re: /ad command - by TheHonnor - 08.03.2016, 16:26
Re: /ad command - by bugmenotlol - 09.03.2016, 02:47
Re: /ad command - by xTURBOx - 09.03.2016, 06:52
Re: /ad command - by Untonyst - 09.03.2016, 10:41
Re: /ad command - by bugmenotlol - 09.03.2016, 13:46
Re: /ad command - by xTURBOx - 09.03.2016, 14:40

Forum Jump:


Users browsing this thread: 2 Guest(s)