Help PLZ
#1

hi, I making my server rpg mode, and I have a problem with bank time, plz help me
Код:
forward TimeUpdate();
public TimeUpdate()
{
    worldTime++;
	worldTime%=24;
	SetWorldTime(worldTime);
	minutes=2;
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
       if(IsPlayerConnected(i))
		{
			if(ShitInfo[i][pBank] == 1)
			{
				if(worldTime==6 && minutes==0 && seconds == 1)
 				{
					GivePlayerECash(i,15);
					PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
					SendClientMessage(i,COLOR_GREEN, "(!) QUEST 1 COMPLETED REWARD: ");
					SendClientMessage(i,COLOR_YELLOW, "(!)  +15 ");
					return 1;
				}
			}
		}
	}
	return 1;
}
forward TimeUpdate2();
public TimeUpdate2()
{
	seconds++;
	seconds%=60;
	return 1;
}
just doesn't work
Reply
#2

nobody can help me?
Reply
#3

What's the problem exactly ?
Reply
#4

Quote:
Originally Posted by Alvin007
Посмотреть сообщение
What's the problem exactly ?
when you're in bank at 06:00 you don't get money ( ecash ) and message which should show you got it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)