22.05.2010, 11:53
Double Hop
In the world of San Andreas noone has never really cared about the term of doing a jump.
Doing a jump is very common and can be very boring, not anymore. This filterscript has been made
to make jumping a more fun experience, by giving you the possibility of doing a doublehop!
About double hopping:
A regular jump is where you press the jump key and you do a small jump in the air.
By using this filterscript you can do an additional jump while in mid air!
Just hit the jump key twice and you jump even higher!
Short about how it works:
This filterscript checks whenever you click the "jump" button and then using OnPlayerUpdate,
to check the moment you are no longer in the air. Then if you press the "jump" key again before
it has detected your back on the ground you will get a boost towards the sky.
Screenshots:
Installing the filsterscript:
Download the .pwn file og copy the code from pastebin to gain the doublehop code.
What to do if you download:
Download the .pwn file to your filterscripts directory and open server.cfg and add "DoubleHop".
Restart the server and do a doublehop!
What to do if you use pastebin:
Open a Pawno window and click new. Then replace all the code with the 1 from pastebin.
Compile it under the name "DoubleHop" or others if you like. Then add the name of the filterscript
in the server.cfg. Restart the server and doublehop!
Download & Pastebin:
Solid Files
http://solidfiles.com/d/60f/
Pastebin
http://pastebin.com/NNb6eyAu
New pastebin!: http://pastebin.com/H1VVrpUa
In the new pastebin link i have exchanged the "new" variables to PVar which makes the script run alittle faster and makes it alittle smaller. Also it no longer needs OnPlayerDisconnect. Also i have added a "#define MAX_HOPS" where in you can decide how many double hops the players should be able to do! Setting it to 5 means they can hop 5 times in air! 1 is standard. Putting 0 gives unlimited double hops
Enjoy and report if there is any bugs
In the world of San Andreas noone has never really cared about the term of doing a jump.
Doing a jump is very common and can be very boring, not anymore. This filterscript has been made
to make jumping a more fun experience, by giving you the possibility of doing a doublehop!
About double hopping:
A regular jump is where you press the jump key and you do a small jump in the air.
By using this filterscript you can do an additional jump while in mid air!
Just hit the jump key twice and you jump even higher!
Short about how it works:
This filterscript checks whenever you click the "jump" button and then using OnPlayerUpdate,
to check the moment you are no longer in the air. Then if you press the "jump" key again before
it has detected your back on the ground you will get a boost towards the sky.
Screenshots:
Installing the filsterscript:
Download the .pwn file og copy the code from pastebin to gain the doublehop code.
What to do if you download:
Download the .pwn file to your filterscripts directory and open server.cfg and add "DoubleHop".
Restart the server and do a doublehop!
What to do if you use pastebin:
Open a Pawno window and click new. Then replace all the code with the 1 from pastebin.
Compile it under the name "DoubleHop" or others if you like. Then add the name of the filterscript
in the server.cfg. Restart the server and doublehop!
Download & Pastebin:
Solid Files
http://solidfiles.com/d/60f/
Pastebin
http://pastebin.com/NNb6eyAu
New pastebin!: http://pastebin.com/H1VVrpUa
In the new pastebin link i have exchanged the "new" variables to PVar which makes the script run alittle faster and makes it alittle smaller. Also it no longer needs OnPlayerDisconnect. Also i have added a "#define MAX_HOPS" where in you can decide how many double hops the players should be able to do! Setting it to 5 means they can hop 5 times in air! 1 is standard. Putting 0 gives unlimited double hops
Enjoy and report if there is any bugs