Moin weiss jemand wie ich die Häuser auf Rosche Kaufbar machen kann derzeit haben wir die von Tanoa
freue mich über jede Hilfe
Moin weiss jemand wie ich die Häuser auf Rosche Kaufbar machen kann derzeit haben wir die von Tanoa
freue mich über jede Hilfe
Config_Housing eintragen?
habe ich versucht jedoch kommt keine Interaktion
#define true 1
#define false 0
/*
price - Cost of the building
numberCrates - Allowed number of crates
restrictedPos[] - Same as the old fn_getBuildingPositions. A list of restricted building positions (i.e, to stop spawning outside, or by windows etc)
default: {}
canGarage - True if the building can be used as a garage (need to buy ontop)
default: false
garageSpawnPos[] - worldToModel position to spawn vehicles, leave {} if canGarage is false.
default: {}
garageSpawnDir - Offset to garage direction to spawn at (+-90 etc). It will be used in the manner: getDir _garage + spawnDir
default: 0
garageBlacklists[] - List of blacklisted houses for buying garages
default: {}
*/
class Housing {
class Altis {
class Land_i_House_Big_02_V1_F {
price = 1550000;
numberCrates = 3;
restrictedPos[] = {0,1,2,3,4};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {2,0,3.5};
};
class Land_i_House_Big_02_V2_F : Land_i_House_Big_02_V1_F{};
class Land_i_House_Big_02_V3_F : Land_i_House_Big_02_V1_F{};
class Land_i_House_Big_01_V1_F {
price = 2200000;
numberCrates = 4;
restrictedPos[] = {2,3};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,-2,3.8};
};
class Land_i_House_Big_01_V2_F : Land_i_House_Big_01_V1_F{};
class Land_i_House_Big_01_V3_F : Land_i_House_Big_01_V1_F{};
class Land_i_House_Small_01_V1_F {
price = 1050000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {-1.5,0,2};
};
class Land_i_House_Small_01_V2_F : Land_i_House_Small_01_V1_F{};
class Land_i_House_Small_01_V3_F : Land_i_House_Small_01_V1_F{};
class Land_i_House_Small_02_V1_F {
price = 1000500;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {2,0,2.4};
};
class Land_i_House_Small_02_V2_F : Land_i_House_Small_02_V1_F{};
class Land_i_House_Small_02_V3_F : Land_i_House_Small_02_V1_F{};
class Land_i_House_Small_03_V1_F {
price = 1250000;
numberCrates = 3;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {-3.3,1,2.5};
};
class Land_i_House_Small_03_V3_F : Land_i_House_Small_03_V1_F{};
class Land_i_Stone_HouseSmall_V1_F {
price = 750000;
numberCrates = 1;
restrictedPos[] = {0,1,3,4};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0.90,2.3,4};
};
class Land_i_Stone_HouseSmall_V2_F : Land_i_Stone_HouseSmall_V1_F{};
class Land_i_Stone_HouseSmall_V3_F : Land_i_Stone_HouseSmall_V1_F{};
};
class Tanoa {
// Houses with Garages
class Land_Hotel_01_F {
price = 89500000;
numberCrates = 6;
restrictedPos[] = {};
canGarage = true;
garageSpawnPos[] = {-1.27246,-11.4361,-5.63821};
garageSpawnDir = 0;
garageBlacklists[] = {{5909.93,10491.9,-0.153875}};
lightPos[] = {0.5,0.5,7.5};
};
class Land_Hotel_02_F {
price = 12000000;
numberCrates = 8;
restrictedPos[] = {};
canGarage = true;
garageSpawnPos[] = {14.1128,1.51736,-4.18449};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,1,3};
};
class C0kkie_Trailer {
price = 12000000;
numberCrates = 8;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {14.1128,1.51736,-4.18449};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,1,3};
};
class C0kkie_Caravan {
price = 12000000;
numberCrates = 8;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {14.1128,1.51736,-4.18449};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,1,3};
};
class C0kkie_rightapartment {
price = 12000000;
numberCrates = 8;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {14.1128,1.51736,-4.18449};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,1,3};
};
class Land_GarageShelter_01_F {
price = 1750000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = true;
garageSpawnPos[] = {0.241684,-5.72266,-1.46744};
garageSpawnDir = 90;
garageBlacklists[] = {{10998,9698.24,-0.219376}};
lightPos[] = {0,0,2};
};
class Land_House_Big_02_F {
price = 3250000;
numberCrates = 3;
restrictedPos[] = {};
canGarage = true;
garageSpawnPos[] = {12.8365,0.414551,-1.81252};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,0,2};
};
class Land_School_01_F {
price = 7500000;
numberCrates = 5;
restrictedPos[] = {};
canGarage = true;
garageSpawnPos[] = {-6.91215,-11.5288,-1.70768};
garageSpawnDir = 0;
garageBlacklists[] = {{10957,9532.16,-0.528702}};
lightPos[] = {0,0,2.65};
};
class Land_House_Big_04_F {
price = 7200000;
numberCrates = 5;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {12.308,-0.228027,-3.34715};
garageSpawnDir = 0;
garageBlacklists[] = {{5879.2,10002.7,-0.278984},{9508.48,13082.7,0.021286}};
lightPos[] = {0,0,3.5};
};
class Land_House_Big_03_F {
price = 10500000;
numberCrates = 7;
restrictedPos[] = {};
canGarage = true;
garageSpawnPos[] = {14.9072,0.394043,-3.60528};
garageSpawnDir = 0;
garageBlacklists[] = {{11507.2,2447.47,-0.145175}};
lightPos[] = {0,0,3.5};
};
// Houses without Garages
class Land_House_Big_01_F {
price = 1750000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {-1,2,2};
};
class Land_House_Small_03_F {
price = 1900000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {-2.35,1,2.8};
};
class Land_House_Small_06_F {
price = 2800000;
numberCrates = 3;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {3,-2,2};
};
class Land_Slum_03_F {
price = 1750000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {1,2,3};
};
class Land_Addon_04_F {
price = 1200000;
numberCrates = 1;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {0,-2,4};
};
class Land_Slum_01_F {
price = 1050000;
numberCrates = 1;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {1.5,0,3.2};
};
class Land_House_Small_05_F {
price = 2000000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {2,1,2};
};
class Land_House_Small_02_F {
price = 2250000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {-2,0,2.4};
};
class Land_House_Small_04_F {
price = 2000000;
numberCrates = 2;
restrictedPos[] = {};
canGarage = false;
garageSpawnPos[] = {};
garageSpawnDir = 0;
garageBlacklists[] = {};
lightPos[] = {1.2,0.2,2.5};
};
};
};
es geht um die von cookie
Du solltest auch die Map eintragen. Bei dir sind nur Altis und Tanoa definiert.
Meinst du das ich bei Tanoa das tausche gegen rosche ?
Wenn der Mapname, der z.B. auch in der server.cfg bei der Mission Rosche ist, dann kannst du dort einfach Rosche eintragen, ja. Allerdings solltest du dann darauf achten, dass die eingetragenen Häuser in der Class auch den Häusern auf deiner Karte entsprechen.
Ok danke
Hat geklappt Vielen Dank
Immer gerne