+rep for any help!
#1

Hey!
I was making bank time system like if the time is 13 and player in bank it gives the player money and sends client message to him!
i made it with public and forwarded the callback it compiles without any error but when i try it , it dont give me money or send client message!
Code:
Код:
forward OnPlayerInBank(playerid);
public OnPlayerInBank(playerid)
{
	new hour, minutes;
	GetPlayerTime(playerid, hour, minutes);
	if(inbank[playerid] == 1)
	{
  		if(hour == 13 && minutes == 00)
		{
	     	SendClientMessage(playerid, COLOR_WHITE, "The bank paid you 15 DCash!");
	     	GivePlayerMoney(playerid, 15);
		}
	}
	return 1;
}
Please help me!
I will +rep for any help!
Thanks!
Ironmen
Reply


Messages In This Thread
+rep for any help! - by ironmen - 19.07.2015, 12:10
Re: +rep for any help! - by SoFahim - 19.07.2015, 12:16
Re : +rep for any help! - by KillerDVX - 19.07.2015, 12:17
Re: Re : +rep for any help! - by ironmen - 19.07.2015, 12:23
Re : +rep for any help! - by KillerDVX - 19.07.2015, 12:27
Re: +rep for any help! - by ironmen - 19.07.2015, 12:37
Re: +rep for any help! - by Krokett - 19.07.2015, 12:47
Re: +rep for any help! - by ironmen - 19.07.2015, 12:51
Re: +rep for any help! - by PrinceKumar - 19.07.2015, 12:53
Re: +rep for any help! - by Glenn332 - 19.07.2015, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)