/ooc command error.
#6

Try this
CMD:b(playerid, params[])
{
new sendername[MAX_PLAYER_NAME], string[56];
GetPlayerName(playerid, sendername, sizeof(sendername));
if(isnull(params)) return SendClientMessage(playerid, 0xFFFFFFF,"Syntax error.Correct usage: /b [text]");
format(string, sizeof(string), "(( %s: %s ))", sendername, params);
SendClientMessageToAll(0xFFFFFFF, string);
return 1;
}
Reply


Messages In This Thread
/ooc command error. - by Weaselpwns - 03.08.2014, 22:40
Re: /ooc command error. - by Stanford - 03.08.2014, 22:42
Re: /ooc command error. - by Weaselpwns - 03.08.2014, 22:44
Re: /ooc command error. - by Weaselpwns - 03.08.2014, 23:23
Re: /ooc command error. - by Stinged - 03.08.2014, 23:27
Re: /ooc command error. - by Diti1 - 04.08.2014, 00:35
Re: /ooc command error. - by ViniBorn - 04.08.2014, 01:39

Forum Jump:


Users browsing this thread: 1 Guest(s)