20.11.2011, 00:12
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), "[HW] O Staff %s alterou o tempo para 12:00", Nomep);
SendClientMessageToAll(0x800000FF, stg);
SetWorldTime(12);
}
else return SendClientMessage(playerid, 0xFF0000FF, "[HW]AVISO: Comando da Staff");
}