Add script init functions

This commit is contained in:
Vortrex
2022-09-22 05:17:05 -05:00
parent 45c5372499
commit 8326561a58
2 changed files with 14 additions and 0 deletions

View File

@@ -27,6 +27,13 @@ class BusinessData {
// ===========================================================================
function initBusinessScript() {
logToConsole(LOG_DEBUG, "[AGRP.Business]: Initializing business script ...");
logToConsole(LOG_INFO, "[AGRP.Business]: Business script initialized!");
}
// ===========================================================================
function receiveBusinessFromServer(businessId, name, entrancePosition, blipModel, pickupModel, buyPrice, rentPrice, hasInterior, hasItems) {
logToConsole(LOG_DEBUG, `[AGRP.Business] Received business ${businessId} (${name}) from server`);