Help!
#1

Well i am trying to make this command to send messages to players but i want it to show the msg that i type in and i wanna be sure this is correct i dont think it is
So please fix it if it is wrong or please tell me what to do

Код:
CMD:automsg(playerid, params[])
{
	new Msg[80];
	if(sscanf(params, "c[80]",Msg))
	{
    	return SendClientMessage(playerid, 0xFF0000AA, "Usage: /automsg [msg]");
	}
        format(Msg, sizeof(Msg), "{08FF8C}XR-RP:[BOT]{FF8000}.",Msg);
	SendClientMessageToAll(playerid,COLOR_ORANGE,Msg);
	return 1;
}
Reply


Messages In This Thread
Help! - by San1 - 13.08.2012, 21:58
Re: Help! - by lamarr007 - 13.08.2012, 22:04
Re: Help! - by Roko_foko - 13.08.2012, 22:05
Re: Help! - by Joe2009 - 13.08.2012, 22:16
Re : Help! - by Sandiel - 14.08.2012, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)