13.08.2012, 21:58
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
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; }