30.08.2012, 07:58
Add Rep Dude Forgot To Do That.
CMD:box(playerid,params[]) {
#pragma unused params
IsPlayerAdmin(playerid);
if(isnull(params)) return SendClientMessage(playerid,0xBD34DAFF,"Current Usage: /boxchat [text]");
SendClientMessage(playerid,0x20B2AAFF,"Message Sended!");
new string[128],name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"Admin %s[ID:%i]: %s",name,playerid,params);
SendXMessage(playerid,string);
return 1;
}
CMD:abox(playerid,params[]) {
#pragma unused params
IsPlayerAdmin(playerid);
if(isnull(params)) return SendClientMessage(playerid,0xBD34DAFF,"Current Usage: /boxchat [text]");
SendClientMessage(playerid,0x20B2AAFF,"Message Sended!");
new string[128],name[24];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"%s",params);
SendXMessage(playerid,string);
return 1;
}
CMD:clearbox(playerid,params[]) {
#pragma unused params
IsPlayerAdmin(playerid);
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
SendXMessage(playerid," ");
return 1;
}