07.11.2010, 10:55
Ok, this will be:
f(pickupid == HidP)
{
new
Hour, Minutes
;
GetPlayerTime(Hour, Minutes);
if(Hour > 16 && Hour < 22 && Minutes > 0 && Minutes < 60)
{
GivePlayerMoney( playerid , 1000 );
}
else
{
SendClientMessage( playerid , COLOR , "Only for 17, 18, 19, 20, 21h!" );
}
return 1;
}
f(pickupid == HidP)
{
new
Hour, Minutes
;
GetPlayerTime(Hour, Minutes);
if(Hour > 16 && Hour < 22 && Minutes > 0 && Minutes < 60)
{
GivePlayerMoney( playerid , 1000 );
}
else
{
SendClientMessage( playerid , COLOR , "Only for 17, 18, 19, 20, 21h!" );
}
return 1;
}