Simple error, but I cannot find a fix for it!
#7

Quote:
Originally Posted by kasper1996
Посмотреть сообщение
Hello,

Here is the enum:
pawn Код:
enum TCompanyData
{
    PickupID, // Holds the pickup-id that is linked to this Company
    Text3D:DoorText, // Holds the reference to the 3DText above the Company's pickup
    MapIconID, // Holds the ID of the mapicon for the business

    CompanyName[100], // Holds the name of the business (this will be displayed above the pickup near the business when it's owned)
    Float:CompanyX, // Holds the X-coordinate of the pickup for the Business
    Float:CompanyY, // Holds the Y-coordinate of the pickup for the Business
    Float:CompanyZ, // Holds the Z-coordinate of the pickup for the Business
    CompanyType, // Holds the type of business (well stacked pizza, burger shot, ...), this defines which icon and interior to use
    CompanyLevel, // Holds the level of upgrades the business has
    LastTransaction, // Holds the amount of minutes when the last transaction took place (buying the business or retrieving the money by the owner)
    bool:Owned, // Holds true if the Company is owned by somebody
    Owner[24] // Holds the name of the owner of the Company
}
// Holds the data for all houses
new ACompanyData[MAX_COMPANY][TCompanyData];
// This variable holds the Company-time (this value is increased every hour and is used to calculate the amount of money a Company
// has generated after the last transaction of the Company)
new CompanyTransactionTime;
PS: there is more enum for Company.
If they are needed to show you, just tell me
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)