15.06.2013, 14:13
pawn Код:
admtrampando[playerid] = 1;
GetPlayerName(playerid,sendername,sizeof(sendername));
SendClientMessageToAll(0xDCDCDCFF, "|{FFFFFF}_____________{FF0000}Aviso da {00FF00}Administraзгo{FFFFFF}_____________|");
format(string, 128, "{FF0000}Admin:{FFFFFF}: %s [ID:%d] estб {FF0000}Trabalhando",sendername, playerid);
SendClientMessageToAll(COR_ADMIN, string);
SetPlayerToTeamColor(playerid);
TempoAdministrador = SetTimerEx("Administrador", 100, true, "i", playerid);
skinadm[playerid] = GetPlayerSkin(playerid);
SetPlayerSkin(playerid,217);
getdate(year, month, day);
gettime(hour,minute,second);
format(gstring, sizeof(gstring), "%s esta trabalhando [%d/%d/%d - %d:%d:%d]\n", PlayerName(playerid), day, month, year, hour, minute, second);
new Text3D:label = Create3DTextLabel("Administrador(a)", 0x99FFFFAA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
AdminLog(gstring);
return 1;