17.06.2012, 01:39
I do not know if it will work. Still tries:
pawn Код:
CMD:achat(playerid, params[])
CMD:achat(playerid, params[])
{
new PlayerName[128], String[128], Texto[128];
if(PlayerInfo[playerid][Admin] < 1)
if(sscanf (params, "s" Texto)) return SendClientMessage(playerid, -1, ""COL_DARKRED"[ADMIN:]"COL_WHITE" Try using"COL_DARKRED" /achat"COL_WHITE" to speak with other admins.");
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(String, sizeof(String),""COL_DARKRED"[%s]"COL_LIGHTBLUE" [%d] %s:"COL_DARKRED" %s", GetAdminLevel(playerid), playerid, PlayerName, Texto);
SendAdminMessage(-1, String);
Logs(String, 2);
return 1;
}