24.05.2018, 07:20
Код:
Line 361: format(string, sizeof(string), "Permission Owner:\t%s\nCan Deposit Money:\t%s\nCan Take Money:\t%s\nRemove", name, PermissionStates[ cache_get_field_content_int(0, "Can_Deposit") ], PermissionStates[ cache_get_field_content_int(0, "Can_Take") ]); Line 394: amount = cache_get_field_content_int(i, "Amount"); //-------------------------- Business Load id = cache_get_field_content_int(i, "ID"); cache_get_field_content(i, "Name", BusinessData[id][Name], .max_len = MAX_BUSINESS_NAME); cache_get_field_content(i, "Owner", BusinessData[id][Owner], .max_len = MAX_PLAYER_NAME); BusinessData[id][BusinessX] = cache_get_field_content_float(i, "BusinessX"); BusinessData[id][BusinessY] = cache_get_field_content_float(i, "BusinessY"); BusinessData[id][BusinessZ] = cache_get_field_content_float(i, "BusinessZ"); BusinessData[id][Closed] = cache_get_field_content_int(i, "Closed"); BusinessData[id][Price] = cache_get_field_content_int(i, "Price"); BusinessData[id][SalePrice] = cache_get_field_content_int(i, "SalePrice"); BusinessData[id][Earning] = cache_get_field_content_int(i, "Earning"); BusinessData[id][Money] = cache_get_field_content_int(i, "Money"); BusinessData[id][Type] = cache_get_field_content_int(i, "Type"); BusinessData[id][LastVisited] = cache_get_field_content_int(i, "LastVisited"); //------------------------------------ Line 495: amount = cache_get_field_content_int(i, "Amount"); Line 497: format(string, sizeof(string), "You sold a business to %s for $%s. (Transaction ID: #%d)", new_owner, convertNumber(amount), cache_get_field_content_int(i, "ID")); Line 948: format(string, sizeof(string), "%s%d\t%s\t%s\t%s\n", string, cache_get_value_name_int(i, "ID"), name, PermissionStates[ cache_get_value_name_int(i, "Can_Deposit") ], PermissionStates[ cache_get_value_name_int(i, "Can_Take") ]);
I think it's Yet Another Business system script