17.03.2010, 16:51
HI
VERSION 2:fixed alot of bugs.
each vehicle has it own file.
the vehicles are not added by this script cant be bought.
fixed the unknown commands in pawno with clear ones. (SetPlayerMoney...)
What is this FS??
this is a filter-script i made that can allow players to buy and sell cars or planes...
COMMANDS:
/vbuy
/vsell
HOW TO ADD CARS
you can add a buyable car by adding this to OnFilterScriptInit()
Код:
AddCar(Filename[], CarMod, Cost, Float:Spawnx, Float:Spawny, Float:Spawnz, Rot, Col1,Col2)
FileName[] : the vehicle file name ex. car1
CarMod : the model of the car ex.411 = infernus... you can get them from here: https://sampwiki.blast.hk/wiki/Vehicles:All
Cost : the price of the car
Float:Spawnx : The X-coordinate of the vehicle
Float:Spawny : The Y-coordinate of the vehicle
Float:Spawnz : The Z-coordinate of the vehicle
Rot : The rotation of the vehicle
Col1 : Color 1 of the vehicle
Col2 : Color 2 of the vehicle
example
Код:
AddCar("Infernus", 411, 5000, 2019.5199, -1253.3680, 23.7115, 116, 12, 12);
Credits:
[SB]Unforseen
hope you like that filter-script and remember its simple car system.