04.11.2012, 14:28
PHP код:
COMMAND:announce(playerid,params[])
{
SendAdminText(playerid, "/announce", params);
if(APlayerData[playerid][LoggedIn] == true)
{
if(APlayerData[playerid][PlayerLevel] >= 1)
{
new message[64];
if(sscanf(params,"s[64]",message)) return SendClientMessage(playerid,-1,"USAGE:/announce [message]");
GameTextForAll(message, 3800, 6);
}
}
return 1;
}