22.03.2014, 17:21
PT, eu sei que nгo preciso de tantas mas fiz para nгo haver falhas.
Estas-te a referir a eu puder colocar logo assim.:
---"----
Obrigado Cor3y . ^^
----------------------
Estas-te a referir a eu puder colocar logo assim.:
pawn Код:
public Atualizar()
{
new H, M, S;
gettime(H, M, S);
if(M == 00 && S == 00)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
format(String, sizeof(String), "~b~ Sгo ~r~%d ~b~Horas e ~r~%d ~b~Minutos\n ~r~HORA DO PAYDAY!", H, M);
GameTextForAll(String, 1500, 6);
Exp[i]+=10;
if(TExp[i] == Exp[i] || Exp[i] > TExp[i])
{
Nivel[i]++;
TExp[i] = Nivel[i]*6;
Exp[i] = 0;
format(String, sizeof(String), "|| INFO || Parabйns, subiste para nivel %d e tens %d/%d de experiкncia", Nivel[i], Exp[i], TExp[i]);
SendClientMessage(i, COLOR_BLUE, String);
GuardarConta(i);
}
format(String, sizeof(String), "%d/%d", Exp[i], TExp[i]);
TextDrawSetString(Textdraw[7], String);
TextDrawShowForPlayer(i, Textdraw[7]);
format(String, sizeof(String), "%d", Nivel[i]);
TextDrawSetString(Textdraw[8], String);
TextDrawShowForPlayer(i, Textdraw[8]);
}
}
return 1;
}
Obrigado Cor3y . ^^
----------------------
Cуdigo simplificado