02.11.2012, 12:19
I have been working on a cash dropping script as frankly, I don't like the filterscripts there are for it.
Number 1 problem
Player Dies, Player Drops Cash, Cash variable is set
Player Dies again, Player Drops Cash AGAIN and cash variable is set again.
problem is that the variable is not identified to the player, just the variable.
Number 2 problem
Player Dies, Player Drops Cash, Cash variable is set WITH playerid
Player Dies again, Player Drops Cash AGAIN and cash variable is set again. (rewrites the variable)
Number 3 problem
This one is the one I felt should work and doesnt
Any ideas?
Number 1 problem
Player Dies, Player Drops Cash, Cash variable is set
Player Dies again, Player Drops Cash AGAIN and cash variable is set again.
problem is that the variable is not identified to the player, just the variable.
Number 2 problem
Player Dies, Player Drops Cash, Cash variable is set WITH playerid
Player Dies again, Player Drops Cash AGAIN and cash variable is set again. (rewrites the variable)
Number 3 problem
This one is the one I felt should work and doesnt
Код:
cashdropcount[playerid]++; cashdrop[playerid][cashdropcount[playerid]] = createpickup(.....);