Adding a value to a value and saving it
#1

Okay i got this:
pawn Код:
format(string4, sizeof(string4), "UPDATE Users SET ECoins = '%i' WHERE Name = '%s'", APlayerData[playerid][ECoins] + Coins, pName);
But the APlayerData[playerid][ECoins] variable stays at zero because its not added. How to make it Add Coins to AplayerData[playerid][ECoins] and actually make it save into APlayerdata[playerid][Ecoins]? Please help
Reply


Messages In This Thread
Adding a value to a value and saving it - by thimo - 30.06.2013, 18:23
Re: Adding a value to a value and saving it - by Scottas - 30.06.2013, 18:26

Forum Jump:


Users browsing this thread: 1 Guest(s)