Using PPC_Extras - PPC-Trucking/V1 GitHub Wiki
Enhance your gaming experience by enabling all the features from the PPC_Extras include!
How to install:
1. Open your ~/PPC_Trucking.pwn gamemode file and uncomment the following line by removing the two leading slashes:
// #include <PPC_Extras>
(should be right under "PPC_Toll")
2. Save and recompile the gamemode
New commands:
This include unlocks 7 additional commands:
- /delproperty
- /evict
- /propertyid
- /porthouse <HouseID>
- /portbus <BusID>
- /properties
Notices:
The first 3 commands do not take any parameters and require admin level 5 to be used. However, you can change the admin level to your liking.
The next 2 commands require one parameter each to allow you to teleport to the given house or business.
The last command lists all properties of a player. You need to stand next to one of his properties.
How to use:
The /delproperty command deletes a house or business at the location where you are standing. Just like the /delhouse and /delbus commands, you need to be near a house or business pickup-icon for this to work. It deletes the house or business even when it is owned. Also the vehicles assigned to the house will be deleted. The account file of the owner will be manipulated in order to remove the property from his account. This works even if the player is offline.
The /evict command works almost same, except it does not delete the house or business. It only removes the ownership of the property and makes it available so other players can buy it.
The /propertyid command shows the ID of the house or business. It does not change any data.
WARNING! USE THESE COMMANDS WITH CARE! ... THE CHANGES CANNOT BE UNDONE!