[REQ] Time restarter.
Started by Jer1cho
12 Jan 2009, 08:11
Page 1 of 1
12 Jan 2009, 08:11
Hello,
Can someone help me recode kz_main.sma for when i press Start Button more then one time, time will restarted.
thx.
sorry for bad english =)
12 Jan 2009, 15:29
change(function PreThink):
if(Started[id] && vector_distance(origin, start_origin) <= DISTANCE_FROM_BUTTON)
to:
if(vector_distance(origin, start_origin) <= DISTANCE_FROM_BUTTON)
and add this code to function start_climb:
if(Started[id] == true)
{
Started[id] = false;
reset_data(id);
}
13 Jan 2009, 02:37
I change
if(!Started[id] && button == start)
to
if(button == start)
and use your code, its working!
thx.
Page 1 of 1
Reply
Please log in to post replies.