20.01.2015, 18:28
Quote:
See here CarDealerShipInfo
Код:
enum cdInfo { cdOwned, cdOwner[MAX_PLAYER_NAME], Float: cdEntranceX, Float: cdEntranceY, Float: cdEntranceZ, Float: cdExitX, Float: cdExitY, Float: cdExitZ, cdMessage[128], cdTill, cdInterior, Float: cdRadius, cdPrice, cdPickupID, Text3D:cdTextLabel, Text3D:cdVehicleLabel[MAX_DEALERSHIPVEHICLES], cdVehicleModel[MAX_DEALERSHIPVEHICLES], cdVehicleCost[MAX_DEALERSHIPVEHICLES], cdVehicleId[MAX_DEALERSHIPVEHICLES], Float: cdVehicleSpawnX[MAX_DEALERSHIPVEHICLES], Float: cdVehicleSpawnY[MAX_DEALERSHIPVEHICLES], Float: cdVehicleSpawnZ[MAX_DEALERSHIPVEHICLES], Float: cdVehicleSpawnAngle[MAX_DEALERSHIPVEHICLES], Float: cdVehicleSpawn[4], }; new CarDealershipInfo[MAX_CARDEALERSHIPS][cdInfo]; |
Код:
format(string,sizeof(string),"Admin %s (IP: %s) has admin-sold Dealership ID %d (was owned by %d).",GetPlayerName(playerid),ip,dealershipid,CarDealershipInfo[dealershipid][cdOwner]);