13.08.2012, 23:57
nw i fix my bank time so when the player is in the place it gives the cilent message but it doesnt give the money so when the clock struck 3:00 it doesnt give the money ,, i thought that i must use toggle player clock but it doesnt work hope u could help me
PHP код:
else
{
new hours;
new minutes;
GetPlayerTime(i, hours, minutes);
if(hours == 03 && minutes == 00) //Gives user money at 6:00, if they're in bank
{
PlayerPlaySound(i, 1058, 0.0, 0.0, 0.0);
GivePlayerMoney(i, 7500);
SendClientMessage(i, 0x12900BBF, "||| 03:00 | BANK TIME: |||");
SendClientMessage(i, 0xFFFF00AA, "YOU RECEIVE +7.500 $");
}
}
}
}
return 1;
}