What's new

Solved GTAIV PC Money Drop Script

  • Thread starter KV Seller 101
  • Start date
  • Views 824
KV Seller 101

KV Seller 101

Newbie
Messages
26
Reaction score
5
Points
45
Sin$
7
I'm working on a money drop mod if anyone can help me out I will put you in the credits


heres the source code but every time I click on it it crashes my game

C:
CREATE_MONEY_PICKUP (x, y, z, 250000, true, pickup *pPickup);
 
DevilsDesign

DevilsDesign

Contributor
Messages
1,067
Reaction score
2,514
Points
320
Sin$
7
I'm working on a money drop mod if anyone can help me out I will put you in the credits


heres the source code but every time I click on it it crashes my game

C:
CREATE_MONEY_PICKUP (x, y, z, 250000, true, pickup *pPickup);
and hmm where are u putting that code ? In your messages ? Dont forget to add "x x x;" behind that...
 
Upvote 0
KV Seller 101

KV Seller 101

Newbie
Messages
26
Reaction score
5
Points
45
Sin$
7
and hmm where are u putting that code ? In your messages ? Dont forget to add "x x x;" behind that...
yDwe4Ku.png


in the admin section for now but if I can get it too work I will/can move it too a different place
 
Upvote 0
Gta_Modz

Gta_Modz

SanjuroDev
Messages
474
Reaction score
192
Points
155
Sin$
0
:O I am seeing things Devils Design is lost on coding never tought i'd to see the day.
 
Upvote 0
Onlineweare

Onlineweare

Inspiration is key
Grizzled Veteran Experienced Veteran 10th Anniversary
Messages
1,475
Reaction score
555
Points
245
Sin$
0
yDwe4Ku.png


in the admin section for now but if I can get it too work I will/can move it too a different place
For that to work, the person in game would have to be using xmc and use the admin option, at which point it would drop the money on you. The only problem is you didn't give it cords. Also it will freeze you unless your in a ranked match.
C:
GET_CHAR_COORDINATES(pPlayer,&x,&y,&z);
 
Upvote 0
X3TuRb0

X3TuRb0

Enthusiast
Messages
434
Reaction score
203
Points
135
Sin$
0
For that to work, the person in game would have to be using xmc and use the admin option, at which point it would drop the money on you. The only problem is you didn't give it cords. Also it will freeze you unless your in a ranked match.
C:
GET_CHAR_COORDINATES(pPlayer,&x,&y,&z);
I dont believe you have to be in a ranked game if setup correctly. I could be wrong though.
 
Upvote 0
Zorg93

Zorg93

Read Art
Fabled Veteran Modder Programmer
Messages
4,273
Reaction score
3,475
Points
650
Sin$
0
I'm working on a money drop mod if anyone can help me out I will put you in the credits


heres the source code but every time I click on it it crashes my game

C:
CREATE_MONEY_PICKUP (x, y, z, 250000, true, pickup *pPickup);
C:
pickup p;
CREATE_MONEY_PICKUP (x, y, z, 250000, true, &pickup);
you need to pass the reference of where to store the pickup handle
 
Upvote 0
Top Bottom
Login
Register