Info: You can sell properties through Tebex and assign them to players automatically after purchase.
Download and configure the official tebex resourcearrow-up-right to integrate product sales with your FiveM server.
Use the /housing admin menu to create a new property you want to sell. Once saved:
/housing
Open your database and copy the id of that property from the houses table
id
houses
This id will be used as the property identifier in the Tebex command
In your Tebex package, set up a command
tebexProperty {sid} 152
{sid} is automatically replaced by Tebex with the player’s server ID
{sid}
152 is the property ID from your database
152
Once someone purchases your package, Tebex will trigger the command and the player will receive their property.
Last updated 7 months ago