19.07.2015, 19:11
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;
}