06.05.2011, 23:20
pawn Код:
dcmd_ld(playerid, params[])
{
if (Info[playerid][Nivel] >= 5)
{
if (!params[0])
return SendClientMessage(playerid, COLOR_ROJO, "Debes poner el mensaje de tu loro");
new
string[256];
format(string, sizeof (string), "**{01DF01}Loro de Jean dice: {AC58FA}%s", params);
if (strlen(string) <= 128)
SendClientMessageToAll(COLOR_AZUL, string);
else
{
new
_string[128];
strmid(_string, string, 0, 128, 128);
SendClientMessageToAll(COLOR_AZUL, _string);
SendClientMessageToAll(0xAC58FAFF, string[128]);
}
}
else
SendClientMessage(playerid, COLOR_ROJO, "xD");
return 1;
}

