SA-MP Forums Archive
[FilterScript] [FS] Ramping for vehicles - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Ramping for vehicles (/showthread.php?tid=119471)



[FS] Ramping for vehicles - Jeffry - 08.01.2010

Ramping for vehicles!!
Hello guys!! This is my first release of a filterscript! So please donґt be that strict!
It is a ramping system for vehicles.
Please give me comments too! And tell me if I did anything wrong! Thank you.

-------------------------------------------------------------------------

What is it?

This is a simple filterscript with which you can create ramps infront of your vehicle. You just have to press the Special Action Key. (Strg or AltGr). I made two versions:
1.) Other players CAN see the ramps.
2.) Other players CAN`T see the ramps

There are Five (5) different Types of ramps. The ramps stay for 4 seconds, and are destroyed then.

Commands: •/ramping ==> Enable/Disable creating Ramps when you click
•/my ramp [1-5] ==> Change the type of your ramp

-------------------------------------------------------------------------

What use?

Well, I think all servers can use this cause its really funny to create Ramps infront of your car and jump over them.
Also itґs usefull if you want to go with your car over a hedge or something.

-------------------------------------------------------------------------

Any pictures?




Ramp Type 1 and Ramp Type 5

-------------------------------------------------------------------------

Bugs?

I didnґt find any bugs yet. But IF you find one or more, please tell me!!

-------------------------------------------------------------------------

Credits

It would be nice if you give Credtits to me.

Also I want to say thanks to » RэРиR «! I think he knows why. He gave me some tips for upload and so.

-------------------------------------------------------------------------

Download Link?

Yup, here it is:

1.) Seeable Ramps for other players: Download (Pastebin)
2.) No seeable Ramps for others: Download (Pastebin)

BOTH Versions are on Fixed version of 16.04.2010!

Seeable Ramps had a bug: Sometimes they didnt respawn. This bug has been fixed. Re-download it if you want.


PS: Please give me comments, if i did everything right, or not.
And comments if you like my script.


Jeffry


Re: [FS] Ramping for vehicles - Rensieboy14 - 08.01.2010

wow, very nice for a first release


Re: [FS] Ramping for vehicles - TheBug - 08.01.2010

what u mean with:
1.) Other players CAN see the ramps.
2.) Other players CAN`T see the ramps
?? xDD


Re: [FS] Ramping for vehicles - John Rockie - 08.01.2010

Excellent Job


Re: [FS] Ramping for vehicles - Doppeyy - 08.01.2010

Quote:
Originally Posted by TheBug
what u mean with:
1.) Other players CAN see the ramps.
2.) Other players CAN`T see the ramps
?? xDD
There are 2 types of ramps :
1 everyone can see the ramp you have placed.
2 only you can see the ramp you placed.

And for a first release its an awesome Filterscript keep up the good work.

[Doppeyy


Re: [FS] Ramping for vehicles - Jeffry - 08.01.2010

Thank you guys!!

And thx to Doppeyy for explaining.


Re: [FS] Ramping for vehicles - Doppeyy - 08.01.2010

Quote:
Originally Posted by Jeffry
Thank you guys!!

And thx to Doppeyy for explaining.
No problem we are here to help eachother ^^.

[Doppeyy


Re: [FS] Ramping for vehicles - NeRoSiS - 08.01.2010

It's good, much better than my one that was released, but a few pointers.

1)A #define to alow users to change whether the ramp shows for all players or not, rather than releasing two seperate versions.

2)Sort out your indentation, it's really bad.

3) Instead of using seperate commands for "/my ramp 1-4" you could either use a dialog under a "myramp" command or use "/myramp" andd add the numbers as parameter's using sscanf.

Also on a not so important note, I reccommend you use ZCMD rather than strcmp, more people need to start switching to faster methods.

Note, I haven't actually tested the script, just gone through the code.

I like your idea about using different ramps, I just think it could have been coded better.


Re: [FS] Ramping for vehicles - Jeffry - 08.01.2010

Cool, nice ideas. Well, I will try that!
Thx for advices. But try it, and tell me if its good.


But for dcmd you need dutils & dubd or? I used to write with it, but not in this FS, but in my scripts.


Re: [FS] Ramping for vehicles - NeRoSiS - 08.01.2010

Quote:
Originally Posted by Jeffry
Cool, nice ideas. Well, I will try that!
Thx for advices. But try it, and tell me if its good.


But for dcmd you need dutils & dubd or? I used to write with it, but not in this FS, but in my scripts.
Don't use DCMD, use ZCMD, simpler and is now the most efficient way to write commands.


Re: [FS] Ramping for vehicles - RyDeR` - 08.01.2010

Nice to see it released. Good job


Re: [FS] Ramping for vehicles - Jeffry - 08.01.2010

Quote:
Originally Posted by Wazza!
Quote:
Originally Posted by Jeffry
Cool, nice ideas. Well, I will try that!
Thx for advices. But try it, and tell me if its good.


But for dcmd you need dutils & dubd or? I used to write with it, but not in this FS, but in my scripts.
Don't use DCMD, use ZCMD, simpler and is now the most efficient way to write commands.
Iґll inform me about it.
But lets not move to off topic.


Quote:
Originally Posted by » RэРиR «
Nice to see it released. Good job
Thx. Try it!


Re: [FS] Ramping for vehicles - biltong - 29.01.2010

Ok, so I typed in /ramping and I hit my action key and I got nothing.

I also had to change my action key binding, it was set to tab :/


Re: [FS] Ramping for vehicles - patchkinson - 30.01.2010

nice job


Re: [FS] Ramping for vehicles - somoon - 10.02.2010

nice job jeffry


Re: [FS] Ramping for vehicles - Jeffry - 12.02.2010

Quote:
Originally Posted by biltong
Ok, so I typed in /ramping and I hit my action key and I got nothing.

I also had to change my action key binding, it was set to tab :/
Well, its not the action key. Its the Special Action Key! ( on default: Ctrl or Alt GR).


More comments please!!


Re: [FS] Ramping for vehicles - biltong - 12.02.2010

O_o what is alt gr?


Re: [FS] Ramping for vehicles - Jeffry - 15.02.2010

Quote:
Originally Posted by biltong
O_o what is alt gr?
Hm, maybe you dont have it.



NOTE: Seeable Ramps for all players has been updated!! There was a little bug.
Re-download it if you want!!


Re: [FS] Ramping for vehicles - gallexme - 16.02.2010

pls a admin only version


Re: [FS] Ramping for vehicles - Roperr - 16.02.2010

I can finally get this!
THANKS!