20.07.2015, 15:16
I will explain further, the person is in hospital in a coma, and the patient must stay in the hospital depending on the level, very high level the patient is longer, very low level the patient is less time, I can not calculate, for example, each level player increases 20 seconds in hospital in a coma, the default value to stay in the hospital as a patient is 120, is something 20 seconds increases, the higher the level, the longer is.
Quote:
120 + level*20 = Time in hospital in a coma |
PHP код:
new quantia = AccountData[playerid][pNivel]* 20; //20 segundos
NeedMedicTime[playerid] = Quantia+120;