Lightbulbsomething for pirate perfection trainer :D

Posts 1–4 of 4 · Page 1 of 1
something for pirate perfection trainer :D
About pirate perfection trainer there is only a few bags you can spawn so i will share some of mine (must be putted in F11 INVENTORY MENU)

-- SPAWN PAINTING BAG
sppainting = sppainting or function()
ServerSpawnBag("painting")
managers.hud:show_hint( { text = "PAINTING BAG SPAWNED" } )
end
-- SPAWN BODY BAG
spperson = spperson or function()
ServerSpawnBag("person")
managers.hud:show_hint( { text = "BODY BAG SPAWNED" } )
end
-- SPAWN THERMAL DRILL
splance_bag = splance_bag or function()
ServerSpawnBag("lance_bag")
managers.hud:show_hint( { text = "THERMAL DRILL SPAWNED" } )
end
-- SPAWN FBI SERVER
spcircuit = spcircuit or function()
ServerSpawnBag("circuit")
managers.hud:show_hint( { text = "FBI SERVER SPAWNED" } )
end
-- SPAWN SPECIAL BODY BAG
spspecial_person = spspecial_person or function()
ServerSpawnBag("special_person")
managers.hud:show_hint( { text = "SPECIAL BODY SPAWNED" } )
end
-- SPAWN SHELLS BAG
spammo = spammo or function()
ServerSpawnBag("ammo")
managers.hud:show_hint( { text = "SHELLS SPAWNED" } )
end


then put this:

{ text = "Painting bag", callback = sppainting },
{ text = "Body bag", callback = spperson },
{ text = "Thermal drill bag", callback = splance_bag },
{ text = "FBI server bag", callback = spcircuit },
{ text = "Special body bag", callback = spspecial_person },
{ text = "Shells bag", callback = spammo },


if it doesn't work put in the place where the other bag spawning is at

-Tycho
what I cant get to work is just to hit 1 hotkey like Z or X to spawn a bag of my choice. I don't want to enter a menu. id rather just throw bags like crazy with 1 hotkey. any help?
Quote Originally Posted by bmxxxrider559 View Post
what I cant get to work is just to hit 1 hotkey like Z or X to spawn a bag of my choice. I don't want to enter a menu. id rather just throw bags like crazy with 1 hotkey. any help?
srry man i can't help..
I found it. it doesn't throw the bags but it drops them right under me.

local pos = managers.playerlayer_unit()osition()

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

--gold, money, weapon, coke, meth, person, special_person, lance_bag (thermal drill), painting, circuit (fbi server), engine_XX (fusion engine 01-12)
spawn_loot("money", pos, 120)
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?