27.05.2011, 22:23
pawn Код:
CMD:cc(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new cMsg[128], pName[MAX_PLAYER_NAME];
for(new c; c < 25; c++)
{
SendClientMessage(playerid, COLOR_RED, " ");
}
format(cMsg, sizeof(cMsg), "[Chat]: Admin %s je ocistio chat.", pName);
SendClientMessage(playerid, COLOR_LIGHTBLUE, cMsg);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "www.sx-rp.info");
return 1;
}
else SendClientMessage(playerid, COLOR_RED, "[ERROR]: Nisi Admin!");
return 1;
}