Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 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>

 

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

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 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>

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

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.