05.07.2016, 16:58
Hello, I added levels and experience points today to my server but requiredxp doesn't seem to work properly.
Here is the code:
The result of it is that the requiredxp is 1000000000+. What's wrong with the code?
Here is the code:
Код:
new Float:requiredxp; if (PlayerData[playerid][pLevel] == 1) requiredxp = 8; else requiredxp = PlayerData[playerid][pLevel]*6;