12.12.2009, 15:11
Top of Script:
OnGameModeInit
Anywhere:
It's untested but in theory, It will work.
pawn Код:
new PickupShown;
new thepickup;
pawn Код:
SetTimer("CheckTime",1000,1);
pawn Код:
public CheckTime()
{
new h,m,s;
gettime(h,m,s);
if(h == 6 && m = 0 && s = 0)
{
if(PickupShown == 0)
{
thepickup=CreatePickup(...);
PickupShown = 1;
}
}
if(h == 8 && m = 0 && s = 0)
{
if(PickupShown == 1)
{
DestroyPickup(thepickup);
PickupShown = 0;
}
}
return 1;
}