30.03.2013, 13:13
(
Последний раз редактировалось MrTinder; 30.03.2013 в 14:10.
)
Hi.I want when the time in game is 18:00 in the game to get dark and when the time becomes 6:00 in game to get bright.Sorry but my english sux...
My code to here:
My code to here:
pawn Код:
forward WeatherTime();
public WeatherTime()
{
gettime(hour, minute);
if( hour == 18 )
{
SetWorldTime(9);
}
else if( hour == 19)
{
SetWorldTime(10);
}
}