0.4
Hi guys, I had an idea about a cool system, but this idea will require me to sum storages, like this.
Player kill a monster and gain some storage value, like 2, so if he had (14000, -1), now it would be (14000, 1), and if he killed another monsters, (14000, 3), and so on
I already have the killing part count script, but it is not summing the storages
What am I doing wrong?
Edit: I was putting this in the wrong place, sry.
Fixed
Hi guys, I had an idea about a cool system, but this idea will require me to sum storages, like this.
Player kill a monster and gain some storage value, like 2, so if he had (14000, -1), now it would be (14000, 1), and if he killed another monsters, (14000, 3), and so on
I already have the killing part count script, but it is not summing the storages
C++:
setPlayerStorageValue(cid, 14000, getPlayerStorageValue(cid, 14000) + 2)
What am I doing wrong?
Edit: I was putting this in the wrong place, sry.
Fixed
Last edited: