Hour.
#1

Why this doesnt work? Tryied to do that: If player find the pickup only at hours 17-20 - he get 1k.. And..

if(pickupid == HidP)
{
new
Hour, Minutes, Second
;
if( Hour > 16 && Hour < 21 )
{
GivePlayerMoney( playerid , 1000 );
}
else
{
SendClientMessage( playerid , COLOR , "Only for 17, 18, 19, 20, 21h!" );
}
return 1;
}
But, when i come to it ~19:30 its say, that this only for 17, 18, 19, 20, 21 h.
Reply


Messages In This Thread
Hour. - by Gh0sT_ - 07.11.2010, 10:46
Re: Hour. - by LarzI - 07.11.2010, 10:51
Re: Hour. - by Gh0sT_ - 07.11.2010, 10:55
Re: Hour. - by Bessensap - 07.11.2010, 12:27

Forum Jump:


Users browsing this thread: 2 Guest(s)