15.02.2014, 15:15
Hello there,
If someone buys a bullet from the shop his points will raise to 100000+ instead of removing 2500 of the current points he got. Anyone knows the problem?
If someone buys a bullet from the shop his points will raise to 100000+ instead of removing 2500 of the current points he got. Anyone knows the problem?
pawn Код:
SendClientMessage(playerid, COLOR_LIME, "[Success]{FFFFFF} You have bought a Bullet for 2500 points! Use /carhelp to see your abilities!");
pInfo[playerid][points] -= 2500;
pInfo[playerid][vehicle] = true;
new INI:file = INI_Open(Path(playerid));
INI_SetTag(file,"Player's Data");
INI_WriteInt(file,"Points", pInfo[playerid][points]);