Script alow player to sell cars to each other


#1

Hi guys i need a script that alow players on an fx server to sell cars to each other.Can anyoane help me?


#2

anyone? post 20 char


#3

Here is some advice for writing it.

If you use ESX or VRP, look into the transfer money option via the bank.

Just change it from money to vehicles/models and change the database parts to garage etc.


#4

Did you find a script for selling cars??


#5

I want a script like that too


#6

Just look at the esx_vehicleshop where the attribution is done with the MySQL and do the same. Select the car, add it to the new owner then remove it from the seller.
Just 2 MySql task.

BR


#7

You would also need to create the portion of the script that would sell to ID or nearby player, remove money from one, add to another, etc… It would be a bit more entailed than just two queries or everyone would have it by now.