09.07.2013, 03:43
pawn Код:
#include <a_samp>
// forward
forward tempo();
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Filter Tempo, By Steel (steeldark)");
print("--------------------------------------\n");
SetTimer("tempo",500,true);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public tempo()
{
new Hour, Minute, Second;
gettime(Hour, Minute, Second);
if(Hour >= 06 && Hour <= 18){
SetWorldTime(12);
SetWeather(12);
}
else
{
SetWorldTime(0);
SetWeather(43);
}
}