19.11.2011, 23:19
pawn Код:
if(strcmp(cmdtext, "/dia", true) == 0)
{
new Nomep[MAX_PLAYER_NAME], stg[80];
GetPlayerName(playerid, Nomep, sizeof(Nomep));
if(IsPlayerAdmin(playerid))
{
format(stg, sizeof(stg), "O administrador %s alterou o tempo para 12:00", Nomep);
SendClientMessageToAll(-1, stg);
SetWorldTime(12);
}
else return SendClientMessage(playerid, -1, "* Vocк nгo й administrador.");
}