Results 1 to 8 of 8
  1. #1
    Urazfenix88's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    1

    How TO Spawn a Vehicle???

    Hello to everyone.i want know how span a vehicle like helicopter or something else. code script? thanks

  2. The Following User Says Thank You to Urazfenix88 For This Useful Post:

    superaero_ (10-15-2013)

  3. #2
    Revenge2K's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    0
    My Mood
    Breezy
    I'm going to laugh my ass off if somebody pulls this off, but from the looks of the game the vehicles are generally part of the level/map and always pull into the same places each time they come.

  4. #3
    Urazfenix88's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    1
    loool XD XD

  5. #4
    Urazfenix88's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    1
    and about spawn lot gold bag? or money bag? there is a code script?

  6. #5

  7. #6
    Simplity's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Urazfenix88 View Post
    and about spawn lot gold bag? or money bag? there is a code script?
    Code:
    local pos = managers.player:player_unit():position()
    
    function spawn_loot(type, _position, z_offset)
    	local position = mvector3.copy(_position)
    	if z_offset then mvector3.set_z(position, position.z + z_offset) end
    	if Network:is_client() then
    		managers.network:session():send_to_host( "server_drop_carry", type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
    	else 
    		managers.player:server_drop_carry( type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
    	end
    end
    	
    	spawn_loot("gold", pos, 120)

  8. #7
    Urazfenix88's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Posts
    37
    Reputation
    10
    Thanks
    1
    thanks dude

  9. #8
    stabalot's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    i found this in the code:

    Idstring( "units/payday2/vehicles/air_vehicle_blackhawk/helicopter_cops_ref" )

    not sure how one would go about spawning it without crashing the game, still trying to get it to work

Similar Threads

  1. How do you spawn Tires/vehicle parts with the DayZ Survival Hack?
    By IndustrialDonut in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 3
    Last Post: 01-03-2013, 04:12 PM
  2. CE - How to spawn vehicle parts?
    By Recxil in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 1
    Last Post: 08-19-2012, 06:29 PM
  3. [Patched] How to get preset vehicles as customizable (Includes Parts, Sounds, Symbols)
    By JM69 in forum All Points Bulletin Reloaded Hacks
    Replies: 410
    Last Post: 10-13-2011, 01:22 PM
  4. [Info] How to spawn bosses and one hit entire levels!
    By Etherealblood in forum Vindictus Farming Discussions / Farming Help
    Replies: 50
    Last Post: 06-10-2011, 10:48 PM
  5. [Help Request] How to spawn boss/mob?
    By thatasian in forum Vindictus Help
    Replies: 3
    Last Post: 06-05-2011, 05:40 PM