How to create a working transfender and ray'n'spray?
#1

Anyone know how to create a working tranfender and pay'n'spray?

I just want to use it on my rp server.

P.S. what is good vehicle ownership filterscript?
Reply
#2

You don't have to make a working transfender, Nor Pay n' spray.
Reply
#3

With "working" do you mean that it's saving?

Use the OnPlayerModVehicle and OnPlayerResprayVehicle or what the callbacks are...

And I suggest not using any filterscripts, just make your own gamemode from scratch.
Reply
#4

True, they are there by default in the game. scripting to make it complex is down to you.
Reply
#5

Quote:
Originally Posted by PhoenixB
Посмотреть сообщение
True, they are there by default in the game. scripting to make it complex is down to you.
Indeed, And for the 10200th time, Why won't you guys read wikis ?:/

https://sampwiki.blast.hk/

I swear to you, there's everything you need help with there, There even is Examples, How cool is that ?
Reply
#6

I has a building and I just need a command or filterscript or something to create a working (like original in-game) pay'n'spray and (or) transfender to my gamemode.
Reply
#7

If you wanna make your own transfender and pay 'n' spray, I advise you to use MTA map editor to find the transfender and pay n spray garage. When the player's are in range, just use a dialog or something to show up and let players choose stuff to add for transfender. Use AddVehicleComponent:

https://sampwiki.blast.hk/wiki/Function:AddVehicleComponent
https://sampwiki.blast.hk/wiki/Car_Component_ID

For pay n spray, all you need is to use SetVehicleHealth, and take money away from the player..

Not that hard.
Reply
#8

That is very easy and simple to make. I made custom pay'n'spray in about 7 minutes (including objects) and it works the same way as original one. I will maybe release it in a few days since it is too simple to make.
Reply
#9

My server co-owner also made the Southeast Las Venturas pay n spray, enabled. There is that one pay n spray there that shows the sign but the garage door isn't open/doesn't open. He made it so it teleports you inside it and works the same as a regular pay n spray.

Not releasing it though
Reply
#10

Quote:
Originally Posted by Nenad
Посмотреть сообщение
That is very easy and simple to make. I made custom pay'n'spray in about 7 minutes (including objects) and it works the same way as original one. I will maybe release it in a few days since it is too simple to make.
Maybe you can make a dinamic maker of pay'n'spray (checkpoint only)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)