04.07.2012, 00:04
Car Ownership by zxc1 using INI
Alright then, I'm zxc1 and I'm publishing now my Car Ownership using INI.
Basic Info:
1. Max player car slots can be changed. (#define MAX_CAR_SLOTS)
2. Max available for purchase cars on the server can be changed. (#define MAX_BUYABLE_CARS)
3. Modifications, colors, painjots, saves automatically.
4. The script was made last year, and was checked then. If you find any bugs do not contact me about them.
Commands:Alright then, I'm zxc1 and I'm publishing now my Car Ownership using INI.
Basic Info:
1. Max player car slots can be changed. (#define MAX_CAR_SLOTS)
2. Max available for purchase cars on the server can be changed. (#define MAX_BUYABLE_CARS)
3. Modifications, colors, painjots, saves automatically.
4. The script was made last year, and was checked then. If you find any bugs do not contact me about them.
- /aslots - adding slots to a certain player. (disabled)
- /apark - to park a certain vehicle.
- /aprice - to set a certain vehicle buying price.
- /savepos - to save the current the position. (not setting - saving)
- /car buy - to purchase a vehicle.
- /car sell [amount] - to sell a vehicle.
- /car unsell - to make a vehicle unavailable for purchase.
- /car selltostate - to sell the vehicle to the state and get 75% on the purchase price.
- /car givekey/dupekey/givekeys/duepkeys [playerid] - to give a certain player a key to your vehicle.
- /car takekey/takekeys [playerid] - to take the car keys from the player who has them.
- /car lock [slotID] - to lock your vehicle. (Using slot ID, it will stay locked till you unlock it)
- /car klock [keyID] - using your duplicated key to lock a car. (Using key ID, it will stay locked till you unlock it)
- /car unlock [slotID] - to unlock your vehicle. (Using slot ID, it will stay unlocked till you lock it)
- /car kunlock [keyID] - using your duplicated key to unlock a car. (Using key ID, it will stay unlocked till you lock it)
- /car savemod - to save the current vehicle modifications.
- /car unmod - to remove the current vehicle modifications.
- /car park - to park your vehicle at your current coords.
- /car tow [slotID] - to respawn a certain vehicle that you own. (Using slot ID)
- /car find [slotID] - to find your vehicle. (Using slot ID, a checkpoint will appear on the radar)
- /car unfind [slotID] - in case that you didn't reach the checkpoint and want to remove it.
- /car list - to see which car do you own. (Slot ID, car ID, model ID)
- /car - will shot you the command list.
Files:
- You will have to add into your scriptfiles a folder name "CarOwnership".
- You will have to add into you scriptfiles/CarOwnership a folder named "Users".
Credits:
- SA-MP team.
- Slick. (SII)
Note: You can do whatever you want with this FS, editing, adding credits, etc. Everything BESIDE selling.