Quantcast

Jump to content

» «
Photo

Drop money on ground

10 replies to this topic
Wiebrendh
  • Wiebrendh

    C# Programmer

  • Members
  • Joined: 22 Mar 2014
  • Netherlands

#1

Posted 07 June 2014 - 10:41 AM

Do you guys know how i can drop money on the ground, i have not a single idea how to do it :(

  • MegaTronX6 likes this

MegaTronX6
  • MegaTronX6

    try to start coding

  • New Members
  • Joined: 07 Jun 2014
  • Latvia

#2

Posted 07 June 2014 - 10:43 AM

yeah i too want code

  • Wiebrendh likes this

Maro Hannover
  • Maro Hannover

    Scriptboy

  • BUSTED!
  • Joined: 06 Jan 2014
  • None

#3

Posted 07 June 2014 - 11:37 AM

I think it is available in namespace

gta.multiplayer

because in simple native trainer drop money works only in multiplayer. but i am not sure because it is coded in c++. I think you can make drop money from peds when they are dead with amount of money scripted is sure possible


hardsty1e
  • hardsty1e

    RIP Yeardley Diamond

  • Members
  • Joined: 02 May 2009
  • Philippines

#4

Posted 07 June 2014 - 02:27 PM Edited by hardsty1e, 07 June 2014 - 05:07 PM.

the hash code was tricky to find, you can drop in single player or multiplayer.

private void Money()
    {
        Game.DisplayText("Dropped Money!", 5000);
        moneyPickUp = Pickup.CreatePickup(Player.Character.GetOffsetPosition(new Vector3(0, 2, -0.8F)), 0xE0B3F6E1, GTA.PickupType.Weapon);
    }
  • Wiebrendh and MegaTronX6 like this

hardsty1e
  • hardsty1e

    RIP Yeardley Diamond

  • Members
  • Joined: 02 May 2009
  • Philippines

#5

Posted 07 June 2014 - 05:07 PM Edited by hardsty1e, 07 June 2014 - 05:22 PM.

or you can also use the object(MODEL_CJ_CASH_PILE_3) and add a glow to it like how InfamousSabre does with his pickups2.0 mod.

 

http://www.gta4-mods...ickups20-f23960

13783.jpg


LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#6

Posted 07 June 2014 - 05:55 PM

I got some code. I'll post it when I get home.

LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#7

Posted 08 June 2014 - 01:34 AM Edited by LetsPlayOrDy, 08 June 2014 - 01:35 AM.

Pickup moneyPickup = GTA.Pickup.CreateMoneyPickup(position, amount);
Sorry for taking so long guys
  • hardsty1e and Wiebrendh like this

Wiebrendh
  • Wiebrendh

    C# Programmer

  • Members
  • Joined: 22 Mar 2014
  • Netherlands

#8

Posted 08 June 2014 - 09:45 AM

Pickup moneyPickup = GTA.Pickup.CreateMoneyPickup(position, amount);
Sorry for taking so long guys

 

No problem man, i am glad you knew this :D

Thanks

  • MegaTronX6 likes this

LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#9

Posted 08 June 2014 - 12:58 PM

 

Pickup moneyPickup = GTA.Pickup.CreateMoneyPickup(position, amount);
Sorry for taking so long guys

 

No problem man, i am glad you knew this :D

Thanks

 

 

Np. I made a mod a while ago that would drop money in any game mode. I didn't release it though

  • MegaTronX6 likes this

xStormsnoutx
  • xStormsnoutx

    Player Hater

  • New Members
  • Joined: 23 May 2014
  • Germany

#10

Posted 03 August 2014 - 08:37 PM

or you can also use the object(MODEL_CJ_CASH_PILE_3) and add a glow to it like how InfamousSabre does with his pickups2.0 mod.

 

http://www.gta4-mods...ickups20-f23960

13783.jpg

What is the native called for the glow?


LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#11

Posted 03 August 2014 - 11:30 PM

 

or you can also use the object(MODEL_CJ_CASH_PILE_3) and add a glow to it like how InfamousSabre does with his pickups2.0 mod.

 

http://www.gta4-mods...ickups20-f23960

13783.jpg

What is the native called for the glow?

 

Just download the mod and look through the source code with something like ILSpy





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users