27.01.2012, 02:35
hello there i make this thing for my script but i dont know how to make it work hour in hour (this is one of the jobs)
making get the money hour in hour
pawn Код:
public Up()
{
for(new i=0;i<MAX_PLAYERS;i++){
if(IsPlayerConnected(i)){
new aname[MAX_PLAYER_NAME];
GetPlayerName(i, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
new string[256];
if(dini_Int(file, "Profissao") == Desempregado){ // job
SendClientMessage(i, 0xC10000AA,"~~~~~~~~~~~~~~~~~~~~~~ Sбlario ~~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(i, 0xFFFFFFAA,"» Ministйrio do Trabalho:");
SendClientMessage(i, 0xFFFFFFAA,"Assistкncia financeira temporбria ao trabalhador desempregado!");
SendClientMessage(i, 0xFFFFFFAA,"Vocк recebeu 65,00 R$ do Seguro-Desemprego!");
SendClientMessage(i, 0xC10000AA,"~~~~~~~~~~~~~~~~~~~~~~ Sбlario ~~~~~~~~~~~~~~~~~~~~~~");
GivePlayerGrana(i, 65);