Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...
  • Нужна помощь?

    Создайте тему в соответствующем разделе
    Не нужно писать всё в чат!
  • Загляните на торговую площадку

    Там вы можете купить
    всё что касается игровых серверов
  • Не хотите бан?

    Пожалуйста, ознакомьтесь с нашими правилами
    Не нарушайте порядок!
  • Продаёте или покупаете?

    Пользуйтесь услугами гаранта
    Мы сделаем вашу сделку безопасной
  • 0
malinovskiy

не спавнится модовая машина

Всех приветствую, я новичок, смотрел по 2-ум урокам как добавить модовое авто в спавн на сервер

делал точно по инструкции и ничего не получилось, машина не заспавнилась не в одном месте которые я прописал в координатах

 

types.xml

<type name="Land_Rover_Defender_110">
        <nominal>8</nominal>
        <lifetime>3888000</lifetime>
        <restock>1800</restock>
        <min>4</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
	<type name="Land_Rover_Defender_110_Green">
        <nominal>8</nominal>
        <lifetime>3888000</lifetime>
        <restock>1800</restock>
        <min>4</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
	<type name="Land_Rover_Defender_110_Blue">
        <nominal>8</nominal>
        <lifetime>3888000</lifetime>
        <restock>1800</restock>
        <min>4</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
	<type name="Land_Rover_Defender_110_Grey">
        <nominal>8</nominal>
        <lifetime>3888000</lifetime>
        <restock>1800</restock>
        <min>4</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>

events.xml

<event name="VehicleLand_Rover_Defender_110">
        <nominal>8</nominal>
        <min>4</min>
        <max>11</max>
        <lifetime>300</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>500</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Land_Rover_Defender_110"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Land_Rover_Defender_110_Green"/>
            <child lootmax="0" lootmin="0" max="5" min="3" type="Land_Rover_Defender_110_Blue"/>
			<child lootmax="0" lootmin="0" max="5" min="3" type="Land_Rover_Defender_110_Grey"/>
        </children>
    </event>

cfgspawnabletypes.xml

 

<type name="Land_Rover_Defender_110">
		<attachments chance="1.00">
			<item name="Defender110_wheel" chance="0.80" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_wheel" chance="0.80" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_wheel" chance="0.80" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_wheel" chance="0.10" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_wheel" chance="0.10" />
		</attachments>
		<attachments chance="1.00">
			<item name="CarRadiator" chance="0.60" />
		</attachments>
		<attachments chance="1.00">
			<item name="CarBattery" chance="0.60" />
		</attachments>
		<attachments chance="1.00">
			<item name="SparkPlug" chance="0.60" />
		</attachments>
		<attachments chance="1.00">
			<item name="HeadlightH7" chance="0.40" />
		</attachments>
		<attachments chance="1.00">
			<item name="HeadlightH7" chance="0.40" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_door_1_1" chance="0.30" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_door_2_1" chance="0.30" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_door_1_2" chance="0.30" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_door_2_2" chance="0.30" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_hood" chance="0.20" />
		</attachments>
		<attachments chance="1.00">
			<item name="Defender110_trunk" chance="0.20" />
		</attachments>
	</type>

cfgeventspawns.xml

 

<event name="VehicleLand_Rover_Defender_110">
    	<pos x="6256.102539" z="8.292483" a="0" /> <!--черно-->
		<pos x="2567.106201" z="193.231750" a="0" /> <!--зеленогорск-->
		<pos x="13399.269531" z="5.926549" a="0" />  <!--солнечный-->
		<pos x="10681.121094" z="211.005890" a="0" /> <!--Поляна-->
		<pos x="12488.291992" z="12.161621" a="0" /> <!--Березино-->
		<pos x="11105.824219" z="199.668213" a="0" /> <!--Красностав-->
		<pos x="7971.697754" z="112.126305" a="0" /> <!--Североград-->
		<pos x="14186.680664" z="129.125168" a="0" /> <!--БелаяПоляна-->
		<pos x="6207.966309" z="300.990875" a="0" /> <!--СтарыйСобор-->
		<pos x="1259.835205" z="295.768951" a="0" /> <!--Синестоки-->
	</event>

 

перезапускал сервер несколько раз, так не одной машины и не нашел, в чем может быть проблема? помогите пожалуйста

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Рекомендованные сообщения

  • 0
<type name="Land_Rover_Defender_110">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    </type>
	

тайпс лучше так....(пример)

<event name="VehicleLand_Rover_Defender_110">
        <nominal>8</nominal>
        <min>8</min>
        <max>12</max>
        <lifetime>14400</lifetime>
        <restock>0</restock>
        <saferadius>500</saferadius>
        <distanceradius>200</distanceradius>
        <cleanupradius>200</cleanupradius>
        <flags deletable="0" init_random="0" remove_damaged="1"/>
        <position>fixed</position>
        <limit>mixed</limit>
        <active>1</active>
        <children>
            <child lootmax="0" lootmin="0" max="3" min="2" type="Land_Rover_Defender_110"/>
            <child lootmax="0" lootmin="0" max="3" min="2" type="Land_Rover_Defender_110_Green"/>
            <child lootmax="0" lootmin="0" max="3" min="2" type="Land_Rover_Defender_110_Blue"/>
			<child lootmax="0" lootmin="0" max="3" min="2" type="Land_Rover_Defender_110_Grey"/>
        </children>
    </event>

ивент лучше так..(пример)
После -ВАЙП. (ну или частичный вайп).
 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах
MagicByte MagicByte MagicByte

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас

×
×
  • Создать...

Важная информация

Используя этот сайт, вы автоматически обязуетесь соблюдать наши Правила и Политика конфиденциальности.
Чтобы сделать этот веб-сайт лучше, мы разместили cookies на вашем устройстве. Вы можете изменить свои настройки cookies, в противном случае мы будем считать, что вы согласны с этим.

Поддержка