10.11.2010, 00:34
pawn Код:
#include <a_samp>
#include <zcmd>
#define FILTERSCRIPT
#define COLOR_RED 0xFF0000AA
CMD:idiot(playerid, params[])
{
new
otherid,
oName[MAX_PLAYER_NAME],
string[64]
;
if (!IsPlayerAdmin(playerid)) return 0;
if(sscanf(params, "u", otherid)) return SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /Idiot [id]");
GetPlayerName(playerid, oName, sizeof(oName));
format(string, sizeof(string), "**(IDIOT)** %s <-- Is an idiot!", oName);
SendClientMessageToAll(COLOR_RED, string);
return 1;
}
Download here.
Before you can use the script above, you have to download zcmd then paste it in your pawno/includes folder, hope I helped.
No, that only works with dcmd.