Timer Help
#1

Hi, my community members and staff have been arguing about the timer for Hunger and Thirst goes down really fast. I need someone to help solving this problems.

Код:
ThirstTimer[playerid] = SetTimerEx("ThirstStatus",8000,1,"i",playerid);
HungerTimer[playerid] = SetTimerEx("HungerStatus",10000,1,"i",playerid);
This script have been made by one of my scripter, but he is currently inactive, my other scripter can't seem so fix this problems.

I set the Thirst to 8000 and Hunger to 10000 as I thought it was milliseconds(100000 milliseconds = 10 seconds).

I'm going to set it to 3 480 000(58 minutes), but somehow it still doesn't work. Please reply if you could help, thank you.

**Go to 91.204.210.28:7782 to see how it currently work**
Reply
#2

let the preprocessor do the work for you.
for 58 mins

58*(60 * 100)


EDIT:

your correct 3480000 = 58 mins

im not sure why they are going off faster than they should.
having so many timers is not really good and can cause them to conflict.

id have your scripters re script it into just 2 timers that loop threw all the players.
instead of 2 timers per player like you have it now.
Reply
#3

We actually have Hunger, Thirst, Infection and Bleeding.



I will inform this thread to my scripters, see what they could do.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)