The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
this is driving me crazy!!!
I am developing a hack like no other which I don't want to say what it is just incase someone better at coding makes it before me.
Here's my problem.. I have four buttons "up, down, left, right". Let's say I pressed the "up" button, this will move something upward by 5 increments. how can I have it remember the 5 so when I press up again it'll go 10 increments then 15, 20, and so on? I promise you no one has made this hack or if they did it wasn't released for free. I'll release it for free but first help me tackle this obstacle. |
#2
|
|||
|
|||
You can save the increment in a counter variable, and then when the user is finished moving whatever, you unset the variable. It's kind of hard to help when we don't know what it is your doing though.
|
#3
|
|||
|
|||
thanks, I'll look up what a "counter variable" is and see if I can get it working.
Edit: I think I came up with a solution. I'll insert the number into a database then when I move it'll add 5 onto the number in the database. This way the user can just close out the browser and when he/she goes to play the game again he/she will be in the same spot. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|