#1

Hello, I have one doubt, and is not working, below you have a code, it is not functional (I think) is to store in NeedMedicTime [playerid] a value which is converted, like, the player level + 10 seconds is , one, am level 1, increases by 10 seconds from the default value (120) and onwards. Regardless of level, is half plus not much changes not, increases a few seconds in a coma, the higher the level, the longer is. It is something 10 to 20 seconds increases.


PHP код:
if (AccountData[playerid][pDonateRank] == 1)  

     new 
quantia AccountData[playerid][pNivel]* 10//10 seconds 
     
NeedMedicTime[playerid] = Quantia+120;  

else 

     new 
quantia AccountData[playerid][pNivel]* 20//20 seconds 
     
NeedMedicTime[playerid] = Quantia+120;  

Reply


Messages In This Thread
Time - by SukMathcuck - 19.07.2015, 19:11
Re: Time - by SukMathcuck - 19.07.2015, 21:03
Re: Time - by Glenn332 - 19.07.2015, 21:07
Re: Time - by SukMathcuck - 20.07.2015, 15:16
Re: Time - by !damo!spiderman - 20.07.2015, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)