25.05.2013, 19:17
Код:
new currentHour = GetCurrentHour()
Код:
stock GetCurrentHour() { new currentHour[3]; gettime(currentHour[0], currentHour[1], currentHour[2]); return currentHour[0]; }
He's then getting the hour, minute, and second with gettime and assigning them to slots in the array he just created.
Then he's returning the HOUR (for the thing we discussed above "currentHour").
Please post the entire script and explain what you mean by "bugged" and I'll try to help figure it out. For now I see nothing that's wrong.