28.11.2012, 15:30
pawn Код:
COMMAND:ao(playerid, params[])
{
new Name[MAX_PLAYER_NAME], Msg[128], Message[128];
SendAdminText(playerid, "/ao", params);
GetPlayerName(playerid, Name, sizeof(Name));
if (APlayerData[playerid][LoggedIn] == true)
{
if (APlayerData[playerid][PlayerLevel] > 3)
{
if (sscanf(params, "s[128]", Message))
return SendClientMessage(playerid, 0xFF0000AA, "Use: /ao [texto]");
format(Msg, sizeof(Msg), "%s~w~%s",Name, Message);
GameTextForAll(Msg, 5000, 3);
}
}
return 1;
}
Por Favor utilize nos seus code postados no forum
[*PAWN]CODE[/PAWN]
Sem o *.
Agradeзemos!